When you use MVC you basically build Actions. Each action is reached by a route and parameters of the action are parsed from either the querystring or form values. This makes it easy to access the supplied values in the route or form and use them in your code. It is also very convenient to access the [...]
Posts Tagged ‘MVC’
Case study StackOverflow
The creators of StackOverflow, a great site to post questions and get good quality answers, have created a case study with Microsoft detailing how and why they used MVC to build this site. A nice case about why they picked MVC and particularly the Microsoft version and how they were able to create StackOverflow with it: http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?casestudyid=4000006676
Use culture inside url with ASP.MVC
For a website I needed to pass in the culture for the UI and other settings. The culture info needed to be set by using a url, so the links can be bookmarked and emailed. One way to do this, is specifying the culture inside the route like this: routes.MapRoute(“Default”, “{culture}/{controller}/{action}/{id}”, new { action = [...]
Use Google charts in a secure site using ASP.MVC
For a recent project I did I needed a way to show a chart (pie) to the user. There are a lot of libraries available for this, but I needed something quick to implement without installing a lot of code, but with the flexibility and the right looks. Google Charts looked like a nice way [...]