Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

ProviderFactory store and load settings

#5

The ProviderFactory should be able to save and store settings. This should also be optionally automaticall on construct (overloaded constructor with filepath or similar) and deconstruct.

Reported by Alxandr · March 11th, 2010 @ 02:32 PM

State: resolved
Milestone: 0.2 Beta
Assigned to: Alxandr Alxandr

Activity

  1. Alxandr
    Alxandr
    • Tag set to providerfactory

    March 11th, 2010 @ 02:41 PM

  2. Alxandr
    Alxandr
    • State changed from new to open
    • Assigned user set to Alxandr

    March 15th, 2010 @ 06:48 AM

  3. Alxandr
    Alxandr

    I'm thinking that the only settings the ProviderFactory should store should be which items that are selected. The providers and providertypes should probably be stored in an xml-file that was editable by humans and no more, maybe even in the web.config. It should probably have a syntax similar to that one used for connectionstrings etc. in the web.config-file. I'm thining about something like this:

    <ProviderFactorySettings>
        <ProviderTypes>
            <add type="System.Web.IProvider1" assembly="System.Web, Version=1.0, Publictoken=..." />
        </ProviderTypes>
        <Providers>
            <add type="System.Web.Provider1" assembly="System.Web, Version=1.0, Publictoken=..." />
        </Providers>
    </ProviderFactorySettings>
    

    The selected-config file should probably just be autogennerated, and it's syntax doesn't really matter as long as XMLFormatter can handle it.

    March 15th, 2010 @ 07:14 AM

  4. Alxandr

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.