Posts Tagged ‘tips

In my previous blog entry (How to create custom HTML Helpers for ASP.NET MVC 3 and Razor View Engine) I mentioned extensibility point of Razor View Engine to change view/page base class type. It’s not a new approach for ASP.NET developers, we have been applying same pattern for ASP.NET Web Pages too. You have to [...]

I will try to show you a basic feature of ASP.NET MVC, creating custom HTML Helpers. We can reduce the amount of logic in view pages (razor or asp.net –aspx- pages) by extracting logic code as method. HTML Helper methods are nothing more than methods that are returning string. If you want to write your [...]


top