개정판 814116a9
서비스 URL을 app.config에서 읽어 처리
KCOM/App.xaml.cs | ||
---|---|---|
93 | 93 |
_binding.TextEncoding = System.Text.Encoding.UTF8; |
94 | 94 |
_binding.TransferMode = TransferMode.Buffered; |
95 | 95 |
//Support.SetLicense(); |
96 |
//테스트 |
|
97 |
//_EndPoint = new EndpointAddress(@"http://localhost:13009/ServiceDeepView.svc"); |
|
98 |
//운영 |
|
99 | 96 |
|
97 |
string sBaseServiceURL = global::KCOM.Properties.Settings.Default.BaseClientAddress; |
|
100 | 98 |
#if DEBUG |
101 |
_EndPoint = new EndpointAddress(@"http://localhost:13009/ServiceDeepView.svc"); |
|
102 | 99 |
//_EndPoint = new EndpointAddress(@"http://10.11.252.3/MARKUS/ServiceDeepView.svc"); //효성 |
103 |
|
|
100 |
_EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", sBaseServiceURL)); |
|
101 |
|
|
104 | 102 |
#else |
105 |
_EndPoint = new EndpointAddress(@"http://cloud.devdoftech.co.kr:5978/ServiceDeepView.svc");
|
|
103 |
_EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", sBaseServiceURL));
|
|
106 | 104 |
#endif |
107 | 105 |
|
108 | 106 |
//Telerik.Windows.Controls.VisualStudio2013Palette.LoadPreset(Telerik.Windows.Controls.VisualStudio2013Palette.ColorVariation.Dark); |
내보내기 Unified diff