c# - deploying a 2-project solution (desktop and web) in windows7 -


i require deploy in windows7-running pc c# solution consists of 2 projects: a , b. desktop application (windows forms application) , b rest service application (asp.net web-api). i've following questions regarding solution's deployment: 1) should install application in windows startup folder in order start application pc initiated ? 2) should create folder store b , let iis web-server know of existence ? if so, should put folder int startup folder if want start when pc initiated ? 3) if (1) , (3) correct, there advantages in developing in a single solution two different projects (a desktop project , web project) in visual studio, instead of doing in 2 different solutions ? (i mean deployment nature different)

thanks in advance comments !

it ok put program startup if want run every time start computer. b, right need store in folder , host @ iis. can set "start automatically" property true site , check "start immediately" related application pool, enable auto start after reboot pc.

i think there 2 reasons put different projects 1 solution.

  1. better structure group related applications 1 solution
  2. different projects can better share/reuse code. example, there 2 projects sharing same processdbdata function. can put in class library in same solution , both projects can call it. when code change needed proecessdbdata, need modify 1 place. if separate projects different solutions, can more complex.

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -