Inline:
[quoted text, click to view] "Terry Diederich" <terryatterrydiederichdotcom> wrote in message
news:eqfiCFSDEHA.2628@TK2MSFTNGP11.phx.gbl...
> I'm just starting to look at no touch deployment and I have a question.
> Do you write an application differently that will be deployed via
> no-touch compared to an application that will be installed locally?
>
> For example, for an application that is installed locally I would handle
> database access through classes within the application using ado.net.
> For an no-touch application is it better to handle data access through
> web services?
The main reason why fat clients access a database through a middle tier is
scalability. Basically, you could access the database directly from the
client but then every client instance would hold a database connection and
your application would be less scalable. Accessing the database through a
middle tier is more scalable because the middle tier can serve a large
number of clients with just a few database connections.
There are some additional issues you may run into with no-deployment:
- only assemblies are downloaded automatically to the client, other files
are not (most notably config files)
- with multi-DLL applications you may run into version compatibility
problems if DLLs are updated in the server while a client is downloading
them
[quoted text, click to view] > I took an application I wrote that is normally installed locally and put
> it out on the server to experiment with no touch. Everything works fine
> except when I try to do anything with the database. Then I get a
> security violation. I am wondering if the limited permissions you get
> with running under no touch are causing these problems and would web
> services solve the problem. I know I can change the local security
> settings to get it to work as is but that isn't an option for this
> application due to client requirements.
That's one of the features of no-touch deployment. By default, the client
runs in a limited security context, and making network connections to hosts
other than the host where the client was loaded from is prohibited.
hth,
Sami
www.capehill.net [quoted text, click to view] >
> Thanks
> Terry