Posts

Top Microsoft Technology Trends 2022

Image
    Top Microsoft Technology Trends 2022     In today's challenging business landscape, it is constantly evolving technology. According to Forbes, after 2018, more than 50% of global IT spending towards cloud-based.  Microsoft also offers various certification courses to train professionals  in these new technologies.  Organizations, including governments, enterprises, and small businesses, are modernizing and innovating using cloud services. The pandemic, in a way, has demonstrated that digitally fortified firms are more adaptable, resilient, and capable of transforming when confronted with a crisis. Simulation, automation, and remote everything is becoming a reality with the move to a digital first world.  The first trend is that every business is becoming a digital business and building your own digital capability will be crucial. Getting certified in these new technologies can give us the skills needed to create a highly scalab...

Azure Functions CRUD operation using Dapper Service

Image
 Azure Functions CRUD operation using Dapper Service We are using Dapper for CRUD operation in our azure function. We have the CronDapperService class which is implementing the ICronDapperService The interface ICronDapperService has the following declarations. using Dapper; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Text; using System.Threading.Tasks; namespace DemofunctionApp.Services.DapperService {     public interface ICronDapperService : IDisposable     {         DbConnection GetDbconnection();         T Get<T>(string sp, DynamicParameters parms, CommandType commandType = CommandType.StoredProcedure);         Task<IEnumerable<T>> GetAll<T>(string sp, DynamicParameters parms, CommandType commandType = CommandType.StoredProcedure);         Task<int> Execute(string sp, Dynami...

Dependency injection in .NET Azure Functions

Image
  Dependency injection in .NET Azure Functions Azure Functions supports the dependency injection (DI) software design pattern, which is a technique to achieve  Inversion of Control (IoC)  between classes and their dependencies. Dependency injection in Azure Functions is built on the .NET Core Dependency Injection features. 1.Register services To register services, create a method to configure and add components to an  IFunctionsHostBuilder  instance. The Azure Functions host creates an instance of  IFunctionsHostBuilder  and passes it directly into your method. To register the method, add the  FunctionsStartup  assembly attribute that specifies the type name used during startup. using DemofunctionApp.Services.CronService; using DemofunctionApp.Services.DapperService; using Microsoft.Azure.Functions.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text;...

Azure Functions

Image
                                                                 Azure Functions 1. Introduction Azure Functions is a server less solution that allows you to write less code, maintain less infrastructure, and save on costs. Instead of worrying about deploying and maintaining servers, the cloud infrastructure provides all the up-to-date resources needed to keep your applications running. Azure Functions provides "compute on-demand" in two significant ways. First, Azure Functions allows you to implement your system's logic into readily available blocks of code. These code blocks are called "functions". Different functions can run anytime you need to respond to critical events. Second, as requests increase, Azure Functions meets the demand with as many resources and function instances as necessary - but only while needed....