Skip to main content

Posts

Showing posts from March, 2020

Azure Service Bus Vs Azure Web Job

MENU Home SUBSCRIBE Today, we will be talking about Azure service bus and how to use them with Webjobs. Azure Service Bus  is a messaging infrastructure that sits between applications allowing them to exchange messages for improved scale and resiliency. It offers the following capabilities: Queues: offers simple first in, first out guaranteed message delivery. When to use Azure Service Bus? Service Bus queues are a general-purpose technology that can be used for a wide variety of scenarios: Communication between web and worker roles in a multi-tier Azure application Communication between on-premises apps and Azure hosted apps in a hybrid solution Communication between components of a distributed application running on-premises in different organizations or departments of an organization There are also Topics and Relay capabiliteis but we will talk about them in the future. A figure that illustrates how Azure Service Bus works. There is a sender who send a mes...

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...

SQL Large File Execution from CMD

sqlcmd -s DatabaseServerName -i FilePath