1. 참조
System.ServiceModel
System.ServiceModel.Discription
System.Runtime.Serialization
2. 서버
2.1. 윈도우 서비스일경우
- 빌드 전 이벤트
net stop "서비스 이름"
REM 이미 멈춰있을 경우 오류처리 무시
IF %errorlevel%==2 exit 0
- 빌드 후 이벤트
REM net start "서비스 이름"
REM 오류처리 무시
REM IF %errorlevel%==2 exit 0
- 서비스 설치/제거
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe 서비스경로/파일명
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe /u 서비스경로/파일명
3. 클라이언트
3.1. 서비스 참조/업데이트 시 당근 해당서비스가 실행중이어야 함.
3.2. 대량의 데이터를 받을 경우 binding객체의 MaxReceivedMessageSize, ReaderQuotas.MaxArrayLength 크길를 늘림.
4. 디버깅
4.1. #if DEBUG
Debugger.Launch();
#endif
System.ServiceModel.Discription
System.Runtime.Serialization
2. 서버
2.1. 윈도우 서비스일경우
- 빌드 전 이벤트
net stop "서비스 이름"
REM 이미 멈춰있을 경우 오류처리 무시
IF %errorlevel%==2 exit 0
- 빌드 후 이벤트
REM net start "서비스 이름"
REM 오류처리 무시
REM IF %errorlevel%==2 exit 0
- 서비스 설치/제거
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe 서비스경로/파일명
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe /u 서비스경로/파일명
3. 클라이언트
3.1. 서비스 참조/업데이트 시 당근 해당서비스가 실행중이어야 함.
3.2. 대량의 데이터를 받을 경우 binding객체의 MaxReceivedMessageSize, ReaderQuotas.MaxArrayLength 크길를 늘림.
4. 디버깅
4.1. #if DEBUG
Debugger.Launch();
#endif
'library > .NET' 카테고리의 다른 글
static 클래스 초기화 주의 (0) | 2020.08.13 |
---|---|
예외처리 (0) | 2019.06.27 |
Panel Resets Scroll Position after Focus is Lost and Regained (0) | 2012.10.06 |