ASP.Net Core 1.0 是否支持 WebForm 项目

编程入门 行业动态 更新时间:2024-10-27 03:36:32
本文介绍了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 的支持-projects(在 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 窗体相同.在这种情况下,您将在 IIS 上的不同项目(普通 ASP.NET 4.x 应用程序)中托管您的 Web 表单,而 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 项目

本文发布于:2023-11-05 07:20:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1560241.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   Net   ASP   Core   WebForm

发布评论

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

>www.elefans.com

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