473,756 Members | 7,019 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Assembly design guidance required

Hi,

Are there any good guidance white papers out there on the best way to design
and build assemblys in VS.Net that would cover the following questions I
have and requirements I know of:

The assembly(s) I build must be installed in the GAC.

My assembly(s) needs to include the following:
- my own class/utility librarary code
- custom web controls
- custom web parts
- support localization

Should I include all the above in the one assembly dll or partition based on
logical boundarys - partitioning would then create dependencys between
assemblys.

If I was to create in one assembly what is the best way to structure the
project within VS.Net - should I name files based on namespaces - or
separate files in subfolders based on namespaces.

Other problems I am likley to run into.

Thanks

Donal


Nov 15 '05 #1
2 1838
Just to address a small part of your question:
If I was to create in one assembly what is the best way to structure the
project within VS.Net - should I name files based on namespaces - or
separate files in subfolders based on namespaces.
C# in VS.NET will assign namespaces based on folders, so use that feature.

You should check out FXCop which can help you since it's a very pedantic
'best practices' checker (you can even add your own rules).
http://www.gotdotnet.com/team/fxcop/

Richard
--
C# jiggery-pokery:
http://blogs.geekdojo.net/Richard
"Donal McWeeney" <do************ @NO-SP-AM.aimware.com> wrote in message
news:O0******** ******@TK2MSFTN GP12.phx.gbl... Hi,

Are there any good guidance white papers out there on the best way to design and build assemblys in VS.Net that would cover the following questions I
have and requirements I know of:

The assembly(s) I build must be installed in the GAC.

My assembly(s) needs to include the following:
- my own class/utility librarary code
- custom web controls
- custom web parts
- support localization

Should I include all the above in the one assembly dll or partition based on logical boundarys - partitioning would then create dependencys between
assemblys.

If I was to create in one assembly what is the best way to structure the
project within VS.Net - should I name files based on namespaces - or
separate files in subfolders based on namespaces.

Other problems I am likley to run into.

Thanks

Donal

Nov 15 '05 #2
Hi Richard,

Thanks for the pointers...

Donal

"Richard A. Lowe" <ch*****@yumspa myumYahoo.com> wrote in message
news:eB******** ******@TK2MSFTN GP10.phx.gbl...
Just to address a small part of your question:
If I was to create in one assembly what is the best way to structure the
project within VS.Net - should I name files based on namespaces - or
separate files in subfolders based on namespaces.
C# in VS.NET will assign namespaces based on folders, so use that feature.

You should check out FXCop which can help you since it's a very pedantic
'best practices' checker (you can even add your own rules).
http://www.gotdotnet.com/team/fxcop/

Richard
--
C# jiggery-pokery:
http://blogs.geekdojo.net/Richard
"Donal McWeeney" <do************ @NO-SP-AM.aimware.com> wrote in message
news:O0******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

Are there any good guidance white papers out there on the best way to

design
and build assemblys in VS.Net that would cover the following questions I
have and requirements I know of:

The assembly(s) I build must be installed in the GAC.

My assembly(s) needs to include the following:
- my own class/utility librarary code
- custom web controls
- custom web parts
- support localization

Should I include all the above in the one assembly dll or partition

based on
logical boundarys - partitioning would then create dependencys between
assemblys.

If I was to create in one assembly what is the best way to structure the
project within VS.Net - should I name files based on namespaces - or
separate files in subfolders based on namespaces.

Other problems I am likley to run into.

Thanks

Donal


Nov 15 '05 #3

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

Similar topics

2
8808
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding configuration every time there is an update to a shared assembly.
3
2549
by: Greg Adourian | last post by:
Hi, Still in the design process of a Windows 2003 web server with a SQL backend. Expecting to have about 2000 visitors a day accessing lists and search queries on a 200-300 MB db. This server will be collocated in a datacenter. I have a few scenarios that I would appreciate in getting some comments/criticism on: Scenario 1: Box 1, SBS 2003 Premium (with SQL 2000), 2GB RAM, Raid 5 HD
72
5439
by: Mel | last post by:
Are we going backwards ? (please excuse my spelling...) In my opinion an absolute YES ! Take a look at what we are doing ! we create TAGS, things like <H1> etc. and although there are tools (dreamweaver and the like), they are all at the lowest level of programming (something like assembly as oposed to C++ etc.). These tools create "brain-dead" developers that constantly have to plough through tons of tags to do the simplest thing. ...
2
1465
by: dogu | last post by:
I've worked the last number of years using an object oriented database tool that comes with a complete IDE, built in wigets for things like forms, buttons, hot spots, propietary client but apps are also automatically rendered to html (Lotus Notes). I've lately been thinking about trying to create a relatively simple app using tools other than Notes just to see A) how difficult it it and B) stretch my mind into new shapes. I thought...
2
5896
by: Navin | last post by:
Hi everyone, I am facing this typical problem. I have a .NET assembly called "SecurityLib", which I have kept in GAC using gacutil tool. But now I can not uninstall it from GAC using gacutil. I have tried various parameters gacutil /u gacutil /uf gacutil /ungen gacutil /cdl
0
1455
by: ma740988 | last post by:
I inquired about utilizing a vector of pairs just yesterday and after receiving some feedback, I got to thinking my thoughts with regards to my initial 'approach' was flawed to begin with: Here's my 'dilema' in a nutshell. I've got 24 sources ( call them 0 ... 23 ) sending data to a recipient ( call this 'X' ). The data from each source has what's called an 'id' (call it segment id) assosciated with it.
2
2951
by: sklett | last post by:
I added a 3rd party control to my asp.net app on my development machine. However, when I published the site to the main server, I'm getting a Configuration error that states in can't find the assembly that my new control is in. I have added the dll to the bin directory, what else do I need to do to get it to find it? Here is the error page contents: Configuration Error Description: An error occurred during the processing of a...
20
1532
by: Brad Pears | last post by:
I am completely new to vb .net. I am using visual Studio 2005 to redo an Access 2000 application into a .net OO application using SQL Server 2000 - so a complete rewrite and re-thinking of how this app will work. I have NEVER done any OO programming at all although I have used OO techniques in programs of course - just never actually designed the classes etc... So I am just a tad nervous in re-writing this Access application as it is...
2
151656
by: antonyliu2002 | last post by:
I am testing AJAX. I've downloaded the AJAX Extension and the CTP December package and installed on BOTH my development machine and the production server. Then I created a very very simple web application, which contains a button and a label. When the button is clicked, some message is shown on the label. That's it. The AJAX works great on my development machine, but on the production server, I got the typical error as follows:
0
9456
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10040
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9873
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9846
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7248
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...

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.