Introduction ASP.NET MVC Applications contains the action methods in the controllers. These actions are mapped through the routing when a user makes a browser request. In order to execute your logic before a action method is called or after an action method runs. ASP.NET MVC support this requirement through a concept called ActionFilters. ActionFilter Uses…
Introduction This post speaks about basics of URL Routing and how URL Routing related to building a ASP.NET MVC Application. You can also use the URL Routing with the ASP.NET Web application if install the Visual Studio 2008 service pack1. This post specifically speaks about how URL Routing is used in ASP.NET MVC Application. URL…
Introduction ASP.NET Data Pager Control is generally used in conjunction with the List View control. Read the post ASP.NET List View Control in VS 2008 to get the idea of using this control. This post explains the use of new Data Pager Control that ship with the VS 2008. I am using the List View…
Introduction This post gives you the basic overview on ASP.NET Models, Views and Controllers. It explains how all parts in MVC Application work together and discuss how the Architecture of an ASP.NET MVC application differs from an ASP.NET Web Forms application. The Sample ASP.NET MVC Application 1. Launch Visual Studio 2008, Select the menu option…
Introduction In this post I am going to explain the new data driven List view control that ships with Visual Studio 2008. To get start with the application create a web site in vs 2008. 1. Create a Web Site in Visual Studio 2008 2. Drag the ListView control from tool box under the Data…
Introduction This post explains how to create a Model from the database using ASP.NET Entity Framework. Using Entity Framework you can define the flexible mapping to existing relational schema. Here I have created a new console application to explain the ASP.NET Entity Framework. You need to install the VS 2008 SP1 to work with the…
Introduction This post explains the improved designer for creating Nested Master pages in visual studio 2008 and ASP.NET 3.5. Nested Master pages are used when you are build a hierarchy of templates for your web site. For Example your Enterprise may have the corporate style header and each of your department in your organization may…
The following is the procedure to host a web service in windows service. Open Visual Studio 2005. Create an ASP.NET Web service. a. File menu, choose New Web Site b. In the New Web Site dialogue box, select the ASP.NET Web Service. c. Enter the address of web server and click Ok.…
Introduction Configuration files are central place to configure your web or windows applications. The web.config file is used for configuring the web applications and app.config for windows applications. The ASP.NET Application comes with web.config file with default configuration sections and you can easily manage them at the intialstage of the project development. As soon as…
Introduction ASP.NET Dynamic Data provides the Web application scaffolding that enables you to build rich data-driven Web applications. scaffolding is mechanism that enhance the functionality of the existing ASP.NET Framework by adding the ability to dynamically display pages based on the data model of the database. This mechanism generates the page based on the default…