허당 레몬도리
무료 .NET dll 디컴파일 프로그램 dotPeek
가. 언어유형/C# 2018. 12. 21. 18:51

무료 .NET dll 디컴파일 프로그램 dotPeek https://www.jetbrains.com/decompiler/

Log4Net error level 정리
가. 언어유형/C# 2018. 12. 21. 11:52

RollingFileAppender class addFilterpublic void addFilter(Filter newFilter)Add a filter to end of the filter list.Specified by:addFilter in interface Appender 위 filter에 log level을 설정할 수 있는데 검색하다 발견한 내용들. ALL DEBUG INFO WARN ERROR FATAL OFF •All •DEBUG •DEBUG •INFO •INFO •INFO •WARN •WARN •WARN •WARN •ERROR •ERROR •ERROR •ERROR •ERROR •FATAL •FATAL •FATAL •FATAL •FATAL •FATAL •OFF •OFF •OFF •OFF •..

MySQL Error Handling in Stored Procedures
가. 언어유형/SQL Query 2018. 12. 12. 16:59

출처 : http://www.mysqltutorial.org/mysql-error-handling-in-stored-procedures/ Summary: in this tutorial, you will learn how to use MySQL handler to handle exceptions or errors encountered in stored procedures.When an error occurs inside a stored procedure, it is important to handle it appropriately, such as continuing or exiting the current code block’s execution, and issuing a meaningful error m..

[MySQL / Stored Procedure] 에러 핸들링 Error Logging
가. 언어유형/SQL Query 2018. 12. 12. 16:56

출처: http://purumae.tistory.com/199 [MySQL / Stored Procedure] 에러 핸들링 시리즈 아래와 같은 테이블을 만들고, Stored Procedure 실행 중에 SQL Exception 이 발생했을 때, 디버깅에 필요한 단서를 저장합니다.12345678910111213CREATE TABLE `error_log` ( `error_log_id` SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '에러 로그 ID', `proc_name` VARCHAR(100) NOT NULL COMMENT '프로시저 이름', `proc_step` TINYINT(3) UNSIGNED NOT NULL COMMENT '프로시저 내에서 에러가 발생..

C# Mongodb 배열 값 수정하기
가. 언어유형/C# 2018. 11. 16. 18:19

{ "_id" : ObjectId("5bee629dee0fc9d332b2107b"), "no" : NumberLong(30001), "name" : "레몬과일가게", "products" : [ { "id" : NumberLong(50001), "name" : "레몬", "price" : NumberInt(4), }, { "id" : NumberLong(50002), "name" : "사과", "price" : NumberInt(12), }, { "id" : NumberLong(50003), "name" : "파인애플", "price" : NumberInt(3), }, { "id" : NumberLong(50004), "name" : "귤", "price" : NumberInt(3), } ]} mongod..

article thumbnail
Protobuf Repeated readonly 변경하기
가. 언어유형/C# 2018. 4. 17. 19:07

mongodb collection을 protobuf class로 가져오려고 하던 중에 List 형태를 가져와보려고 많은 시간을 소비해 가며 보던 중에 .proto로 gen할 때 자세히 보니 repeated 값들이 readonly로 생성 되는 것을 보았다. 여기 저기 검색하던 중에 protobuf를 본 외국인의 글을 발견했다.(질문자는 다른 방법이 필요했던 거였지만 아래 더 자세한 설명을 해준 답변자의 답변이 눈에 들어왔다)링크 : https://stackoverflow.com/questions/16617933/protobuf-net-generated-class-from-proto-is-repeated-field-supposed-to-be-re This was a new issue for us as wel..

[MySQL] Ubuntu 16.04 에서 MySQL 서버 설치
가. 언어유형/SQL Query 2018. 3. 6. 14:38

https://www.fun25.co.kr/blog/ubuntu-16-04-mysql-server-install/OS: Ubuntu 16.04# apt-get update # apt-get install mysql-server MySQL 서버의 root 계정의 암호를 설정한다. 이 암호는 설치 후 반드시 필요하니 꼭 메모해 두도록 한다.설치시에 나오는 메시지이다.패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다 상태 정보를 읽는 중입니다... 완료 The following additional packages will be installed: apparmor libaio1 libapparmor-perl libcgi-fast-perl libcgi-pm-perl libencode-local..

HttpListener 연결 거부 시 사용 명령어
가. 언어유형/C# 2017. 6. 7. 18:47

HttpListener를 사용하여 개발 중에 서버포트로 연결이 불가하다는 메시지로 Exception이 떨어지는 현상이 발생하여 찾아본 명령어 명령 프롬프트(관리자 권한)를 열고 아래 명령어에 포트만 변경하여 실행하고 실행해보자 netsh http add urlacl url=http://*:8888/ user=Everyone listen=yes 아래 참고 블로그를 링크 걸어놓는다. 참고 : http://www.windowcmc.com/q.php?q=netsh-http-kr-manual