undisputed world champions
❔ ✅ problem with docker compose build
do you actually want to publish the BiddingService directly?
i feel like you have some kind of web or something that uses the BiddingService
you should publish that web instead of the BiddingService 😉
publish is meant for any kind of executable ... webs, console, maui, etc
7 replies
✅ EF Core Relations don't seem to work properly
tbh i havent used it like that before
but the error message complains about
SupportedPlatform
which you new up too
have you tried useing the ones you read from db?
maybe it doesnt work that well for naviagation properties? 43 replies
✅ EF Core Relations don't seem to work properly
are you trying to update or insert?
_dbContext.Mods.Update(result);
is sugesting you trying to update. you should use a Mod
that you read from the _dbContext
first to update, instead of new
ing up a new instance43 replies
❔ What could possibly be the reason when I run database -update but no tabled added ?
did you
Add-Migration
before?
this should add a migration with all the changes since the last migration was created
after that you can Update-Database
to apply the new migration to the database (creating the new table)10 replies
❔ Trouble with modifiers
you only set
fullyOccupied
inside the constructor
you either want to re-evaluate it when 'Occupancy' is set or have FullyOccupied
s getter as return occupancy == 1.0f;
to evaluate it any time FullyOccupied
is accessed, i guess 😉14 replies
[System.Commandline] how to exit on --help
yes you want to setup the
RootCommand
with all the commands and arguments etc you want to handle and then call await ProgramRootCommand.InvokeAsync(args);
it will read all the arguments from the input and call the appropriate command you registered24 replies