There are several articles that shows how to configure new ASP.NET application for Azure AD authentication. But i am looking for configuring Azure AD for existing ASP.NET application. I have Silverlight Application using .Net 4. ( Which
is nothing but ASP.NET application) I know the first thing i have to do is update the target framework to 4.5 or latter so that Identity & OWIN framework would work.
Assuming i have already configured Azure AD, i dont know exactly what steps i need to do on ASP.NET application side to configure Azure AD ( That is which assemblies to include, web.config changes & the code)
I have gone through the link you provided, however its using MVC application..since my application is silverlight application..its using Web Forms. I am looking for Web Form example
When i create a new solution using VS 2013 template and configure it to use Azure AD. How do i know which authentication mechanism its using? OpenIDConnect, OpenID or Oauth 2.0
Member
548 Points
965 Posts
How to configured existing ASP.NET site for Azure AD authetication
Feb 09, 2016 11:29 PM|lax4u|LINK
There are several articles that shows how to configure new ASP.NET application for Azure AD authentication. But i am looking for configuring Azure AD for existing ASP.NET application. I have Silverlight Application using .Net 4. ( Which is nothing but ASP.NET application) I know the first thing i have to do is update the target framework to 4.5 or latter so that Identity & OWIN framework would work.
Assuming i have already configured Azure AD, i dont know exactly what steps i need to do on ASP.NET application side to configure Azure AD ( That is which assemblies to include, web.config changes & the code)
Contributor
3325 Points
403 Posts
Re: How to configured existing ASP.NET site for Azure AD authetication
Feb 10, 2016 02:38 AM|Jamobor yao - MSFT|LINK
Hi,
Here is a document list a lot of Azure Active directory code samples: https://azure.microsoft.com/en-in/documentation/articles/active-directory-code-samples/. Please choose the sample code that suitable for you. Such as this code sample: WebApp-OpenIDConnect-DotNet. we can find how to recreate this sample code at the github readme.md file: https://github.com/Azure-Samples/active-directory-dotnet-webapp-openidconnect . I think it will help your to configure AD on existing site.
Best Regards,
Jambor
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue.
Member
548 Points
965 Posts
Re: How to configured existing ASP.NET site for Azure AD authetication
Feb 10, 2016 04:28 PM|lax4u|LINK
Thanks Jambor
I have gone through the link you provided, however its using MVC application..since my application is silverlight application..its using Web Forms. I am looking for Web Form example
When i create a new solution using VS 2013 template and configure it to use Azure AD. How do i know which authentication mechanism its using? OpenIDConnect, OpenID or Oauth 2.0
Contributor
3325 Points
403 Posts
Re: How to configured existing ASP.NET site for Azure AD authetication
Feb 11, 2016 05:26 AM|Jamobor yao - MSFT|LINK
Hi,
For WebForm application, please refer to http://www.cloudidentity.com/blog/2014/07/24/protecting-an-asp-net-webforms-app-with-openid-connect-and-azure-ad/ for more information about how to configure AD. This sample use OpenIDConnect.
Best Regards,
Jambor
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue.