One of the common scenarios that people usually face in application development is to upload a bulk of raw data (maybe from an excel or csv import) and save…
Read more
ASP.Net core 2 and above have the concept of razor pages which is an interesting useful addition. It is quite similar to asp.net web forms model. Unlike MVC views &…
Read more
Consider the following method which needs to be tested. and one of the unit test of this method mockRepository.Setup(x => x.AddIncomePeriod(It.IsAny<IncomePeriod>())).Returns<IncomePeriod>(x => x).Verifiable(); ‘Setup’ mocks a method and ‘Returns’ specify…
Read more
Recently I started using docker extensively and found the number of commands you need to have on your tips quite overwhelming. So here is my list of most common commands which…
Read more