CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Tips & Solutions

 ASP to ASP.NET Migration Assistant

Print topic Send  topic

Author Message
Stefan Hogedal
Posted: 01/04/2005, 3:11 PM

8-)

Hello everyone!

I hope this will interest someone!

As the first step on the way to convert a very patched version of the CC Portal sample to CCS I thought I'd look into converting it into ASP.NET and then convert one page at a time. The idea being to sharing the session state between CC and CCS.

I've managed to convert the CC Forum Example from "ASP 2.0 with templates" to VB.NET using the ASP to ASP.NET Migration Assistant (href="http://www.asp.net/migrationassistants/asp2aspnet.aspx?tabindex=0&tabid=1) and two easy "hand-ons".

1. (After ASPUpgrade) I changed the GetParam function in common.aspx from

	If request.QueryString.GetValues(ParamName).Length > 0 Then  
		Param = request.QueryString.Item(ParamName)  
	ElseIf request.Form.GetValues(ParamName).Length > 0 Then   

to

	If Not request.QueryString.GetValues(ParamName) Is Nothing Then  
		Param = request.QueryString.Item(ParamName)  
	ElseIf Not request.Form.GetValues(ParamName) Is Nothing Then   

1. (After ASPUpgrade) I changed the ToSQL function in common.aspx from

	If Param = "" Then  

to

	If CStr(Param) = "" Then  

Now I'm going to see if my very patched version of the Portal will upgrade just as easy...

Regards,
Stefan

PS. I tried the SofoTex product as well, but didn't manage to wrestle it. I almost did with their ASP to C# (!), but no...

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.