Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run ASP.NET web api from github

I am new in asp.net and angular development.I dont know how to run asp.net web api from github. As we run angular code by using "ng build --prod --base-href https://ownername.github.io/repositoryname/ so i want to know could we run asp.net web api by using such kind of any command or something other which is used for this. Basically i want to run my project on network i tried by IIS server but no result is showing so now i want to try github process Help would be appricated

like image 806
Malik Rizwan Avatar asked Nov 02 '25 15:11

Malik Rizwan


1 Answers

asp.net core apps have to run in a .net core process on a server so the hosting environment needs to specifically support this. a variety of web servers can be configured to proxy the requests. Unfortunately, I don't think GitHub allows running app processes for asp.net core.

However you ca easily deploy to azure with even a free account https://learn.microsoft.com/en-us/aspnet/core/tutorials/publish-to-azure-webapp-using-vs?view=aspnetcore-2.2

like image 141
AliWieckowicz Avatar answered Nov 05 '25 05:11

AliWieckowicz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!