C
C#2mo ago
shiba

How to Start with ASP.NET Web API

Hi, @everyone I am new to ASP.NET Core I want to build a simple login & signup page using ASP.NET Web API
frontend is on react.js database is MongoDB
9 Replies
Angius
Angius2mo ago
dotnet new webapi or use the appropriate template in VS Any particular reason you want to use Mongo?
shiba
shibaOP2mo ago
actually, i know a little bit about SQL I want to explore NoSql as well I created the project but didn't know how to remove the existing Swagger template & add my own
Angius
Angius2mo ago
Well, generally, you would not be removing the Swagger stuff, just adding your own controllers Default controllers can be removed, though, of course
shiba
shibaOP2mo ago
ok thanks every time I run the code, the swagger always comes up how do I stop it?
Angius
Angius2mo ago
Why would you want to stop it? In any case, Properties/launchSettings.json and change "launchBrowser value to false
shiba
shibaOP2mo ago
Thanks Hey, any project would you like to suggest that I can follow, to learn more any recommended github repos
Angius
Angius2mo ago
Not really I did not learn from others' projects, so I don't have anything in particular to recommend
shiba
shibaOP2mo ago
okay so what can I follow to learn more anything beginner friendly
Want results from more Discord servers?
Add your server