|
Служба + wcf config
|
|||
---|---|---|---|
#18+
wcf-сервис размещён в виндовой службе, но не в какую не хочет подхватывать свой конфиг - при размещении на iis спокойно подхватывает их из web.config - а перевожу в службу, сцепляю в конфиге службы - всё служба не запускается. вот конфиг, помогите плиз Код: c# 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. 71. 72. 73. 74. 75. 76. 77. 78. 79. 80. 81. 82. 83.
... |
|||
:
Нравится:
Не нравится:
|
|||
06.02.2014, 19:27 |
|
Служба + wcf config
|
|||
---|---|---|---|
#18+
фиганыч, http://msdn.microsoft.com/en-us/library/ms733932(v=vs.110).aspx System.Configuration: Web.config and App.config WCF uses the System.Configuration configuration system of the .NET Framework. When configuring a service in Visual Studio, use either a Web.config file or an App.config file to specify the settings. The choice of the configuration file name is determined by the hosting environment you choose for the service. If you are using IIS to host your service, use a Web.config file. If you are using any other hosting environment, use an App.config file. ... |
|||
:
Нравится:
Не нравится:
|
|||
06.02.2014, 20:05 |
|
Служба + wcf config
|
|||
---|---|---|---|
#18+
фиганыч, всем спасибо, решил - перенёс в отдельный sectionGroup - заработало ... |
|||
:
Нравится:
Не нравится:
|
|||
06.02.2014, 20:05 |
|
|
start [/forum/topic.php?fid=20&msg=38776852&tid=1402363]: |
0ms |
get settings: |
9ms |
get forum list: |
12ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
34ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
48ms |
get tp. blocked users: |
1ms |
others: | 322ms |
total: | 448ms |
0 / 0 |