Windows Authentication in Service Fabric and ASP.NET Core 2.0

%3CLINGO-SUB%20id%3D%22lingo-sub-104448%22%20slang%3D%22en-US%22%3EWindows%20Authentication%20in%20Service%20Fabric%20and%20ASP.NET%20Core%202.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-104448%22%20slang%3D%22en-US%22%3E%3CP%3ERecently%2C%20the%20Service%20Fabric%20team%20had%20to%20configure%20secure%20communication%20capabilities%20to%20existing%20reliable%20(stateless)%20services%2C%20built%20on%20top%20of%20the%20ASP.NET%20Core%202.0%20framework.%20More%20specifically%2C%20they%20had%20to%20configure%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EWindows%20Authentication%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efeature%20on%20them%20and%20choose%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EWebListener%26nbsp%3Bas%20the%20web%20server%2C%20to%20process%20HTTP%20requests%20from%20remote%20Windows%20clients.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%E2%80%99ll%20see%20that%20there%20are%20slight%20differences%20in%20the%20names%20of%20some%20ASP.NET%20packages%20and%20libraries%2C%20and%20in%20the%20way%20we%20configure%20a%20weblistener%20on%20a%20stateless%20service%2C%20with%20the%20latest%20version%20of%20ASP.NET%2C%20with%20respect%20to%20the%20previous%20versions%20(1.x).%20This%20article%20will%20highlight%20these%20aspects%20and%20describe%20a%20way%20to%20properly%20configure%20a%20Service%20Fabric%20(SF)%20Reliable%20Service%20Stateless%20Service%2C%20given%20these%20requisites.%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-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F19807i258B2980E12824B7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22f9993162-fe74-4c40-bbcd-323c203487e5.jpg%22%20title%3D%22f9993162-fe74-4c40-bbcd-323c203487e5.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELearn%20about%20it%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fwindows-authentication-in-service-fabric-and-asp-net-core-2-0%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20blog%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-104448%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%20Tools%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Community Manager

Recently, the Service Fabric team had to configure secure communication capabilities to existing reliable (stateless) services, built on top of the ASP.NET Core 2.0 framework. More specifically, they had to configure the Windows Authentication feature on them and choose WebListener as the web server, to process HTTP requests from remote Windows clients.

 

We’ll see that there are slight differences in the names of some ASP.NET packages and libraries, and in the way we configure a weblistener on a stateless service, with the latest version of ASP.NET, with respect to the previous versions (1.x). This article will highlight these aspects and describe a way to properly configure a Service Fabric (SF) Reliable Service Stateless Service, given these requisites.

 

f9993162-fe74-4c40-bbcd-323c203487e5.jpg

 

Learn about it in the Azure blog.

0 Replies