C
C#2y ago
EliasGPS

❔ .NET CORE 6 services

So i want add a service "AddContentful" but idk how to fix this because i can only find configurations with startup.cs. Any help?
3 Replies
Angius
Angius2y ago
You're supposed to pass configuration there, apparently builder.Configuration
EliasGPS
EliasGPS2y ago
ok thx
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ Console Game Project (Memory Matching)Hi all! I'm not sure if this is the right channel, but I have a question... I'm New to programming (Find all HREFs out of string and extract valueHey, I am currently developing a web scraper and therefore want to extract all available information❔ How to store session data backend?I'm building a similar game to skribbl.io which is a drawing game where you draw with other people. ❔ How do i sort a list of objects by multiple possible itemsHey, i'm trying to write a method to return a list of objects by letting the user choose which item ❔ ASP.NET Core how to let a controller be mapped only in development modeThis is pretty easy to do with minimal API's, you just do a check and map only if it succeeds: ```cs❔ Turn off VS 2022 PreviewHow do I turn off VS 2022 Preview? It is showing on the splash screen and everywhere. I turned it on❔ Winforms rotated text in `ToolStripButton` appears boldWhen setting the direction of text to e.g. Vertical270, the text in the button becomes different, eiIf I do console.clear() it just skips a bunch of lines instead of clearingI am using vsc c# and I think its an error with .net because I saw a few forums talking about it, pl❔ Why wont visual studio auto format this with CTRL K + CTRL D?can anyone think of why visual studio wont format these lambda arrows with `CTRL K + CTRL D` but it ❔ Changing TextBlock Background property in a static methodThe method needs to be static (unless there are implementations of LowLevelKeyboardProc that doesn't