473,791 Members | 2,933 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multi-User Data App Architecture

I'm working on converting my application from a single user, to a
multi-user. The current architecture is with an MSDE data back end
(switching to SQLExpress soon, but not quite yet). Each user connects to
the database directly - the connection string is stored encrypted in a local
file, and all settings etc. are stored in the database. The problem is it
seems that this could rapidly run into problems with scalability and
security. The other issue is there are some files such as image files that
are stored in the local file system and what is stored in the database is a
path to the file. For example, if UserA add an image to a record, then
UserB opens that record, they won't be able to see the image as the file is
actually on UserA's machine. Any direction in where to go with this would
be appreciated.
Dec 11 '06 #1
10 1209
"Matt Fielder" <mf************ ****@nospam.nos pamwrote in
news:O0******** ******@TK2MSFTN GP04.phx.gbl:
Any direction in where to go with this would
be appreciated.
Look into n-tier architecture. In particular web serviecs and .NET
remoting.
Dec 11 '06 #2
BK
The other issue is there are some files such as image files that
are stored in the local file system and what is stored in the database is a
path to the file. For example, if UserA add an image to a record, then
UserB opens that record, they won't be able to see the image as the file is
actually on UserA's machine. Any direction in where to go with this would
be appreciated.
I'd store the images and any other binaries you have in the database
itself rather than just a pointer to its file location. It's easy
enough to write the binary straight into an image field type and read
it back out.

Dec 11 '06 #3
Web services isn't really an option as I don't want to have to require IIS
on servers. I've started looking at remoting - seems like that might be the
way to go.

I know that "tell me about remoting" is FAR too broad of a question... but I
would appreciate any suggestions people have for where I can go look on my
own. Any books, websites or other resources that others have found
particularly useful? (it's a broad topic, and some resources for different
subjects are alwasy better than others)

"Spam Catcher" <sp**********@r ogers.comwrote in message
news:Xn******** *************** ***********@127 .0.0.1...
"Matt Fielder" <mf************ ****@nospam.nos pamwrote in
news:O0******** ******@TK2MSFTN GP04.phx.gbl:
>Any direction in where to go with this would
be appreciated.

Look into n-tier architecture. In particular web serviecs and .NET
remoting.

Dec 11 '06 #4
"Matt Fielder" <mf************ ****@nospam.nos pamwrote in
news:ev******** ******@TK2MSFTN GP04.phx.gbl:
Web services isn't really an option as I don't want to have to require
IIS on servers. I've started looking at remoting - seems like that
might be the way to go.
How many users are you looking to service?
I know that "tell me about remoting" is FAR too broad of a question...
but I would appreciate any suggestions people have for where I can go
look on my own. Any books, websites or other resources that others
have found particularly useful? (it's a broad topic, and some
resources for different subjects are alwasy better than others)
Ingo Rammer's Advanced .NET remoting is the book to buy :-)
Dec 12 '06 #5
Hi Matt,

For .NET Remoting, you can start from the following link:

http://msdn2.microsoft.com/en-us/lib...32(VS.71).aspx

For image problems, you can either

1. Store images as binary data in database.
2. Store images as files in some folder on the server, and put a file path
in the database.

If anything is unclear, please feel free to let me know.

Kevin Yu
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Dec 12 '06 #6
Was looking at the book suggested on Amazon... was a little put off by the
"Advanced" in the title. While I've been working in .Net for a little under
2 years now, remoting is a new topic for me - is there enough of an intro to
remoting to not lose me right out of the gate?

"Spam Catcher" <sp**********@r ogers.comwrote in message
news:Xn******** *************** ***********@127 .0.0.1...
"Matt Fielder" <mf************ ****@nospam.nos pamwrote in
news:ev******** ******@TK2MSFTN GP04.phx.gbl:
>Web services isn't really an option as I don't want to have to require
IIS on servers. I've started looking at remoting - seems like that
might be the way to go.

How many users are you looking to service?
>I know that "tell me about remoting" is FAR too broad of a question...
but I would appreciate any suggestions people have for where I can go
look on my own. Any books, websites or other resources that others
have found particularly useful? (it's a broad topic, and some
resources for different subjects are alwasy better than others)

Ingo Rammer's Advanced .NET remoting is the book to buy :-)

Dec 12 '06 #7
Kevin,

Storing images in a DB is a decent idea and one that I'm considering. I'm
wondering what other benefits there might be to having a single point of
data connectivity to the DB as well --- have clients connect to the classes
on the server instead of the DB directly.

As for storing files in a folder on the server is concerned, that's kind of
what I had in mind with the concept of remoting. Place a class on the
server that is responsible for saving and retreiving those images so the
clients don't need access to a folder on the server. The client would
interact with classes on the server only.
"Kevin Yu [MSFT]" <v-****@online.mic rosoft.comwrote in message
news:ZL******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Matt,

For .NET Remoting, you can start from the following link:

http://msdn2.microsoft.com/en-us/lib...32(VS.71).aspx

For image problems, you can either

1. Store images as binary data in database.
2. Store images as files in some folder on the server, and put a file path
in the database.

If anything is unclear, please feel free to let me know.

Kevin Yu
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Dec 12 '06 #8
"Matt Fielder" <mf************ ****@nospam.nos pamwrote in
news:ek******** ******@TK2MSFTN GP04.phx.gbl:
Was looking at the book suggested on Amazon... was a little put off by
the "Advanced" in the title. While I've been working in .Net for a
little under 2 years now, remoting is a new topic for me - is there
enough of an intro to remoting to not lose me right out of the gate?
Yes I think so - the basics of Remoting are pretty simple to grasp ... so
you'll want the advanced topics quickly (i.e. authentication, compression,
etc : )

BTW, take a look at Geniune Channels - they're 3rd party Remoting
components which add A LOT of features Microsoft "forgot" to implement.

Also take a look at WCF (Windows Communications Framework), the succesor to
Remoting in .NET 3.0.
Dec 12 '06 #9
I'm not necessarily so concerned with all of the behind the scenes stuff
(especially since I'm sure I'll be switching over to wcf in the next year),
and can get by with c# code but write in and much prefere VB. On the other
hand having ready access answers to tough questions should they arise is
always beneficial.

It's also my experience that different authors, and different publishers for
that matter complement each other in ways that they cover different topics.
I'll go ahead and order both.

As an interesting aside, I live within 10 miles of 3 large bookstores with
large computer section. I went out last night to try and find something
locally, and could not find a single title relating to distributed
applications. I would think this would be a much more common subject.
"Michel Posseth [MCP]" <Mi************ **@discussions. microsoft.comwr ote in
message news:5B******** *************** ***********@mic rosoft.com...
>
>Ingo Rammer's Advanced .NET remoting is the book to buy :-)


if you are a C# coder , and want to know everything that happens behind
the
scenes i would say Yes you are right
however if you are VB or C# coder who just wants to create a good
designed
multi tier application and doesn`t care about the details behind the
scenes
i would recomend this book

http://www.amazon.com/Microsoft-NET-...e=UTF8&s=books
and if you are really a die hard you scroll a litle bit to the bottom and
will see that Ingo`s book and the book i mention can be bought in one
special
offer price
regards

Michel Posseth [MCP]

"Spam Catcher" wrote:
>"Matt Fielder" <mf************ ****@nospam.nos pamwrote in
news:ev******* *******@TK2MSFT NGP04.phx.gbl:
Web services isn't really an option as I don't want to have to require
IIS on servers. I've started looking at remoting - seems like that
might be the way to go.

How many users are you looking to service?
I know that "tell me about remoting" is FAR too broad of a question...
but I would appreciate any suggestions people have for where I can go
look on my own. Any books, websites or other resources that others
have found particularly useful? (it's a broad topic, and some
resources for different subjects are alwasy better than others)

Ingo Rammer's Advanced .NET remoting is the book to buy :-)

Dec 12 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
4899
by: ajikoe | last post by:
Hello, Is anyone has experiance in running python code to run multi thread parallel in multi processor. Is it possible ? Can python manage which cpu shoud do every thread? Sincerely Yours, Pujo
4
4678
by: Frank Jona | last post by:
Intellisense with C# and a multi-file assembly is not working. With VB.NET it is working. Is there a fix availible? We're using VisualStudio 2003 Regards Frank
12
3881
by: * ProteanThread * | last post by:
but depends upon the clique: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=954drf%24oca%241%40agate.berkeley.edu&rnum=2&prev=/groups%3Fq%3D%2522cross%2Bposting%2Bversus%2Bmulti%2Bposting%2522%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den ...
0
3791
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black and white CCITT4 compressed files (frames) inside the tiff. Every now and then I receive a mixture of black and white CCITT4 and JPEG compressed files, and sometimes just multi-page tiffs with JPEG only. The code runs great when dealing with the...
6
8185
by: cody | last post by:
What are multi file assemblies good for? What are the advantages of using multiple assemblies (A.DLL+B.DLL) vs. a single multi file assembly (A.DLL+A.NETMODULE)?
4
17880
by: mimmo | last post by:
Hi! I should convert the accented letters of a string in the correspondent letters not accented. But when I compile with -Wall it give me: warning: multi-character character constant Do the problem is the charset? How I can avoid this warning? But the worst thing isn't the warning, but that the program doesn't work! The program execute all other operations well, but it don't print the converted letters: for example, in the string...
5
6001
by: Shane Story | last post by:
I can seem to get the dimensions of a frame in a multiframe tiff. After selecting activeframe, the Width/Height is still really much larger than the page's actual dimensions. When I split a TIFF to several PNG files this causes a problem, becuase the resulting image is (the page to the far left and a lot of black space surrounding it and a filesize that is larger than needed. Any ideas?
5
3288
by: dkelly925 | last post by:
Is there a way to add an If Statement to the following code so if data in a field equals "x" it will launch one report and if it equals "y" it would open another report. Anyone know how to modify this? Private Sub cmdPreview_Click() On Error GoTo Err_Handler 'Purpose: Open the report filtered to the items selected in the list box. 'Author: Allen J Browne, 2004. http://allenbrowne.com Dim varItem As Variant 'Selected items
0
2330
by: Sabri.Pllana | last post by:
We apologize if you receive multiple copies of this call for papers. *********************************************************************** 2008 International Workshop on Multi-Core Computing Systems (MuCoCoS'08) Barcelona, Spain, March 4 - 7, 2008; in conjunction with CISIS'08. <http://www.par.univie.ac.at/~pllana/mucocos08> *********************************************************************** Context
1
9321
by: mknoll217 | last post by:
I am recieving this error from my code: The multi-part identifier "PAR.UniqueID" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part identifier "PAR.UniqueID" could not be bound. The multi-part identifier "PAR.PAR_Status" could not be bound. The multi-part identifier "Salary.New_Salary" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part...
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9993
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2913
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.