Blazor Server Side>

Hi, porting an app from ASP.NET MVC to Blazor Server.

In my original code, I call IdentityProvider.SendSAMLResponseByHTTPPost( Response, …)

The Response is a HttpResponseBase. In Blazor Server, I don’t think we have access to a HttpResponseBase. Is there an alternate call, or am I missing something about Blazor?

Thanks in advance.

For Blazor apps, we recommend using SAML for ASP.NET Core rather than SAML for ASP.NET.

You would add a SAML controller class to your app. This is the approach we’ve used with our Blazor Server test apps. These aren’t published yet but the approach is similar to the SAML controller in the ExampleIdentityProvider/ExampleServiceProvider projects that are shipped.