CSLA .NET

From Rockford Lhotka's Expert C# 2005 and VB 2005 Business Objects books

Welcome to CSLA .NET Sign in | Join | Help
in Search

Different Configuration Source For CSLA.NET

Last post 08-27-2008, 8:41 AM by RockfordLhotka. 1 replies.
Sort Posts: Previous Next
  •  08-26-2008, 10:48 AM 25743

    • Yang is not online. Last active: 10-24-2008, 4:50 PM Yang
    • Top 500 Contributor
    • Joined on 04-16-2007
    • Roseville, CA
    • Posts 17
    • Points 265

    Different Configuration Source For CSLA.NET

    Has anyone implemented a different Configuration Source for CSLA? Currently it is hard coded to get the proxy from CslaDataPortalProxy in the appsettings of the app.config file. I need the flexibility to set the config source to be an external xml file or the parameters passed to the application. It is not that hard to do it but would like to know if somebody has already done it. It would be nice to have this baked in the framework where the default is to use the app.config settings.
  •  08-27-2008, 8:41 AM 25779 in reply to 25743

    Re: Different Configuration Source For CSLA.NET

    .NET already does this. CSLA uses the System.Configuration system in .NET, and they already allow you to reconfigure how System.Configuration gets the settings - including from other config files, or custom providers that you might create.


    Rocky
View as RSS news feed in XML

Please contact Magenic for your .NET consulting and CSLA .NET mentoring needs.
Please consider making a donation to help support the ongoing development of CSLA .NET.

Make donation through PayPal - it's fast, free and secure!
Why donate?
Powered by Community Server, by Telligent Systems