VS.NET Application Configuration Files
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngconfig' list.


Ryan Moquin
-- Moved from [aspngcs] to [aspngconfig] by Swoop Doggy Dogg <Click here to reveal e-mail address> --

I'm attempting to use the Application Configuration Files (.exe.config
files) in VS.NET with my application I'm creating. It seems as though
you are only able to read from the file and not write to it or change
any of the values. This seems like a major limitation to me, am I
missing something or is this assumption correct? Microsoft seems to
have very little information on configuring your application this way
and it's flexibility.

Thanks!

Ryan

Reply to this message...
 
    
Russ McClelland
U29ycnkgdGhlIGZvcm1hdHRpbmcgd2FzIGxvc3Qgb24gdGhpcywgYnV0IGl0IHNob3VsZCBkbyB3
aGF0IHlvdSBuZWVkLi4uDQoNCiANCg0KWG1sRG9jdW1lbnQgZG9jID0gdGhpcy5TZXR0aW5ncygp
Ow0KDQpYbWxOb2RlTGlzdCBub2RlcyA9IGRvYy5HZXRFbGVtZW50c0J5VGFnTmFtZSggImFkZCIg
KTsNCg0KZm9yZWFjaCggWG1sTm9kZSBub2RlIGluIG5vZGVzICkNCg0Kew0KDQpYbWxBdHRyaWJ1
dGUgYXR0cmlidXRlID0gbm9kZS5BdHRyaWJ1dGVzWyJrZXkiXTsNCg0KaWYoICJFeGVjdXRpb25E
YXRlIiA9PSBhdHRyaWJ1dGUuVmFsdWUgKQ0KDQp7DQoNCm5vZGUuQXR0cmlidXRlc1sidmFsdWUi
XS5WYWx1ZSA9IERhdGVUaW1lLk5vdy5Ub1N0cmluZygpOw0KDQp9DQoNCn0NCg0Kc3RyaW5nIHBh
dGggPSBEaXJlY3RvcnkuR2V0Q3VycmVudERpcmVjdG9yeSgpOw0KDQpTdHJlYW1Xcml0ZXIgc3Ry
ZWFtID0gbmV3IFN0cmVhbVdyaXRlciggcGF0aCArIEAiXFRlc3RBcHAuZXhlLkNvbmZpZyIsDQpm
YWxzZSApOw0KDQpkb2MuU2F2ZSggc3RyZWFtICk7DQoNCnN0cmVhbS5DbG9zZSgpOyANCg0K
Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com