ASP.Net Core 1.0是否支持WebForm项目 [英] Does ASP.Net Core 1.0 support WebForm projects

查看:468
本文介绍了ASP.Net Core 1.0是否支持WebForm项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ASP.Net Core 1.0 是否支持.Net WebForm项目?还是仅MVC环境?还可以在那里创建经典的Web服务(asmx)吗?

Does ASP.Net Core 1.0 support .Net WebForm projects? Or it is an MVC only environment? Also can I create classic web services(asmx) there?

推荐答案

简短答案:否,ASP.NET Core不包含Web窗体或Web服务.

Short answer: No, ASP.NET Core does not contain Web Forms or Web Services.

长答案: 取决于您对支持"的含义.如果您打算在 CoreCLR CoreFX 之上运行ASP.NET Core项目,那么答案是否定的:ASP.NET Core将仅包含对MVC ja Web API的支持.项目(在ASP.NET Core中是相同的东西).

Long answer: Depends on your meaning of "support". If you aim to run ASP.NET Core project on top of CoreCLR and CoreFX, then the answer is no: ASP.NET Core will contain support only for MVC ja Web API -projects (which are the same thing in ASP.NET Core).

如果可以在完整的.NET Framework上运行,则ASP.NET Web窗体可以与ASP.NET Core共存.该Web窗体将与System.Web上的今天的Web窗体相同.在这种情况下,您将Web表单托管在IIS上的其他项目(普通ASP.NET 4.x应用程序)中,而ASP.NET Core将驻留在Kestrel上自己的应用程序中.

If you can run on full .NET Framework, then ASP.NET Web Forms can co-exist with ASP.NET Core. The Web Forms will be the same Web Forms they are today on System.Web. In this scenario you would host your web forms in a different project (normal ASP.NET 4.x application) on IIS and ASP.NET Core would live in it's own application on Kestrel.

这篇关于ASP.Net Core 1.0是否支持WebForm项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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