Tools Resharper One of the most popular productivity tool for Visual Studio users. As Visual Studio keep adding the same functions introduced by Resharper, it’s getting pretty OK just use Visual Studio without Resharper. Still, I love using Resharper as it helps me focus on problem-solving. In particular, I like its continuous testing feature. Bad… Continue reading Tools and Libraries for an ASP.Net developer in 2018
Bundling Angular for production in Visual Studio 2015
There are many ways of bundling Angular SPA. One of the ways I followed is Code Project by Mark J. Caplin This article recommends gulp task script and SystemJs-builder. One thing I couldn’t make it work even I followed this article was bundling angular app for a production environment. This is because I started my Angular app following the… Continue reading Bundling Angular for production in Visual Studio 2015
Recursive mocking using Moq
Introduction When we want to mock a method that’s inside an interface which is inside another interface. This can go tricky. I’ll have a look at easy way mocking recursively using Moq. Prerequisite Moq mocking library ( Nuget package) Case There is a class having a dependency of IFoo interface, and IFoo contains IBar interface as… Continue reading Recursive mocking using Moq
How to migrate Word Press from a server to a PC
There are many ways to migrate Word Press from a server to another. I’ll go through the easiest way to migrate Word Press from a server to a PC. The one possible reason to have a copy of Word Press in local machine is that it can be useful when testing new version or new… Continue reading How to migrate Word Press from a server to a PC
Use Hangfire with SQLite in ASP.Net 4.5.
I’ll install Hangfire with SQLite, which could be quick and easy solution for small projects, which do not need full blown DB server. Versions of each framework and libraries are as follow. APS.Net MVC 4.5.2 SQLite 1.0.103.0 Hangfire 1.6.7.0 Hangfire SQLite extension 1.1.1.0 Confusion selecting correct SQLite library. When go to http://hangfire.io/extensions.html page, we can see the… Continue reading Use Hangfire with SQLite in ASP.Net 4.5.