A View Inside My Head

Jason's Random Thoughts of Interest
posts - 86, comments - 178, trackbacks - 22

February 2010 Entries

You Need that Using Statement for Extension Methods!

I was working through some Windows Azure example code today, and came across a situation where IntelliSense did not show a method that the sample code used (CreateCloudBlobClient(), in this case): var storageAccount = Microsoft.WindowsAzure.CloudStorageAccount.FromConfigurationSetting("DataConnectionString");var blobStorage = storageAccount.CreateCloudBlobClient(); A lot of times, when I'm exploring an API, I will type out the fully qualified class name in code so that I can use IntelliSense to see what the other members exist in the same namespace. And, while I'm exploring, I usually don't bother to include a using statement at the top of my code because it's so easy to just use the...

posted @ Thursday, February 25, 2010 2:11 PM | Feedback (0) | Filed Under [ Articles .NET Azure ]

Spatial Data and the Entity Framework

July 28, 2011 Note: This is an outdated post. Recently, the ADO.NET team has released a CTP with Spatial support as a first class citizen of the Entity Framework!!! See the following posts that I wrote as I explored the new API: http://www.jasonfollas.com/blog/archive/2011/07/20/entity-framework-spatial-first-look.aspx http://www.jasonfollas.com/blog/archive/2011/07/21/entity-framework-spatial-dbgeography-members.aspx http://www.jasonfollas.com/blog/archive/2011/07/27/entity-framework-spatial-a-real-world-example.aspx The Entity Framework does not support using User Defined Types (at least in the SQLCLR sense of the term) as properties of an entity. Yesterday, Julie Lerman contacted me to see if we could find a workaround to this current limitation, particularly for the SQL Server Spatial Types (Geometry and Geography). Whenever I hear of someone wanting to use Spatial...

posted @ Sunday, February 14, 2010 3:14 PM | Feedback (2) | Filed Under [ Articles SQL Spatial ]

Powered by: