Julia
9/12/2004 12:49:00 PM
Hi,I have the following classes
public interface IComponentProperties
{
object this[string propertyName]
{
get;
set;
}
}
//Hold a list of properties
class Properties:IComponentProperties
{
private Hashtable propsHolder = new Hashtable();
public object this[string propertyName]
{
get
{
return propsHolder[propertyName];
}
set
{
}
}
}
Class Service
{
private Properties props;
public IComponentProperties Properties
{
get{return props;}
}
}
The service class is a server activated singleton remote object which
accessed by ASP.NET application,
I wonder if I need to do anything special in order to use the
IComponentProperties interface from ASP.NET application
Should the Properties class be a remote as well?
Thanks in advance.