Repository navigation
.net core 2.0 updates - #2908
Conversation
|
@cartermp @danroth27 @Rick-Anderson can you guys take a look at this topic? I'm trying to make sure it's up-to-date with regards to what we currently support or don't support and it mentions a couple of ASP.NET scenarios. |
| ### Cross-platform needs | ||
|
|
||
| Clearly, if your goal is to have an application (web/service) that should be able to run across platforms (Windows, Linux and macOS), the best choice is to use .NET Core. | ||
| If your goal is to have an application (web/service) that should be able to run across platforms (Windows, Linux, and macOS), the best choice is to use .NET Core. |
There was a problem hiding this comment.
If you application is targeted on multiple platforms (Windows, Linux, and macOS), use .NET Core.
or something like that
| If your goal is to have an application (web/service) that should be able to run across platforms (Windows, Linux, and macOS), the best choice is to use .NET Core. | ||
|
|
||
| .NET Core also supports the previously-mentioned operating systems as your development workstation. Visual Studio provides an Integrated Development Environment (IDE) for Windows. You can also use Visual Studio Code on macOS, Linux and Windows which fully support .NET Core, including IntelliSense and debugging. You can also target .NET Core with most third-party editors like Sublime, Emacs, VI and can get editor IntelliSense using the open source [Omnisharp](http://www.omnisharp.net/) project. You can also avoid any code editor and directly use the .NET Core command-line tools, available for all supported platforms. | ||
| .NET Core also supports the previously mentioned operating systems as your development workstation. Visual Studio provides an Integrated Development Environment (IDE) for Windows. You can also use Visual Studio Code on macOS, Linux, and Windows, which fully supports .NET Core, including IntelliSense and debugging. You can also target .NET Core with most third-party editors like Sublime, Emacs, VI and can get editor IntelliSense using the open source [Omnisharp](http://www.omnisharp.net/) project. You can also avoid any code editor and directly use the .NET Core command-line tools, available for all supported platforms. |
There was a problem hiding this comment.
.NET Core also supports development on Window, macOS, and Linux. Visual Studio provides an Integrated Development Environment (IDE) for Windows. Visual Studio Code (VS Code) runs on macOS, Linux, and Windows. VS Code supports .NET Core, including IntelliSense and debugging. Most third-party editors (for example, Sublime, Emacs, and VI) work with .NET Core. These third-party editors get editor IntelliSense using the open source Omnisharp project.
Can you just say Omnisharp? These third-party editors get editor IntelliSense using Omnisharp.
| ### Microservices architecture | ||
|
|
||
| .NET Core is the best candidate if you are embracing a microservices oriented system composed of multiple independent, dynamically scalable, stateful or stateless microservices. .NET Core is lightweight and its API surface can be minimized to the scope of the microservice. A microservices architecture also allows you to mix technologies across a service boundary, enabling a gradual embrace of .NET Core for new microservices that live in conjunction with other microservices or services developed with .NET Framework, Java, Ruby, or other monolithic technologies. | ||
| If you are embracing a microservices-oriented system composed of multiple independent, dynamically scalable, stateful or stateless microservices, .NET Core is the best candidate. .NET Core is lightweight and its API surface can be minimized to the scope of the microservice. A microservices architecture also allows you to mix technologies across a service boundary, enabling a gradual embrace of .NET Core for new microservices that live in conjunction with other microservices or services developed with .NET Framework, Java, Ruby, or other monolithic technologies. |
There was a problem hiding this comment.
WAY too long. Something like.
A microservices architecture also allows a mix technologies across a service boundary. This technology mix enables a gradual embrace of .NET Core for new microservices that work with other microservices or services. For example, you can mix microservices or services developed with .NET Framework, Java, Ruby, or other monolithic technologies
| .NET Core is the best candidate if you are embracing a microservices oriented system composed of multiple independent, dynamically scalable, stateful or stateless microservices. .NET Core is lightweight and its API surface can be minimized to the scope of the microservice. A microservices architecture also allows you to mix technologies across a service boundary, enabling a gradual embrace of .NET Core for new microservices that live in conjunction with other microservices or services developed with .NET Framework, Java, Ruby, or other monolithic technologies. | ||
| If you are embracing a microservices-oriented system composed of multiple independent, dynamically scalable, stateful or stateless microservices, .NET Core is the best candidate. .NET Core is lightweight and its API surface can be minimized to the scope of the microservice. A microservices architecture also allows you to mix technologies across a service boundary, enabling a gradual embrace of .NET Core for new microservices that live in conjunction with other microservices or services developed with .NET Framework, Java, Ruby, or other monolithic technologies. | ||
|
|
||
| The infrastructure platforms you could use are many. For large and complex microservice systems, you can use [Azure Service Fabric](https://azure.microsoft.com/services/service-fabric/). For stateless microservices, you can also use other products like [Azure App Service](https://azure.microsoft.com/services/app-service/). Microservices alternatives based on Docker also fit any kind of microservices approach, as explained next. All these platforms support .NET Core and make them ideal for hosting your microservices. |
There was a problem hiding this comment.
If you want to get rid of you.
There are many infrastructure platforms available. Azure Service Fabric is designed for large and complex microservice systems. Azure App Service is a good choice for stateless microservices. Microservices alternatives based on Docker also fit any kind of microservices approach (explained in the following section). All these platforms support .NET Core and make them ideal for hosting your microservices.
| ### Containers | ||
|
|
||
| Containers are commonly used in conjunction with a microservices architecture, although they can also be used to containerize web apps or services which follow any architectural pattern. You will be able to use the .NET Framework for Windows containers, but the modularity and lightweight nature of .NET Core makes it perfect for containers. When creating and deploying a container, the size of its image is far smaller with .NET Core than with .NET Framework. Because it is cross-platform, you can deploy server apps to Linux Docker containers, for example. | ||
| Containers are commonly used in conjunction with a microservices architecture, although they can also be used to containerize web apps or services that follow any architectural pattern. You can use the .NET Framework for Windows containers, but the modularity and lightweight nature of .NET Core makes it perfect for containers. When creating and deploying a container, the size of its image is far smaller with .NET Core than with .NET Framework. Because it is cross-platform, you can deploy server apps to Linux Docker containers, for example. |
There was a problem hiding this comment.
Containers are commonly used in conjunction with a microservices architecture. Containers can also be used to containerize web apps or services that follow any architectural pattern. .NET Framework can be used on Windows containers, but the modularity and lightweight nature of .NET Core makes it a better choice for containers. When creating and deploying a container, the size of its image is much smaller with .NET Core than with .NET Framework. Because it is cross-platform, you can deploy server apps to Linux Docker containers, for example.
| * ASP.NET Web Forms applications: ASP.NET Web Forms are only available in the .NET Framework, so you cannot use ASP.NET Core / .NET Core for this scenario. Currently, there are no plans to bring ASP.NET Web Forms to .NET Core. | ||
|
|
||
| * ASP.NET Web Pages applications: ASP.NET Web Pages are not included in ASP.NET Core 1.0, although it is planned to be included in a future release as explained in the [.NET Core roadmap](https://github.com/aspnet/Home/wiki/Roadmap). | ||
| * ASP.NET Web Pages applications: ASP.NET Web Pages aren't included in ASP.NET Core, although it's planned to be included in a future release as explained in the [.NET Core roadmap](https://github.com/aspnet/Home/wiki/Roadmap). |
There was a problem hiding this comment.
ASP.NET Web Pages applications: ASP.NET Web Pages aren't included in ASP.NET Core. ASP.NET Core Razor Pages have many similarities with Web Pages.
There was a problem hiding this comment.
so no plans to bring web pages any longer @Rick-Anderson @danroth27? It would also be good to update that roadmap page.
There was a problem hiding this comment.
@mairaw where do you see web pages on the road map?
| * ASP.NET Web Pages applications: ASP.NET Web Pages aren't included in ASP.NET Core, although it's planned to be included in a future release as explained in the [.NET Core roadmap](https://github.com/aspnet/Home/wiki/Roadmap). | ||
|
|
||
| * ASP.NET SignalR server/client implementation. At .NET Core 1.0 release timeframe (June 2016), ASP.NET SignalR is not available for ASP.NET Core (neither client or server), although it is planned to be included in a future release as explained in the [.NET Core roadmap](https://github.com/aspnet/Home/wiki/Roadmap). Preview state is available at the [Server-side](https://github.com/aspnet/SignalR-Server) and [Client Library](https://github.com/aspnet/SignalR-Client-Net) GitHub repositories. | ||
| * ASP.NET SignalR server/client implementation. Currently, ASP.NET SignalR isn't available for ASP.NET Core (not client or server), although it's planned to be included in a future release as explained in the [.NET Core roadmap](https://github.com/aspnet/Home/wiki/Roadmap). Preview state is available at the [Server-side](https://github.com/aspnet/SignalR-Server) and [Client Library](https://github.com/aspnet/SignalR-Client-Net) GitHub repositories. |
There was a problem hiding this comment.
ASP.NET SignalR server/client implementation. Currently, ASP.NET SignalR isn't available for ASP.NET Core (not client or server). ASP.NET Core SignalR is scheduled for version 2.1. See the ASP.NET Core Schedule and Roadmap. Preview state is available at the Server-side and Client Library GitHub repositories.
| * ASP.NET SignalR server/client implementation. Currently, ASP.NET SignalR isn't available for ASP.NET Core (not client or server), although it's planned to be included in a future release as explained in the [.NET Core roadmap](https://github.com/aspnet/Home/wiki/Roadmap). Preview state is available at the [Server-side](https://github.com/aspnet/SignalR-Server) and [Client Library](https://github.com/aspnet/SignalR-Client-Net) GitHub repositories. | ||
|
|
||
| * WCF services implementation. Even when there’s a [WCF-Client library](https://github.com/dotnet/wcf) to consume WCF services from .NET Core, as of June 2016, WCF server implementation is only available on the .NET Framework. This scenario is not part of the current plan for .NET Core but it’s being considered for the future. | ||
| * WCF services implementation. Even when there’s a [WCF-Client library](https://github.com/dotnet/wcf) to consume WCF services from .NET Core, as of June 2016, WCF server implementation is only available in the .NET Framework. This scenario is not part of the current plan for .NET Core but it’s being considered for the future. |
There was a problem hiding this comment.
WCF services implementation. Even when there’s a WCF-Client library to consume WCF services from .NET Core, as of Auguest 2017, WCF server implementation is only available in the .NET Framework. This scenario is not part of the current plan for .NET Core but it’s being considered for the future.
| * WCF services implementation. Even when there’s a [WCF-Client library](https://github.com/dotnet/wcf) to consume WCF services from .NET Core, as of June 2016, WCF server implementation is only available in the .NET Framework. This scenario is not part of the current plan for .NET Core but it’s being considered for the future. | ||
|
|
||
| * Workflow related services: Windows Workflow Foundation (WF), Workflow Services (WCF + WF in a single service) and WCF Data Services (formerly known as "ADO.NET Data Services") are only available on the .NET Framework and there are no plans to bring them to .NET Core. | ||
| * Workflow-related services: Windows Workflow Foundation (WF), Workflow Services (WCF + WF in a single service) and WCF Data Services (formerly known as "ADO.NET Data Services") are only available in the .NET Framework and there are no plans to bring them to .NET Core. |
There was a problem hiding this comment.
Workflow-related services: Windows Workflow Foundation (WF), Workflow Services (WCF + WF in a single service) and WCF Data Services (formerly known as "ADO.NET Data Services") are only available in the .NET Framework. There are no plans to bring WF/WCF+WF/WCF Data Services to .NET Core.
| * Language support: Visual Basic and F# are currently supported in .NET Core but not for all project types. For a list of supported project templates, see [Template options for dotnet new](../core/tools/dotnet-new.md#arguments). | ||
|
|
||
| In addition to the official roadmap, there are other frameworks to be ported to .NET Core - For a full list, take a look at CoreFX issues marked as [port-to-core](https://github.com/dotnet/corefx/issues?q=is%3Aopen+is%3Aissue+label%3Aport-to-core). Please note that this list doesn’t represent a commitment from Microsoft to bring those components to .NET Core — they are simply capturing the desire from the community to do so. That being said, if you care about any of the components listed above, consider participating in the discussions on GitHub so that your voice can be heard. And if you think something is missing, please [file a new issue in the CoreFX repository](https://github.com/dotnet/corefx/issues/new). | ||
| In addition to the official roadmap, there are other frameworks to be ported to .NET Core. For a full list, take a look at CoreFX issues marked as [port-to-core](https://github.com/dotnet/corefx/issues?q=is%3Aopen+is%3Aissue+label%3Aport-to-core). Note that this list doesn’t represent a commitment from Microsoft to bring those components to .NET Core. They're simply capturing the desire from the community to do so. That being said, if you care about any of the components marked as `port-to-core`, consider participating in the discussions on GitHub so that your voice can be heard. And if you think something is missing, file a new issue in the [CoreFX repository](https://github.com/dotnet/corefx/issues/new). |
There was a problem hiding this comment.
take a look at -> see
There was a problem hiding this comment.
That being said, if you care about any of the components marked as port-to-core, consider participating in the discussions on GitHub so that your voice can be heard.
| * Windows Presentation Foundation (WPF) and Windows Forms: WPF and Windows Forms applications are only available in the .NET Framework. There are no plans to port them to .NET Core. | ||
|
|
||
| * Language support: Visual Basic and F# don’t currently have tooling support for .NET Core, but both will be supported in Visual Studio 2017 and later versions of Visual Studio. | ||
| * Language support: Visual Basic and F# are currently supported in .NET Core but not for all project types. For a list of supported project templates, see [Template options for dotnet new](../core/tools/dotnet-new.md#arguments). |
There was a problem hiding this comment.
"Language support: Visual Basic and F# are currently supported in .NET Core but not for all project types" --->"Language support: Visual Basic and F# are currently supported in .NET Core, but not for all project types"
|
Appreciate the thorough feedback @Rick-Anderson. I think with this update, we might be even able to resolve #1244, what do you think @cartermp? @terrajobst can you also look at the bit I added for .NET Standard? Thanks everyone! |
Internal Preview URL