Click here to Skip to main content
11,706,979 members (43,420 online)
Click here to Skip to main content
Add your own
alternative version

WCF by Example - Introduction

, 28 May 2013 CPOL 307.8K 1.2K 515
Patterns and best practices for the desing and development of rich client enterprise applications using WPF, WCF and NHibernate
<?xml version="1.0" encoding="utf-8"?>
This template was written to work with NHibernate.Test.
Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it 
for your own use before compile tests in VisualStudio.
<!-- This is the System.Data.dll provider for SQL Server -->
<hibernate-configuration  xmlns="urn:nhibernate-configuration-2.2" >
	<session-factory name="NHibernate.Test">
		<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
		<property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
		<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
		<property name="connection.connection_string">Server=.\SQLEXPRESS;Database=eDirectory;Integrated Security=SSPI;</property>

		<property name="show_sql">false</property>
		<property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>
		<property name="hbm2ddl.keywords">none</property>
		<property name="cache.use_second_level_cache">true</property>
		<property name="cache.use_query_cache" >true</property>
		<property name="cache.provider_class">NHibernate.Cache.HashtableCacheProvider</property>

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.


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


About the Author

Enrique Albert
Software Developer (Senior)
Ireland Ireland
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150819.1 | Last Updated 28 May 2013
Article Copyright 2010 by Enrique Albert
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid