Application blocks with SmartClient apps

I'm writing my first smart client application.  It is a WinForms based application that I reference by pointing my web browser to a url.  Thus far everything has been working nicely.  My problem is that now I want to add the Exception Management application block.  This application block requires its configuration info to be in the app.config file.  Unfortunately, from what I have read, .config files will not be retrieved from the web server unless I set it to anonymous access.

This application will be used in a large corporation and we want to be able to limit access to the web server so anonymous access it out.

I've tried several approaches to no avail.  My latest idea is to create a bootstrap application that will contain the app.config file as an embedded resource.  The bootstrap would pull the app.config file from the manifest, write it to myapp.exe.config, and then spawn myapp.exe.  This seems like a horrible idea.  Surely there must be a better way.

Would anyone like to make a suggestion


Answer this question

Application blocks with SmartClient apps

  • Application blocks with SmartClient apps