%3CLINGO-SUB%20id%3D%22lingo-sub-1695521%22%20slang%3D%22en-US%22%3EPublic%20Preview%3A%20Run%20Steeltoe%20.NET%20Applications%20in%20Azure%20Spring%20Cloud%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1695521%22%20slang%3D%22en-US%22%3E%3CP%3EEarlier%20this%20month%20at%20SpringOne%2C%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fblog%2Fazure-spring-cloud-a-fully-managed-service-for-spring-boot-apps-is-now-generally-available%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ewe%20announced%20general%20availability%3C%2FA%3E%20of%20Azure%20Spring%20Cloud%2C%20a%20fully%20managed%20first-party%20service%20for%20Spring%20Boot%20apps%2C%20jointly%20built%20and%20operated%20by%20Microsoft%20and%20VMware.%20But%20we%20are%20far%20from%20being%20done%20as%20we%20continue%20to%20co-innovate%20with%20our%20partners%2C%20customers%2C%20and%20the%20open%20source%20community.%20Today%20we%20are%20bringing%20you%20another%20exciting%20update%20and%20launching%20the%20public%20preview%20of%20Steeltoe%20.NET%20application%20support%20in%20Azure%20Spring%20Cloud.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsteeltoe.io%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ESteeltoe%3C%2FA%3E%20is%20an%20open%20source%20project%20aimed%20at%20developing%20cloud%20native%20.NET%20microservice%20applications.%20It%20enables%20.NET%20developers%20to%20leverage%20the%20same%20Netflix%20OSS%20style%20and%20Spring%20Cloud%20industry-leading%20microservice%20patterns%20that%20have%20made%20Spring%20immensely%20successful.%20They%20provide%20single%20answers%20for%20many%20of%20the%20challenges%20related%20to%20microservices%20and%20integrate%20all%20those%20into%20a%20single%20experience.%20Steeltoe%20has%20been%20downloaded%20over%26nbsp%3B12%20million%26nbsp%3Btimes%20on%20NuGet!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESteeltoe%20transforms%20how%20you%20approach%20.NET%20programming%20tasks%2C%20radically%20streamlining%20your%20experience.%20You%20can%20use%20Steeltoe%20with%20Spring%20Cloud%E2%80%99s%20well-rooted%20patterns%20to%20safely%20deploy%20entire%20microservices-based%20architectures%20into%20the%20cloud.%20With%20Azure%20Spring%20Cloud%2C%20a%20fully%20managed%20service%2C%20you%20can%20go%20even%20faster%20because%20it%20removes%20the%20burden%20and%20related%20challenges%20of%20setting%20up%20and%20managing%20Spring%20Cloud%20middleware%20and%20Kubernetes%2C%20and%20lets%20you%20focus%20on%20building%20the%20applications%20that%20run%20your%20business.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%226%22%3E%3CSPAN%20style%3D%22font-weight%3A%20400%3B%22%3ERun%20.NET%20and%20Java%20Apps%20together%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EIt%20is%20common%20for%20applications%20to%20have%20a%20mix%20of%20Java%20and%20.NET%20services%20running%20together%20to%20support%20an%20array%20of%20operations%20in%20an%20application.%20Azure%20Spring%20Cloud%20fully%20manages%20Spring%20Cloud%20middleware%2C%20and%20Steeltoe%20is%20the%20library%20that%20enables%20that%20in%20the%20.NET%20ecosystem.%20On%20Azure%20Spring%20Cloud%2C%20you%20could%20run%20both%20.NET%20apps%20with%20Steeltoe%20framework%20and%20Java%20apps%20with%20Spring%20Boot%20framework%20to%20take%20advantage%20of%20the%20same%20service%20runtime%20environment%20for%20all%20applications%2C%20Spring%20Cloud%20Config%20Server%2C%20Service%20Registry%2C%20Distributed%20Tracing%20and%20more.%20NET%20core%203.1%20is%20supported%20today%20and%20more%20versions%20will%20be%20enabled%20in%20the%20future.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBelow%20is%20an%20example%20to%20have%20mixed%20tech%20stack%20in%20a%20single%20Azure%20Spring%20Cloud%20service%20instance.%20After%20deploying%2C%20your%20applications%20are%20automatically%20wired%20up%20with%20Spring%20Cloud%20Config%20Server%20and%20Service%20Registry.%20You%20could%20decide%20which%20one%20should%20be%20registered%20(%20or%20not)%20according%20to%20your%20business%20needs.%20The%20managed%20Eureka%20Registry%20will%20manage%20all%20registered%20applications%20automatically%20in%20Azure%20Spring%20Cloud.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3ETo%20accelerate%20your%20development%20experience%2C%20a%20VS%20extension%20to%20deploy%20Steeltoe%20.NET%20application%20for%20Azure%20Spring%20Cloud%2C%20is%20on%20the%20way.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22spboyer_0-1600353324304.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F219169i74F7C46B23928A3E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22spboyer_0-1600353324304.png%22%20alt%3D%22Figure%201%3A%20Apps%20Overview%20to%20list%20Java%20and%20.NET%20apps%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EFigure%201%3A%20Apps%20Overview%20to%20list%20Java%20and%20.NET%20apps%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EFigure%201%3A%20Apps%20Overview%20to%20list%20Java%20and%20.NET%20apps%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%226%22%3E%3CSPAN%20style%3D%22font-weight%3A%20400%3B%22%3EEase%20of%20Monitoring%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EDebugging%20distributed%20microservices%20can%20be%20complex%20and%20take%20a%20long%20time.%20For%20example%2C%20tracing%20requests%20that%20propagate%20from%20one%20microservice%20to%20another.%20Steeltoe%20uses%20the%20OpenTelemetry%20project%20to%20capture%20request%20tracing%20data%20which%20interacts%20with%20the%26nbsp%3BSpring%20Cloud%20Sleuth%26nbsp%3Band%26nbsp%3BZipkin%26nbsp%3Becosystem%20provided%20by%20Azure%20Spring%20Cloud.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20Spring%20Cloud%20seamlessly%20integrates%20with%20Azure%20Monitor%20to%20provide%20you%20with%20a%20great%20topological%20view%20of%20how%20different%20services%20interact%20and%20see%20average%20performance%20and%20error%20rates.%20Easily%20identify%20the%20root%20cause%20of%20reliability%20issues%20and%20performance%20bottlenecks%20with%20this%20automatic%20tooling.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20Azure%20Spring%20Cloud%2C%20you%20can%20visualize%20how%20your%20Steeltoe%20.NET%20applications%20are%20performing.%20The%20diagram%20shows%20microservice%20transactions%20of%20both%20Java%20and%20.NET%20applications%20within%20the%20same%20Azure%20Spring%20Cloud%20service%20instance%20in%20Application%20Insights%2C%20a%20part%20of%20Azure%20Monitor%20for%20Application%20Performance%20Management%20(APM).%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22spboyer_1-1600353440506.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F219170i02A2AF2D505001EE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22spboyer_1-1600353440506.png%22%20alt%3D%22spboyer_1-1600353440506.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EFigure%202%3A%20Application%20Map%20for%20Java%20and%20.NET%20apps%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FEM%3E%3CFONT%20size%3D%226%22%3E%3CSPAN%20style%3D%22font-weight%3A%20400%3B%22%3EMigrating%20your%20existing%20Steeltoe%20Applications%20with%20a%20simple%20change%26nbsp%3B%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EThe%20Azure%20Spring%20Cloud%20Team%20has%20created%20a%20NuGet%20package%20providing%20the%20hooks%20needed%20for%20.NET%20Core%20applications%20to%20take%20advantage%20of%20the%20service%20runtime%20environment.%20Add%20the%20%3CSTRONG%3EMicrosoft.%20Azure.SpringCloud.Client%3C%2FSTRONG%3E%20NuGet%20package%20to%20your%20application%E2%80%99s%20Program.cs%2C%20and%20add%20Azure%20Spring%20Cloud%20Service%20to%20the%20Host%20Builder.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-csharp%22%3E%3CCODE%3Epublic%20static%20IHostBuilder%20CreateHostBuilder(string%5B%5D%20args)%20%3D%26gt%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20Host.CreateDefaultBuilder(args)%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.ConfigureWebHostDefaults(webBuilder%20%3D%26gt%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20webBuilder.UseStartup%3CSTARTUP%3E()%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D)%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.UseAzureSpringCloudService()%3B%3C%2FSTARTUP%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-532096244%22%20id%3D%22toc-hId-532096244%22%3E%3CSPAN%20style%3D%22font-weight%3A%20400%3B%22%3EBuild%20your%20solutions%20today!%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3EAzure%20Spring%20Cloud%20abstracts%20away%20the%20complexity%20of%20infrastructure%20management%20and%20Spring%20Cloud%20middleware%20management.%20Freeing%20you%20to%20focus%20on%20building%20your%20business%20logic%20and%20let%20Azure%20take%20care%20of%20dynamic%20scaling%2C%20patches%2C%20security%2C%20compliance%2C%20and%20high%20availability.%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERun%20your%20most%20demanding%20applications%20at%20scale%20with%20confidence%20either%20in%20stand-along%20mode%20or%20side%20by%20side%20with%20Spring%20Boot%20apps%20in%20Azure%20Spring%20Cloud.%20Let%20Azure%20worry%20about%20delivering%20developer-friendly%2C%20enterprise-ready%20features%20on%20Azure%20Spring%20Cloud.%20We%20would%20love%20to%20hear%20how%20you%20are%20building%20impactful%20solutions%20using%20Azure%20Spring%20Cloud.%20Get%20started%20today%20%E2%80%93%20deploy%20Steeltoe%20.NET%20apps%20to%20Azure%20Spring%20Cloud%20using%20the%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fget-started-with-azure-spring-cloud%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Equickstart%3C%2FA%3E!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20feedback%20and%20questions%2C%20please%20reach%20out%20to%26nbsp%3B%3CA%20href%3D%22mailto%3Aspring-team%40microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Espring-team%40microsoft.com%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1695521%22%20slang%3D%22en-US%22%3E%3CP%3EEarlier%20this%20month%20at%20SpringOne%2C%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fblog%2Fazure-spring-cloud-a-fully-managed-service-for-spring-boot-apps-is-now-generally-available%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ewe%20announced%20general%20availability%3C%2FA%3E%20of%20Azure%20Spring%20Cloud.%20Today%20we%20are%20bringing%20you%20another%20exciting%20update%20and%20launching%20the%20public%20preview%20of%20Steeltoe%20.NET%20application%20support%20in%20Azure%20Spring%20Cloud.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1695521%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E.%20NET%20Core%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E.NET%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicroservices%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESpring%20Cloud%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

Earlier this month at SpringOne, we announced general availability of Azure Spring Cloud, a fully managed first-party service for Spring Boot apps, jointly built and operated by Microsoft and VMware. But we are far from being done as we continue to co-innovate with our partners, customers, and the open source community. Today we are bringing you another exciting update and launching the public preview of Steeltoe .NET application support in Azure Spring Cloud.  

 

Steeltoe is an open source project aimed at developing cloud native .NET microservice applications. It enables .NET developers to leverage the same Netflix OSS style and Spring Cloud industry-leading microservice patterns that have made Spring immensely successful. They provide single answers for many of the challenges related to microservices and integrate all those into a single experience. Steeltoe has been downloaded over 12 million times on NuGet!

 

Steeltoe transforms how you approach .NET programming tasks, radically streamlining your experience. You can use Steeltoe with Spring Cloud’s well-rooted patterns to safely deploy entire microservices-based architectures into the cloud. With Azure Spring Cloud, a fully managed service, you can go even faster because it removes the burden and related challenges of setting up and managing Spring Cloud middleware and Kubernetes, and lets you focus on building the applications that run your business. 

 

Run .NET and Java Apps together

It is common for applications to have a mix of Java and .NET services running together to support an array of operations in an application. Azure Spring Cloud fully manages Spring Cloud middleware, and Steeltoe is the library that enables that in the .NET ecosystem. On Azure Spring Cloud, you could run both .NET apps with Steeltoe framework and Java apps with Spring Boot framework to take advantage of the same service runtime environment for all applications, Spring Cloud Config Server, Service Registry, Distributed Tracing and more. NET core 3.1 is supported today and more versions will be enabled in the future. 

 

Below is an example to have mixed tech stack in a single Azure Spring Cloud service instance. After deploying, your applications are automatically wired up with Spring Cloud Config Server and Service Registry. You could decide which one should be registered ( or not) according to your business needs. The managed Eureka Registry will manage all registered applications automatically in Azure Spring Cloud. 

To accelerate your development experience, a VS extension to deploy Steeltoe .NET application for Azure Spring Cloud, is on the way.

 

Figure 1: Apps Overview to list Java and .NET appsFigure 1: Apps Overview to list Java and .NET apps

 

Figure 1: Apps Overview to list Java and .NET apps

 

Ease of Monitoring

Debugging distributed microservices can be complex and take a long time. For example, tracing requests that propagate from one microservice to another. Steeltoe uses the OpenTelemetry project to capture request tracing data which interacts with the Spring Cloud Sleuth and Zipkin ecosystem provided by Azure Spring Cloud.

 

Azure Spring Cloud seamlessly integrates with Azure Monitor to provide you with a great topological view of how different services interact and see average performance and error rates. Easily identify the root cause of reliability issues and performance bottlenecks with this automatic tooling.

 

On Azure Spring Cloud, you can visualize how your Steeltoe .NET applications are performing. The diagram shows microservice transactions of both Java and .NET applications within the same Azure Spring Cloud service instance in Application Insights, a part of Azure Monitor for Application Performance Management (APM).  

spboyer_1-1600353440506.png

Figure 2: Application Map for Java and .NET apps

Migrating your existing Steeltoe Applications with a simple change 

The Azure Spring Cloud Team has created a NuGet package providing the hooks needed for .NET Core applications to take advantage of the service runtime environment. Add the Microsoft. Azure.SpringCloud.Client NuGet package to your application’s Program.cs, and add Azure Spring Cloud Service to the Host Builder.

 

 

 

 

public static IHostBuilder CreateHostBuilder(string[] args) =>

            Host.CreateDefaultBuilder(args)

                .ConfigureWebHostDefaults(webBuilder =>

                {

                    webBuilder.UseStartup<Startup>();

                })

                .UseAzureSpringCloudService();

 

 

 

 

Build your solutions today!

Azure Spring Cloud abstracts away the complexity of infrastructure management and Spring Cloud middleware management. Freeing you to focus on building your business logic and let Azure take care of dynamic scaling, patches, security, compliance, and high availability. 

Run your most demanding applications at scale with confidence either in stand-along mode or side by side with Spring Boot apps in Azure Spring Cloud. Let Azure worry about delivering developer-friendly, enterprise-ready features on Azure Spring Cloud. We would love to hear how you are building impactful solutions using Azure Spring Cloud. Get started today – deploy Steeltoe .NET apps to Azure Spring Cloud using the quickstart!

 

For feedback and questions, please reach out to spring-team@microsoft.com.