web services - Deploy a local webservice on many machines - is it the right strategy? -


i wondering best way deliver private web service instances lots of users, user able connect own offline version of service, running web service visual studios while debugging. struggling setting in vs2013 many online tutorials, not sure if not working because never supposed work way.

i have provided in-depth explanation of issue not sure going in right way , appreciate feedback:

background:

i have web service interface engine. deals front-end , builds set of commands how make cad model. these commands controlling 3rd party cad software's api. therefore engine can seen have 2 main functions -

  1. build cad's api instructions, can saved later

  2. execution, catches instance of cad software running on same computer , builds model.

the second part restricted general public. our in-house users should able use it. however, want have otherwise identical front-end , user experience.

the problem is, if connect same engine public, exists on our main server, engine looking instance of cad package on same machine itself - i.e server, stressed in emboldened point above. should happen engine finds cad instance running on machine controlling ui based on , uses target. have spoke cad api support , not know how that.

and solution of providing offline stand alone of web service on each of employees computers. means front-end check @ start of session if localhost connection available. if not use main address, takes server. otherwise uses local engine perform default behavior of looking cad package on same machine itself. because locally installed right machine , find cad instance of user successfully.

final points:

  • the engine cannot accessed ui directly using unity3d front-end , there .net compatibility issues.
  • i need self contained version of software in the
    future anyway, have deal having engine
    accessed locally

i ended using iisexpress. got user install , them call batch file installer made sets config file , moves web project correct directory.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -