Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting ASP Class Files to the ASP.NET Platform 1

Status
Not open for further replies.

megalene

Programmer
Joined
Jan 4, 2001
Messages
31
I have recently just jumped on the ASP.NET bandwagon and I am trying to find a way to convert my class files to the new
asp.net way. So my question is this: does anyone know a good way to go about doing this?
I have read the arguments of the advantages of ASP.NET over "ASP Classic" and im sold, but I just need some help on how i should convert my semi-object class files. I have
read many tutorials and seen examples on web forms and such, but I dont see anything about porting class files? Maybe I just dont know what to look for? Should I be looking at using Web Services, the .VB file type, asmx....?
Thanks for any help anyone can give me!
 
It kinda of depends on what you are building. What I have done is to put my objects into a .vb class file. The methods and functions that I wish to use in my project and/or possibly others I am transforming into web services.

The switch to a .vb file type class was quite simple. I merely copyied the code into the new file. There are some simple syntax changes such as the way let and gets are written. Other than that I didn't have to change anything.

The web services however are a little different. I am currently working on those. Basically I am rewriting the code behind them in order to make use of the ADO.Net structure.

Hope this helped
G'Luck
 
Thanks for the help, I will look more into the .VB files.
I have various web applications that do content management to guestbooks,forums and such. I am also looking into the ADO.NET too, so much to do, so little time.
 
Glad to help
Thank you for the star.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top