DEV Community

Discussion on: Get started with minimal API for .NET 6

Collapse
carnato profile image
Carnato

I know how to setup nodejs server but i didn't know how to setup .NET server and i start to learn .net so please help me for how to start

Thread Thread
softchris profile image
Chris Noring Author

so normally, dotnet run starts a web server if you build a web api. Depends on the project type. Or are you looking to something like http-server but for .NET?

Thread Thread
carnato profile image
Carnato

yes yes so please explain how to setup .net server

Thread Thread
softchris profile image
Chris Noring Author

so as long as you .net core installed, it just runs when you run dotnet run from the command line. You can configure what ports it starts on for http or https, here's a doc for that, launchSettings.json is what you want to check for that. More details, docs.microsoft.com/en-us/aspnet/co...

Thread Thread
carnato profile image
Carnato

Thanks for the helping me ✌