허당 레몬도리
article thumbnail
[dotnet core] 프로세스 모니터링(dotnet-counters monitor)
카테고리 없음 2023. 2. 1. 14:55

참고 : https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-counters dotnet-counters diagnostic tool - .NET CLI Learn how to install and use the dotnet-counter CLI tool for ad-hoc health monitoring and first-level performance investigation. learn.microsoft.com 1. 설치 dotnet tool install --global dotnet-counters 2. 실행 dotnet-counters [-h|--help] [--version] - 프로세스 목록 확인 > dotnet-counters..

[설치] sun.security.provider.certpath.SunCertPathBuilderException
카테고리 없음 2022. 11. 18. 11:53

Jenkins 환경 구축은 구축 중에 아래와 같은 오류 발생 시 대처법 sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 설치 환경 및 버전 OS : Windows Jenkins : Jenkins 2.361.4 Java : OpenJDK11U-jdk_x64_windows_hotspot_11.0.17_8 해결방법 1. update-center 주소 변경 Manage Jenkins - Manage Plugin - Advanced 에서 Update site 경로를 변경 https://updates.jenkins.io/update-center.jso..

article thumbnail
[asp.net core] API 서비스 배열(array) 값 받기
가. 언어유형/C# 2022. 1. 11. 19:03

[Route("add")] [HttpPut] public async Task Add([FromQuery] int[] array_ids) { return new JsonResult(""); } 위와 같이 [FromQuery]로 받아 처리할 수 있다. 호출 방법은 Postman 기준으로 아래와 같이 입력하면 된다. Form을 이용할 경우 아래와 같이 name을 같게 해주면 입력 값을 배열로 받을 수 있다. . . . 명심해야할 것은 [FromQuery] int[] array_ids 는 맨 앞에 위치해야 한다 앞에 다른 변수가 있을 경우 인식이 불가하여 아래와 같은 에러를 볼 수 있다

memset() or value initialization to zero out a struct?
가. 언어유형/C or C++ 2021. 11. 8. 11:58

https://stackoverflow.com/questions/1998752/memset-or-value-initialization-to-zero-out-a-struct memset() or value initialization to zero out a struct? In Win32 API programming it's typical to use C structs with multiple fields. Usually only a couple of them have meaningful values and all others have to be zeroed out. This can be achieved in eithe... stackoverflow.com https://www.py4u.net/discuss..

[asp.net core] checkbox parameter로 받기
가. 언어유형/C# 2021. 10. 28. 16:53

1. 단일 체크박스 html cs public async Task Edit(Models.Sample model, bool check_box_name) { if (true == check_box_name) { // 처리 } } 2. 여러 체크박스를 한번에 받기 html cs public async Task Edit(Models.Sample model, int[] check_box_name) { if (true == check_box_name) { // 처리 } } int[], string[]로 받을 수 있다.

article thumbnail
windows redis 설치(서비스 등록, sentinel 설정)
나. 설치 및 설정/Setup 2020. 2. 21. 18:53

Redis는 공식적으로 윈도우를 지원하지 않지만 MSOpenTech라는 곳에서 지속적으로 윈도우 버전을 포팅하여 릴리즈하고 있다. 아래 윈도우 버전의 릴리즈 정보가 있으며, 현재까지 최신 버전은 3.0.504이다. https://github.com/MicrosoftArchive/redis/releases MicrosoftArchive/redis redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes github.com zip 파일을 다운로..

퍼센트 계산법
카테고리 없음 2020. 2. 10. 21:58

퍼센트 계산법 공식과 간단한 예제입니다. 전체값에서 일부값은 몇 퍼센트? 계산법 공식 일부값 ÷ 전체값 X 100 예제) 300에서 105는 몇퍼센트? 답: 35% 전체값의 몇 퍼센트는 얼마? 계산법 공식 전체값 X 퍼센트 ÷ 100 예제) 300의 35퍼센트는 얼마? 답) 105 숫자를 몇 퍼센트 증가시키는 공식 숫자 X (1 + 퍼센트 ÷ 100) 예제) 1548을 66퍼센트 증가하면? 답) 2569.68 숫자를 몇 퍼센트 감소하는 공식 숫자 X (1 - 퍼센트 ÷ 100) 예제) 1548을 66퍼센트 감소하면? 답) 526.32 출처: http://mwultong.blogspot.com/2008/01/percent-formula.html

article thumbnail
IIS에서 apk 파일 다운로드 404.3 Not Found 오류

방법 두개를 소개 첫번째 방법 1. IIS의 MIMY TYPE (MIME형식) 설정 2. 추가 3. 확장자를 추가.apkapplication/vnd.android.package-archive 두번째 방법 1. web.config 파일 항목 추가