How to setup Visual Studio Code for Dotnet development

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello friends this is jalpeis here and welcome again to my channel code with gui this is a brand new video and in this video we are going to talk about how to set up video studio code for net develop so lots of people ask me to create this video because they don't have higher configuration laptops and basically if you go with the full-blown visual studio id then it require you to have at least 4 or 8 gb of ram and some higher standard hard disk or the ssd so if you don't have that kind of laptop available for development then this is the video for you so in with this video we are going to see how to install the net and few other stuffs and then we are going to see how we can configure the vg studio code with few extensions to create ide like experience before moving to that if you haven't subscribed to my channel code with chevy then please do subscribe to my channel called with tv because it gives me more motivation to create videos like this so let's get started so first you need to open the browser and then you need to type dot dot net and then it will load this one the intro one and then you need to click on the download and install and then you can do uh the uh the latest download of the dot net sdk which is right now the dot net six version is there and you also need power studio code if you haven't downloaded the video studio code then you can download from here and click on this uh to save the time i have already downloaded both of them i have created a directory called.net demo and here we are going to write some of the codes so basically once you download and install that click on sorry if you write on dotnet uh that's this info then it will show you all the informations there so here you can see i have two dotnet sdk installed five point one point zero three and six point zero four double o and these are the runtimes which i got to install and now if you wanted to clear now if you want to create a console app then you need to write dot net new console in for this purpose we are going to create the dot native console but we are we can create a few more commands also maybe i will create a separate video for the dot net command line so basically to save the time what i have done is like i already created a console app there and you can see that in my visual studio code so this is the console app there and this is the cs project file there now if you run this application via dotnet run will run that it will take some time few seconds to build the code and see see here you can see uh here i haven't saved the file now let's run it again here you can see like basically it is running perfectly so now let's see what are the extensions of visual studio which we need for this so basically the first extension you need is c sharp which is from microsoft and it provides lots of lots of support it also provide the intellisense there so for example if you write you can see it is providing the intelligence there and there are like debugging and other options also available then i have installed the cshop extensions which is a open source accession and it provides lots of functionality like a new class then i do see shop interface it feels sperm constructors lots of lots of functionalities then third thing i have installed is the rational lighter which is basically kind of a ts config kind of a thing where it gives us the 500 plus analyzers and refactoring and fixes for g-shock and it is also powered by roslane so that makes visual studio great ide or like similar to id so now let's write some of the code so let me remove this to all stuff and let me create a class here so you can see like it is going to create a class and if i write employee so here you can see the class has been created and now we are going to write some properties and then we are going to also create some properties there here you can see like it is pretty fast so i have created uh four properties there uh employee id first name last name now here what i wanted to create is i am going to create a list of employee and then employees go to new employees new list of employees right and then i am going to create a single employee called employee 1 and i am going to write the employee and now we can write like this so we can do employee equal to 1 employee dot first name equal to gel page and employee dot last name equal to what gamma and employee one dot designation equal to software developer so here you can see there are few sweet lists there which is from roster letters there are lots of things there but we are not going to change that here also like you can uh use the c sharp new feature so like you can write that even you can do object initializer can be simplified so it has been simplified and now let's add that to our employee list here you can see it is providing full-fledged intelligence for that right now let's write here we are going to write where employee in employees and then we are going to print something console.tightline and then we are going to use the string interpolation so we are going to do first name and then here we are going to do employee dot first name and we are going to copy this and here let's put some space there and then we are going to write the designation also right and then we are going to write a separator so we can identify that this is the new employee that's it now let's run that again via dot netron here you can see uh there are some warnings there but like it is has been printed there so it works perfectly fine now we can also debug that stuff also so let's create a breakpoint here and if you click on this run and debug it will create the dotnet launch and let's run that it will take some time to launch all the stuffs the version stop and here you can see like it is building those stops so it is creating a ms bill for that so for the first time it will take some time so let's wait for that to complete so now it's restoring the nokia packages here you can see our bracket has been loaded and if you do f10 it will goes into the another backpack and here you can see all the variables and here you are getting all these stuffs there you can see like it's pretty easy and like it provides almost similar kind of experience with the bs view studio code and you can do whatever you wanted to do so i hope that you like this video and like this video then please do subscribe to my channel code with jv and i will create similar kind of videos or we used to do code and dotnet and we'll also see some of the advanced videos for like.net console runtime so we'll see that in coming future so hope to see you in the next video thank you for watching
Info
Channel: Code with JV
Views: 25,971
Rating: undefined out of 5
Keywords: c# .net core vs code, vs code c#, dotnet c#, dotnet new console, vs code tutorial, vs code dotnet core, vs code dotnet debug, vs code debugger, vs code c# debug, vs code extension, vs code c# create project, vs code c# .net, .net core vscode, vscode c# tutorial, dotnet core, vs code, visual studio code, visual studio code c#, vs code beginner c#, visual studio code extensions, vscode c# linux, vscode c# mac, vscode c# debugging, vscode c# breakpoint, vscode c#, vscode
Id: Yczthl7a7v8
Channel Id: undefined
Length: 8min 10sec (490 seconds)
Published: Sat Aug 27 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.