Category: ASP.NET MVC

  • ASP.NET MVC,ORM and ViewModels

    Since I am active on asp.net/mvc I find many peoples asking about One to many relationship . Dropdownlist How to use MVC with other ORM frameworks instead of Linq To Sql(L2S) ? What is a ViewModel and what is his purpose ? For answering,I have made a small application with MVC2 in order to detail…

  • ASP.NET MVC Extensions Methods

    These are my extensions. Not display dropdownlist if the Select list is null Transform Enum to SelectList Transform Generic list into a SelectList Display pager control Other extensions available that are good : http://blog.wekeroad.com/blog/asp-net-mvc-list-helper-extension-method/ http://www.hanselman.com/blog/ASPNETMVCSessionAtMix08TDDAndMvcMockHelpers.aspx http://helios.ca/2009/09/21/asp-net-mvc-extension-methods-of-urlhelper/ http://blog.donnfelker.com/2010/02/25/asp-net-mvc-tempdata-extension-methods/ http://inq.me/post/ASPNet-MVC-Extension-method-to-create-a-Security-Aware-HtmlActionLink.aspx If you know more,please tell me

  • How To … Create a new site similar with regular internet site in Windows 7

      Step 1 : Make a Web site with Visual Studio Step 2 : In IIS Manager create the new site Step 3: edit the hosts file (administrative rights) Step 4: Create the Web application,modify his Project=>properties=>Web =>Use local IIS Web Server Step 5: Edit bindings for new site to point to the folder of…