Entries By Tag: ASP.NET
<
Jul 21, 2009 by Constantin Ionescu
If you’re wandering what is the best way to include CSS and JS file references in ASP.NET pages, here is a quick guide that outlines the available options and shows which approach suits each situation.
... read more
<
Jun 17, 2009 by Constantin Ionescu
ASP.NET AJAX is a Microsoft solution that provides support for implementing XMLHttp requests. This type of request is different from the normal web requests by the format and amount of data it sends to and receives from the server – it is a minimal (partial) postback, sending and receiving only the important data, instead of transferring the entire page, as a normal postback would do.
Normally we would take advantage of this feature by using an UpdatePanel, but we can also do it by using network calls – as we’ll be able to see in the following example ... read more
(1 comments)
<
Jan 27, 2009 by Constantin Ionescu
The standard approach for making a URL redirection in ASP.NET is to use a Redirect call:
Response.Redirect("http://www.example.com/mypage.aspx")
What happens behind the scenes: the server (IIS) sends to the browser a simple HTTP Response, containing a message code ("302"), which essentially tells the browser to issue a new HTTP Request, for obtaining the new destination URL. Next, the browser issues that new request, and in the end it receives another page, served from that new URL.
This redirection behavior can be also obtained by plain HTML (no ASP.NET needed), if including in the HTML page a "meta tag": ... read more
(6 comments)
<
Jan 05, 2009 by Constantin Ionescu
Microsoft ASP.NET Ajax is a great platform, and provides lots of functionalities, but you need to know your way around it, to make the most of its capabilities. Today I'll be writing down a couple of tips that will help you when deploying an Ajax website in IIS. ... read more
(2 comments)