﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on Geo Location &amp;amp; Spatial Searches with RavenDB&amp;ndash;Part VI&amp;ndash;Database Modeling</title><description>Tobi,
Pretty much, yes.</description><link>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment6</link><guid>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment6</guid><pubDate>Fri, 29 Jun 2012 15:18:35 GMT</pubDate></item><item><title>tobi commented on Geo Location &amp;amp; Spatial Searches with RavenDB&amp;ndash;Part VI&amp;ndash;Database Modeling</title><description>Ayende,

what use is the using-block if nothing happens inside of it? Just dispose the thing if it has been created.</description><link>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment5</link><guid>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment5</guid><pubDate>Fri, 29 Jun 2012 15:14:09 GMT</pubDate></item><item><title>Ayende Rahien commented on Geo Location &amp;amp; Spatial Searches with RavenDB&amp;ndash;Part VI&amp;ndash;Database Modeling</title><description>Kalki,
I shared the code in the blog posts, and I pointed where you can get the database for free</description><link>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment4</link><guid>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment4</guid><pubDate>Fri, 29 Jun 2012 14:24:42 GMT</pubDate></item><item><title>kalki commented on Geo Location &amp;amp; Spatial Searches with RavenDB&amp;ndash;Part VI&amp;ndash;Database Modeling</title><description>if geoip database was freeware/opensource, if yes could you pls share the provider.</description><link>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment3</link><guid>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment3</guid><pubDate>Fri, 29 Jun 2012 13:18:06 GMT</pubDate></item><item><title>Ayende Rahien commented on Geo Location &amp;amp; Spatial Searches with RavenDB&amp;ndash;Part VI&amp;ndash;Database Modeling</title><description>Tobi,
Um.... Nope.

OnActionExecuted happens _after_ the action has been run, if it used the geoSession, it will be disposed.
</description><link>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment2</link><guid>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment2</guid><pubDate>Fri, 29 Jun 2012 11:48:15 GMT</pubDate></item><item><title>tobi commented on Geo Location &amp;amp; Spatial Searches with RavenDB&amp;ndash;Part VI&amp;ndash;Database Modeling</title><description>If OnActionExecuted opens the read-only session using the lazy-initializer mechanism, it won't be disposed. The using block captures the given value on enter, and it would capture a null. Even if OnActionExecuted does not use the session, it is a code-smell.

Just focusing on the most unimportant part of the post here, in good tradition.</description><link>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment1</link><guid>http://ayende.com/156705/geo-location-spatial-searches-with-ravendb-part-vi-database-modeling#comment1</guid><pubDate>Fri, 29 Jun 2012 11:33:05 GMT</pubDate></item></channel></rss>