Skip to content

Instantly share code, notes, and snippets.

View richardneililagan's full-sized avatar
🚀

Richard Neil Ilagan richardneililagan

🚀
View GitHub Profile
public class MvcApplication : System.Web.HttpApplication
{
...
private void WSFederationAuthenticationModule_RedirectingToIdentityProvider(object sender, RedirectingToIdentityProviderEventArgs e)
{
// Get the request url.
var request = HttpContext.Current.Request;
var requestUrl = request.Url;