Passing data to a View. Sometimes a business requirement necessitates data to passed from a Controller to the View for… Read more MVC: Using ViewBag for Data Storage
Category: web
MVC: User Context Info
Using context objects to discern user information. This article illustrate how easy ASP.NET MVC allows access to a wealth of… Read more MVC: User Context Info
MVC: Regular Expressions
Enforcing valid formats on user input. Most user-input forms’ business rules indicate specific formats for the data they receive. MVC… Read more MVC: Regular Expressions
MVC: Razor Syntax
Implementing logic into the Presentation layer. Perhaps one of the best features provided by MVC is the ability to implement… Read more MVC: Razor Syntax
MVC: Linking to Controller Action Methods
Using HTML links to execute controller action methods. It’s common to have a requirement that a controller’s action method be… Read more MVC: Linking to Controller Action Methods