473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

RemoteConfiguration through config file????

Hi All
I am invoking a remote object through a code snippet provided by ingorammer to replace hardcoding of remote object path through configuration file. I have another .NET dll which is instantiating the remote object. This DLL is referenced in my windows client application. I call RemoteConfiguration.Configure in the main method. This means if i have 5 components hosted in IIS then Remote configuration will register the channel for each one of them as soon as the application is loaded
Is this a problem?? bcoz i am not using any of them at that point of time untill i access certain functionality. When are these registered channels released????? Secondly is this the right place to call Remote.Configuration. Can i register a channel on a need basis but without hardcoding the path in the code????? Please check the following example to understand my problem to provide me some suggestion
1. Client - Calls RemoteConfiguration.Configure in Mai
2. Config files contains all the interface types one for each business component
3. Interface DLL is referenced in client application
4. One presentation DLL per business component is used to instantiate the business component
5. In the constructor of this component, i call GetObject
Now What is the best place to call RemoteConfiguration.Configure???? Is it possible to call it inside a .NET DLL and have one config file per .NET DLL??? This way i wud register the channel only for the duration of the presentation DLL.
Please Help. Thanx in advance

Nov 16 '05 #1
0 1450

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

Similar topics

0
by: faktujaa | last post by:
Hi All I am invoking a remote object through a code snippet provided by ingorammer to replace hardcoding of remote object path through configuration file. I have another .NET dll which is...
0
by: faktujaa | last post by:
Hi All I am invoking a remote object through a code snippet provided by ingorammer to replace hardcoding of remote object path through configuration file. I have another .NET dll which is...
0
by: faktujaa | last post by:
Hi All I am invoking a remote object through a code snippet provided by ingorammer to replace hardcoding of remote object path through configuration file. I have another .NET dll which is...
12
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...

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.