473,378 Members | 1,404 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,378 software developers and data experts.

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 1814
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**************@TK2MSFTNGP12.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*****@yumspamyumYahoo.com> wrote in message
news:eB**************@TK2MSFTNGP10.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**************@TK2MSFTNGP12.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
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...
3
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...
72
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...
2
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...
2
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...
0
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: ...
2
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...
20
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...
2
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.