diff --git a/doc/reference/src/wcf-quickstart.xml b/doc/reference/src/wcf-quickstart.xml
index 22ebe18a..4c1aff99 100644
--- a/doc/reference/src/wcf-quickstart.xml
+++ b/doc/reference/src/wcf-quickstart.xml
@@ -16,7 +16,13 @@
* limitations under the License.
*/
-->
-
+WCF QuickStart
@@ -27,12 +33,12 @@
services. It is based on the same interfaces used in the portable service abstractions
quickstart example that demonstrates similar features for .NET
- Remoting, Enterprise Services, and ASMX web sevices. At the moment the
- quickstart example is only available as a VS.NET 2008 solution.
+ Remoting, Enterprise Services, and ASMX web sevices. The quickstart
+ example is only available as a VS.NET 2008 solution.
There are two server applications in the solution, one is a web
application where the WCF service will be hosted, and the other is a
- self-hosting console application, (Spring.WcfQuickStart.Server.2008. The
+ self-hosting console application, Spring.WcfQuickStart.Server.2008. The
client application is located in Sprng.WcfQuickStart.ClientApp.2008. To
run the solution make sure that all three projects are set to
startup.
@@ -60,7 +66,7 @@
and the implementation is straightforward, only adding a property
that controls how long each method should sleep. An abbreviated listing of
- the implementation is shown below
+ the implementation is shown below
public class CalculatorService : ICalculator
{
@@ -84,7 +90,8 @@
}
- DI using dynamic proxies
+ WCF Dependency Injection and AOP in self-hosted
+ applicationThe approach using dynamic proxies is used in the console
application inside the Spring.WcfQuickStart.Server.2008 project. For
@@ -93,8 +100,8 @@
configuration of your service is done as you would typically do with
Spring, including applying of any AOP advice. The class is hosted inside
the console application through the use of Spring's
- ServiceHostFactoryObject exporter. The
- configuration for the server console application is shown below.
+ ServiceHostFactoryObject exporter. The configuration
+ for the server console application is shown below.
<objects xmlns="http://www.springframework.net"
xmlns:aop="http://www.springframework.net/aop">
@@ -131,32 +138,22 @@
- DI using WCF extension points
-
- This approach uses Spring specific implementation of the WCF
- interfaces
- System.ServiceModel.Dispatcher.IInstanceProvider
- and
- System.ServiceModel.Description.IServiceBehavior
- are used to integrate Spring directly into the instancing of WCF
- services. For more information on this approach refer to this section of the reference
- documentation. The web application shows this approach in action.
+ WCF Dependency Injection and AOP in IIS web applicationMuch of the configuration ob the objects is the same as before,
- the .svc file though refers to the type of the service inside the Spring
+ the .svc file though refers to the name of the service inside the Spring
container as well as using Spring's
Spring.ServiceModel.Activation.ServiceHostFactory. The .svc file is
shown below.
- <%@ ServiceHost Language="C#" Debug="true" Service="Spring.WcfQuickStart.CalculatorService"
+ <%@ ServiceHost Language="C#" Debug="true" Service="calculator"
Factory="Spring.ServiceModel.Activation.ServiceHostFactory" %>
- Client access
+ Client accessThe project Spring.WcfQuickStart.ClientApp.2008 is a console
application that calls the two WCF services. It creates a client side
@@ -179,4 +176,4 @@ Subtract(7, 4) : 3
--- Press <return> to continue ---
-
\ No newline at end of file
+
diff --git a/examples/Spring/Spring.WcfQuickStart/src/Spring.WcfQuickStart.Web.2008/Calculator.svc b/examples/Spring/Spring.WcfQuickStart/src/Spring.WcfQuickStart.Web.2008/Calculator.svc
index 4e74bec9..648abc09 100644
--- a/examples/Spring/Spring.WcfQuickStart/src/Spring.WcfQuickStart.Web.2008/Calculator.svc
+++ b/examples/Spring/Spring.WcfQuickStart/src/Spring.WcfQuickStart.Web.2008/Calculator.svc
@@ -1 +1 @@
-<%@ ServiceHost Language="C#" Debug="true" Service="Spring.WcfQuickStart.CalculatorService" Factory="Spring.ServiceModel.Activation.ServiceHostFactory" %>
+<%@ ServiceHost Language="C#" Debug="true" Service="calculator" Factory="Spring.ServiceModel.Activation.ServiceHostFactory" %>
diff --git a/examples/Spring/Spring.WcfQuickStart/src/Spring.WcfQuickStart.Web.2008/Web.config b/examples/Spring/Spring.WcfQuickStart/src/Spring.WcfQuickStart.Web.2008/Web.config
index 4bef68e7..7db920ba 100644
--- a/examples/Spring/Spring.WcfQuickStart/src/Spring.WcfQuickStart.Web.2008/Web.config
+++ b/examples/Spring/Spring.WcfQuickStart/src/Spring.WcfQuickStart.Web.2008/Web.config
@@ -34,7 +34,7 @@
-
+