Converting ASP to ASP.Net Commerce Server 2002 object

Hi,

I am not familiar in ASP , But i want to convert existing ASP based commerce server 2002 object code to asp.net .

For Eg:

Set mscsPage = Server.CreateObject("Commerce.Page")

GetSiteName = mscsPage.VirtualDirectory

How can i do it in Dotnet and which is the better way to do it. I will look forward for someone come forward to give solution .

Regards,

Raja

[492 byte] By [rangarajanm] at [2008-2-20]