Dante
Dante
CC#
Created by Dante on 9/8/2024 in #help
Opus, sodium and ffmpeg for docker linux app
Ive spent 1 hour trying to add the DLLs only to figure out my project is built for docker linux. Any help in adding the above to my C# .NET Core 8 webapi ? The usage is for Discord.NET discord bot voice.
3 replies
CC#
Created by Dante on 9/7/2024 in #help
Question about best practices for project org
Im a beginner in C#, but I do have extensive experience in JS (NodeJS/React). That means I can make things work by just googling answers, but there's one thing thats been confusing the hell out of me: Project structure & naming conventions I'm seeing different approaches and Im unsure which would be the best. DTO folders? Entities Folders? Models Folders? Helpers? Services? Can anyone recommend a good project structure that you have seen widely used ? Id need something that says "in the models folder you add your API models" for example - just so I get an idea. I know the question might be a bit far fetched, but Im hoping to get any kind of advice at this point. Unfortunately this is not something I am able to learn on my own and Im currently only working on personal projects on C#. Appreciate it. EDIT: Articles, tutorials or whatever you deem necessary is also welcome.
19 replies
CC#
Created by Dante on 8/29/2024 in #help
SQLServer Express in docker - can update DB, but cant connect
I have a SQLServer Express in a docker container and my small (still learning) app in VS 2022. Ive used Update-Database in PMC and it works fine. When I try to hit my simple GET route (built-in swagger) Im getting errors that "the server was not found" - implying it cant connect to SQL. Connection string seems fine since I can update/migrate DB. Any idea?
19 replies