When upgrading from .net core 1.0 to 1.1, you may encounter the following error when running dotnet publish command:
dotnet.exe : No executable found matching command "dotnet-publish-iis"
The resolution is simple: adding the following line into the project.json file. At moment, the latest tool version is 1.1.0-preview4-final.
You may also encounter other similar issues:
Error : No executable found matching command "dotnet-bundle"
The way to resolve the problem is similar.
What is a tuple? Tuple is an ordered sequence, fixed-size, immutable and of heterogeneous objects. Tuple has been existing in other languages such as F#, Python, Perl and etc. for a long time. It was first introduced into C# from C# 4.0 and has been evolving over time. Since C# 7.1, tuple...View detail
Sending emails are common in applications. For example, when user registers, we need to send account activation emails. This post summarize the approaches we can use to send emails in .NET Core 1.x and 2.x.View detail
IP Address In ASP.NET Core, Request.UserHostAddress has been removed though that attribute exists in the traditional ASP.NET applications. We can use HttpContext.Connection to retrieve the remove client IP address: var ipAddress = HttpContext.Connecti...View detail
Migrating from ASP.NET Core 1.x to 2.0 is not an easy job especially if you have customized Identity and used customized authentication. This post summarizes the issues and errors I have experienced and their resolutions when upgrading my project. Hopefully it can save you sometime if you are doi...View detail