简体   繁体   中英

Fluent Web.Config

Has anyone made an attempt at something like similar to the Fluent-Nhibernate project except for web.config? Is this even plausible?

Yes, that's possible. In Microsoft's Enterprise Library 5 a fluent configuration API has been added to configure your application at runtime without using a configuration file such as web.config or app.config .

See these articles for examples:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM