Hello, I'm unable to build AspnetCore from source on Ubuntu 18.04 on WSL (1 & 2).
Using this script to pull and build to a new directory:
#!/usr/bin/env bash cd /mnt/e/GitHub/sharpninja git clone --recursive https://github.com/sharpninja/aspnetcore git submodule update --init --recursive cd aspnetcore git remote add upstream https://github.com/aspnet/aspnetcore git fetch upstream git merge upstream/master ./restore.sh ./build.sh --all --restore -c Debug -v d
Results in this attached output
internal.aspnetcore.buildtasks/3.0.0-build-20190530.3twice and it fails on the second attempt.
@WalterEbbers you need windows-authentication or why are you using IIS? Keep in mind you can run the app self-contained using kestrel rather than IIS.
With .NET-Core and the generic-hosting system you can install these web-applications or apis as windows-service as well.
here the docs:
and that's the package you will need:
Also works for system-d on linux:
Autofac 4 used to support mutable container but with Autofac 5 they moved away from that
While the container it-self cannot be updated anymore, you can still create a scope manually that uses different registrations.
Check this out @WalterEbbers
We have an integration for ASP.NET Core as well. Pretty simple to use.
AddOpenIdConnect()by doing the very same registrations but with a child-lifetime scope of
dotnet efand Entity Framework pops up.
dotnet ef no longer works - moans that there are 2 project files
I can delete the
.dcproj file (and potenitally restore it) - but that makes running migrations difficult as part of a project build.
thanks, a lot to take the time an read my question.
How to handle data persistence and Immutability of tasks?
@riosje https://www.litedb.org/. It's small and easy to embed.