undisputed world champions
undisputed world champions
CC#
Created by Saetherin on 9/19/2023 in #help
❔ What does "Specify the UNC path" mean when deploying using ClickOnce?
i think the install location is where future updates will be placed so the app can find them the app will always be installed into the users appdata, iirc
14 replies
CC#
Created by Saetherin on 9/19/2023 in #help
❔ What does "Specify the UNC path" mean when deploying using ClickOnce?
if your computer is named pc1 you should be able to do \\pc1\c$\Dev\testUNCPath instead, i think
14 replies
CC#
Created by sabaisabai on 9/15/2023 in #help
❔ ✅ 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
CC#
Created by Up on 8/11/2023 in #help
✅ EF Core Relations don't seem to work properly
and i guess the platforms are unique too? so platforms doesn't just contain duplicates?
43 replies
CC#
Created by Up on 8/11/2023 in #help
✅ 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? catshrug
43 replies
CC#
Created by Up on 8/11/2023 in #help
✅ 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 newing up a new instance
43 replies
CC#
Created by Kris on 8/6/2023 in #help
❔ Host Can't be Null error when trying to run db migration using postgres
it seems like you don't have a appsettings.json in your Web-project that's the one that counts not sure if it makes sense having appsettings.json in library-project catthinking
18 replies
CC#
Created by yatta on 6/6/2023 in #help
❔ What could possibly be the reason when I run database -update but no tabled added ?
that doesn't look right (the methods should have code in them) did you add a DbSet<...> for your new type to your dbcontext?
10 replies
CC#
Created by yatta on 6/6/2023 in #help
❔ 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
CC#
Created by Halfbax on 5/26/2023 in #help
❔ JSON serialization fails
or your class could have a property private Dictionary<string, RiotChampion> Champions { get; set; } instead
8 replies
CC#
Created by Halfbax on 5/26/2023 in #help
❔ JSON serialization fails
data in your json is not an array, but an object with properties Aatrox and Ahri it should be something like this if you want an array instead:
{
"type": "champion",
"format": "standAloneComplex",
"version": "13.10.1",
"data": [
"Aatrox": {
"id": "Aatrox",
"key": "266",
"name": "Aatrox"
},
"Ahri": {
"id": "Ahri",
"key": "103",
"name": "Ahri"
}
]
}
{
"type": "champion",
"format": "standAloneComplex",
"version": "13.10.1",
"data": [
"Aatrox": {
"id": "Aatrox",
"key": "266",
"name": "Aatrox"
},
"Ahri": {
"id": "Ahri",
"key": "103",
"name": "Ahri"
}
]
}
(with square brackets [])
8 replies
CC#
Created by Kitty on 5/13/2023 in #help
❔ Swagger does not generate schemas
[ProducesResponseType(typeof(WeatherForecastClass), StatusCodes.Status200OK)] should help 😉
4 replies
CC#
Created by Darma on 4/23/2023 in #help
❔ Trouble with modifiers
you only set fullyOccupied inside the constructor you either want to re-evaluate it when 'Occupancy' is set or have FullyOccupieds getter as return occupancy == 1.0f; to evaluate it any time FullyOccupied is accessed, i guess 😉
14 replies
CC#
Created by AndrewDEV on 4/16/2023 in #help
❔ I've closed The Designer and i cant open it
right-click on it in the solution explorer and choose "designer" or similar, maybe?
7 replies
CC#
Created by Zhyrnyi Pes on 4/12/2023 in #help
✅ Debugging razor component page isn`t working
just some things to consider: are you starting in debug mode? are there any errors in the error view? have you tried restarting vs?
7 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
i mean microphones and speakers are kinda the same thing ... like generators and electric engines are basically the same but i don't know if that's a smart idea ^^
89 replies
CC#
Created by Pixel on 4/3/2023 in #help
[System.Commandline] how to exit on --help
nice 😄
24 replies
CC#
Created by Pixel on 4/3/2023 in #help
[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 registered
24 replies
CC#
Created by Pixel on 4/3/2023 in #help
[System.Commandline] how to exit on --help
put your code into a function called DoSomethingCool for example and do ProgramRootCommand.SetHandler(DoSomethingCool); before you call await ProgramRootCommand.InvokeAsync(args);
24 replies
CC#
Created by Pixel on 4/3/2023 in #help
[System.Commandline] how to exit on --help
or did you put you command code after the await ProgramRootCommand.InvokeAsync(args);? that would explain the problem ^^ that code would be run after the help or any commands ^^
24 replies