Recently I change my development environment and come across following issue while browsing website on localhost The CodeDom provider type “Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider...
Category - .NET Core
As a developer lot of time, you come across ” Object reference not set to an instance of an object ” error and sometimes along with the yellow screen of death. This error is very generic and does not give you a lot of...
Azure function apps are the perfect example of the KISS principle (Keep it stupid simple). In very simplest terms Azure Function is a piece of code you run based on some trigger. Azure Functions are triggered by an event such...
Recently i come access a build issue while in Debug mode Severity Code Description Project File Line Suppression StateError CA0001 CA0001 : Exception of type ‘Phx.FatalError’ was thrown. Active That means...
Authentication and authorization might sound similar but there is a very subtle difference between these two terms. Authentication is just confirmation of user identity. Such as we know about this user (based on user name and...
In this blog post, we will explore how we can access FTP server and how we can download a file or complete folder based on access rights. Once files or folders are downloaded, we also delete files from FTP server to keep our...
This article shows how you can read nested and complex large XML file using XmlReader. few benefits of using XmlReader XmlReader reads data in a forward-only and read-only fashion. That’s why it is faster than...
A lot of times we come across a requirement to bulk insert data in SQL server. Now there are several ways to bulk insert data in SQL server table but in this example I’ll use SqlBulkCopy. Why use...
Recently I come across a requirement to create .NET Core Web API using JWT (JSON Web Token) authentication. I have used ASP.NET identity to provide a role-based authentication model. I have used .NET core 3.x to create this...