Stefan Hogedal
|
Posted: 01/04/2005, 3:11 PM |
|
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...
|