Apply Your Knowledge
5.1. Configuring a SOAP Extension with a Config File
In the chapter you saw how to configure a SOAP extension to run with a particular Web method by applying a custom attribute to that method. However, there's a second way to configure a SOAP extension. Instead of applying attributes one method at a time, you can use a configuration file to cause a SOAP extension to run with every Web method in the scope of the configuration file.
Estimated Time: 35 minutes.
Add a new Visual C# .NET Class library project to the 320C05 solution. Name the new library SoapExt.
Rename the default Class1.cs file to SoapDisplayExtension.cs.
Right-click the References node in Solution Explorer and select Add Reference. Add a reference ...