|
-
Feb 24th, 2004, 08:45 AM
#1
Thread Starter
New Member
Remoting (Architecture) Questions
Hi. I'm implementing an application with a 3-tier architecture. I'm using Remoting to connect the Presentation layer to the Business Logic layer. Two problems that I came across are:
1. My server (the application which is exposing my remotable class) is a console application. I don't have a strong background in Windows programming, so the only way out I can see to "hide it" is to compile it as a dll and then register it in Windows. Could I create a Windows Service for this thing?
2. I currently have only one procedure in my application. Do I have to repeat the RemotingConfiguration.RegisterWellKnownServiceType call for each remote procedure/function, or can I somehow expose the whole class?
If anyone knows any good white papers on 3-tier architecure online, I would appreciate if they can share the URL.
Thank you very much.
Tiberiu M
-
Feb 24th, 2004, 10:50 AM
#2
Sure you could remote the whole class and it can be done via a Windows Service or IIS. Actually I've only exposed the whole class and didn't know you could expose just a method. As for a URL try poking around msdn they should have something on n-Tier structure.
-
Feb 25th, 2004, 01:44 PM
#3
Addicted Member
The MS knowledge base has a number of articles which cover remoting quite well, if you haven't already read them of course.
Marshal an Object to a Remote Server by Reference by Using Visual Basic .NET
I operate my remotable classes via windows services and they run very smoothly indeed.
-
Feb 27th, 2004, 08:39 AM
#4
Thread Starter
New Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|