Skip to content

yahyaahrika/asp-net-Core-Api-Angular-16

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

asp-net-Core-Api-Angular-16

Asp.Net Core Web API and Angular 16 CRUD Anime

Screenshot

Screenshot 2024-01-25 at 21-06-32 Project1

Screenshot 2024-01-25 at 21-06-44 Project1

Asp Net Core Connection database

BankEnd Asp.Net Core

file : appsettings.json

` {
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*",
  "ConnectionStrings": {
    "App_AnimeContext": "Server=YourServer;Database=DatabaseName;Trusted_Connection=True;MultipleActiveResultSets=true"
  }
}`

In Visual Studio, open NuGet Package Manager Console from Tools -> NuGet Package Manager -> Package Manager Console and enter the following command:

Package Manager Console/PowerShell

update-database

Change url server AspNetCore

Angular Files

src > environment > environment.development.ts

 export const environment = {
    production: true,
    ApiUrl : '//localhost:5113/api/Animes'
};

Run Angular

ng serve

API

Screenshot 2024-01-25 at 23-22-49 Swagger UI

About

Asp.Net Core Web API and Angular 16 CRUD Anime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published