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 / .NET Framework / Distributed Applications / March 2006

Tip: Looking for answers? Try searching our database.

general architecture question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
alex - 14 Mar 2006 16:22 GMT
I'm setting up a c# client/server application in a 3tier system.
Everything from the business objects down through the DAL is
stateless.  This seems to work great for clustering but the
architectural problem I'm running into is that now I have to figure
out a way to make a stateful login where no state exists!

Currently I'm thinking of using remoting for my communications.  I
would like to use webservices but requiring the use of IIS for this
app would hamper adoption by a large amount.  I have heard that the
new communications framework from MS allows you to ship a built in web
server?

So my question is two-fold.  How do people normally do this?  And what
communications architecture do they normally use?

how do you have a stateful login with completely stateless business
objects?  I have thought about this a bit and even if I put a token in
the DB backend so that all clustered DAL and business object servers
see it, the token would still be visible going across the wire on each
new connection.  Wouldn't that create a security risk where someone
could sniff the token and start a session as that user at any time?

any advice, direction, general comments, etc. would be appreciated.
Piyush Daiya - 14 Mar 2006 20:19 GMT
Hi,

Well,  msdn has two articles on remoting security using tcp channel. But
again, it is applicable if you have users who are part of domain .

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/r
emsspi.asp


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/r
emsec.asp


Other way would be develop your own mechanism. Take a look at this post -->
http://www.dotnet247.com/247reference/msgs/45/228196.aspx , might help you
in developing a solution.

HTH,

Piyush

> I'm setting up a c# client/server application in a 3tier system.
> Everything from the business objects down through the DAL is
[quoted text clipped - 19 lines]
>
> any advice, direction, general comments, etc. would be appreciated.
Klaus H. Probst - 15 Mar 2006 04:42 GMT
First off, you didn't mention what transport you're using. COM+? WS?
Remoting?

With that in hand we can probably give you some ideas.

Signature

klaus

> I'm setting up a c# client/server application in a 3tier system.
> Everything from the business objects down through the DAL is
[quoted text clipped - 19 lines]
>
> any advice, direction, general comments, etc. would be appreciated.
Adam May - 20 Mar 2006 00:55 GMT
Hi alex,

If you're still keen on running with web services, why don't you host them
inside a windows service?

You'll have to add WSE3.0 to your application stack to get it working, but
then you'll be able to host web services in a console application, windows
service or com+ application also.

HTH,

Adam

Signature

Adam May
Sydney, Australia
MCSD.Net

> I'm setting up a c# client/server application in a 3tier system.
> Everything from the business objects down through the DAL is
[quoted text clipped - 19 lines]
>
> any advice, direction, general comments, etc. would be appreciated.
Kolbis Guy - 26 Mar 2006 23:58 GMT
That is exaclty what i would do. If you don't want to use wse 3.0 you can
create web services layer that addresses a window service or com+.

> Hi alex,
>
[quoted text clipped - 32 lines]
> >
> > any advice, direction, general comments, etc. would be appreciated.

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.