We want to create application in MVC first of how we create first application Show Steps
as below-
STEP 1. Start Computer and Install Visual Studio (Mention installation step in previous tab how to install) Go start menu in Computer And Click on Installed Visual studio.Then Open Window like as-
Ex.
as below-
STEP 1. Start Computer and Install Visual Studio (Mention installation step in previous tab how to install) Go start menu in Computer And Click on Installed Visual studio.Then Open Window like as-
Ex.
Open This Window after processing next window open like-
Ex.
STEP 2. Create new application select new project or We Also Select in file new project.
Click on a new project.
STEP 3. Choose Your Project Save Location and Select Asp.net web Application and click on button.Next Open window.
Select MVC and Click OK button Then open Application We See.
We see folder Model ,View and Controller.
Model - Right Click on Model folder and Add New Class .We Declare Property And Data type
Which is use in Project.
Controller - Make Function and use Model classes in Controller and Add view easly through controller action .Coding Part Write in Controller
View - Use Model class and Create design part in view.
Content - This folder contain all CSS regarding Project Releted.
Script - This folder contain All JS we use in our Project
WebConfig - Connection String Write in Web Config.
Global - We define route of application page
0 comments :
Post a Comment