We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Donald • 12 years ago

Hi,
thanks for your update. But I really don't where to starting using this version for SQL Azure. I am currently using NHibernate successfully in my C# MVC4 app for local database but need to use my sql azure db. What do I need to do different from changing connection string and dialect.

Thanks for your kind response.

Donald

rob • 12 years ago

Hi Donald,

All you need to do is follow the instructions at: https://github.com/robdmoor...

In short (assuming you are using an NHibernate config file - if you are using Fluent NHibernate there are separate instructions):

1. Install the NHibernate.SqlAzure package from NuGet
2. Set connection.driver_class to NHibernate.SqlAzure.SqlAzureClientDriver, NHibernate.SqlAzure

And that's it. There are further instructions if you want to have reliable transactions and to retry for timeout exceptions - just check out the link :)

Let me know how you go!

Michael Whelan • 12 years ago

Congratulations! 1.0 is a great milestone!