运行另一个ASP.NET核心应用程序内的ASP.NET核心应用程序 [英] Running an ASP.NET core app which is inside another ASP.NET core app

查看:132
本文介绍了运行另一个ASP.NET核心应用程序内的ASP.NET核心应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从模板创建了示例MVC Core应用程序,在这个应用程序中我创建了一个名为module的文件夹,在这个文件夹中,我已经放置了来自另一个MVC核心应用程序的已发布文件,现在是我可以运行的一种方式模块文件夹。



我的尝试:



第一级应用程序按预期工作但二级应用程序不起作用。第一级应用程序路径是'http:// localhost / MyApp /',第二级应用程序路径是'http:// localhost / MyApp / Module'我使用的是安装了.NET核心软件包的IIS 7.5。

解决方案

我从来没有处理过这个问题,但将第二个应用程序放到自己的区域是否可行?



地区| Microsoft Docs [ ^

I have created sample MVC Core app from the template and inside this app I have created a folder called module and inside this folder I have put the published files from another MVC core app, now is their a way that I can run that module folder.

What I have tried:

The first level application works as expected but second level app does not work. The first level application path is 'http://localhost/MyApp/' and the second level application path is 'http://localhost/MyApp/Module' I am using IIS 7.5 with .NET core bundle installed.

解决方案

I've never had to deal with this, but is it possible that putting the 2nd app into its own area would work?

Areas | Microsoft Docs[^]


这篇关于运行另一个ASP.NET核心应用程序内的ASP.NET核心应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆