views:

109

answers:

2

I've seen a bunch of examples getting ASP.NET to work with WIF, but what about some of the old legacy ASP applications? We've got some sitting around our Intranet and I'm curious if the old code will work with WIF's authentication/authorization schemes. We won't be re-writing them for a good while.

A: 

I don't think so. From MSDN:

Windows Identity Foundation enables .NET developers to...

You might be able to use WIF with ASP, but only if you go through a .NET intermediate app, which is probably way more trouble than it's worth.

mgroves
A: 

You don't need to write an entire intermediate applciation. You can wrap all access to WIF on a .NET class that is exposed as a COM object. (This is using standard .NET interop capabilities)

It shouldn't be a big effort. Of course this assumes you have .NET 3.5 installed in the same boxes you have the ASP application.

Eugenio Pace