27 באוגוסט 2008
There are several ways to cache HTTP responses and ETag is one of them. ETag is a nice feature that can sometimes help boosting the performance for a web application. Basically the idea behind ETag is to prevent redownloading and processing a page that has not been modified.
The origin server specifies the ETag using the response header:
HTTP/1.1 200 OKLast-Modified: Tue, 12 Dec 2006 03:03:59 GMTETag: "10c24bc-4ab-457e1c1f"Content-Length: 12195
The browser will check for the expiration:
GET /i/yahoo.gif HTTP/1.1Host: us.yimg.comIf-Modified-Since: Tue, 12 Dec 2006 03:03:59 GMTIf-None-Match: "10c24bc-4ab-457e1c1f"HTTP/1.1 304 Not Modified
Wikipedia, describes it very well:
"An ETag (entity tag) is an HTTP response header returned by...
19 באוגוסט 2008
Here is a question I here often: "We want to load test our application, what do we need?" My answer is "very simple": "What are the goals for our load test?" That is when I usually here the sentence: "I want to see how my application operates under load..." Well, this is not a very good answer, or at least not satisfying one. "Why?" When we load test the application we can check several aspects that require deferent preparations. Usually we would like to validate our application in terms of: Concurrency. Critical Resources Utilizations. Latency & Response...
10 באוגוסט 2008
Microsoft had released an Alpha 0.2 for supporting LINQ To XSD. The LINQ to XSD technology provides .NET developers with support for typed XML programming. LINQ to XSD contributes to the LINQ project (.NET Language Integrated Query). What does it look like? To get an idea, consider the following C#3.0 fragment for a LINQ to XML query that computes the total over the items in a XML tree for a purchase order:(
from item in purchaseOrder.Elements("Item")
Using LINQ to XSD,...