Click here to Skip to main content
15,879,474 members
Articles / Web Development / Apache

The platform-independent code with Mono: Client-server application sample

Rate me:
Please Sign up or sign in to vote.
4.80/5 (23 votes)
24 Mar 2010CPOL10 min read 73.1K   798   59  
This article shows how we can develop the platform-independent software with Mono usage
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
  <session-factory>
    <property name="connection.provider">
      NHibernate.Connection.DriverConnectionProvider
    </property>
    <property name="connection.driver_class">
    NHibernate.Driver.MySqlDataDriver
    </property>
	<property name="connection.connection_string">
			Database=InfoCenter;Server=localhost;User Id=root;Password=1234qwer!
	</property>
	<property name="dialect">
	NHibernate.Dialect.MySQLDialect
	</property>
	<property name="hbm2ddl.keywords">
	none
	</property>
    <property name="show_sql">
      false
    </property>
    <property name="proxyfactory.factory_class">
      NHibernate.ByteCode.Castle.ProxyFactoryFactory,NHibernate.ByteCode.Castle
    </property>
  </session-factory>
</hibernate-configuration>

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) Nokia
Germany Germany
Interested in design/development of framework functionality using the best patterns and practices.

Comments and Discussions