Saturday, October 27, 2018

Create First ASP.NET MVC Web application

In this tutorial, i will explain how to create the mvc web application. before this tutorial please go through the previous articles. it will give the brief information about architecture and advantages  .

Steps to create the application in visual  studio 2015 
  1. Open the Visual studio 2015
  2. Select the File Menu and click on New
  3. Click on Project (after click you can find the one popup window)
  4. Select the Required Language ( Choose the Visual C#) at left Pane
  5. Choose the Asp.Net Web Application(.NET Framework) at middle pane
  6. Give the Project Name, Location, Solution Name and Framework at Down Pane.
  7. Click OK button.
  8. Now you get one more Popup window choose the MVC and click OK Button.
  9. you can change the Authentication at 8th step by clicking at change authentication
  10. finally click OK button at step 8 then visual studio creates the simple mvc Project.
  11. Press F5 to run the project in debug mode.
  12. Ctrl + F5 to run the project without debugging 
                    Step 1
Open The Visual Studio
                    Step 2
Create First ASP.NET MVC Web Application
Select the Language and technology.
                    Step 3
Create First ASP.NET MVC Web Application
Give the Project Name and Location
                    Step 4
Create First ASP.NET MVC Web application
Select  MVC
                Step 5
how to create mvc project
Final Project
                     Step 6  
How to Create the we application
Application Out Put

creating mvc web application is easy in visual studio. and you can find the application structure and it contains the different folders like App_Data, App_Start, Content, Controller, Model, Script and Views. and two more files are very important in this structure. one is Global.asax and Web.Config files. this two files plays the main  roles in mvc application. 

  Please find the other articles.   
  1. mvc Architecture 
  2.     Advantages of mvc

                                               Asp.Net MVC  - Get Started

  1. MVC Tutorials- Get Started 
  2. Architecture
  3. First Application
  4. Folder Structure
  5. Controller
  7. Model
  8. Bundling
  9. View Bag
  10. Temp Data
  11. View Data
  12. Action Methods
  13. Action Selectors
  14. HTML Helpers
  15. Partial Views
  16. Layout View
  17. Filters
  18. Action Filters
  19. Validations
  20. Area
  21. What is Entity Framework and types  
  22. Creating Project in Database First Approach
  23. Creating Project in Code first approach
  24. Creating Project in Model Base First approach


No comments: