http://www.mnot.net/cache_docs/ 웹 개발을 하다보면 상당히 자주 사용하게 되는 것이 Cache를 어떻게 컨트롤할 지 결정하는 것이다. 이는 HTTP 헤더를 조작해야하는 작업이기 때문에 HTTP 헤더를 찾아보는 일이 많다. 이런 부분을 정리해둔 페이지가 있다. 위 링크를 활용하도록..
ASP.NET Page.GetPostBackEventReference()를 이용한 doPostBack 자바스크립트로 behind code의 메서드를 실행하고 싶은 경우가 있다. 이럴 경우 보통은 스크립트에서 __doPostBack() 메서드를 정의해서 사용하곤 한다. 하지만, 이는 좋지 못한 방법이다. __doPostBack() 메서드는 .net에서 자동 생성하는 부분으로, 개발자가 별도로 작성하여도 바뀔 가능성이 있다. 또한, .net에서 자동으로 생성하지 않는 경우도 발생한다. 스크립트로 behind code의 메서드를 실행하고 싶을 때는 아래와 같은 방법을 권한다. 이는 postback이 발생하는 WebForm Control을 매개변수로 넘겨주면, 자동으로 __doPostBack()을 생성해 준다...
http://msdn2.microsoft.com/en-us/library/ms644563.aspx .NET Framework Developer's Guide ASP.NET Web Applications (.NET 3.0) ASP.NET is a unified Web platform that provides all the services necessary for you to build enterprise-class applications. ASP.NET is built on the .NET Framework, so all .NET Framework features are available to ASP.NET applications. Your applications can be written in any l..
기본적으로 웹 폼 이벤트 실행 순서는 Init > LoadViewState > Load > 서버콘트롤 이벤트 > PreRender > SaveViewState > Unload 순서로 실행된다. http://msdn2.microsoft.com/en-us/library/ms178473.aspx General Page Life-cycle Stages In general terms, the page goes through the stages outlined in the following table. In addition to the page life-cycle stages, there are application stages that occur before and after a request but are no..
http://weblogs.asp.net/scottgu/archive/2007/07/31/linq-to-sql-debug-visualizer.aspx Probably the biggest programming model improvement being made in .NET 3.5 is the work being done to make querying data a first class programming concept. We call this overall querying programming model "LINQ", which stands for .NET Language Integrated Query. Developers can use LINQ with any data source, and built..
ASP.NET Technical Articles Understanding ASP.NET View State Scott Mitchell 4GuysFromRolla.com May 2004 Applies to: Microsoft® ASP.NET Microsoft® Visual Studio® .NET Summary: Scott Mitchell looks at the benefits of and confusion around View State in Microsoft® ASP.NET. In addition, he shows you how you can interpret (and protect) the data stored in View State. (25 printed pages) Click here to dow..