在ASP.NET和ASP.NET核心Web应用程序之间使用哪些更容易? [英] What's easier to work with between ASP.NET and ASP.NET core web applications?

查看:77
本文介绍了在ASP.NET和ASP.NET核心Web应用程序之间使用哪些更容易?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Web API,因为这正是我们目前正在研究的内容。我希望尝试使用Asp.Net Core来创建项目,但是当我创建一个新的应用程序时,我发现Asp.Net Web Apps和Asp.Net Core Web Apps之间没有任何区别。请解释给我的不同之处以及使用什么更好



我尝试过的方法:



我研究了我的问题,但我没有得到我理解的答案

I was attempting to make use of Web API as that is what we are currently studying. I have a wish to attempt using Asp.Net Core to create projects but when I created a new application, I did not see any difference between Asp.Net Web Apps and Asp.Net Core Web Apps. Please explain the difference to me and what is better to work with

What I have tried:

I researched my question but I didn't get an answer I understood

推荐答案

非常简短的版本是Core版本是为跨平台兼容性和轻松的云部署。丢失了使用仅限Windows功能的能力(例如System.Drawing)



更多信息 ASP.NET Core和ASP.NET MVC 5之间的区别Mithunvp.com [ ^ ]

The very short version is that the Core version is built for cross-platform compatibility and easy cloud deployability. What is lost the ability to use "Windows Only" functionality (eg System.Drawing)

Some more info Difference between ASP.NET Core and ASP.NET MVC 5 | Mithunvp.com[^]


差异

- 快速浏览一下ASP。 NET Core改进

- 在Windows,Mac和Linux上构建和运行跨平台的ASP.NET应用程序
- 基于.NET Core,支持真正的side-by -side app versioning

- 简化现代Web开发的新工具

- 用于MVC和Web API的单一对齐Web堆栈
- 云端就绪基于环境的配置

- 用于创建和使用NuGet包的集成支持

- 内置支持依赖注入

- 能够托管您自己的过程中的IIS或自托管


Differences
- A quick look at ASP.NET Core improvements
- Build and run cross-platform ASP.NET apps on Windows, Mac, and Linux
- Built on .NET Core, which supports true side-by-side app versioning
- New tooling that simplifies modern Web development
- Single aligned web stack for MVC and Web API
- Cloud-ready environment-based configuration
- Integrated support for creating and using NuGet packages
- Built-in support for dependency injection
- Ability to host on IIS or self-host in your own process


这篇关于在ASP.NET和ASP.NET核心Web应用程序之间使用哪些更容易?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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