2021年1月4日星期一

ASP.Net Core react deploy to IIS as application

As title.
I am developing ASP.Net core project with react.js, and deployed the project to a physical folder in my computer. Assume that my IP is a.b.c.d, I want to deploy it as application under default web site, and set a virtual path point to the physical folder where I deploy my project. That is, I want to show my project result when I open a browser and key in http://a.b.c.d/MyvirtualPath inside my address bar.
I've tried a way that to set PUBLIC_URL but I didn't see anything on my browser, and what I found about deploying onto IIS is to publish as a website, and that is not what I want.
Could someone guide me to achieve this?

https://stackoverflow.com/questions/65571903/asp-net-core-react-deploy-to-iis-as-application January 05, 2021 at 09:06AM

没有评论:

发表评论