Monday, December 20, 2004

Response.Redirect, Server.Transfer, Server.Execute

Response.Redirect
  • Tells the browser to redirect.
Server.Transfer
  • Consumes less server resources than Response.Redirect
  • Changes the focus on the web server and transfers the request.
  • Does not maintains the original URL.
  • Cannot navigate to an external URL.
  • Has a second parameter "preserveForm" which when set to true, all the objects in the page can be accessed from the page which you are transfering to. You can access that using Request.Form("txtName")

Server.Execute

  • Executes a page and returns the results.
  • Is not very important in ASP.Net

Friday, December 17, 2004

Registering Visual Studio Solutions

I had a strange problem with my Visual Studio .Net 2003. I was not able to add any new items to my projects nor was I able to create any new projects. I got a solution from Micorsoft Newsgroups and it worked well. I had to register the CSProj.dll and all was working fine.

regsvr32.exe "c:\program files\Microsoft Visual Studio .NET 2003\Vc7\vcpackages\csproj.dll"

Monday, December 13, 2004

Hello Cochin

All are welcome to Cochin, the Queen of the Arabian Sea. This is a wonderful place to live in.