❔ Why can't I host my ASP.NET WebAPI on Ubuntu ?
1) I made a new user
2) I created a folder called
(now the full path is:
3) Ran
4) Added the following configuration file in
5) Ran
And of course, when I visit
.
I'm sure I'm doing a bunch of things wrong. I am completely new to Linux & ASP.NET, but I'm willing to learn, so please help me if you can.
sudo adduser aspsites2) I created a folder called
surf and cloned my repo inside it git clone myurl(now the full path is:
/home/aspsites/surf/SurfFinder/SurfFinderAPI/SurfFinderAPI.csproj)3) Ran
dotnet build (all good)4) Added the following configuration file in
/etc/nginx/sites-enabled/aspsites:5) Ran
dotnet run and then the CLI got stuck? Now I can't run any command. And of course, when I visit
www.mywebsite.com/surf/SurfFinder/WeatherForecast nothing happens I'm sure I'm doing a bunch of things wrong. I am completely new to Linux & ASP.NET, but I'm willing to learn, so please help me if you can.
