by Richard
2. May 2012 17:34
I'm now using AppHarbor for all my websites including Aussie Bushwalking and I'm loving it. My new site (hopefully released very soon) required some SQL Server Spatial operations in the code. No problems, hit up NuGet to grab the Microsoft.SqlServer.Types assembly and we're away. But unfortunately an unmanaged DLL, SqlServerSpatial.dll, is also required so you'll need to do a little more playing before it works.
You'll need to copy the SqlServerSpatial.dll into the bin folder of your app, then make sure to add it to:
- Your project - set the Build Action to Content
- Your source control (normally mine is set to exclude the bin folder by default)
You can find SqlServerSpatial in two locations:
- %SystemRoot%\System32
- %SystemRoot%\SysWOW64
AppHarbor requires the 64-bit version so grab it from SysWOW64. Once that's done, deploy and enjoy all the goodness that the spatial types give you :)
e868e65c-cd96-427e-9118-36b3a08242c4|0|.0
Category:
Tags: