Contents tagged with MVC
-
ASP.NET MVC Preview 4 Finds
I’ve went through the ASP.NET MVC Preview 4 source and found some interesting finds that will help you do work more easily. These 6 finds are just the tip of what I’m sure is included in this drop. (Read more…)
-
MVC Post-Redirect-Get Sample Updated
ASP.NET MVC Sample for using the Post-Redirect-Get pattern updated to the MVC Preview 3 bits. Showcasing some newer functionality that makes the pattern more simplistic.(Read more…)
-
Using SubDataItems and View User Controls in ASP.NET MVC
-
RedirectToAction Nasty Bug in ASP.NET MVC Preview 3
-
Lambda Based RedirectToAction Sample Updated to MVC Preview 3
Utilizing Lambda expressions, make the RedirectToAction method much easier to use, read, and refactor! This update took the original sample and it now works with the MVC Preview 3 bits. (Read more...)
-
ViewData "dot" Notation Expressions in ASP.NET MVC
Here's something very cool I just found in the ASP.NET MVC Preview 3 bits, you can specify, what I call, "dot" notation expressions on your view data. With the new ViewDataDictionary you can now use the "dot" notation expressions to get access the same value as using the safely typed Model. (Read More...)
-
ASP.NET MVC - Localization Helpers
Learn how to easily use localization within an ASP.NET MVC application utilizing similar methods to that of ASP.NET resource expressions. I show 3 different approaches to using localization within your application. (Read more...)
-
ASP.NET MVC: UI Validation Framework Update
I've taken some recommendations regarding the MVC UI Validation framework I originally posted about, which is available within the MvcContrib project. I'm still working on future advancements like attributing your model, but I did make a significant step forward ensuring both client and server side validation is successful. With some simple changes to how you are generating your validators, you can easily achieve this new functionality. (Read more...)
-
ASP.NET MVC - Living in a Web Forms World
When developing ASP.NET MVC applications, most examples or sites have shown you starting from complete scratch. This is all and well if you have the time to completely re-write an existing application for 6+ months or have started a v1 product. Right, in the "real-world" the former rarely happens and if your a developer wanting to stay on the bleeding edge, introducing a new architecture into an existing ASP.NET application is fairly tedious. From converting existing pages, supporting legacy routes, and possibly the lack of allowing multiple forms all prove to be a challenge. (Read More...)
-
ASP.NET MVC - Using Post, Redirect, Get Pattern
The ASP.NET MVC pattern tends to lead itself into a more simplified and "true" HTTP experience by re-introducing patterns that have been lost, or at least, not followed in many years. One such pattern is the Post, Redirect, Get (PRG) pattern in which it is "to help avoid duplicate form submissions and allow web applications to behave more intuitively with browser bookmarks and the reload button" (Read More...)