473,398 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

assembly vs. code behind

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
Apr 9 '06 #1
2 948
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

Apr 9 '06 #2
Thanks
Jim

"Chris Fulstow" <ch**********@hotmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
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

Apr 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: bill joyce | last post by:
I have installed an assembly in the GAC ( a DAL), now I want to make a reference to it in my Business Obj. This is one way I found out how to do it is there another way? <system.web>...
1
by: Jim Heavey | last post by:
I am trying to figure out the @Assembly directive. I have an application which uses "codebehind" and only uses source code, so I am using the "src=" option of the @Page directive. So I have...
4
by: DELESTRE Christophe | last post by:
I’m sorry to disturb you but I have a problem on .NET development, and I’m need some help to resolve it if it’s possible. I have an aspx page with src property (no dll for my web...
5
by: Philipp Schumann | last post by:
Hi, In a class library that may be consumed by .exe as well as web applications, I need to determine the "main" or "entry" assembly of the current application. Unfortunately,...
0
by: Steve Richter | last post by:
I have moved a code behind user control from my asp.net web application project into a separate assembly. Where I had registered the control this way: <%@ Register TagPrefix="ac"...
1
by: javatopia | last post by:
Hello, In my ASP.NET (1.1) project, I look for the current version of the assembly: Version vv = GetType().Assembly.GetName().Version; return("v" + vv.ToString()); I am always seeing...
6
by: ewolfman | last post by:
Hi, I've read many posts in several news groups, but can't figure out how to publish my website. The specific error I'm getting (on the "successfully published website") is "Could not load the...
2
by: john | last post by:
Maybe I haven't had that "a-ha" moment yet, but I think the new approach to web projects is a step in the wrong direction. My main beef is that control over the assembly generation process has...
1
by: Andrew | last post by:
In ASP.NET 1.1 I used to retreive the version of my code-behind assembly using following syntax: Assembly.GetExecutingAssembly().GetName().Version The version was defined in AssemblyInfo.cs using...
0
by: sonic | last post by:
Hello, If I modify a aspx file, it is my understanding that the runtime will generate a new assembly based on it, and place it in the temporary asp.net files directory aside of the old version...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.