Use DbContextPooling to improve the performance: .Net Core feature

You can find all .Net core posts here. I have seen many awesome and new features sailed with ASP .Net Core 2.1. I have written a post for ASP Net Core 2.1 features which you can find here. In this post, we will see one awesome EF Core 2.1 feature which is DBContext pooling. There is not … Continue reading Use DbContextPooling to improve the performance: .Net Core feature

Solution for the error “Cannot find compilation library location for package ‘Microsoft.Win32.Registry” : .Net Core Errors Part II

You can find all .Net core posts here. .Net Core was introduced in last few months and people has started adopting it. In this series of post, I will put some frequent errors during .Net Core development and some important topics for the Core. In this post we will see how to resolve the error: InvalidOperationException: Cannot … Continue reading Solution for the error “Cannot find compilation library location for package ‘Microsoft.Win32.Registry” : .Net Core Errors Part II

IdentityServer4 in simple words: IdentityServer4 with .Net Core Part I

You can find all .Net core posts here. Once I explored and wrote about Authentication in .Net Core using Identity here, many people have asked me to explore and write on IdentityServer4. So I am starting a series of posts in which I will mainly concentrate on IdentityServer4 In this first post, we will see some … Continue reading IdentityServer4 in simple words: IdentityServer4 with .Net Core Part I

Secure .Net Core applications from the Open Redirect attacks: .Net Core security Part IV

You can find my all .Net core posts here. In these series of posts, we will see how to secure your .Net Core applications. In this post, we will see how to secure your .Net Core application from the Open Redirect attack. What is Open Redirection attack? Open Redirection attack is a URL Redirection. An Open Redirection attack is a kind … Continue reading Secure .Net Core applications from the Open Redirect attacks: .Net Core security Part IV

Secure .Net Core applications from Click Jacking: .Net Core security Part III

You can find my all .Net core posts here. In these series of posts, we will see how to secure your .Net Core applications. In this post, we will see how to secure your .Net Core application from the ClickJacking attack. What is ClickJacking? Clickjacking, also known as a "UI redress attack", is when an attacker uses multiple transparent … Continue reading Secure .Net Core applications from Click Jacking: .Net Core security Part III

Validate the model state globally in .Net Core MVC: .Net Core Quick posts

You can find all of my  .Net core posts here. In this post, we will see an awesome feature of .Net Core which will make the developer's life bit easy. We are talking about the Auto-validation of the models in .Net Core. I remember putting ModelState.IsValid check in almost all POST, PUT, DELETE etc action methods of … Continue reading Validate the model state globally in .Net Core MVC: .Net Core Quick posts

Download Publish profile from Visual Studio 2017: .Net Core quick posts

You can find my all .Net core posts here. In the current post, we will see how to download the publishSettings file from Visual Studio 2017. What is PublishSettings file? Whenever you deploy your applications or services on Azure App Service, all the details of your deployment is stored in the Publish profile, this is nothing but … Continue reading Download Publish profile from Visual Studio 2017: .Net Core quick posts

Read configuration in the controller: .Net Core Quick posts

You can find my all .Net core posts here. In this series of posts, we will see some quick tips or tricks to use some specific things in .Net Core In this post, we will see how to access configuration in the controller. As we know, in .Net Core we have appsettings.json file to store the … Continue reading Read configuration in the controller: .Net Core Quick posts

Implement Session in .Net Core(2.0)

Note – You can find the source code of my sample application here. You can find all of my  .Net core posts here. In this post, we will see how to implement session in your .Net Core applications. What is Session state? Session state is a feature in ASP.NET Core that you can use to save and store user … Continue reading Implement Session in .Net Core(2.0)

Secure .Net Core applications from CSRF attack: .Net Core security Part II

You can find all of my  .Net core posts here. This is the second post on .Net Core security. First part is here. In this post, we will see how to secure your .Net Core applications from CSRF attack. What is CSRF? CSRF stands for Cross-Site Request Forgery. CSRF in simple words: Cross-Site Request Forgery (CSRF) is … Continue reading Secure .Net Core applications from CSRF attack: .Net Core security Part II