ASP.NET Web API using NET 6 C# & Windows authentication
ASP.NET Web API using NET 6 C# & Windows authentication The post ASP.NET Web API using NET 6 C# & Windows authentication appeared first on Naveed Ul-Haq's blog.
ASP.NET Web API using NET 6 C# & Windows authentication The post ASP.NET Web API using NET 6 C# & Windows authentication appeared first on Naveed Ul-Haq's blog.
Microsoft has recently released .NET 6.0 on 11th Nov 2021. This release has a lot of exciting features. Let’s Explore a few of these features One platform .NET 6.0 You probably notice there is no Core in its name that’s because Microsoft has merged all… Read More »What’s new in .NET 6
I come across the following warning during working on one of my projects. I looked at the internet and it seems this is very common so I thought I’ll add notes to resolve it. This warning could be dangerous and result in a logical error… Read More »Resolve: This async method lacks ‘await’ operators and will run synchronously. Consider using the ‘await’ operator to await non-blocking API calls, or ‘await Task.Run(…)’ to do CPU-bound work on a background thread.
Sometimes we come across a requirement to get lost of methods in C# class. It is very useful if you want to automate your documentation process and want to have a list of methods in a class. To get the list of methods in class… Read More »Get the list of method names from the C# class
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, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” could not be located. When i investigate this issue it turns out the project has Roslyn reference which new environment’s… Read More »Resolve: The CodeDom provider type “Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral … could not be located.
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 as HTTP request, file added,… Read More »Azure Function Apps with .NET Core & SQL server
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 “msdia140.dll” (or msdia100.dll/ msdia110.dll/ msdia120.dll/ msdia130.dll depends on your visual studio version) for your… Read More »Exception of type ‘Phx.FatalError’ was thrown