Create your first ASP.NET Core MVC application with VS Code

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so if you already installed your net net sdk in runtimes and vs code we will create our first asp.net mvc application or mvc website so first we were gonna go to our to your go to your file explorer and in in any ad address on your file explorer anywhere you want so create a folder for example i will gonna rename this example mvc and then open it and then here just right click and open wood code or if you don't have this one just hold shift and then right click and then it will open powershell oh so we don't have any administrator so just right click open with code and then trust yes i trust authors okay like that so if you don't we will return here so if you don't see this open with code just go to here and search this code like this i have paint vs code here in my computer we'll wait this to open and then go search your folder create a folder like right here open folder and go to the folder you've created so for example d like that and then example mvc and then select folder like that so after that we're gonna go to the on the tops here terminal new terminal and then once the terminal is open we will gonna type that net dot new in vc so and click press enter so what will happen what happened what is happening is that net is creating boilerplates for our net nvc app so just like this that net is creating our nvc app so that net created our controllers models objects properties everything that is needed to create an mvc application so later on this in this course we will gonna discuss what are the uses or purpose of this folders here and all the files here so once that net created our boilerplates or our codes so we will gonna run this you could click run and debug here or else you can on the run tab here at above you can start debugging and then you will gonna have to select so select this that had that say spreadsh file extension just wait start debugging okay click run and start debugging again and we will gonna choose that net core for our environment and then it will ask you required assets to build and debug or missing from example the mvc add them just click yes right here yes and then it will create this folder that vs code and it contains launch json and the task json these two files are are required to run.net core applications okay so once launch json on task json is created we will gonna click the run tab and start debugging then it will build our application go to debug console so what happened is when we run our application right here this that net is already on production mode or on is iis and then that net created a host and then have this localhost with the port 5001 so this is our mvc application or web app so my internet changes we will change here in views home index cs cshtm and then welcome students and then hit save and then restart again it is building and then our changes displays right here so you've created your first esp.net mvc application so next we were gonna discuss on what are the user usage or purposes of those those folders and files on our file here okay that is all thank you see you on the next video
Info
Channel: Antay-Sweldo Club
Views: 24,159
Rating: undefined out of 5
Keywords: .net, vscode, .net cli, dotnet mvc, mvc application, how to .net
Id: TBr-CQRnGGg
Channel Id: undefined
Length: 8min 57sec (537 seconds)
Published: Tue Sep 07 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.