Click here to Skip to main content
15,867,704 members
Articles / Database Development / NoSQL

WCF by Example - Chapter XV - RavenDB Implementation

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
3 Feb 2013CPOL9 min read 34.6K   773   26  
Unit of Work and Repository RavenDB implementation example
This article in the WCF by example series introduces RavenDB for persistence purposes.
<?xml version="1.0" encoding="utf-8" ?>
<!--
  NHibernate Configuration
  ========================
-->
  <objects xmlns="http://www.springframework.net">

    <!-- CLIENT SERVICE LOCATOR -->
    <object 
            id="ClientServiceLocatorRef" 
            type="eDirectory.WPF.Services.ClientServiceLocator, eDirectory.WPF"  
            factory-method="Instance" 
            singleton="true">
      
      <property name="ExceptionManager" ref="BusinessExceptionManagerRef" />
      <property name="WarningManager" ref="BusinessWarningManagerRef" />
      <property name="CommandDispatcher" ref="CommandDispatcherRef" />
    </object>
    
    <!-- Business Exception Manager -->
    <object
            id="BusinessExceptionManagerRef"
            type="eDirectory.WPF.Services.BusinessExceptionManager"/>

    <!-- Business Warning Manager -->
    <object
            id="BusinessWarningManagerRef"
            type="eDirectory.WPF.Services.BusinessWarningManager"/>

    <!-- Command Dispatcher -->
    <object
            id="CommandDispatcherRef"
            type="eDirectory.WPF.Services.Wcf.WcfCommandDispatcher, eDirectory.WPF"/>

  </objects>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Ireland Ireland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions