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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Organisation and Layout

Status
Not open for further replies.

xloop

Programmer
Nov 12, 2001
86
GB
I have quite a large application i've written in ASP and would like to port all existing code to ASP.NET (even if that included an entire rewrite).

My existing application consists of over 250 asp pages.
How would you go about creating this as an .net asp+ app?? Obviously I have a few asp files that have general functions and connectionstring and constants that all other pages reference. Where would these fit into a full scale ASP.NET application?

In all the examples you look at that most of them fit nicely in one Webapplication, however im sure it would look extremely messy if you had 200 .cs files in one app, would it not??

Any ideas??

Thanks
RS
 
hey xloop.

Here's what I've found working on my company's asp.net software project:

- Don't treat it as a web application:
Most of those files you mention that hold general functions, constants, and what not, will probably find homes in .DLL files instead of page files. Also, most of your asp code will be in the code behind more-so than in cryptic tags in the html, so you'll find your page counts will be much less.

- If you're going to re-write, digaram it out with UML first
If re-writing the app is an option, then take the time to do the analysis of the app first, then build it. It'll save you time if you put in the effort to reserch the technologies (i.e new web controls), and the db layout, etc.
VB.Net and C# are both fully OO languages, so its best to take full advantage of that.

- MSDN is your friend
if you havnt been reading/buying msdn magazine, or any other publications like VisualStudio mag or .NET magazine (or the new asp.net one), now's a good time. They usually have alot of really kewl articles on the new stuff, and are very helpful

- Learn XML/XSLT
XML is huge in .NET!!! IF you have a good grasp of it, you'll definately have a good head start in developing.

If I come up with any other tips, I'll let you know.

:)

Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top