23 April 2008
I still remember the old days when I first learned ASP.NET 1.0, I used to search, like other newcomers, for the differences between Response.Redirect and the Server.Transfer. I found answers such as Server.Transfer had been kept in ASP.NET for backward compatibility with ASP so the recommendation was to use Response.Redirect or that I should be using the Server.Transfer for better performance!
The truth is every method has a completely different and important use.
Response.Redirect: When you call this method, ASP.NET will issue HTTP headers that will instruct the browser for the new page tonavigate to and will stop processing any further ASP.NET instruction. The following code:Tagged under:0 comments|
- Ten Software Keywords That Make You Look Smarter
- Implementing a CQRS-based Architecture with MVC and Document DB
- Five Essential Front-End Tools That Should be Used with Modern MVC Projects
- A Call To Drop “The Open Closed Principle” From The SOLID Design Principles
- You should unit test your controller, NOT!
© Copyright 2007 - 2013, all rights reserved for Adam Tibitop