How to mock ASP.NET Core Identity?

I was having a bit of issue when I tried to test my class which needs UserManager<ApplicationUser> object and RoleManager<IdentityRole> object in constructor method. Both classes are from new membership system called ASP.NET Core Identity. You can learn more from Introduction to Identity on ASP.NET Core When I first googled for my problem, some people... Continue Reading →

Generate absolute URLs in ASP.NET MVC

Sometimes it's easier to create relative URL in development using Url.Content("~/yourimage.png"). It seems to be quicker to code this way. However, there are times that I need to generate absolute URL for public facing websites where SEO matters. Quickly google "why absolute url matters in seo", there is quite a number of blogs or articles... Continue Reading →

How to become a manager?

Nowadays, technology has become an integral part of any organization, for instance, manufacturing, marketing, operation and so no. Therefore, it is fair enough to conclude that technical experts have become an important factor for a company or organization success. Some technical experts would continue their effort as individual contributor according to their given roles or... Continue Reading →

Create a website or blog at

Up ↑