19.11.2022 Views

NET-Microservices-Architecture-for-Containerized-NET-Applications

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• ASP.NET Web Forms. This technology is only available on .NET Framework. Currently there are

no plans to bring ASP.NET Web Forms to .NET or later.

• WCF services. Even when a WCF-Client library is available to consume WCF services from .NET 6,

as of Jan-2021, the WCF server implementation is only available on .NET Framework.

• 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 .NET Framework. There are currently no plans to bring them to .NET 6.

In addition to the technologies listed in the official .NET roadmap, other features might be ported to

the new unified .NET platform. You might 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 dotnet/runtime

GitHub repository.

Using a platform or API that doesn’t support .NET 6

Some Microsoft and third-party platforms don’t support .NET 6. For example, some Azure services

provide an SDK that isn’t yet available for consumption on .NET 6 yet. Most Azure SDK should

eventually be ported to .NET 6/.NET Standard, but some might not for several reasons. You can see

the available Azure SDKs in the Azure SDK Latest Releases page.

In the meantime, if any platform or service in Azure still doesn’t support .NET 6 with its client API, you

can use the equivalent REST API from the Azure service or the client SDK on .NET Framework.

Porting existing ASP.NET application to .NET 6

.NET Core is a revolutionary step forward from .NET Framework. It offers a host of advantages over

.NET Framework across the board from productivity to performance, and from cross-platform support

to developer satisfaction. If you are using .NET Framework and planning to migrate your application

to .NET Core or .NET 5+, see Porting Existing ASP.NET Apps to .NET Core.

Additional resources

• .NET fundamentals

https://docs.microsoft.com/dotnet/fundamentals

• Porting Projects to .NET 5

https://docs.microsoft.com/events/dotnetconf-2020/porting-projects-to-net-5

• .NET on Docker Guide

https://docs.microsoft.com/dotnet/core/docker/introduction

Decision table: .NET frameworks to use for Docker

The following decision table summarizes whether to use .NET Framework or .NET 6. Remember that

for Linux containers, you need Linux-based Docker hosts (VMs or servers) and that for Windows

Containers you need Windows Server based Docker hosts (VMs or servers).

13 CHAPTER 2 | Choosing Between .NET 6 and .NET Framework for Docker Containers

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!