dotnet distributed apps:
Hello,
I am slowly migrating from VB6 development to C#
development in .Net. I am having some trouble with the
layout and design of my application as it relates to
deployment.
As a general overview, our application has a base set of
functionality that can be purchased, and then there is
more functionality that can be bolted on and installed
separately.
Traditionaly, I would have developed VB6 COM components
and host them inside COM+ so I could use the application
security to specify a user for SQL Server access and the
connection pooling of SQL Server connections. Now,
because of the registry, I can develop my application and
deploy the COM components and then later, I can deploy an
add-on to my app that uses those COM objects and I don't
have to install them I can just use them since they are
installed and registered.
Also, if I needed to change how authorzation worked or
fix a bug in the authorization component, I would just
send a patch to the client and update that one component
in the shared folder and upadate COM+ and all
appliations/compents were updated.
Now, with .Net, I am not sure how to break up my
application into components and I am not sure how to
effectively deploy those components. I have some things
that I would like to componetize, such as data access,
authorization, XML process that I can take advantage of
and use in many different applications (i.e. All of our
support applications need to authenticate the user.)
I would like to be able to install the authentication
piece as a stand alone component and then each appliation
I install later could make use of that installed
component.
I am not sure if I need to use Enterprise Services, if I
should install my assemblies in the Global Assembly
Cache, or should I just get rid of the whole "component"
design and just add all that reuseable code into to each
assebly.
I realize that I could install some components as web
services and then have all other applications access it
that way, but that seems like a lot of overhead as well
as being a bit to slow.
I have read many of the articles on the MS sight, but I
can't find anything that specifically addresses these
issues.
Any help would be appreciated.