Re: Configuration files of our own

Developer Network

Forums, blogs, and downloads for SaaSGrid developers.

Configuration files of our own

  • rated by 0 users
  • This post has 1 Reply |
  • 0 Followers
  •  Can we have our own configuration files, which WCF service will refer? If yes where I need to place the files and how to refer the file path in my code?

     

    thx

    Rocky

  • Hi Rocky,


    You need to have your configuration files in the root of your project but these will be changed at runtime by SaaSGrid with the proper information of where are your services as well as how to contact your services.


    Remember that your services are not guaranteed to run on a particular machine in SaaSGrid so you should not be referencing environment information in your code but only as a mean to develop and test locally.


    Please take a look at any of the examples available for download to see how to configure WCF information, SaaSGrid uses this information to figure out what your services are and modifies your configuration files with the new addresses of how to contact your services in SaaSGrid.

Page 1 of 1 (2 items)