Integration scenarios with Azure AD using different protocols.

All other 54 Samples are here… for Azure AD

https://azure.microsoft.com/en-us/resources/samples/?service=active-directory&sort=0

 

Application types and scenarios
o    Web browser to web application
o    Single Page Application (SPA)
o    Native application to web API
o    Web application to web API
o    Daemon or server application to web API

 

Integrating a web app with Azure AD using WS-Federation:

Browse on GitHub | Download as .zip

This sample shows how to build a .Net MVC web application that uses WS-Federation to sign-in users from a single Azure Active Directory tenant, using the ASP.Net WS-Federation OWIN middleware.

The use of WS-Federation is appropriate when you want to maintain a single app codebase that can be deployed either against Azure AD or an on-premises provider such as an Active Directory Federation Services (ADFS) instance. For scenarios in which the app targets exclusively Azure AD (or an OpenID Connect compliant provider) please refer to the WebApp-OpenIdConnect-DotNet sample.

Search for samples at https://azure.microsoft.com/en-us/resources/samples/?service=active-directory-b2c&sort=0