Last day, a friend of mine send me an attachment of Mr.Bean. Just see how beautiful & lovely it is. I always loved his TV series.
All Day, I Dream about Codes
The Response.Redirect method sends a message to the requesting client to request a new page. This requires a round trip between the browser and the server, but allows the user to see the new URL in the browser address bar.
Server.Transfer is a quicker approach which simply loads the specified page without the round trip. As a result, the browser’s address bar is not updated.
There is a nice pictorial demonstration of the ASP.NET Postback cycle flow in Randy Connolly’s website.
Have a look.
While programming, I use the comment/un-comment menu in the Visual Studio toolbar. The commented portion looks like, for example
<%-- Some Comment/Code here --%>
Later on only, I paid attention to it; as what makes it different from our normal HTML comments like;
<!-- Some Comment/Code here -->The difference is simple. The former is called server-side comment & the latter is client-side comment. Serer-Side comments are not returned to the browser, while the client-side comments are returned to the browser.
Realizing, how I strained/managed to learn complex codes, without paying attention to such a silly thing. We all need Big without realizing what is Small.
Suppose that the Web Server from which a Web-Service client is requesting Web-Service supports compression; then the web-service client will receive respone as compressed data.
We can disable the decompression by setting the EnableDecompression property to true.
// on client web-applicationService srvc1 = new Service();srvc1.EnableDecompression = true;// call your web-service method here (example)string dtime = srvc1.ReturnDateTime();:
:
: