assembly vs. code behind

  • Thread starter Thread starter JimO
  • Start date Start date
J

JimO

I have two dotNet 2 vb code behind files each about 900 lines. One file
has three classes in it and supports three forms. The other file supports
one form. What is the best practice to organize these file? Should I leave
it alone, break up the on one into three files, or maybe create assemblies?
There is no inhertance or common procedures and functions among any of the
classes.

Thanks,
Jim
 
Hi Jim,

For the sake of maintainability, I'd probably break your first file up
into 3 separate code-behind file so it's easier to find the code for a
particular page. Then complile all your code-behind page classes into
the same assembly to make it easier to deploy.

HTH,
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top