Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: RE: calling old asp functions from C# code whithin aspx


Message #1 by "Jonny Bekkestad" <jonny.bekkestad@m...> on Tue, 1 May 2001 14:17:03
> Could you specify "old ASP functions"? I mean, all the functionality ASP

> offered is still there, sometimes even in objects with the same name.

> 

> Thomas Tomiczek

> General Manager

> THONA Consulting LTd.

> 

> -----Original Message-----

> From: Jonny Bekkestad [mailto:jonny.bekkestad@m...]

> Sent: Montag, 30. April 2001 11:18

> To: ASP+

> Subject: [aspx] calling old asp functions from C# code whithin aspx

> 

> hi i have a small problem.

> I would like to call my old asp functions from the aspx program.

> Does anyone know how i can manage this?

> 

> Best Regards

> Jonny Bekkestad

> 



The reason i ask for this is that i have spent years + hundreds of man 

hours on building a function library + com objects etc etc and i would 

like to be able to use them in .Net instead of doing it all over again.



What i tried to do to check this was to make a web application in .Net and 

then include my file table.asp which has a function that creates a table 

and then call this function from the aspx file. And i could not do this. 

This tells me that i could have some major problems in the future.



Best Regards

Jonny Bekkestad

Message #2 by "Thomas Tomiczek" <t.tomiczek@t...> on Tue, 1 May 2001 15:49:19 +0200
OK,



Forget your function library - actually you should not have built it in

the first place, and MS told you so :-)



On your COM objects - you can use them and import them. BUT - its bad

for performance, when written in VB, because of the VB threading model.

IF the COM objects have been written for ASP, its even worse, because

you neet to put ASP.NET into a compatible mode - which will hit

performance even more.



I would suggest you think it over - when switching to the new ASP.NET

server side object model, a good part of your library will be for the

garbage bin anyway. He rest I would transfer to VB.NET. And the VB

Script "include file" libraries, well, they should not have been built

the first place.



Yes, you have to throw away a major part. Be happy with it - for the

first time you get a modern object oriented environment :-(



Thomas Tomiczek

General Manager

THONA Consulting Ltd.





-----Original Message-----

From: Jonny Bekkestad [mailto:jonny.bekkestad@m...]

Sent: Dienstag, 1. Mai 2001 16:17

To: ASP+

Subject: [aspx] RE: calling old asp functions from C# code whithin aspx



> Could you specify "old ASP functions"? I mean, all the functionality

ASP

> offered is still there, sometimes even in objects with the same name.

>

> Thomas Tomiczek

> General Manager

> THONA Consulting LTd.

>

> -----Original Message-----

> From: Jonny Bekkestad [mailto:jonny.bekkestad@m...]=3D20

> Sent: Montag, 30. April 2001 11:18

> To: ASP+

> Subject: [aspx] calling old asp functions from C# code whithin aspx

>

> hi i have a small problem.

> I would like to call my old asp functions from the aspx program.

> Does anyone know how i can manage this?

>

> Best Regards

> Jonny Bekkestad

>



The reason i ask for this is that i have spent years + hundreds of man

hours on building a function library + com objects etc etc and i would

like to be able to use them in .Net instead of doing it all over again.



What i tried to do to check this was to make a web application in .Net

and

then include my file table.asp which has a function that creates a table



and then call this function from the aspx file. And i could not do this.



This tells me that i could have some major problems in the future.



Best Regards

Jonny Bekkestad

Message #3 by "Allen, Sheila (ITS)" <Sheila.Allen@i...> on Tue, 1 May 2001 15:23:43 -0700
I believe there will be a tool provided by MS (with VS.Net maybe) to convert

your asp scripts to asp.net.  I read about this but cannot recall where.





-----Original Message-----

From: Thomas Tomiczek [mailto:t.tomiczek@t...]

Sent: Tuesday, May 01, 2001 6:49 AM

To: ASP+

Subject: [aspx] RE: calling old asp functions from C# code whithin aspx





OK,



Forget your function library - actually you should not have built it in

the first place, and MS told you so :-)



On your COM objects - you can use them and import them. BUT - its bad

for performance, when written in VB, because of the VB threading model.

IF the COM objects have been written for ASP, its even worse, because

you neet to put ASP.NET into a compatible mode - which will hit

performance even more.



I would suggest you think it over - when switching to the new ASP.NET

server side object model, a good part of your library will be for the

garbage bin anyway. He rest I would transfer to VB.NET. And the VB

Script "include file" libraries, well, they should not have been built

the first place.



Yes, you have to throw away a major part. Be happy with it - for the

first time you get a modern object oriented environment :-(



Thomas Tomiczek

General Manager

THONA Consulting Ltd.





-----Original Message-----

From: Jonny Bekkestad [mailto:jonny.bekkestad@m...] 

Sent: Dienstag, 1. Mai 2001 16:17

To: ASP+

Subject: [aspx] RE: calling old asp functions from C# code whithin aspx



> Could you specify "old ASP functions"? I mean, all the functionality

ASP

> offered is still there, sometimes even in objects with the same name.

> 

> Thomas Tomiczek

> General Manager

> THONA Consulting LTd.

> 

> -----Original Message-----

> From: Jonny Bekkestad [mailto:jonny.bekkestad@m...]

> Sent: Montag, 30. April 2001 11:18

> To: ASP+

> Subject: [aspx] calling old asp functions from C# code whithin aspx

> 

> hi i have a small problem.

> I would like to call my old asp functions from the aspx program.

> Does anyone know how i can manage this?

> 

> Best Regards

> Jonny Bekkestad

> 



The reason i ask for this is that i have spent years + hundreds of man 

hours on building a function library + com objects etc etc and i would 

like to be able to use them in .Net instead of doing it all over again.



What i tried to do to check this was to make a web application in .Net

and 

then include my file table.asp which has a function that creates a table



and then call this function from the aspx file. And i could not do this.



This tells me that i could have some major problems in the future.



Best Regards

Jonny Bekkestad




  Return to Index