ComponentSpace

Forums



Migrating from .net Framework to .net core - Need use equivalent of Low Level API for...


Migrating from .net Framework to .net core - Need use equivalent of...

Author
Message
Akshay Oswal
Akshay Oswal
New Member
New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)

Group: Forum Members
Posts: 1, Visits: 10
Hi,

We are in the process of migrating our code base to .NET Core , we make use of low level api's from ComponentSpace.SAML2.Bindings from the old ComponentSpace.SAML2 .Net Framework 2.4.0.6 dll in our implementation. We use the following method:

HTTPRedirectBinding.CreateRequestRedirectURL(string baseURL, XmlElement samlMessage, string relayState, AsymmetricAlgorithm key, string signatureAlgorithm);

We do not want to change our current implementation - is there any equivalent method in the new ComponentSpace.SAML2 .NET Core dll ?

Thanks,
Ash


ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)

Group: Administrators
Posts: 2.8K, Visits: 8.6K
Hi Ash,

The equivalent is the IHttpRedirectBinding interface under the ComponentSpace.Saml2.Bindings.Redirect namespace. You can access this interface through dependency injection.

There isn't a directly equivalent method. The closest is SendMessageAsync.

However, I strongly recommend you take the opportunity to switch to the SAML high-level API. The ISamlServiceProvider.InitiateSsoAsync creates and sends a SAML authn request using the HTTP-Redirect binding. This is demonstrated by the ExampleServiceProvider project and documented in the Examples Guide and Developer Guide.

You'll end up writing a lot less code and it will be a lot easier to maintain.

 

Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....









Forums, Documentation & Knowledge Base - ComponentSpace


Search