Geneva Framework Quick Tip: How to access Configuration

Remember that Geneva framework is a framework – all the nice integration into WCF and ASP.NET is built on top of a public API. This also means that you can use Geneva framework for integration in arbitrary hosts and environments.

One thing you most often need is access to the Geneva framework configuration (microsoft.identityModel section) from code – and again this is very easy:

ServiceConfiguration config = new
  ServiceConfiguration(ServiceConfiguration.DefaultServiceName);

HTH

This entry was posted in IdentityModel. Bookmark the permalink.

Leave a comment