Connecting an ASP.NET core API to a MySQL db in AWS RDS?
Reddit » .NET
by /u/Jaymageck
16m ago
Firstly - I'm new to .NET and AWS. Dropped in the deep end of a client project by my employer, who knew my skillset, but I digress. I'm not even a back-end dev normally, I've only touched small pieces of back end in my career. I'm trying to understand how I create a DbContext in my project that connects to a MySQL db on RDS. Actually, it's more complicated than that. the project is getting deployed into a container managed by Fargate that deployment is all through terraform (which I've also never used), including the setup of the database, which is a new db for this project. I don't even hav ..read more
Visit website
Trying to write me first endpoints
Reddit » .NET
by /u/dabe3ee
2h ago
Hello everyone, Currently working as Frontend developer, 3YEO. Feeling strong in JavaScript area and would like to start my journey to full-stack development. Right now I have finished C# course and would love to start learning about .NET and how to build backend endpoints with database connection for web apps. Could you help me and guide me where and how I could start? Would be better to stick to free content but paid courses works too! submitted by /u/dabe3ee [visit reddit] [comments ..read more
Visit website
EF and Unit Tests web api I just cant figure out what to do pulling my hair out
Reddit » .NET
by /u/evdriverni
2h ago
I have a web API with maybe 25-30 calls to it in .NET C# and Entity Framework. I know you all say don't mock the DB context, but some of my logic is based on what comes from the database. So, without the unit test being able to step over the context, what would I be better off doing? Using an external testing tool to ensure the data comes back as expected and not creating my unit test in C# at all? It seems awkward because we know Entity Framework supports unit of work, but yet we can't abstract or mock the DB layer. I've seen various attempts on YouTube where people are just using fake data ..read more
Visit website
CI for dotnet
Reddit » .NET
by /u/Coda17
2h ago
Anyone else have a hard time writing CI jobs for dotnet? I've been trying to keep my CI clean and separate out different jobs, but dotnet has made it a huge pain in the ass if I don't want to do everything (restore, build, test, publish) in one giant job. I'm trying to keep the discussion as CI provider agnostic as possible. But in general, I'd like to assume that each job starts from a fresh checkout of the git branch and has the capability of pulling in artifacts from previous jobs (I would hope all CI implementations can provide at least that). Things I'm trying to accomplish (please feel ..read more
Visit website
Converting dotnet8 project to dotnetCore3.1
Reddit » .NET
by /u/Daiko__Seidra
3h ago
Title says it all, but... Let me give a bit more of an explanation. Background about me -- I'm a novice programmer, I am proficient with C# using the .NET 8.0 framework. I've pretty confident in my ability to write readable, efficient code and solve *most* problems, trying to figure out my mistakes along the way. I created a project using the Discord.Net and dotenv.net libraries (its a discord bot) and all is good. Compiles fine, works like a charm, after publishing it still works as intended. HOWEVER. I recently sought out a domain to host the bot for me, and it was really affordable, so I w ..read more
Visit website
What is the procedure to get PR merged in dotnet repo
Reddit » .NET
by /u/nightwalker_7112
5h ago
There was a very basic issue requiring changes in doc comments of a method. I have fixed that issue and created PR against it. How can I get it reviewed and merged? PR: https://github.com/dotnet/runtime/pull/100330 submitted by /u/nightwalker_7112 [visit reddit] [comments ..read more
Visit website
Upgrading from Framework to .net 6
Reddit » .NET
by /u/Own_Yak_8254
7h ago
Trying to upgrade a .Net 4.6.1 package to .Net 6 I am getting an issue with System.Activities.Core.Presentation and System.Activities.Metadata packages both of these nugget packages don’t officially support .net 6 but trying to get a workaround I need help with any ideas on 1. Any alternative to these packages which work 2. Or how to make these packages work even after .net 6 migration P.S to give more content this is part of a custom activity/library for UIPath automation submitted by /u/Own_Yak_8254 [visit reddit] [comments ..read more
Visit website
Wondering if upgrading to .NET 8 or sticking with .NET 6?
Reddit » .NET
by /u/GAP-Tech-Solutions
7h ago
submitted by /u/GAP-Tech-Solutions [visit reddit] [comments ..read more
Visit website
Teams Bots, AKA hell on earth and a true journey into true evil
Reddit » .NET
by /u/ps5cfw
7h ago
Maybe this is a rant, maybe it's a desperate call for help, I don't know. I have been slamming my head against the wall for an entire month, fighting with my sysadmins to give me all the graph permissions that are available, and yet I have achieved NOTHING so far So here's a bit of context: My company wants to have SOMETHING that allows us to send Teams Messages alongside emails to notify our users that an action needs to be taken for something inside our ERP. So you know, we have a very simple SQL Server Database and a table containing all the addresses, the body, everything you basically ne ..read more
Visit website
Smart Components Preview - Blazor controls that are LLM integrated
Reddit » .NET
by /u/malthuswaswrong
8h ago
submitted by /u/malthuswaswrong [visit reddit] [comments ..read more
Visit website

Follow Reddit » .NET on FeedSpot

Continue with Google
Continue with Apple
OR