Speed ASP.NET Core is by far the fastest full-stack major web framework out there. Full-stack, meaning a framework that provides wide feature coverage, including server-side templates, database connectivity, form processing, and so on. Major means it’s widely adopted, used by the community, and supported by a big company and/or community. According to TechEmpower and their […]
Continue readingIntroduction With C# 7.2 we got a new type: Span<T>. So, what is Span? Span is a new value type that enables us to work and manage any type that represents a contiguous chunk of memory. As Mads Torgersen has put it: Span is a window onto an existing chunk of memory. For instance a chunk […]
Continue readingTL;DR Add following line to your .csproj file: <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish> Introduction I was publishing a project I am working on to web server (Linux) and I had an issue with Razor Pages. However, it seems that this error occurs only when you precompile your Razor views (MVC views, Razor Pages). Why would you do that? Well, […]
Continue readingIntroduction ASP.NET Core and .NET Core have been in development for years already. If you look into ASP.NET Core MVC repository history, you will find commits from July 2013. These are the new frameworks from Microsoft, that are the completely open source and cross-platform. If you want to learn more about ASP.NET Core, you could […]
Continue readingAdding and updating NuGet packages via command line – dotnet CLI Just like we can add, remove and update NuGet packages via UI in Visual Studio or Visual Studio Code we can accomplish the same using the dotnet CLI. Adding package For example, to add ASP.NET Core CORS package we run the following: dotnet […]
Continue reading