Implementing Mediator Pattern in .NET Core using MediatR

Mediator pattern is the event-driven pattern, where handlers are registered for specific event and when the event is triggered, event handlers are invoked and the underlying logic is executed. It is highly used with the Microservices architecture which is one of the most demanding architecture for large-scale enterprise applications these days. In this blog post, … Continue reading Implementing Mediator Pattern in .NET Core using MediatR

Advertisements

Angular Caching issue in IE for $http

In this blog post I wanted to share one problem that I faced while working on Angular 4 project. I was using Angular 4 as a client side framework and ASP.NET Core Web API for server side operations. The problem I faced was related to HTTP GET request, which was caching the request for approx. … Continue reading Angular Caching issue in IE for $http

Mobile DevOps using VSTS, Xamarin Test Cloud and HockeyApp for Xamarin

In this post I will show how effectively we can use VSTS to provide build automation, release management for Xamarin Apps and use Xamarin Test Cloud and HockeyApp for application testing. VSTS stands for Visual Studio Team Services, is a cloud service to leverage certain features like defining new projects, team structure, build management, release … Continue reading Mobile DevOps using VSTS, Xamarin Test Cloud and HockeyApp for Xamarin

Targeting PCL to .NET Standard

Enterprise application architecture comprises of multiple layers and usually, each layer is representing a separate project. Each project could be a class library project, UWP project, web forms project or ASP.NET MVC project and so on. We usually have a core class library project which is shared across multiple layers and contains some backend and … Continue reading Targeting PCL to .NET Standard

Publishing ASP.NET Core in IIS

With ASP.NET Core, we can develop applications that runs cross-platform. We have choices whether to use the full .NET framework (4.5.2 or greater) or .NET Core, where .NET Core works cross platform. Comparatively with ASP.NET 4, ASP.NET Core framework is more powerful, modular and fast and provide different options for hosting ASP.NET Core application. ASP.NET … Continue reading Publishing ASP.NET Core in IIS

My book on JavaScript for .NET Developers

I am pleased to inform you that my book on “JavaScript for .NET developers has been published by Packt Publishing. It was a very good experience but of course it took lot of time from me. This book is a mastering series and targeted primarily to .NET Developers but other non .NET developers can also … Continue reading My book on JavaScript for .NET Developers

Using WCF SOAP Services in ASP.NET Core

When working with an ASP.NET Core application in Visual Studio 2015, there is no out of the box support to add WCF service references. To add services references of WCF services, Microsoft introduced the WCF Connected services preview to generate the SOAP service references for applications that are using .NET Core. To install WCF Connected … Continue reading Using WCF SOAP Services in ASP.NET Core

Transaction Per Request using AutoFac in WebAPI

When working with business applications, transactions plays an important role and providing atomic transactions is a good practice to commit or rollback transaction on either condition. In this post we will implement the Transaction per request in Web API controllers using AutoFac and action filters. Transaction per request is a recommended approach when designing your … Continue reading Transaction Per Request using AutoFac in WebAPI

Enable CORS in ASP.NET Web API

In modern web applications developers mostly use any client side frameworks like AngularJS, EmberJS, Knockout etc. and in order to make server-side request they either call a Web API or a web service through XMLHttpRequest object and perform CRUD operations. XHR or XMLHttpRequest in an API available to web browser scripting languages like javascript to … Continue reading Enable CORS in ASP.NET Web API