Friday, 16 September 2022

How to create a project in asp.net MVC

 Creating A new Project in Asp.net MVC 

In this session you will know how to create and run your first project in asp.net.

To create a ASP.NET Web project :

  1. Start Your visual Studio And search for Asp.net Web Application then Select this and then click on Next.
  2. Give the name to your project And select the folder where you want save your project. And click on create.
  3. Select MVC And Click on Create. 

After these steps visual studio will take some time to create Your project, this time depends on your computer's speed. So keep patience and wait after completing the process you will see the interface like this. Here some images are given for all the steps which will help to understand the steps.


Image for step 1
in this picture you can see the interface of visual studio when start your visual studio.
it may be differ for different version of visual studio. ( here in this article we are using visual studio 2019 )  


in this picture you can see the interface of visual studio when you search for the Asp.net Web Application.
You need to select as like the image you see and click on next to farther process. 
Image for step 2
in this picture you can see the interface of visual studio when you click on next as guided in previous step. Here You need to the name of your project. And select the folder on clicking three dots where you want to save the project and the click on create.
Image for step 3
in this picture you can see the interface of visual studio when you click on Create as guided in previous step. Here You need to select MVC and then create as seen in the Image.







Now Your Project Is ready for Run, you can run the project and see the how this is looking. This is made by visual studio. Here you can see the image how the it looks when your project will ready for 
run.
Now to run the project click on the IIS Express Button shown in the image. And you now see, first your project will build and Then run on the browser. You can see in the right side solution explorer in which all the folder are shown of your project. you can see the code which has been already created by visual studio and can modify the and understand the code flow.  

Image of your first page of your project
If  you are seeing this image in your project then congrats. You have been created Successfully your first project in ASP.NET web application.
in this project you have a navbar having some menu item like Home, About, Contact. And a body having information about ASP.NET Docs.
you can click on Home, About, Contact To go on another page which have been created.

Now this has been done. See The code in the solution explorer and understand And we Discuss More In the next Article. Thank You Reading.

No comments:

Post a Comment

How to start career in software development

How to start career in software development  How to start career in software development arting a career in software development involves a ...