Skip to content

Repository created to study different concepts envolving a web API developed with .NET 7.

Notifications You must be signed in to change notification settings

Edusu123/CmdApi

Repository files navigation

CmdApi

Repository created to study different concepts envolving a web API developed with .NET 7.

The ideia was to build the same API built in this tutorial, but using the most recent version of .NET. The controllers are developed using the data notations and then I intend to convert it to the .NET 7 pattern.

Below there are a few annotations that I think are importante to understand the project.


  • The installation of the dotnet cli is pretty standard (installing the essential components of VS 2022 is enough and you can do it here);
  • You can create a standard web project with dotnet new web -n ProjectName and magically create the .gitignore file through dotnet create gitignore;
  • The installation of the SQL Server database is pretty standard also. It can be done through the installation of SSMS available here;
    • This process also installs Azure Data Studio (that I personally prefer);
    • The creation of the local server can be made through sqllocaldb create "Database Name" and the database is created by executing the first migration;
  • Before anything else, it's important to execute dotnet tool install --global dotnet-ef to install the EF tools (SO reference);
  • It is important to deal with the new possibilities of nullable variables in C# 8.0. For that, use this;

About

Repository created to study different concepts envolving a web API developed with .NET 7.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages