Product Management Backend Project Using ASP.NET Core Web API
This is a simple ASP.NET Core Web API application that supports basic CRUD operations on a Product entity, with each product belonging to one or more product categories. The API interacts with a SQL Server database.
Ensure that SQL Server is running and accessible.
Update the connection string in 'appsettings.json' to point to your SQL Server instance:
"ConnectionStrings": {
"constr": "Data Source=your Server;Initial Catalog=ProductManagement;Integrated Security=True;Encrypt=True;Trust Server Certificate=True"
}
by write the Command Update-database in package manager console
you can test the EndPoints using Swagger