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 moreUsing DbSet
Getting started with asp.net core razor pages
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 moreMoq : Setup, Verify, Verifiable & Callback explained
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 moreDocker cheat sheet
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 moreIntroduction to Language understanding intelligent service (LUIS)
LUIS is the offering from Microsoft for adding natural language processing support to your applications. It is based on machine learning and can be used to add language understanding support…
Read moreUsing timer triggers with Azure web jobs
If you are writing web jobs and you need to have these triggered on a scheduled basis you can use a timer trigger. Timer trigger lets you specify a CRON…
Read moreEnd to end correlation using Azure application insights for asp.net mvc apps
I have been working with Azure application insights for some time now and its now that I am realizing its full potential. Traditionally we all have worked with applications logging…
Read moreUsing snapshot debugger with application insights
Application insights is a great offering from microsoft for monitoring your applications. Using snapshot debugger further enhances capabilities of app insights and give you much more power in resolving issues…
Read moreMapping JSON to objects using Automapper
In one of my recent project we had a situation where we had a huge JSON array which was supposed to be mapped to different model objects. We did some…
Read moreConnecting to SFTP server using azure logic apps
Lot of project requires connecting to external SFTP file location for uploading files .This is usually used for integrating two systems in an offline manner where bulk information from one…
Read more