분류 전체보기 썸네일형 리스트형 AjaxMin (javascript minimizer) Js minimizer 의 역할웹 서버의 경우 리소스를 효율적으로 관리할 필요가 있습니다.예를 들어 Server의 Traffic을 줄이기 위해서 제공하는 content의 size는 최소화할 필요가 있습니다.이를 위하여, Css, Js파일을 일종의 압축하는 기능을 Js minimizer가 수행합니다.부가적으로 code 최적화 / 오류 보고 등의 기능을 제공하고 있습니다. Minimizer의 종류 (비교)YUI Compressor, Google Closure, MS Ajax Minifier 등이 있습니다.대부분 충분한 성능을 보여주며, 절대적으로 뛰어난 것을 택하기 어려운 상황입니다..Net 환경의 쉬운 통합을 위해서 AjaxMin은 괜찮은 선택으로 Ajax min 적용 방법1. Ajax minifier를 .. 더보기 How to integrate node.js with Asp.Net Node.jsgoogle에서 개발한 V8(java-script)을 기반으로 API를 제공하는 server platform 입니다.특징 Java-script문법을 사용Non blocking I/O Prerequisites Node.js http://www.nodejs.org IISNode https://github.com/tjanczuk/iisnode IIS 통합 Hosting 환경 구축 IIS Rewrite http://www.iis.net/downloads/microsoft/url-rewrite node linker로의 접근 지원 Web.config modify System.webServer / handers를 추가 동 node에 rewrite를 추가 Nodejs expand (ex, express) .. 더보기 C# in Depth (번역) 원서만 강력 추천합니다... 더보기 Web.config - How to config max upload file size httpRuntime의 maxRequestLength를 설정함으로써 변경할 수 있습니다. Referencehttp://support.microsoft.com/kb/815307/ko 더보기 How to handling MS excel file Excel파일 Read/Write 방법 1. Markup을 직접 write하는 방법 2. Control의 Export를 활용하는 방법 - 3rd party tool 등을 이용하여, 간접적으로 구현하는 방식 3. Office ref - office dll을 reference로 잡아서 개발하는 방식 4. Office Open Xml - Xml형태로 word, excel, powerpoint를 다룸 OpenXml SDK 선택의 당위성 다른 선택지와 명확하게 차별되는 요소를 정리하면 다음과 같습니다. Fully support 이를 테면 다음과 같은 output을 만들 수 있습니다. Elegant code As-issbResult.Append(""); sbResult.Append(""); foreach (Data.. 더보기 XML Element vs. Attribute Meta-data 저장을 위한 검토 중, 흥미로운 글을 찾아 소개해 드립니다. XML은 Element와 Attribute요소로 구성되어 있고, data는 어떤 형태로든 저장할 수 있습니다.(이것이 best practice를 찾는데 혼란을 가져오는 요소입니다.)W3school에서는 data인 경우에는 element로 저장할 것을 권장하고 있으며, 다음의 이유를 들고 있습니다. Attribute를 피해야 하는 이유- Multiple values를 포함할 수 없다.- 쉽게 확장할 수 없다.- Structure를 표현할 수 없다.- 개발하기 어렵다.(번거롭다 정도로 해석할 수 있을 듯 합니다.)- DTD에 대해서 테스트하기 어렵다. 예외적으로 Attribute를 사용하는 경우- ID의 경우 ConclusionM.. 더보기 Get server side FileInfo 프로젝트 진행간에 아래와 같은 요구사항을 해결하기 위하여, 서버측의 FileInfo 가 필요하게 되었다. 요구사항 UpdateInform.htm 를 제공하는 페이지의 최근수정일을 확인하여, 유저가 최종 로그인한 시점과 비교하여, 로그인시점보다 나중인 경우, 페이지를 팝업으로 띄워 사용자에게 제공함. 구현 [WebMethod] public DateTime GetLastUpdateTime() { return new FileInfo(HttpContext.Current.Server.MapPath("~/UpdateInform.htm")).LastWriteTime; } .이런 저런 삽질 후에 알아냈으나, 일단은 서비스 구현부터 하고 파봐야 겠다. 더보기 How to find DB Size Storage 의 사이즈를 확인하기 위해서 아래의 Query 를 사용합니다. USE DBName GO SELECT [size] * 8 , [filename] FROM sysfiles sysfiles 라는 view 는 기본적으로 system 에서 제공하는 것으로써 storage 에 대한 정보를 갖고 있습니다. 이 중 size 컬럼은 그 크기를 8 KB 페이지 단위로 나타내고 있기 때문에, 실제의 용량을 확인하기 위해서는 8 을 곱하면 됩니다. 출처: http://stackoverflow.com/questions/176379/determine-sql-server-database-size 더보기 SQL Server DateTime Formatting SQL Server DateTime FormattingUsually the formatting of a DateTime value into a more readable date and time is dealt with by the client application. However, there are some situations were it is useful to convert a DateTime into a formatted character string within a SQL statement. Converting a DateTime to a VarCharThe Transact-SQL (T-SQL) Convert command can be used to convert data between diffe.. 더보기 이전 1 ··· 7 8 9 10 다음