Angular And ASP.NET Core Project Setup Using Visual Studio Code

Environment setup process Angular and ASP.NET Core project combinedly.

Pritomsarkar
.Net Programming
Published in
3 min readMay 2, 2021

--

At first, I created a new folder for my project, after created go to this folder and type cmd in above, and press Enter. then you will find a command prompt like the below picture.

After Enter, you found a window like above. then type here “code .” and press Enter. then you see your visual studio IDE is opening.

Then go to Terminal->New Terminal

Then you will find a box below.it’s terminal. the location file was you created folder already exists because we used the shortcut technique.

Before you, anything, make sure you have already installed the latest .NET Core version. so write dotnet -v and press enter. then some scroll up in here. so you see that my machine has already installed .net SDK 5.0.

Now, let us create our first project. if you want to see all the available templates, you can write here dotnet new and press enter.

So if you want to see that for example MVC file then write dotnet new mvc

in our case, we want an angular app, so you write dotnet new angular and press enter. now see our project was created successfully. if you want to see that all of the files, then expand the explorer.

And here you can see all the files. if you want to run your application just write your terminal dotnet run

So you have successfully done the project setup. so now you can think that how you install the NuGet package if any needed.so I have one solution for this problem.

Install Nuget Gallery from extension marketplace. Launch from the menu bar View > Command Palette (Ctrl+Shift+P on Windows and Linux). Type Nuget: Open Gallery. Nuget Gallery provides a GUI similar to the full Visual Studio. See below.

Congratulations! So you have successfully done the project setup to build your awesome application.

Now go forth and build a cool project!

--

--

.Net Programming
.Net Programming

Published in .Net Programming

Explore the .Net with the latest in C# from basic to advanced, including .Net versions 9, 8, 6, 5, Core 3.1, .Net Framework, ASP.NET Core, MVC, design patterns, OOPS, and SOLID principles. Get top tutorials, best practices, and hands-on code examples on GitHub.

No responses yet