在ASP.NET核心Web应用程序下的虚拟目录中运行面向.net 4.6.1的MVC Web应用程序.是否有可能?

编程入门 行业动态 更新时间:2024-10-19 14:44:13
本文介绍了在ASP.NET核心Web应用程序下的虚拟目录中运行面向 4.6.1的MVC Web应用程序.是否有可能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经将个人网站从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应用程序.是否有可能?

本文发布于:2023-11-15 13:56:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1595050.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   有可能   核心   目录中   ASP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!