분류 전체보기 (4536) 썸네일형 리스트형 Windbg를 사용하기 .NET Breakpoint 설정하기 http://blogs.msdn.com/b/kristoffer/archive/2007/01/02/setting-a-breakpoint-in-managed-code-using-windbg.aspx 위에서 퍼온 글입니다. One of the great features of managed code is getting call stacks and proper class and member function names without debug symbols. We can examine the methods of a class and set breakpoints based on name. To see the methods on an object in Windbg we first need to find its meth.. WinForm에 Console붙이기 http://www.codeproject.com/Tips/319901/Attaching-a-Console-to-a-WinForms-application#alternative2 위에서 퍼온 글입니다. kernel32.dll에 AllocConsole이라는 함수를 사용하여 Console창을 붙일수 있습니다. 그리고 FreeConsole을 이용 하여 해제할수 있습니다. 그럼 코드를 보죠 using System;using System.Windows.Forms; namespace FormWithConsole { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { Appli.. Json Validation하는 사이트 입니다. 프로젝트 하다가 복잡한 Json을 만들어서 넘기는 부분이 있었는데 http://jsonlint.com/ 이 사이트에서 Validation을 하면 됩니다. 휴~~~ Using SQL bulk copy with your LINQ-to-SQL datacontext http://www.codeproject.com/Tips/297582/Using-bulk-insert-with-your-linq-to-sql-datacontex 위에서 퍼온 글입니다. Linq To SQL는 많은 장점들을 가지고 있지만 대량 insert에는 약점이 있다. 이러한 약점을 보완하기 위해 DataContext부분을 확정을 했다. partial class MyDataContext { partial void OnCreated() { CommandTimeout = 5 * 60; } public void BulkInsertAll(IEnumerable entities) { entities = entities.ToArray(); string cs = Connection.ConnectionString; v.. 괜찮은 문자열 해쉬함수 http://blog.naver.com/techshare/100148848453 위에서 퍼온 글입니다. 오늘 재미있는 글을 하나 읽었습니다. ^^ 컴파일 중에 문자열해쉬 만들기....(를 시도해 보자? -_-) ; http://www.gamedevforever.com/50 위의 이야기 중에 보면, x65599 hash 함수 하나를 소개하고 있는데요. 소스 코드가 아래와 같이 실려져 있습니다. // 65599를 곱하는 해쉬함수. (Red Dragon 책에서 훔쳐옴 -0-) unsigned int generateHash(const char *string, size_t len) { unsigned int hash = 0; for(size_t i = 0; i < len; ++i) { hash = 65599 * .. Mobile first strategy for CSS designer http://naradesign.net/wp/2012/01/18/1742/ 위에서 퍼온 글입니다 . Web 개발자면 한번 봐야할듯 하네요 Mobile first strategy for CSS designer. 본문 건너 뛰기 마지막으로 블로그에 글을 포스팅 했던 날짜가 작년 여름이네요. 오늘 주제는 CSS 디자이너를 위한 모바일 퍼스트 전략 인데요. 작년에 썼던 'HTML5 & Responsive Web Design' 포스팅과 관련이 있습니다. 모바일 퍼스트 전략이라는 것은 IT 기업들 입에 자주 오르내리는 단어 인데요. 이 개념은 CSS 개발에도 적용할 수 있습니다. 말 그대로 모바일 우선 전략입니다. 2013년 말 또는 2014년 초에는 모바일 인터넷 사용자가 데스크탑 인터넷 사용자를 앞지를 것이라는.. IIS System.Runtime.InteropServices.COMException (0x80005000) http://blog.naver.com/techshare/100148750375 위에서 퍼온 글입니다. IIS Recycle 을 하는 코드를 만들어 두었는데, string appPoolPath = "IIS://" + Environment.MachineName + "/W3SVC/AppPools/DefaultAppPool"; DirectoryEntry appPoolEntry = new DirectoryEntry(appPoolPath); appPoolEntry.Invoke("Recycle"); 특정 PC 에서는 다음과 같은 오류가 발생했습니다. System.Runtime.InteropServices.COMException (0x80005000): 不明なエラー (0x80005000) 場所 System.Direc.. RSACryptoServiceProvider 의 공개키와 개인키 구분 http://blog.naver.com/techshare/100148508998 위에서 퍼온 글입니다. 데브피아 질문이 있군요. RSA 암호화에 대해 질문드립니다. ; http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=17&MAEULNO=8&no=142654&ref=142654&page=1 질문의 요지는, RSAParameters 에서 공개키와 개인키를 구분해서 저장하는 방법이라고 볼 수 있습니다. 우선, RSA 에서 암호화를 하기 위해서는 '공개키'를 사용한다는 것과 복호화를 하기 위해서는 '개인키'를 사용한다는 개념은 알고 계셔야 겠지요. 이를 바탕으로, 여러분이 RSA 암호화를 구현하고 싶다면 우선 (공개키를 포함한) 개인키를 생성해야 합니다. 이.. 이전 1 ··· 539 540 541 542 543 544 545 ··· 567 다음