DI(Dependency Injection) becomes the must-have patterns in any applications. MVC does work with any DI Containers such as Ninjet or Unity. MVC also provides the “Dependency Resolver” feature to make DI much easier.
Tag Archives: MVC
[ASP.NET MVC] Controllers – Action Selectors
Actions are public methods in controller classes. MVC provides attributes to tweak how the actions can be selected based on the name or the request verbs.
[ASP.NET MVC 4] Bundling
In the recent Web development environment, it is not rare that you need to reference many CSS and JS files across the site. Rather than reference them one by one, MVC 4 provides the “Bundling” feature that combine style or script files into a single resources.
[ASP.NET MVC 4] Application Start
The “Application_Start()” method in the “Global.asax” is the entry point of the MVC web application. Routes, areas, and global filters are initialized here. MVC 4 project templates provide a little bit different way of initializing these features.
[ASP.NET MVC 4] What’s New
IMHP, MVC 3 was a nice enhancement from the previous versions of MVC. Especially, the “Razor” syntax became the corner stone of ASP.NET MVC programming.
MVC evolves so fast and it is hard to keep up with the changes. What’s new in MVC 4 then?
[ASP.NET MVC] Unobtrusive Ajax [4] – Ajax Callbacks
By providing event handlers to “AjaxOptions“, you can control each step of Ajax request and response.
[ASP.NET MVC] Unobtrusive Ajax [3] – Ajax Links
So far, we have used Unobtrusive Ajax with a form and a submit button. What if you want a link that acts asynchronously?
[ASP.NET MVC] Unobtrusive Ajax [2] – AjaxOptions
In the previous post, I showed how you can use AJAX using “Unobtrusive Ajax”. Without a single line of JavaScript, it works like a magic.
In this second post of the series, I will delve into the inner workings of the feature.