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
Category: web development
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.
Jenkins – Build set up for .Net project
Continuous integration and continuous deployment is the holy grail of the modern DevOps. Jenkins is the most popular continuous integration tool out there, but it requires some other knowledge to set it up, because Jenkins does not provide full out-of-the-box features for .Net projects. Installing Jenkins and set up to use source code control system… Continue reading Jenkins – Build set up for .Net project
What do you need to know as a .Net developer in 2016
One day I just thought about what I know and what I need to know more as a .Net based web application developer in 2016. There are so many technologies arising so quickly. It could be hard to simply follow all the new technologies, new JavaScript libraries, mobile technology, cloud, .Net Core, CI/CD, just name… Continue reading What do you need to know as a .Net developer in 2016