.NET 5.0 is now available and you might want to upgrade or include the new target framework within your continuous integration. If your CD features a self-hosted Agent, this article might be the wrong place to look for an answer, as we only cover the Hosted VS2017 pool. Remark: This workaround only works for .NET …
Tag: .NET Core
Session Authentication with ASP.NET Core 3.1 Blazor Server Side
There are a lot tutorials online on “howto implement authentication with .NET Core Blazor Server Side”; comprising Windows Authentication or a cookie based approach, which isn’t even supported yet. Microsoft somewhat confirmed that cookie support may be added within the future, but for now, we need to stick with a workaround. In case you don’t …
Restart .NET Core Web Application on FTP upload
Yes, Continuous Delivery is a thing; but what about teeny-weeny side projects? Or, even worse, what if a CD isn’t available? Instead of copy/past and start/stop the remote Web-Server, one could simply use the integrated Visual Studio FTP upload + some hacky scripts to detect file changes, triggering a dotnet application restart.
.NET Core on Linux (Ubuntu 18.10) ‘NuGetFallbackFolder’ Error
Permission denied to modify the ‘/usr/share/dotnet/sdk/NuGetFallbackFolder’ folder. Here are some options to fix this error: —————————————- 1. Re-run this command with elevated access. 2. Disabled the first run experience by setting the environment variable DOTNET_SKIP_FIRST_TIME_EXPERIENCE to true. How to fix this issue sudo su apt-get remove dotnet-sdk-CURRENT_VERSION rm /usr/share/dotnet/dotnet -r rm /usr/bin/dotnet -r mkdir -p …
Browser + Razor = Blazor!
Haven’t heard of WebAssemblies yet? Check some other articles to shortly educate yourself about WebAssemblies before continue reading. Ok, but what about C#? As far as my research did take place, there is currently Mono and Microsoft working on a project (Experimental). Since the Mono Project on GitHub lacks too much guidance and I haven’t the power …