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

ASP .Net Core 2.1 features: Part I

You can find my all .Net core posts here. In this post, we will see the features of Asp .Net Core 2.1 SignalR SignalR is coming into the .Net Core. I have already written a post on how to use SignalR in Net Core which is here but as some of the changes are going on … Continue reading ASP .Net Core 2.1 features: Part I