.Net Remoting

Do not check-in DEBUG specific code.

We are using .Net Remoting to interact beteeen client and back end server. I needed to call a method from services class. For debugging purposes I decided to create the class directly. It was easier to debug without starting extra back-end process. The code was like the following: IMyServices services = (IMyServices)RemotingHelper... #if DEBUG services = new MyServices(); #endif // Process the task services.ProcessItems(Items... During the development I checked ......

.Net Remoting clent proxy error in debugger inspection

I am using .Net Remoting and tried to debug call from client proxy. It didn't allow me to step into(whick is actually normal) and Debugger inspection showed me that Identity property has an exception: Identity System.Reflection.TargetInv... Exception has been thrown by the target of an invocation. ---> System.Runtime.Remoting.Rem... Permission denied: cannot call non-public or static methods remotely. Server stack trace: at System.Runtime.Remoting.Cha... ......

Remoting asyncronous call to fire and forget

I want to do .Net Remoting asyncronous call with "fire and forget" approach. MSDN statement in OneWayAttribute Class documentation is not clear "The method can execute synchronously or asynchronously with respect to the caller." Thanks to manish godse's blog : OneWay messages in remoting post: invoking a method with [OneWay] attribute the client will not wait for a response and the call will return immediately. In essence the call gets converted to an async call and the client doesnt wait for a server ......

Could not load type 'System.ServiceModel.Configuration.BindingsSectionGroup'

After installing .Net 3.5 SP1 on the existing server, that runs .Net 2.0, I've got the exception: Source : mscorlib Message : An error occurred creating the configuration section handler for system.serviceModel/bindings: Could not load type 'System.ServiceModel.Config... from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934... Filename : c:\WINDOWS\Microsoft.NET\Fr... Line : 100 Errors : ......

Passing parameters in .Net Remoting

It is well known, that in .Net value type parameters are passed by value, and reference type parameters are passed by reference(more detailed and strict description can be found here). I thought(even after a year working with application that extensively uses Remoting) that .Net Remoting calls do the same. But I was wrong! Recently I found that a method with custom class parameter doesn't have one of the properties updated after return, even if it is certainly updated inside the method. I've read ......

WCF vs .Net remoting Notes

We are using .Net remoting now between Web Server and Application Server farms. I am consider to use WCF for new modules. Good news: The WCF and .NET Remoting are really comparable in performance. and according to MSDN article A Performance Comparison of Windows Communication Foundation (WCF) with Existing Distributed Communication Technologies WCF even approximately 25% faster. I hope to extend this post when I will collect more info ......

DateTime value in DataSet changed over remoting boundaries.

We are using .Net remoting(.Net framework 2.0) to pass DataSet from application server to web server. It was noticed that if DateTime field in DataSet has '2008-10-26 02am" value, during remoting it is changed to '2008-10-26 03am". I beleive that it is somehow relates to Daylight Saving time change. We didn't noticed any changes for other DateTime values. According to http://www.worldtimezone.co... Western Australia (Perth) has time change 26-Oct, 02:00h. However the servers with the ......

.Net remoting error "The input stream is not a valid binary format."

I have a .Net remoting application, that often reports System.Runtime.Serializatio... "The input stream is not a valid binary format. The starting contents (in bytes) are: xx-xx-xx ..." There area few threads about this error(e.g .Re: Error passing a large variable as a parameter to a remote method and Remoting / Serialization problem trying to Migrate to .NET 2.0 ) As it is correctly noted in the posts, IIS sends back an error message as plain text that the binary formatter ......

«December»
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910