Re: ADFS Programming with Visual Studio 2005



That's nifty too. Part of the reason I put together the installer I did was
that in many cases, devs don't have a way to do their development on an R2
server and need to use a client OS like XP or Vista, so in that case you are
completely screwed because you can't even install the bits. In your
situation Keith's solution is much less overkill. :)

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Todd Fleenor" <ToddFleenor@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EA32BD0E-BDD6-4764-9D5D-B37EC6980D85@xxxxxxxxxxxxxxxx
Very helpful informaiton. Thank you.

I also found out that in my case, since I am running Visual Studio 2005 on
Windows 2003 Server R2, all I needed to do was add some sections into my
web.config file. Once these are added, I can enumerate the ADFS classes
from
Visual Studio.

The following link has the sections for web.config:
<a
href="http://www.pluralsight.com/wiki/default.aspx/Keith/SettingUpADFSSampleApp.html";>Sample
web.config</a>





"Joe Kaplan" wrote:

http://www.joekaplan.net/HowToGetVSNETIntegrationForADFSClaimsBasedApps.aspx

I wrote something up that tries to help you address this. Basically,
some
extra glue is needed to get these things to show up via add reference.

MS hasn't so far been willing to let me just distribute the installer in
binary form or else I'd give it you to directly.

Note that I discussed this "shortcoming" of the ADFS integration stuff
with
MS just this week and they are aware of the problem. No telling when
they'll release something official to address this.

Best of luck!

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Todd Fleenor" <ToddFleenor@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DBBC4D1F-7643-4F2C-9E91-3DAFCEA129C4@xxxxxxxxxxxxxxxx
I am trying to use the namespace installed by Active Directory
Federation
Services (ADFS) with Visual Studio 2005 (C#).

The namespace should be System.Web.Security.SingleSignOn.

My Virtual PC setup includes Windows 2003 Server R2, IIS 6.0, and the
ADFS
Web Agent for Claims aware applications.

I installed Visual Studio 2005 and connected to the default web site.

I added a default.aspx but can't seem to reference the namespace.

Is there another DLL I need to reference somewhere other than
System.Web?
I
was hoping this was just installed when you install the ADFS web agent.

System.Web.Security does not seem to enumerate any of the ADFS classes
on
my
setup.

What's missing?

Thanks.





.



Relevant Pages

  • Re: ADFS Programming with Visual Studio 2005
    ... MS hasn't so far been willing to let me just distribute the installer in ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... Services (ADFS) with Visual Studio 2005. ... Web Agent for Claims aware applications. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADFS and Programmatically extracting Identity Info
    ... I'm guessing MS may need to beef up the installer for ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... Do you know how to access the ADFS class library? ... The user accessing the website is from Account partner accessing the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Service, Requested registry access is not allowed
    ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... rights issues. ... Therefor I had included an installer to setup the requered ... related to setting up the eventlog instance is VS generated. ...
    (microsoft.public.dotnet.security)
  • Re: ADFS and SSL Certificates
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... Well, it took 9 hours yesterday, but I finally got ADFS working with a CA. ... CA cert which chains up to the valicert public root. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADFS Not Compatible with FIPS?
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... Server in an ADFS environment? ... algorithms for encryption, hashing, and signing_ in the domain security ...
    (microsoft.public.windows.server.active_directory)