.Net Coding Tips: Archive

  • ASP.NET MVC

    The Model-View-Controller (MVC) design pattern and Test-Driven Development (TDD) drive the majority of today's enterprise-scale Web applications. The MVC pattern enforces separation of concerns by dividing applications into a model to store and manage business data, views to render and enable the user to interact with data, and controllers to translate user actions to an appropriate set of the model's business data and its view. A primary benefit...

    Read more...
    4/15/2008 11:20:07 AM Published by FengLiN Category ASP.NET Comments 0 Views (266)
  • Don’t run production ASP.NET Applications with debug=”true” enabled

    One of the things you want to avoid when deploying an ASP.NET application into production is to accidentally (or deliberately) leave the <compilation debug=”true”/> switch on within the application’s web.config file.   Doing so causes a number of non-optimal things to happen including:   1) The compilation of ASP.NET pages takes longer (since some batch optimizations are disabled) 2) Code can...

    Read more...
    4/8/2008 11:05:23 PM Published by FengLiN Category ASP.NET Comments 0 Views (249)
  • GridView Tips and Tricks using ASP.NET 2.0

    In this article, we will explore some of the most frequently asked questions about the GridView control. The article discusses ten tips and tricks that you can use while using the GridView control. Tip 1: Add, Update, Delete Records in a Gridview using SqlDataSource By default, the GridView control doesn’t have support for inserting new records. However you can use the built-in edit or delete functionality of the GridView control....

    Read more...
    4/2/2008 4:32:06 AM Published by FengLiN Category ASP.NET Comments 0 Views (406)