ASP.NET Core is a fully open source, high-performance, and cross-platform framework. ASP.NET Core runs anywhere you need it to (Windows, Mac, Linux). In this post, we will see how to host ASP.NET core application on Linux(CentOS 7) with Nginx as the reverse proxy.
In this post, I am going to discuss what is Swagger and Swashbuckle, and how to generate Swagger UI with ASP.NET Core 2 Web API and how to improve the Swagger documentation and UI with XML comments.
Recently one of my Angular projects had a requirement to have multiple instances of websites hosted on the same domain with different base URLs. In this post, I will talk about how to make these changes in Angular.
The best way to redirect non-www to www URL in Nginx is to define a separate server for example.org and redirect permanently to www.example.org
With Visual Studio 2017.3, came the first "point" release or minor update to C#, 7.1. This release adds three new features on top of C#7.0: async main method, default literal expressions and inferred tuple element names. In this post, I will cover how to enable C# 7.1 and the new features which came with it.
With the release of .Net Core 2.0, SmtpClient is now available. It is identical to what was there in full .Net framework. Ideally, the code to send email using SmtpClient you might have written in .Net framework should work in .Net Core 2.0 pretty much by copy-pasting.
Have you been using C# for years? If you haven't looked at C# 7 new features yet, its time to learn some cool new features. Let's discuss few top new features of C# 7 like out variables, Pattern Matching, Tuples, and Discards.
AutoMapper is a convention based object-object mapper. It maps two different entities by transforming an input object of one type to an output object of another type. In this post, we will setup Automapper in ASP.Net core project.
The string.Contains method returns a value indicating whether a specified string occurs within this string, but it is case sensitive. And there is no StringComparison version of string.Contains method available to use for case insensitive. E.g. Running following lines of code&nbs