开发者

define configurations when publishing

开发者 https://www.devze.com 2023-02-14 09:22 出处:网络
There\'s a custom made application already in production environment for client A. Now my boss decided that he also wants to sell it to client B.

There's a custom made application already in production environment for client A. Now my boss decided that he also wants to sell it to client B.

The app relevant s开发者_StackOverflowoftware design guidelines are the following:

  • Using clickonce to publish the application (easy to publish updates).
  • The database connection sting is isolated on a code file
  • All the design styles are defined on App.xaml

Consider the codebase will be the same, which approach should I use to publish the application to different clients?


If you're able to deploy with click once, this means you have an IIS server running. You could use a WebService for the configuration. How you handle the configuration transfer at that point is entirely up to you (Username/Passworded service, Licensed service, etc.). The WebService allows you to transfer pretty much everything that is serializable, so it should do the work for a configuration.

0

精彩评论

暂无评论...
验证码 换一张
取 消