Creating Asp.net Core web Api Entity framework Code First Appraoch | Testing Web Api Using Postman
Hello & As- salam u alikum ! In this Article we will learn to Implement Web Api and test the api through Postman. Step# 1: Create an Asp.net Web API Project as shown in the below Images. Step# 2: Create a model folder and add a new Entity Class named as "Product". using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MircoServiceDocker.Model { public class Product { public int Id { get; set; } public string Name { get; set; } public int Price { get; set; } public DateTime ManufacturingDate { get; set; } } } Step# 3: Install Microsoft.EntityFrameworkCore.SqlServer & Microsoft.EntityFrameworkCore.Tools which I Had explained in my previous ...