An open API service indexing awesome lists of open source software.

https://github.com/darkygr/asp.net-6-api-rest-angular-1

ASP.NET 6 - API REST - Angular - CRUD
https://github.com/darkygr/asp.net-6-api-rest-angular-1

angular api-rest asp-net-core csharp

Last synced: 3 months ago
JSON representation

ASP.NET 6 - API REST - Angular - CRUD

Awesome Lists containing this project

README

        

# ASP.NET 6 - API REST - Angular - CRUD

This applcation was made with:
- ASP.NET Core 6
- SQL Server 2019
- Without Controllers (Minimalist Views)
- Angular 15.2.2
- Angular Material 15.2.2

Required packages in Visual Studio (BackEndAPI Folder):
- Microsoft.EntityFrameworkCore.SqlServer 7.0.0
- Microsoft.EntityFrameworkCore.Tools 7.0.0
- Automapper 12.0.0
- AutoMapper.Extensions.Microsoft.DependencyInjection 12.0.0

Required facilities in VS Code (FrontEndAPI Folder):
- ng add @angular/[email protected]
- npm install moment --save
- npm install @angular/[email protected]

Use the following command line to add our database context to our project:
- In Visual Studio, find the "Tools" tab > NuGet Package Manager > Package Manager Console.
- And paste in the console -> Scaffold-DbContext "Server=(local); DataBase=db_angularapiCrud; Trusted_Connection=True; TrustServerCertificate=True;" Microsoft.EntityFrameworkCore.SqlServer -OutPutDir Models