Dotnet
Setting Up The Solution
  •  

Create Solution And Web API Project

Outline

DEMO: Creating the Solution

A solution is a simple container that contains all your projects. It’s literally a bucket where you can put your projects. It facilitates references between projects.

For example, if project 1 has a dependency on project 2 the Solution keeps track of these sorts of things. You don’t need a solution file to have a working application. It’s a convenience feature that is provided to you by Visual Studio. We can put everything into one project and call it a day. However, it’s not how you do things in the real world.

Adding Web API Project

Just like a Solution is a container for your projects a Project is a container for your code files. It also holds references to other dependencies.

Let’s add a Project to our Solution.

 

I finished! On to the next chapter