Store Data in to Micro-Services Static class using c# dot net core (Key Based API for Reduce Database hit)
Find Code From Here : Code Testing : 1. 1st Time Entry with Null key value and Adding New Value into Class Testing : 2 . 2nd Time Entry with unique key value and updating existing entry into Class Testing : 3. Same Time Another Hit Came From different User for for update Data Testing 4: If Step is 4 then we are inserting data into our database and Deleting data from class using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace AppForStaticCls.Controllers { [Route("api/[controller]")] public class MutiplePostController : Controller { // GET: api/<controller> [HttpGet] public IEnumerab...