473,387 Members | 1,585 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.

Remote server: How to read out properties of the IMessage.Propertiesdictionary

Hi,

I wrote my own client proxy class (derived from the RealProxy class),
where I add some special informations to the IMessage.Properties
dictionary. My problem is now, how do I read out these informations on
the server. I'm not sure if I have to implement my own message sink (I'm
trying to avoid that). Is there a better way to get theses informations.

Thanks in advance
Martin
Nov 5 '08 #1
1 1332
Martin,

You would have to encode the headers on the channel when you are
transporting messages. Frankly, Remoting is NOT the place to do be doing
this kind of thing. The extensibility points simply are not there.

You are better off using WCF and then just attaching headers to your
request with a behavior that is attached to the endpoint/operation/etc, etc.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Martin Horst" <pu*******@martinhorst.dewrote in message
news:OH*************@TK2MSFTNGP05.phx.gbl...
Hi,

I wrote my own client proxy class (derived from the RealProxy class),
where I add some special informations to the IMessage.Properties
dictionary. My problem is now, how do I read out these informations on the
server. I'm not sure if I have to implement my own message sink (I'm
trying to avoid that). Is there a better way to get theses informations.

Thanks in advance
Martin

Nov 5 '08 #2

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

Similar topics

11
by: juglesh | last post by:
at one centraldomain.com, I have central.php, which consists of this: <?php function square($num) { return $num * $num; } ?> at outerdomain.com, I have test.php, which consists of this:...
1
by: T.S.Negi | last post by:
To support remote transaction on SQL Server i have configured user options to 16384. However if i make changes in other properties of SQL Server, user option setting reverts to its original value....
1
by: PRM | last post by:
Hi I have an ASp.net application using C#. I need to copy a file present on the web server machine to a remote machine on the network. Although this seems to be a trivial matter I am having...
0
by: Julia | last post by:
Hi, I have a windows service which host a remote object to be accessed by ASP.NET application(web admin) and MMC(windows admin) the remote object uses a data base to read properties I...
3
by: Nick | last post by:
Hello all, I've spent a lot of my time on this issue, and I thought it best to share my solution with the community. A special thanks to Willy Denoyette for his help. Ive opened about two...
6
by: 3Dfelix | last post by:
Hi, someone could help me with this problem when trying to insert a record in a SQL express database? I can view record but not edit or insert. When connecting to SQL Server 2005, this failure...
10
by: cleo | last post by:
I am migrating from VB6/Access to Visual Basic and SQL Express. I have success writing test code on my local machine and am now setting up tests for deployment to a server. I have installed SQL...
3
by: Jay | last post by:
I created a website in Visual studio 2005. I did a build and I can browse it on my local box. http://localhost/gpweb/gpkey.aspx When I try to access it on a remote box, it doesn't work....
0
by: Jan | last post by:
I just started using .NET Remoting. I have a test system (client) which connects to our device (server) running XP Embedded. When my server object is called it uses a library where reflection...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.