Hello,
I am a little confused regarding the creation of a C# DLL that will be
called from ASP.NET. From what I have read ASP.NET is Multithreaded. My
undersatnding of this is that more than one thread can call into my object.
What coding considerations do I need to take for this?? Would the sample
class below need any changes to work under asp.net as to avoid any issues??
Thanks for any help!!
Ken
public class Test
{
//Module Variables.
private string privMyProperty = string.Empty;
public Test()
{
//Default Constructor Stuff.
}
//Property.
public string MyProperty
{
get
{
return privMyProperty;
}
set
{
privMyProperty = value;
}
}
public void Save()
{
//DO SOME WORK THAT USES PROPERTY.
}
}