Application Blocks

  • Thread starter Thread starter Philip Townsend
  • Start date Start date
P

Philip Townsend

I am in the process of converting some web apps to implement the ADO
application block. I have a copy the the applications on a local
development server, in which I have successfully installed and
referenced the application block classes. From this point the app goes
to a staging server, in which I do not have access to anything but the
virtual directory that the application is installed. My question: If a
system administrator runs the DataAccessApplicationBlock.msi file from
Microsoft, and my local project is compiled when I copy it up to the
staging server, will the references still be included on the staging
server? In other words, when the .msi file is run on the staging server,
will my local app need to be reconfigured in any way to maintain the
same reference to the applicaion block classes? Thanks...
 
Philip,

I'm not that familiar with the data application block, but if it is
installed in the GAC, or the assemblies can be located through fusion (the
method that assemblies are found), then you should not have a problem just
shipping your code that references those assemblies.

Hope this helps.
 
Guys -

by default the Data App Block is not signed with a strong name. So you can't
put it into the GAC.
However, when you've reference a dll, it's being copied inside the bin
folder of the solution. The file name should be
Microsoft.ApplicationBlocks.Data.dll. If it's not there just copy it inside
the bin folder when you move the app to the staging server. No need to run
the installer on the server.

Cheers,
Branimir

--
Branimir Giurov
MCSD.NET, MCDBA
(e-mail address removed)0tmai1.c0m

Nicholas Paldino said:
Philip,

I'm not that familiar with the data application block, but if it is
installed in the GAC, or the assemblies can be located through fusion (the
method that assemblies are found), then you should not have a problem just
shipping your code that references those assemblies.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Philip Townsend said:
I am in the process of converting some web apps to implement the ADO
application block. I have a copy the the applications on a local
development server, in which I have successfully installed and
referenced the application block classes. From this point the app goes
to a staging server, in which I do not have access to anything but the
virtual directory that the application is installed. My question: If a
system administrator runs the DataAccessApplicationBlock.msi file from
Microsoft, and my local project is compiled when I copy it up to the
staging server, will the references still be included on the staging
server? In other words, when the .msi file is run on the staging server,
will my local app need to be reconfigured in any way to maintain the
same reference to the applicaion block classes? Thanks...
 
Back
Top