|
|
|
start date: Wed, 13 Jun 2007 08:57:28 -0700,
posted on: microsoft.public.dotnet.distributed_apps
back
| Thread Index |
|
1
unknown
|
|
2
Michael Nemtsev
|
Deploying Windows App developed in .Net framework
Hi All,
I have few questions about deploying windows apps developed in .Net
framework. These days it is all about internet apps and services, and
I need to develop small windows app and deployed it on a machine with
no internet access, no database installed and no .Net framework
either. This small Widows app includes presentation layer, business
logic and data access layer.
1) Because client machines, where app will be running, doesn't have
any database and I don't want to install new one (in order to save
space), could XML files be a solution for storing and retrieving
information needed and created by the app? Are there other options?
2) In order for app to run, I'll need to install .Net framework on
client machines. Because there is no internet connection on client
machine, can framework be distributed on same CD as the app and be
installed seamlessly for the user (behind the scene with less
interaction as possible)? How can app installer install framework, if
in order to run installer, framework should be installed? How this
circle can be broken?
3) In future more class libraries will be developed. How can I design
app now, in order to simplify plug-in of the assemblies in future?
I understand that each question is a discussion on its own and just
need some point of reference at this moment to start my search for the
best solution of all these issues.
Thank you for any advice in advance,
EB
Date:Wed, 13 Jun 2007 08:57:28 -0700
Author:
|
Re: Deploying Windows App developed in .Net framework
Hello eva100801@hotmail.com,
> 1) Because client machines, where app will be running, doesn't have
> any database and I don't want to install new one (in order to save
> space), could XML files be a solution for storing and retrieving
> information needed and created by the app? Are there other options?
It's good, if your data won't increase so, that u can't parse the XML afterwards
You can store in in binary or use SQL Server Express (or Everywhere)
> 2) In order for app to run, I'll need to install .Net framework on
> client machines. Because there is no internet connection on client
> machine, can framework be distributed on same CD as the app and be
> installed seamlessly for the user (behind the scene with less
> interaction as possible)? How can app installer install framework, if
> in order to run installer, framework should be installed? How this
> circle can be broken?
in general all installers are not managed, so they don't require the .NET
to be run.
U can use ClickOnce with .NET FW redistrib as binary with will be installed
localy
> 3) In future more class libraries will be developed. How can I design
> app now, in order to simplify plug-in of the assemblies in future?
See DependecyInjection and IoC (inversion of control) patterns.
Moreover I'd recommend to use Spring.NET framework for enterprise application
it simplify such kind of tasks
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Date:Thu, 14 Jun 2007 08:58:56 +0000 (UTC)
Author:
|
|
|