For the first time, you can easily create your ASP.NET web application using MVC pattern. It only takes a couple second depend on how fast your PC.
But first you will need the following:
. Visual Studio 2008
. NET Framework 3.5
. Microsoft ASP.NET MVC
Once you have the above install on your PC, to create a new MVC project:
1. Click File menu then click New Project.
2. In the upper-right corner, make sure that.NET Framework 3.5 is selected.
3. Expand either Visual Basic or Visual C#, and then click The Web.
4. select ASP.NET MVC Web Application.
5. Name your MVCAppName
6. In the Location box, enter a name for the project folder.
7. Enter a name for the solution in the Solution Name box.
8. Select Create directory for solution then click ok
9. Create a unit test project might display (only available version other than standard or express) then click ok
10. Click run which will invoke the internal web server
Done! You got your first "Hello World" in ASP.NET MVC
Here is a quick summary of what was generated, the MVC project contains the following folders:
* Content folder. This folder contains the cascading style sheet for the application.
* Controllers folder. This folder contains the application's sample controllers, which are named AccountController and HomeController. The AccountController class contains basic login logic for the application. The HomeController class contains logic that is called by default when the application starts.
* Models folder. This folder contains data model files (such as LINQ to SQL .dbml files) and data entity files.
* Scripts folder. This folder contains script files, such as those that support ASP.NET AJAX and Jquery.
* Views folder. This folder contains three subfolders: Account, Home, and Shared. The Account folder contains views that are used as UI for logging in and changing passwords. The Home folder contains an Index view (the default starting page for the application) and an About page view. The Shared folder contains the master page view for the application.
If you want to make some simple change to see what this thing look like you just go into view folder and change the file there and then run. Of course, when you are ready to get into a more advanced area like, content for CSS, controllers to handle UI interaction which view to show and which model data to use, Models for your data logic, Views for used as UI, and Scripts for your AJAX stuff. Interestingly enough it includes jQuery.js