我已经将个人网站从ASP.NET转换为ASP.NET Core Web应用程序(框架).我已经将此文件上传到了azure应用服务,并且效果很好.
I've converted my personal website from ASP.NET to ASP.NET Core Web app ( framework). I've uploaded this to azure app services and works fine.
我现在想在名为Blog的虚拟应用程序中运行我的博客(这是一个针对 4.6.1的ASP.NET MVC Web应用程序.)
I would now like to run my blog (which is a ASP.NET MVC web app targeting 4.6.1) in a virtual application called Blog.
这有可能吗?如果需要,我需要采取什么步骤?
Is this possible and if so what steps do I need to take?
更多信息.我尝试在VS中使用Web部署将博客应用程序部署到虚拟目录. 但是,尽管它说成功了,但博客根目录不在wwwroot下..我的错误博客存在于/site/wwwroot中.但是,访问sitename \ blog时出现HTTP错误502.5-进程失败.
More info. I've tried using web deploy in VS to deploy the blog app to the virtual directory. However, though it says successful the blog folder is not present under wwwroot.. My mistake the blog is present in /site/wwwroot. However, I get a HTTP Error 502.5 - Process Failure when accessing the sitename\blog.
推荐答案以下问题的公认答案解决了我遇到的问题.
The accepted answer in the question below fixes the issue that I had.
ASP.NET 4.5在ASP.NET Core 2.0应用程序下将Azure Web App中的虚拟应用程序抛出502.5
更多推荐
在ASP.NET核心Web应用程序下的虚拟目录中运行面向.net 4.6.1的MVC Web应用程序.是否有可能?
发布评论