Read config data in .Net Core Test project: .Net Core quick posts part IV

In this post, we will see how to read configuration data in .Net Core Test project. We always need some configurable data which we can change once the application is deployed. Things are bit changed in .Net Core for reading the configuration. Let us see how to do it. prerequisite: Visual studio 2017 community edition, download here … Continue reading Read config data in .Net Core Test project: .Net Core quick posts part IV

API Versioning in .Net Core

You can find my all .Net core posts here. In this post, we will see how to use different options for versioning in .Net Core API projects. Versioning API is very important and it should be implemented in the API project. Let us see how to achieve this in .Net Core. prerequisite: Visual studio 2017 community edition, download … Continue reading API Versioning in .Net Core

The Gatekeeper security pattern: Cloud design patterns part II

You can find my all .Net core posts here. By this post, I am starting the series of post on Cloud design patterns. These patterns are mostly generic and can be used with any cloud provider but in this series, I will mainly focus on the Azure. In this post, we will see one more Security pattern which is Gatekeeper design pattern. … Continue reading The Gatekeeper security pattern: Cloud design patterns part II

Steps to add new field with Code first approach in .Net Core

You can find all .Net core posts here. I have written a post on Code first approach with .Net Core which you can find here. In above post, I have not covered adding an additional new field in the model and migrate it to the database using Code first approach. Let us see that scenario in this … Continue reading Steps to add new field with Code first approach in .Net Core

Browser Link in .Net Core: A nice example of SignalR

In this post, we will see Browser link feature of the Visual studio with Net Core. This feature is quite old so you might know this but to all those who do not know about browser link. Browser Link is a feature in Visual Studio that creates a communication channel between the development environment and … Continue reading Browser Link in .Net Core: A nice example of SignalR

CORS in .Net Core: .Net Core Security Part VI

You can find 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 what is CORS and how to enable CORS in your .Net Core application. What is CORS? Before going for the basic question “What is CORS?”, Let us take a scenario related to … Continue reading CORS in .Net Core: .Net Core Security Part VI

Global Authorization Filter in .Net Core: .Net Core Security Part – V

You can find all of my  .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 add the Authorize globally in your .Net Core application. Let us assume we need to add Authorize filter globally which means we are no more require to … Continue reading Global Authorization Filter in .Net Core: .Net Core Security Part – V