Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

What is the least impactful way (to the end user) to deploy a     c#/database application?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sherifffruitfly - 14 Mar 2008 01:21 GMT
Hi all,

I'm making an app that reads some text files on the user's computer,
puts them into a little database, and then least the user view/search
thru them. I've just realized that the sqlexpress db I created thru
server explorer is only gonna be on my dev box, and not the user's
(heh). So I need to write code that'll create a similar db on the
user's computer.

From the end user's standpoint, what's the easiest way to do this? As
much as possible, I'd like this to be completely transparent to the
user.

Thanks for any ideas!
AdamH - 14 Mar 2008 02:03 GMT
How about xml as teh storage and xpath as the lookup.

or

how about not creating the database but just the structures. then on the
client machine you can treat everything as a disconnected tables etc and use
the builtin ado stuff for storage and lookup?

> Hi all,
>
[quoted text clipped - 10 lines]
>
> Thanks for any ideas!
sherifffruitfly - 14 Mar 2008 02:10 GMT
> How about xml as teh storage and xpath as the lookup.
>
[quoted text clipped - 3 lines]
> client machine you can treat everything as a disconnected tables etc and use
> the builtin ado stuff for storage and lookup?

Nah. There are a lot of fields, and at least 100s of 1000s of records
(and growing).

I was really looking for ideas on how to do what I said, not ideas on
how to do something else; but thanks nevertheless.
Bill Woodruff - 14 Mar 2008 04:24 GMT
Adam H. wrote in response to OP :

"how about not creating the database but just the structures. then on the
client machine you can treat everything as a disconnected tables etc and use
the builtin ado stuff for storage and lookup?"

Hi, this is very interesting : is there an example of this technique you
happen to know of in any CodeProject article, on-line resource ?

best, Bill

"sherifffruitfly" wrote:

> Hi all,
>
[quoted text clipped - 10 lines]
>
> Thanks for any ideas!
Arne Vajhøj - 14 Mar 2008 02:33 GMT
> I'm making an app that reads some text files on the user's computer,
> puts them into a little database, and then least the user view/search
[quoted text clipped - 6 lines]
> much as possible, I'd like this to be completely transparent to the
> user.

I think you should go for an embedded database. SQLServer Compact,
Firebird or something similar.

Arne
sherifffruitfly - 14 Mar 2008 02:47 GMT
> I think you should go for an embedded database. SQLServer Compact,
> Firebird or something similar.
>
> Arne

Oh - wasn't even aware of sql compact - interesting. From the product
description:

"Desktop Deployment Options
Administrators can roll out SQL Server Compact Edition with a standard
Microsoft Installer package (MSI) with minimal effect on their users.
Using an MSI, SQL Server Compact Edition is installed in a standard
location, allowing servicing by Microsoft Update, Windows Server
Update Services, or Microsoft Systems Management Server.
Developers and ISVs can use Visual Studio 2005 to easily verify and
deploy SQL Server Compact Edition when using the ClickOnce deployment
option. Alternatively, SQL Server Compact Edition can be deployed by
copying the engine files (several DLLs totaling less than 2 MB) to the
application directory. The former option helps support scenarios where
the user does not have administrative rights on the computer."

Sounds very like the sort of thing I was looking for - thanks!

I assume that with sqlcompact, I would have the advantage of tools
integration (visual studio, etc.) over Firebird? What advantages does
Firebird have over sql compact?

Thanks again!
Arne Vajhøj - 14 Mar 2008 02:10 GMT
>> I think you should go for an embedded database. SQLServer Compact,
>> Firebird or something similar.
>
> Oh - wasn't even aware of sql compact - interesting.

> Sounds very like the sort of thing I was looking for - thanks!
>
> I assume that with sqlcompact, I would have the advantage of tools
> integration (visual studio, etc.) over Firebird? What advantages does
> Firebird have over sql compact?

I am sure that both SQLServer Compact and FireBird embedded has
their strength and weaknesses.

I don't know them well enough to comment.

The only thing I can think of that FireBird can that Compact
can not is running on Linux with Mono.

Arne
sherifffruitfly - 14 Mar 2008 03:31 GMT
> >> I think you should go for an embedded database. SQLServer Compact,
> >> Firebird or something similar.
[quoted text clipped - 15 lines]
>
> Arne

Fair enough - thanks for the ideas!
RobinS - 14 Mar 2008 18:29 GMT
On Mar 13, 6:10 pm, Arne Vajhøj <a...@vajhoej.dk> wrote:
> sherifffruitfly wrote:
> > On Mar 13, 6:33 pm, Arne Vajhøj <a...@vajhoej.dk> wrote:
[quoted text clipped - 17 lines]
>
> Arne

--Fair enough - thanks for the ideas!

Just FYI, You can freely distribute the SQLServer Compact Edition to 1-user
systems, and you don't have to install SQLServer on the client system to use
it.  Bill Vaughn has written an e-book on SQLServerCE, if you google him you
will be able to track it down if you're interested.

RobinS.
GoldMail.com
sherifffruitfly - 14 Mar 2008 19:46 GMT
> On Mar 13, 6:10 pm, Arne Vajhøj <a...@vajhoej.dk> wrote:
>
[quoted text clipped - 31 lines]
>
> - Show quoted text -

Perfect - many thanks!
sherifffruitfly - 14 Mar 2008 19:50 GMT
> On Mar 13, 6:10 pm, Arne Vajhøj <a...@vajhoej.dk> wrote:
>
[quoted text clipped - 31 lines]
>
> - Show quoted text -

O - for actual dollars - lol!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.