C
C#2y ago
paulman176

❔ Creating a seperate .net project that serves as a backend for my react webapp

I want to use dotnet to serve as my backend for my webapp, although I have no idea how to set it up properly. Does anyone have any guideline on how to setup a separate project for dotnet. Additionally I will need to use an API endpoint as well, I would like to know how to create that too
4 Replies
Becquerel
Becquerel2y ago
You want a 'web api project'
Becquerel
Becquerel2y ago
Microsoft
ASP.NET Web APIs | Rest APIs with .NET and C#
Build secure REST APIs with C# that reach a broad range of clients, including browsers and mobile devices. Build and deploy on Linux, macOS, and Windows.
Becquerel
Becquerel2y ago
your frontend makes normal HTTP calls to this API (through javascript features like fetch) to get data the API receives requests and lets you do all the classic backend stuff (logic, processing, database stuff...)
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
❔ ✅ Generics 'where' : Limitations of what types are allowsWhen I'm specifying what types are allowed, is it possible to say anything about what types are *not❔ Why Serilog doesn't loggin into a MSSQL DatabaseHi dear friends, I'm working on a solution that contains 5 projects, ( `Core`, `IdentityCore`, `EFCo✅ ASP.NET API (EF Core) RelationshipsUsing the following example in my learnings, I'm struggling to make this work the way I want it to. ❔ How to reference a list of objects that derive from 'Class<T>', if T is different for all of them?I have a manager class, Manager<T>. The child classes for this set T to their own type, due to a fun✅ How to flush NLog on application exit with MELHi, I am using Microsoft.Extension.Logger (MEL) ILogger abstraction, and NLog as my provided impleme❔ changing values in .csv file with file i/o commandshello, i'm trying to replace a certain column in a csv file with file i/o commands but i can't quite✅ CORS: Cross-Origin Request BlockedHello, I'm trying to figure out how to configure CORS on my .NET Web Api Application. The Api Appli✅ How do I move a Window in WinUI 3 C#?Hey everyone! I have a window that is shaped like a taskbar, so it's {screenWidth} x 50px tall. Curr❔ VIsual Studio 2022 Spell CheckingWhen I just opened visual studio 2022 today, it randomly just started doing spell checking on my cod❔ Segmentation fault when running app on raspberry piI am trying to compile a .net app for a raspberry pi, and making a very simple gpio app, but i'm get