13 October, 2020
Go to visual studio.net
Click on file
Click on new
Click on project
Select visual c# from the installed template.
Select ASP.net WVC web application template
Type the application name (example)
Select the location to save
Click on ok.
This will create an ASP.net MVC2 web application.
When we create ASP.net MVC2 web application it will create 5 folders.
This folder will contain all the required CSS files that is to be attached to the view pages.
By default, the views folder will contain 3 folders as follows
Then every folder contains some view page.
The shared folder contains commonly used files like master pages, user control, etc.
Here we find only .aspx pages we do not find .cs files
.cs files will be available in the controller’s folders and models folder.
This folder will contain one .cs file for every folder available in views.
In view, we have a home folder and account folder so we find two supported files in controller folders.
Every controller file will contain some method called action method with the name of the webpage.
I.e. home controller.cs we find 4 action methods
Change password ()
Change password success ()
This folder will contain one super file one each folder available in views
In case the view contains the data from the database
For an in-depth understanding, of.NET click on
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills .