Home > Net >  The Remoting configuration file in how to publish a generic service (not zero error meets the length
The Remoting configuration file in how to publish a generic service (not zero error meets the length

Time:10-18

I know that generic configuration file method, but a generic class "& lt;" And "& gt;" , illegal characters in XML, so I wrote in configuration files:
 & lt; Wellknown mode="Singleton" objectUri="BussinessEntityServices" type="CJWSoft. BaseEntityServices & amp; lt; TEntity& gt; , Bussiness/& gt;" 

Is to use "& amp; Lt;" And "& amp; Gt;" Instead of Angle brackets, the configuration file is not prompt wrong, but I don't know this issue right?
The client is also true:
 

The client access to the proxy class code:
 
Var url=ConfigManager. ConfigHelper. GetUrl (" CJWSoft. BaseEntityServices , Bussiness ");
Var obj=the Activator. GetObject (typeof (IBaseServerIf (obj!=null)
{
Base. The Server=(IBaseServer}

Seems to get into, but GetData tip "string length is not zero" :

This is how to return a responsibility? Tracking, if not used to the remote object?
  • Related