How can I use existing include# files in vs.net?

  • Thread starter Thread starter Kay
  • Start date Start date
K

Kay

Hi,

The web pages I created before used lots of include files.
Now I neet to move them to the asp.net. Can I use include
file in asp.net? I was told that I have to recreate all
the user controls to replace those include file. It would
be much better if I can still use those include files.

Thanks.

Kay
 
Hi Kay,

Here's the thing: ASP and ASP.Net are completely different programming
paradigms. ASP is purely procedural. ASP.Net is purely object-oriented. If
you want to migrate from ASP to ASP.Net, you have 2 choices:

1. Use object-oriented programming principles, and completely rewrite your
pages.
2. Don't bother.

In other words, there is no advantage in migrating to ASP.Net if you're
planning on doing everything procedurally, and that includes the use of
include files. You would save yourself a lot of time and effort to just stay
with what you've got.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top