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 / Remoting / July 2004

Tip: Looking for answers? Try searching our database.

One config file for IIS and custom app server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Christian Jung - 30 Jul 2004 16:19 GMT
Hello,

we usually use IIS as appserver, but for one customer we are not allowed to
do so. For this reason we have written our own appserver to host the remote
objects. For the sake of simple configuration management it would be great
if our own appserver could use the same web.config file as IIS in its call
to RemotingConfiguration.Configure. One problem with this idea is that it is
not possible to specify the port for a channel in web.config. My question
is: Is it possible to set a port for a channel after the call to
RemotingConfiguration.Configure? Or is there a better solution to use one
config file to configure IIS and/or a custom server?

Thanks for any ideas...

Christian
Sunny - 31 Jul 2004 21:57 GMT
Hi,

I generaly prefer to use programatic configuration. I put all the
settings I need to change in my own config file, and then in
Application_Start in IIS I parse that file and setup remoting
programmatically. The same approach will work with your custom app
server as well. I have started to use programmatic config, after reading
about this problem:

http://www.genuinechannels.com/Content.aspx?id=88&type=1

Cheers
Sunny

> Hello,
>
[quoted text clipped - 11 lines]
>
> Christian

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.