What do I need to do to run spatialite in a webrole on Azure?
I've been looking into using spatialite on Azure. The precompiled binaries at SpatiaLite 2.3.1 are all for x86 and trying to include libspatialite-1.dll of course won't work since Azure requires x64.
Am I just missing something simp开发者_如何学Gole, or do I need to try to compile the binaries into a x64 dll? Is that a path I should go down?
Any guidance or link to a tutorial to get SpatiaLite running in Azure would be greatly appreciated.
From my understanding of Azure, you will need to recompile the SpatiaLite assemblies into a x64/AnyCPU dll. Also if the SpatiaLite assemblies make reference to any x32 assemblies, these too will need to be recompiled in order to get it working in Azure.
http://blogs.msdn.com/b/haniatassi/archive/2009/03/20/using-a-32bit-dll-in-the-windows-azure.aspx
There are alternatives to recompiling your assemblies, but its quite complex.
http://social.msdn.microsoft.com/Forums/en/windowsazuredevelopment/thread/43721d3c-f6e5-4f72-8c62-39904156c042
精彩评论