본문 바로가기

전체 글116

[C#] API 웹 통신 하기 (WebGet, WebInvoke 차이) [C#] API 웹 통신 하기 (WebGet, WebInvoke 차이) WebGet (Rest 중 GET Method사용 시) [ServiceContract] [OperationContract] [WebGet(Method = "GET", UriTemplate = "/PasswordReset?ID={ID}" ResponseFormat = WebMessageFormat.Json)] WebInvoke (Rest 중 POST, PUT, DELETE, 사용 시) [ServiceContract] [OperationContract] [WebInvoke(Method = "POST", UriTemplate = "/PasswordReset/{ID}" ResponseFormat = WebMessageFormat.Json)].. 2021. 8. 23.
[FileBeat] FileBeat 설치 yml설정 및 서비스 등록 FileBeat 설치, yml설정 및 서비스 등록 1. Filebeat Download https://www.elastic.co/kr/downloads/beats/filebeat Download Filebeat • Lightweight Log Analysis | Elastic Download Filebeat, the open source data shipper for log file data that sends logs to Logstash for enrichment and Elasticsearch for storage and analysis. www.elastic.co 2. Filebeat 압축 풀기 따로 install 필요 없음 3. Filebeat location 이동 서비스 올라간 이후 해당 위치.. 2021. 8. 19.
[Windows] 윈도우 서비스 등록 (window service) 윈도우 서비스 등록 (window service) 윈도우 서비스 등록 sc create [service name] binpath= [exe file location] --ex) sc create TestService binpath= "D:\Programs\test.exe" binpath= 뒤에 공백 1칸 필수 윈도우 서비스 삭제 sc delete [service name] -- sc delete TestService 윈도우 서비스 실행 sc start [service name] -- ex) sc start TestService 윈도우 서비스 중지 sc stop [service name] -- ex) sc stop TestService 2021. 8. 18.
[Tools] PostMan (포스트맨) 설치하기 POSTMAN 다운로드 1. 포스트맨(POSTMAN) 다운로드 링크 접속 https://www.postman.com/downloads/ 2. Download the App 클릭 후 PC에 맞는 버전 다운로드 / mac혹은 linux일 경우엔 하단 Download for MAC or Linux 클릭 3. 다운로드 파일 실행 4. Installing 화면 이후 자동 설치 5. 동작 화면 및 로그인 후 초기 화면 (계정 생성 혹은 구글 계정과 연동하면 됨) 2021. 8. 12.