Using Azure AD to authenticate public clients to SQL Azure

Azure AD enables access authorization to SQL Azure as an alternative to providing username/password information in the connection string: https://azure.microsoft.com/en-us/documentation/articles/sql-database-aad-authentication/. It is somewhat analogous to using Windows Authentication when both the client and the database are on a Windows domain network. It is particularly useful on public (non-confidential) clients where storing secrets is inappropriate and…

3

Using OAuth2 with SOAP

I started at Microsoft when SOAP was all the rage, before there was such a thing as WCF. So it is with some nostalgia that I tried to combine one of latest technologies: Universal App Platform (UAP) with SOAP using OAuth2 protocol for authentication. One possible application of this approach would be for folks who…

2

ASP.NET WebForms OAuth2 multi-tenant resource and WPF client

Most published WebAPI samples (e.g. http://msdn.microsoft.com/en-us/library/azure/dn646737.aspx) are based on the MVC and OWin infrastructure, which is not available in WebForms applications. Following is a custom implementation of an OAuth2 access token handler presented by a WPF rich client application. The WPF is responsible for managing the OAuth code grant flow to obtain the token and present…

0

OAuth2 with ADFS and WAAD using C#

Overview The following summarizes the process of creating an end-to-end OAuth2 sample using ADFS 2.1 (or Windows Azure Active Directory). Web site setup Use the VS.NET 2012 ASP.NET MVC 4 WebAPI project template to setup your server project. Token handling To process the incoming JWT token open the global.asax class and add to it the…

0

Migrating C# DLL Library to WinRT Component project

In order to make the functionality of your C# or VB.NET class library (DLL) available to other WinRT languages (C++, JavaScript) you need to convert it to a WinRT component (http://msdn.microsoft.com/en-us/library/windows/apps/br230301.aspx). The referenced MSDN article lists the areas where coding for a component and a library is different. Here are some ‘best practices’ I found…

0

Some experience migrating Silverlight graphical apps to Windows 8 Store

Recently, I had the opportunity to migrate a Silverlight application to Windows 8 Store. The application is highly graphical, showing a variety of images or symbols representing real-world objects and allowing the user to interact with these objects and view their state (Human Machine Interface). Therefore its navigation and interaction paradigm is largely the same…

0