C
C#3mo ago
LookItsLos

Setting Up a C# Backend with React Frontend and MySQL on VSCode - Need Guidance for .NET 8 Compatibi

Hey question guys lol, I am struggling so much right now. Here’s what I’m trying to do: I’m using VSCode on Mac, and I plan to use C# for the backend and React for the frontend, along with a MySQL DB. I’ve been researching how others have set up similar projects, but most resources cover .NET 6, and the latest version is .NET 8, which has some differences. I noticed that many people use Visual Studio for such projects, but since Visual Studio for Mac will soon be discontinued, I don’t want to start coding on it. I’m unsure where to begin. I’ve already created separate folders in VSCode for the Web API backend and another folder for the React app using ‘npx create-react-app’. Do you have any suggestions on how to continue or what I should look into to make this work?”
2 Replies
SpReeD
SpReeD3mo ago
.NET 6 & 8 are both LTS frameworks and not so different, the language is still C#. Visual Studio Code is a text-editor Visual Studio is an IDE
Angius
Angius3mo ago
Consider using Vite over CRA Besides that, use .NET 8 And VS Code is fine, in an "ek, okay I guess" way, as long as you install DevKit extension Without DevKit it's straight garbage for C# development
Want results from more Discord servers?
Add your server
More Posts
Maui issues after changing namespaceyesterday I had the briliant idea of changing the name of my app because i made it open source and pRestSharp multipart request in from Unity fails with NRE after successfully sending requestWith this stack trace: ``` NullReferenceException: Object reference not set to an instance of an objWhen I set PublishAot to true, I get "Publish has encountered an error.When I set PublishAot to true, I get "Publish has encountered an error. We were unable to determine Blurring an Image in C#, working slowlySmall glitch but my algorithm for making this image blur is running super slow, going from the top oMy socket won't send data to 600 endpointsMy application sends a packet to 600 servers in order to gather data about active players and such. Help with Azure Cognitive Services?Currently I would like to add AI to my personal projects, I read about Azure cognitive services, I w✅ Need some help debugging EF Core db queryI am trying to get some information from the database. I am running this query: ```CS var ordersInLa✅ Seed cannot be added because of required property IDThe seed entity for entity type 'Series' cannot be added because no value was provided for the requiRazor Page Validation Error MessageFor "int" and "decimal" it gives a standard error message instead of my pre defined. "Is not valid fHelp Needed: Choosing Between VSCode on Mac or Visual Studio via Remote Desktop for Windows BackgrouI'm starting a new project and can't decide between two options: using VSCode on my Mac or using Vis