Executing Code in Partial Trust Environments

9 Comments »

When building your first .NET web service, you may be in for a rude awakening when you discover the concept of “partial trust.” Your previously bullet-proof code will suddenly fail in a flurry of exceptions thrown by seemingly innocuous commands such as reading files or accessing the Registry. This article provides a brief overview of Code Access Security and describes how to modify and test your code to work in a partial trust environment.
Read the rest of this entry »

Web Service Stumper: “Ambiguous Type”

3 Comments »

This blog is usually a place for answers, but today I have a web service question that has stumped me and the experts I’ve consulted thus far. Here is my challenge:

When a client connects to a C# web service, how can it bind to a specific DLL in the web service “bin” folder?

Read the rest of this entry »