Choosing an ASP.net Flavour

At the beginning there was only ASP.net Web Forms. Now you have three different models to choose with.

  1. ASP.net Web Forms
  2. ASP.net MVC
  3. ASP.net Web Pages

ASP.net Web Forms

These are set of pages that has a UI (User Interface), Server Controls and Server Code. When a user sent a request to the page using the browser, it goes to the server,  then compiled and executed at the server side. Finally generates HTML markup that can be rendered on your browser. If you are a experienced Windows Forms developer its a good choice to choose Web Forms. It is the event driven world that you already familiar with.

Server Controls such as Button, Grids, Labels, DropDowns can be easily dragged and dropped to your design and start coding like you did with Windows Forms.   To write server code to handle the logic for the page, you can use a .NET language like Visual Basic or C#.

More details on ASP.net Web Forms

ASP.net MVC

The MVC stands for Model View Control. This is a design pattern most developers are familiar with. This is a light weight framework that can be used with ASP.net features such as Membership based authentication and Master Pages. This pattern separates your application into three parts. The logic of the application goes under Model. The presentation layer goes under View and finally talking between model and the presentation layer goes under Controller. Again to write code and handle the logic you can use a .NET language like Visual Basic or C#.

More details on ASP.net MVC 

ASP.net Web Pages

This flavour gives you a taste of script based programming like you did with classic ASP or PHP. A special syntax called Razor will escape your HTML code to dynamic code using a .NET language like Visual Basic or C#. If you know HTML, CSS and little bit of JavaScript and you have programmed with a .NET language like Visual Basic or C# and you are ready to start building ASP.net Web Pages.

More details on ASP.net Web Pages 

Have a Good Day !!! 🙂

Where did they hide the web templates in Visual Studio 2013

For the first time when I loaded the Visual Studio 2013, just clicked on the “Web” label in the right side pane under Templates in dialog window, just felt OK where are my web templates.

New Project

OK, to get those now you need to go through one extra step. Just select on the Label “ASP.net Web Application”  and choose a folder and give a proper name to your project and click “OK”. The next dialog box has plenty of information you need know about your web application.

Select Template

1. This area will help you toe select a starter template. It has

Empty – A blank skeleton to start from scratch, You will need to add References, Folders for your project by hand.

Web Forms – A Web Forms project template will be created here. Most of the References you need to work with a Web Project will be loaded for you and all the necessary folders and files created. You will have a basic web site working here, to test just simply press “”.

MVC – This option will create a template with Model, View, Controller pattern. All the required folders, scripts and references will be automatically created for you. A sample web site is already ready for you to test. Simple “” will get you the sample web site up and running.

Web API – This template will allow you to create a RESTful HTTP Service. A broad range of clients will be able to access this service when you are done.

Single Page Application – A template that allows you to create a website with rich client JavaScript, HTML5 and CSS3. With a mix of Web API.

Facebook – A ready to run facebook application will be created with this template. A great template to start your facebook application.

2. An informative area of the selected template on area 1. A small description is displayed here for the selected template.

3. This area will allow you to add references or remove them on a selected template on area 1. If you select add unit testing, you will able to give the name for the testing project name here as well.

4. This button will allows you to select the authentication type of the selected project template type.

Enjoy 🙂