Showing results for July 2010 - OData

Jul 21, 2010
0
0

OData and Authentication – Part 7 – Forms Authentication

DB Blogs
DB Blogs

Our goal in this post is to re-use the Forms Authentication already in a website to secure a new Data Service. To bootstrap this we need a website that uses Forms Auth. Turns out the MVC Music Store Sample is perfect for our purposes because: The rest of this post assumes you’ve downloaded and installed the MVC Music St...

ODataAuthenticationForms Authentication
Jul 21, 2010
0
0

OData and Authentication – Part 6 – Custom Basic Authentication

DB Blogs
DB Blogs

You might remember, from Part 5, that Basic Authentication is built-in to IIS. So why do we need ‘Custom’ Basic Authentication? Well if you are happy using windows users and passwords you don’t. That’s because the built-in Basic Authentication, uses the Basic Authentication protocol, to authenticate against the windows user ...

ODataAuthenticationData Services
Jul 20, 2010
0
0

Deploying an OData Service in Windows Azure

DB Blogs
DB Blogs

Windows Azure and SQL Azure are the new Cloud service products from Microsoft. In this blog post, I am going to show you how you can take a database that is hosted in SQL Azure and expose it as OData in a rich way using WCF Data Services and Windows Azure. This walk-through requires that you have Visual Studio 2010 and both a Windows Azure and SQ...

Jul 19, 2010
0
0

OData and Authentication – Part 5 – Custom HttpModules

DB Blogs
DB Blogs

In the last post we saw how to add custom authentication inside your Data Service using the ProcessingRequest event. Unfortunately that approach means authentication is not integrated or shared with the rest of your website. Which means for all but the simplest scenarios a better approach is needed: HttpModules. HttpModules can do all sort of thing...

ODataAuthenticationData Services
Jul 19, 2010
0
0

OData and Authentication – Part 4 – Server Side Hooks

DB Blogs
DB Blogs

If you secure an OData Service using Windows authentication – see Part 2 to learn how – everything works as expected out of the box. What however if you need a different authentication scheme? Well the answer as always depends upon your scenario. Broadly speaking what you need to do depends upon how your Data Service is hosted. You ...

ODataAuthenticationData Services