Share via


Out-Of-Browser Authentication for RIA Services

RIA_Svcs2

Now that Silverlight applications can run out-of-browser, a common question that often arises is how to provide user authentication under this new deployment scenario.

The reason this does not work is that the Browser networking stack handles cookies differently than the Client networking stack – which is used in OOB deployments.

In this MSDN article, Kyle McClellan shows you how this is now possible by forcing each DomainContext to use a shared CookieContainer. When the Authentication DomainContext gets authenticated, it will store the cookies there and all subsequent operations will pass them back to the server.

See how with a little coaxing, RIA Authentication can be made to work in OOB scenarios as well as on-line.

Technorati Tags: RIA Services

Shout it