3
You can use the AuthorizeAttribute
in asmx, Soap or Rest? webservice and custom attributes, such as the below (example only)?
[System.AttributeUsage(System.AttributeTargets.Class |
System.AttributeTargets.Struct)
]
public class Author : System.Attribute
{
private string name;
public double version;
public Author(string name)
{
this.name = name;
version = 1.0;
}
}