Sign in
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Global Service Monitor, Microsoft Operations Manager and .net Remoting related posts
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
No tags have been created or used yet.
Archive
Archives
March 2013
(1)
January 2013
(1)
September 2012
(2)
June 2012
(1)
July 2006
(3)
December 2005
(1)
June 2005
(1)
May 2005
(1)
April 2005
(3)
January 2005
(1)
December 2004
(2)
November 2004
(10)
October 2004
(12)
September 2004
(11)
August 2004
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
manish godse's GlobalServiceMonitor, SCOM and remoting blog
OneWay messages in remoting
Posted
over 9 years ago
by
manishg
8
Comments
Remoting provides a way for fire-and-forget OneWay messages from client to the server. Just adding a [OneWay] attribute to a method of your remoted type would make the method invokation oneway. Something like: public class Remote : MarshalByRefObject...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Guidance for using Events and delegates in Remoting
Posted
over 9 years ago
by
manishg
8
Comments
Events and Delegates are supported in remoting. So x-appdomain and x-process delegates and eventing does work. The guidance is to not use them in cases where channels could be unreliable. In case where channels are unreliable (mostly the network in x...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
New IPC channel in remoting
Posted
over 9 years ago
by
manishg
6
Comments
Remoting in v2.0 of the framework is introducing a new IPC Channel meant for x-proc communication on the same machine. It is based on named pipes and works on win2k based platforms (win2k, winxp, win2k3). It will provide better performance characteristics...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
RemotingServices.Disconnect
Posted
over 8 years ago
by
manishg
5
Comments
RemotingServices.Disconnect is probably one of the confusing APIs in remoting. It doesnt correspond to RemotingServices.Connect, but rather to RemotingServices.Marshal. Disconnect is a server side API to disconnect objects which are currently published...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Deprecating the Soap Formatter
Posted
over 9 years ago
by
manishg
4
Comments
The Soap Formatter is on the path of deprecation. Starting in v2.0 of the framework the usefulness of the soap formatter would be highly limited since it will not support some of the new v2.0 framework features such as generics and the version tolerant...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
[STAThread] and remoting
Posted
over 9 years ago
by
manishg
4
Comments
This is one of the most common gotchas in remoting. VS by default adds a [STAThread] attribue to the Main method of an application. If this attribute is present on a remoting server implementation, and for some reason the main thread is not pumping messages...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
rejectRemoteRequests config switch on remoting channels
Posted
over 9 years ago
by
manishg
3
Comments
You can add rejectRemoteRequests="true" on the server side tcp or http channels. With this set remoting will only allow connections from the loopback address and thus will reject cross machine calls. This is equivalent to setting bindTo="127.0.0.1" or...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Microsoft Operations Manager Team is Hiring
Posted
over 7 years ago
by
manishg
3
Comments
The Microsoft Operations Manager team has a number of development openings.If you are interested in working on cutting edge technology in enterprise monitoring and management space, this is your chance. Microsoft Operations Manager (MOM 2005) is already...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Endpoint Availability Monitoring in Azure
Posted
2 months ago
by
ManishG
2
Comments
Azure has just enabled a preview feature to monitoring your service availability. This functionality is enabled for Hosted Services, Virtual Machines, Reserved Websites and Mobile Services. Currently you can configure two endpoints to be monitored from...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Issues with Cloning MarshalByRefObject
Posted
over 9 years ago
by
manishg
2
Comments
Cloning MarshalByRefObjects can lead to some unexpected behaviour. When a MBR object is marshalled, it gets an unique identity which contains a unique URI to identify this object in the appdomain. When an external call is made to this object it is identified...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Remoting Authentication Configuration changes in Beta2
Posted
over 8 years ago
by
manishg
2
Comments
There are config setting changes for Tcp channel authentication in .net framework 2.0 Beta2. Here is a sample server configuration, Note that secure="true" gives a setting of TokenImpersonationLevel.Identify and ProtectionLevel.EncryptAndSign: <configuration>...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
RemotingServices.Marshal
Posted
over 9 years ago
by
manishg
2
Comments
RemotingServices.Marshal allows you to publish an existing instance remotely. Both for server activated (wellknown) and client activated objects remoting controls when the object is instantiated and initialized. Using Marshal allows you to initialize...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Different ways to activate CLR types remotely
Posted
over 9 years ago
by
manishg
2
Comments
A CLR type instance can be activated remotely in the following ways: 1. Through Config: This is probably the most common way. Use the client tag under system.runtime.remoting to register a type to go remote: <configuration> <system.runtime.remoting>...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Reasoning for TypeFilterLevel in remoting
Posted
over 9 years ago
by
manishg
1
Comments
Most remoting users have seen one of the following exception messages during deserialization: Because of security restrictions, the type XXX cannot be accessed Type XXX and the types derived from it (such as {YYY}) are not permitted to be deserialized...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
static method/field access in remoting
Posted
over 9 years ago
by
manishg
1
Comments
This is probably not a very wellknown fact, but static methods and fields accessed via a remoting proxy, are actually executed locally on the client side. So even though a type is configured to go remote static accesses/invokations dont go remote. If...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Implementation isolation in remoting
Posted
over 9 years ago
by
manishg
1
Comments
As is common knowledge remoting needs server assemblies on the client for remote communication. In many cases sharing server implementation with the clients is undesirable. Interfaces can be used to acheive this isolation. An assembly which contains only...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
versioning serialized delegates
Posted
over 9 years ago
by
manishg
1
Comments
Got an interesting question about how to deserialize delegates serialized with an older version of an assembly. While deserializing, if the older version isnt available the engine might throw a TypeLoadException. The Serialization binder doesnt help in...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Channel / Object affinity in remoting and security implications
Posted
over 9 years ago
by
manishg
1
Comments
This is a very common question. Whether there is affinity between remoting objects and registered channels. The answer is no. Any channel registered in the appdomain hosting a remoting object can dispatch to it. Thus if you have a "secure" channel and...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Remoting Lifetime and Leases
Posted
over 9 years ago
by
manishg
1
Comments
Remoting implements a lease based lifetime management. There is no reference counting since doing so for remote objects is not trivial and for cases where networks can be faulty its bound to cause more issues. Thus clients need to make sure they keep...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
CallContext
Posted
over 9 years ago
by
manishg
1
Comments
CallContext allows you to flow information with a "logical" call. With logical we mean the call doesnt necessarily have to happen on the same thread. Following constitute logical calls: 1. remoting calls made x-appdomain and x-process 2. Async delegate...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
Exceptions and Remoting
Posted
over 9 years ago
by
manishg
1
Comments
Exceptions are serializable (ISerializable too). Exceptions are serialized from the server back the client. Thus if you see a client side exception with the following stack trace, there is a good chance you are actually seeing an exception which was thrown...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
movin out..
Posted
over 8 years ago
by
manishg
1
Comments
After working on remoting for about five years (almost seven on the .net framework) I am changing focus and work in application development space. Thus I have now moved to the Microsoft Operations Manager team. I hope to continue to blog about remoting...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
TcpChannel timeout in remoting
Posted
over 8 years ago
by
manishg
1
Comments
This has been a frequently asked question about whether there is timeout support on remoting tcp channel. In 2.0 we have added support for timeouts. Unfortunately the support is missing in beta2 -- but should be available when 2.0 is released. The configuration...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
What's new in remoting 2.0
Posted
over 8 years ago
by
manishg
1
Comments
Now that .net Framework 2.0 is released -- a list of new features in remoting is in order. Following is a list of new features added to remoting: 1. IPCChannel: A new channel based on named pipes form x-process (same machine) communication. Its more...
manish godse's GlobalServiceMonitor, SCOM and remoting blog
DevOps with Visual Studio and System Center 2012 SP1 Beta
Posted
8 months ago
by
ManishG
1
Comments
Like discussed in my previous post with the release of System Center Operations Manager 2012 SP1 Beta, there is ability to run Visual Studio authored Web Performance Tests from 16 different locations across the globe. The integration is both ways where...
Page 1 of 3 (53 items)
1
2
3