<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3924739636407907202</id><updated>2026-03-20T04:11:09.836-03:00</updated><category term="English"/><category term="NHibernate"/><category term="Tests"/><category term="NH3"/><category term=".NET"/><category term="ConfORM"/><category term="Fluent-configuration"/><category term="Validator"/><category term="Español"/><category term="ORM"/><category term="SharpTestEx"/><category term="Azure"/><category term="Patterns"/><category term="session management"/><category term="Castle Windsor"/><category term="NUnitEx"/><category term="Alt.NET"/><category term="Entity Framework"/><category term="Mercurial"/><category term="Web"/><category term="wasting time"/><category term="AAD"/><category term="Auditing"/><category term="Git"/><category term="Spring"/><category term="WPF"/><category term="Azure Storage"/><category term="IoT Hub"/><category term="WCF"/><title type='text'>HunabKu</title><subtitle type='html'>IT experiences</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>195</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-7464940369405908224</id><published>2017-04-16T22:15:00.001-03:00</published><updated>2017-04-26T16:05:55.091-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AAD"/><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><title type='text'>API-APP server-to-server through Azure Active Directory</title><summary type="text">In the previous post you see how register your API app in the AAD and how register a client app to then access using RESTful AAD api. The work to do to access your API is not so much using any langue, btw is even more easy using .NET.

The POC
Creates a new Console project and then add Microsoft.IdentityModel.Clients.ActiveDirectory package.

Now add this class to your project


using </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/7464940369405908224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2017/04/api-app-server-to-server-through-azure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/7464940369405908224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/7464940369405908224'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2017/04/api-app-server-to-server-through-azure.html' title='API-APP server-to-server through Azure Active Directory'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/-EttcNkVS_lQ/WPQXHfPHJoI/AAAAAAAAAqA/5OS2VQwCrd0/s72-c/Client01_thumb%25255B2%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-5584571075576045506</id><published>2017-04-16T01:00:00.001-03:00</published><updated>2017-04-16T01:03:15.675-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AAD"/><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><title type='text'>Web API access through Azure Active Directory</title><summary type="text">In the past year I realized that is not so clear that any request arrive to our Web app or API app was analyzed by a Gateway; after deliver an API the question was the same: “Nice! the API is the opened to the world, how we can protect the access to our API ?”

The picture

As you can see the gateway is already there; is you don’t activate the authentication it just send, to your app, all </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/5584571075576045506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2017/04/web-api-access-through-azure-active.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/5584571075576045506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/5584571075576045506'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2017/04/web-api-access-through-azure-active.html' title='Web API access through Azure Active Directory'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNoijPJOb9Ni82Lha2CoJUufn5OaUbJE3j-hRLXjs2HI44g4ppEWwVcZLPBKxbJNZhZT40FQjBHghaRlIfIhIvPEp4fQPxl22ERnUGhog-lgYK8jqXHWWNc8WM3nwIwh-D3KzB0CCOpkY/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-994206815587035703</id><published>2017-01-16T09:30:00.000-03:00</published><updated>2017-01-31T09:21:34.114-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="Azure Storage"/><title type='text'>Azure queues by convention</title><summary type="text">El codigo que voy a mostrar hoy viene corriendo, con pocas variaciones a lo largo del tiempo, desde el 2009 cuando Azure era CTP así que somos ya varios que lo tenemos a mano (algo había compartido en el medio del camino).


Las interfaces
Como siempre es buena norma, por lo menos cuando se trata de servicios, empezar por las interfaces; más aún si terminan involucrados en varios proyectos que </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/994206815587035703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2017/01/azure-queues-by-convention.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/994206815587035703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/994206815587035703'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2017/01/azure-queues-by-convention.html' title='Azure queues by convention'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-6665885639317558393</id><published>2017-01-10T22:17:00.000-03:00</published><updated>2017-01-10T22:28:20.700-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="IoT Hub"/><title type='text'>Azure IoT Hub a puro REST</title><summary type="text">El año pasado, en una reunión con el colorado el ruso y el pibe, me pidieron un ejemplo de uso de Azure IoT Hub sin usar el SDK. Yo pensaba que con un poco de GoogleFu algo iba a encontrar pero… nada.

En lugar de seguir buscando codigo y ya que todo, o casi, en Azure tiene API REST empecé a leer la documentación de la API y a codear.

Si quieren probar el codigo de este post, a parte un account </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/6665885639317558393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2017/01/azure-iot-hub-puro-rest.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/6665885639317558393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/6665885639317558393'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2017/01/azure-iot-hub-puro-rest.html' title='Azure IoT Hub a puro REST'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsZtWDfshpqIFk1E0w7VCMFtsfbZccVo3gPp2k4oUI4AL6Q1G9ESaq5qoZdU8aE0MrMDrIT6JNlJdzG_C8_h6RzS2V9SMo_M9faIn153k9dtVePMfK8kVwyzSCra4sbm8Hq8VoBlVaQ3A/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-3343218713330344224</id><published>2012-04-05T16:51:00.001-03:00</published><updated>2012-04-05T16:52:36.971-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="NH3"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><title type='text'>NHibernate: autocreate indexes for foreignkey</title><summary type="text">In these last days we have fallen in a performance issue with one of our DBs; the last and littlest one.

The creation of indexes on FKs seems to be a best-practice for MS-SQL-server and ORACLE and is not needed with Firebird; in Firebird instead than a best-practice is the default behavior: the FK includes an index.

That said I have to be sure that each FK has to have an index. After check our </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/3343218713330344224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2012/04/nhibernate-autocreate-indexes-for.html#comment-form' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/3343218713330344224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/3343218713330344224'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2012/04/nhibernate-autocreate-indexes-for.html' title='NHibernate: autocreate indexes for foreignkey'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-1631956841295710615</id><published>2011-11-19T16:29:00.001-03:00</published><updated>2011-11-19T16:29:55.362-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><title type='text'>Azure queues: Producer</title><summary type="text">If you have read something about Azure’s queue you have probably seen some picture like this:  A producer is anything (a class) that, in some moment, enqueue a message; more exactly this “anything” is something that take the role of message producer. For example it can be a MVC controller, more usually it can be an application-service or a domain-event but it can be even a view. To simplify the </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/1631956841295710615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/11/if-you-have-read-something-about-azures.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/1631956841295710615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/1631956841295710615'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/11/if-you-have-read-something-about-azures.html' title='Azure queues: Producer'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiko3ltD8P02Q1yS4YXw5YpScdh8T0T_Rrl3Kvf1giR6vZRdbqIQaZsQ06K7BKG7jvm8bkvQtjmOXmSDA81p4zJboPjcmIthw8iQ2KtvNUiR3mJQ2hpnzemxsMjaX9jWG99IuOClmxLTo0/s72-c?imgmax=800" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-2630376602581713537</id><published>2011-11-10T15:50:00.001-03:00</published><updated>2011-11-10T15:50:30.295-03:00</updated><title type='text'>MVC3 : set active menu by controller name</title><summary type="text">Just as a “nice to have” in the default templates of MVC.  In the default CSS of MVC3 you can find some styles never applied. One of those style is about the selected menu:   ul#menu li.selected a {     background-color: #fff;     color: #000; }   In the _Layout.cshtml would be nice to have something like this:       &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;         $(document).ready(</summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/2630376602581713537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/11/mvc3-set-active-menu-by-controller-name.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/2630376602581713537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/2630376602581713537'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/11/mvc3-set-active-menu-by-controller-name.html' title='MVC3 : set active menu by controller name'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-8182802015337945330</id><published>2011-10-29T10:19:00.002-03:00</published><updated>2011-10-29T10:29:26.885-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><title type='text'>Azure Hispano</title><summary type="text">En estos dos años fue bastante dificil compartir experiencias o aclarar dudas desarrolando para Windows Azure Platform. 
Con la ayuda de @guadacasuso, @nahog, @gabrielsz, Fernarndo Aramburu, @aeidelman, @AleBanzas entre otros (disculpen si no recuerdo todos los nombres/links) nació ayer un nuevo grupo de habla hispana para que sea mas facil para todos compartir experiencias, conocimiento y/o </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/8182802015337945330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/10/azure-hispano.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/8182802015337945330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/8182802015337945330'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/10/azure-hispano.html' title='Azure Hispano'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-4025988064552271019</id><published>2011-08-13T16:18:00.001-03:00</published><updated>2011-08-13T16:18:18.602-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="English"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>Parse string as Razor template</title><summary type="text">For a special requirement at work (actually a mix with self requirement) I need to get a chunk of HTML content from a persistence-system. Taken as is, it does not appear a big challenge but analyzing the problem a little bit more deeper I saw that that the HTML chunk may contain variables, it may need a model… to be short it may be so complex as a MVC-PartialView. To achieve the target quickly I </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/4025988064552271019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/08/parse-string-as-razor-template.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/4025988064552271019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/4025988064552271019'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/08/parse-string-as-razor-template.html' title='Parse string as Razor template'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsUufc2GwWmbZ0LDj5Q8-ucPwnnq40xhNnLH4xayuj3U8p2xHLaTBtdwmpxISTt37YGU6QuWpJhMzGUn1jZuJVePSwYcePCJqhqhRgshj4Qu8-HAZOgtsr2ONGQHZpjsJ-eq0njKp3gbQ/s72-c?imgmax=800" height="72" width="72"/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-7206645039090278927</id><published>2011-08-06T16:10:00.001-03:00</published><updated>2011-08-06T16:10:29.306-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="English"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>Azure storage initialization</title><summary type="text">This is the “self response” to the previous post.  When your role starts on Azure there are some tasks which runs synchronously and some tasks which runs asynchronously. For complex startups you can set the configuration of each custom tasks in your ServiceDefinition.csdef. If you don’t need special tasks to setup your VM you will end initializing your Azure-storage (blob containers, tables and </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/7206645039090278927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/08/azure-storage-initialization.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/7206645039090278927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/7206645039090278927'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/08/azure-storage-initialization.html' title='Azure storage initialization'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwUsKz1-4j2AeWw5Qvf0HYOWiG2MDXujCPP8M33D_hnUDJupkkIxFzW0uIwD1CcLZ0_JZgSvt4QeQHy4UgEBi-yZpkEa1y_QnFCe81HuZGUyDiFl7VFevc5H5IPDmw0nxe93xKFDhFeFg/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-9145214414652020287</id><published>2011-07-19T13:34:00.001-03:00</published><updated>2011-07-19T13:34:01.915-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="English"/><title type='text'>Azure Storage initialization</title><summary type="text">More than a post about “how initialize the Azure storage” this is a “bottle to sea” to check if somebody else known a best-practice, a recommendation or whatever you call it. In the past year we had experimented the very nice and useful exception starting our Web-Role… if you have an application on Azure I’m pretty sure you saw it too:  Very nice and informative, even better than some of our </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/9145214414652020287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/07/azure-storage-initialization.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/9145214414652020287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/9145214414652020287'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/07/azure-storage-initialization.html' title='Azure Storage initialization'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisnBv3vFTHqQllfmlcdtfUtq6teCWI6b8a8SHIhGAn9yilaVcqLZ4dJty3dE_2gpZp9wYfYehP4jdLvTVPuhxijbk5ZjAgdHz5b6RRqKqveOzSAOC1n92tdB-RNMCAoaS2P_phub7Vr5w/s72-c?imgmax=800" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-7024085613410223455</id><published>2011-07-17T15:38:00.001-03:00</published><updated>2011-07-17T15:39:38.786-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="English"/><category scheme="http://www.blogger.com/atom/ns#" term="NH3"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><title type='text'>NHibernate: playing with mapping by code (2)</title><summary type="text">
In the previous post you saw a simple example about a way to use the new mapping-by-code of NHibernate 3.2.0.
The class-by-class mapping will be, probably, the most used way just because it is very similar to the XML mapping and the “feeling of loss of control” is near to zero (the quiet of sense).
If you want experiment more adrenaline you can try ConfORM but if you like just a little bit of </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/7024085613410223455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/07/nhibernate-playing-with-mapping-by-code_17.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/7024085613410223455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/7024085613410223455'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/07/nhibernate-playing-with-mapping-by-code_17.html' title='NHibernate: playing with mapping by code (2)'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdinvxHW9xTYTyx5NnuLIksxFmLz-Op1xPsoiITZqR2gpyXFn9AwiKex_-zVgLj92NCJz9eBeb0V_6I3XwjJidOsdXZo_qVNxjOJwg3ELVApHRKcXd8fFCIEEbM5OgTSDNJky6I6KX_R4/s72-c?imgmax=800" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-2645987719991551866</id><published>2011-07-16T18:27:00.004-03:00</published><updated>2011-07-17T13:26:10.710-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="English"/><category scheme="http://www.blogger.com/atom/ns#" term="NH3"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><title type='text'>NHibernate: playing with mapping by code</title><summary type="text">NHibernate 3.2.0GA is going to be released and, around the NET, there are various questions about how use its “sexy-mapping”… “sexy-mapping” is not a serious definition? well… I’m bored by zero-one definitions.

I think that the “problem” is that I have explicitly avoided to call something “best practice” writing&amp;nbsp; my examples (as I done with ConfORM) and the new mapping-by-code is very </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/2645987719991551866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/07/nhibernate-playing-with-mapping-by-code.html#comment-form' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/2645987719991551866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/2645987719991551866'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/07/nhibernate-playing-with-mapping-by-code.html' title='NHibernate: playing with mapping by code'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghFPbpIypGBAQpRgFGmB_lM8Sqm0pzp8sxZ4kNC7h3x7Mn6drDPRa_MtU7RdqdiRyUCWyxVgIgKT9D1Tkf1lISQBIxtt0rqFTpKamq6F9mgDhxSECms1pbS26kHEE9J9s-74VeJoxM3wE/s72-c?imgmax=800" height="72" width="72"/><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-6440149687851124468</id><published>2011-07-09T14:41:00.003-03:00</published><updated>2011-07-09T14:54:27.621-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ConfORM"/><category scheme="http://www.blogger.com/atom/ns#" term="English"/><category scheme="http://www.blogger.com/atom/ns#" term="NH3"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><category scheme="http://www.blogger.com/atom/ns#" term="ORM"/><title type='text'>Using ConfORM with modular application</title><summary type="text">I’m getting some questions about how use ConfORM in modular applications. The first commercial application mapped with ConfORM is a pretty complex modular application and if you have a look to the first ConfOrm example you can find the IModuleMapping.
Here I’ll try to explain how we have used it in that application writing a new example.
The IModuleMapper/// &amp;lt;summary&amp;gt;
/// A template to </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/6440149687851124468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/07/using-conform-with-modular-application.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/6440149687851124468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/6440149687851124468'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/07/using-conform-with-modular-application.html' title='Using ConfORM with modular application'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-3016686297261408748</id><published>2011-07-05T09:34:00.001-03:00</published><updated>2011-07-05T09:34:17.557-03:00</updated><title type='text'>An amazing tool to improve your work in .NET</title><summary type="text">If you are a .NET developer, when you have 25 minutes free, have a look to the @hhariri’s video about the new features of ReSharper 6. This is not an advertise, this is an advise, really. I’m using Resharper since some years and I have noticed the big difference when I do pair programming with somebody who does not have Resharper installed. Well… now you have the power of Resharper even in the </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/3016686297261408748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/07/amazing-tool-to-improve-your-work-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/3016686297261408748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/3016686297261408748'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/07/amazing-tool-to-improve-your-work-in.html' title='An amazing tool to improve your work in .NET'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-5742825232111781972</id><published>2011-06-24T19:10:00.001-03:00</published><updated>2011-06-24T19:10:24.318-03:00</updated><title type='text'>C# OAuth for TESTardi</title><summary type="text">These days we was looking a way to use OAuth in our application to add some service to our customers. As usual I done some investigation before start doing something by myself and I have found some frameworks, some example, some sources… as usual. I am a TESTardo (in Spanish is TESTarudo and in English “headstrong”) and I would understand what is going on behind those hundreds lines of C# code. </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/5742825232111781972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/06/c-oauth-for-testardi.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/5742825232111781972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/5742825232111781972'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/06/c-oauth-for-testardi.html' title='C# OAuth for TESTardi'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigE4gkHoJlxKWjED2f8J-QB0k1e_T86tJYXYJxk0C-nm8Po3PjnESycOQHglWDnwMZHmFOqa_Q9doPeHpoD6SZ7rjf97UNbRTJ2usHiDVPGjmegRUBJBdkfnw81x_yto8Q8mClPSt7XRc/s72-c?imgmax=800" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-8301275510038518760</id><published>2011-05-13T17:36:00.001-03:00</published><updated>2011-05-13T17:36:14.951-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Auditing"/><category scheme="http://www.blogger.com/atom/ns#" term="NH3"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><category scheme="http://www.blogger.com/atom/ns#" term="wasting time"/><title type='text'>NHibernate: The bizarre Audit</title><summary type="text">This is another post tagged as “wasting time”; in this occasion thanks to Scott Findlater and Filip Kinský (@Buthrakaur). The title is because there are people who think that having four properties to store a DateTime of an entity creation, the User who have created it, the DateTime of the last modification and the User who have modified it mean that his application has auditing. If you are a </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/8301275510038518760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/05/nhibernate-bizarre-audit.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/8301275510038518760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/8301275510038518760'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/05/nhibernate-bizarre-audit.html' title='NHibernate: The bizarre Audit'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJLbBgk76qkymRJ14dBc-c1Cx8q7OOwzRwx7FyQbUVi5JLIVqaHk0Mmp7iyFXHPa7RupTT8f_DM3yW3Rb3X2mGSFaSgSqG65I8EcdPKNmOLS65FfKft001yX4aIYYBZnckakFRIrqCLss/s72-c?imgmax=800" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-93215913814717750</id><published>2011-04-18T04:00:00.014-03:00</published><updated>2011-04-18T04:00:08.649-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="English"/><category scheme="http://www.blogger.com/atom/ns#" term="NH3"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><category scheme="http://www.blogger.com/atom/ns#" term="wasting time"/><title type='text'>me on Fluent NHibernate</title><summary type="text">Well… from where I should start ?…?? Perhaps from “Mapping Source: How map a class without use XML” mmm… no, better no because it is too old and was classified as “too complicated”. Perhaps from “Map NHibernate using your API” mmm… no, better no because it is one year old and was classified as “too silly” as you can read in the comments of this post and in this other. What about this “NHibernate </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/93215913814717750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/04/me-on-fluent-nhibernate.html#comment-form' title='61 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/93215913814717750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/93215913814717750'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/04/me-on-fluent-nhibernate.html' title='me on Fluent NHibernate'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRGXYNjXLYGA-wy3BxxSUE6Yf7LoL5iUfRGtwRUHKYuj9vrR_Mh7TSlyeU-6VHy0ryLbRa6SpZVoGeRsx1di4PjxiCZ1_zRB7i3SVVC6Krt_oiyWn8IelDnwYe2ySypLPC0-jYclhNmao/s72-c?imgmax=800" height="72" width="72"/><thr:total>61</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-2238264123760877138</id><published>2011-04-13T20:47:00.001-03:00</published><updated>2011-04-13T20:47:46.201-03:00</updated><title type='text'>NHibernate 3.2: mapping by code conventions</title><summary type="text"> After see some characteristic of one of the new NHibernate 3.2 feature it’s the time to see if the mapping by-code gives support to a convention based mapping. In NHibernate there isn’t a real difference between declarative-mapping and convention-based-mapping because every thing live together since the first commit.  What you will see in this post is defined, by some people, as “auto-mapping”. </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/2238264123760877138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/04/nhibernate-32-mapping-by-code_13.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/2238264123760877138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/2238264123760877138'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/04/nhibernate-32-mapping-by-code_13.html' title='NHibernate 3.2: mapping by code conventions'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyRuS2lq_saoB_fDpNYzZQK3bnH5rtsCIYmnFZKmcmZw9qnJlcGPktufJ0A8xIqrc6aweZzJ0fDRxiFk_q2RSql27tAWp1HYXxcnf20ePY2KZ-uM2RsGtLqhNP1CgrvE6BiNmMD_rHDVY/s72-c?imgmax=800" height="72" width="72"/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-7730316056671455959</id><published>2011-04-08T15:01:00.001-03:00</published><updated>2011-04-08T15:01:43.562-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ConfORM"/><category scheme="http://www.blogger.com/atom/ns#" term="English"/><category scheme="http://www.blogger.com/atom/ns#" term="NH3"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><title type='text'>NHibernate 3.2: (part 2) mapping by code</title><summary type="text"> In the first post about the new mapping-by-code feature you saw only the very first presentation. I’ll will try to write more posts about this new feature and all its secrets even if you can learn more using ConfORM.   As in ConfORM even the NHibernate’s mapping-by-code is smarter than XML mapping and may help you in many cases. Well… it is not so smart as ConfORM but smart enough to prevent </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/7730316056671455959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/04/nhibernate-32-part-2-mapping-by-code.html#comment-form' title='25 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/7730316056671455959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/7730316056671455959'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/04/nhibernate-32-part-2-mapping-by-code.html' title='NHibernate 3.2: (part 2) mapping by code'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLu-tyF9M4FTEgo0fiYyZyU-1RaKPeQCLMnAZfFFG-oD6yJNvhA-V4r6M0rd8aeouuL3LL2b4w_4p60-pOzgBSmKQAEhN9zQY9UPH5SASIO0K4Vwz6imS-FVgi3i_FL0TzyDAJGEKWrK0/s72-c?imgmax=800" height="72" width="72"/><thr:total>25</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-140157892067158913</id><published>2011-04-01T14:11:00.001-03:00</published><updated>2011-04-01T14:11:32.836-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ConfORM"/><category scheme="http://www.blogger.com/atom/ns#" term="English"/><category scheme="http://www.blogger.com/atom/ns#" term="NH3"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><title type='text'>NHibernate 3.2 mapping by code</title><summary type="text">NHibernate 3.2 will come with its own embedded mapping by code. If you want know it is not based in fluent-interface, instead it is based on “loquacious”. That said you should understand that it has nothing related with Fluent-NHibernate. The main idea under the NHibernate’s “sexy mapping” came from my dear ConfORM. In the past year the no conformist red man was running a lot and now I’m ready to</summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/140157892067158913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/04/nhibernate-32-mapping-by-code.html#comment-form' title='39 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/140157892067158913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/140157892067158913'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/04/nhibernate-32-mapping-by-code.html' title='NHibernate 3.2 mapping by code'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpGHKxkc_6iLSv9bujsEsmiDl09145GaX6iIigGesUMWzfEVZFjxqnr3EHLUzjvHcREH8P5QMhjfRrBd6lIKeJDPxrG4EcgAGYS97Mgwup-Ylx4BxwYoWTDOm3hAitO1UITqTI5j6wc20/s72-c?imgmax=800" height="72" width="72"/><thr:total>39</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-7586235718136700434</id><published>2011-03-22T13:52:00.001-03:00</published><updated>2011-03-22T13:52:34.451-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="English"/><category scheme="http://www.blogger.com/atom/ns#" term="NH3"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><title type='text'>NHibernate 3.2 batching improvement</title><summary type="text">This post is about an old missed feature in NHibernate batching. I have mentioned this feature in this post but again I forgot it. How old is it ? what about 2007-09-15 ? yes, so old. The domain  The little test   using (ISession s = OpenSession()) using (s.BeginTransaction()) {     for (int i = 0; i &amp;lt; 12; i++)     {         var user = new User {UserName = &amp;quot;user-&amp;quot; + i};         var </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/7586235718136700434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2011/03/nhibernate-32-batching-improvement.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/7586235718136700434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/7586235718136700434'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2011/03/nhibernate-32-batching-improvement.html' title='NHibernate 3.2 batching improvement'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUZxl5cEZrhJTucoNSwN1NOohLYGmlyawT-iI0xww3viyzdLmI7mj1S7k4h_3slVcKLSBKIJ8-XzUReS54Hm3EAUU6aUzun77I20KsqutFS8VV4BfJx1yhc7bLtZSlZivDsKvT4_xunU4/s72-c?imgmax=800" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-5470976552751530797</id><published>2010-11-15T10:17:00.029-03:00</published><updated>2010-11-15T19:47:26.795-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ConfORM"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><title type='text'>ConfORM : Any-to-Many</title><summary type="text">In the previous post I have asked a help about well known implementation patterns using interfaces in relations. Even if the feedback was zero I’m happy to say that ConfORM is now supporting case-1-2-3-4. In the meaning I was thinking about the case-6.
An interface is implemented by more than one root-entity or no-root-entity, and thus by its own hierarchies, and it is used as a </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/5470976552751530797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2010/11/conform-any-to-many.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/5470976552751530797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/5470976552751530797'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2010/11/conform-any-to-many.html' title='ConfORM : Any-to-Many'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-8784002723809824065</id><published>2010-11-05T15:44:00.003-03:00</published><updated>2010-11-06T15:58:10.417-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ConfORM"/><title type='text'>ConfORM : Thoughts about interfaces as relation</title><summary type="text">As said in the previous post the most “easy” part related to polymorphism is done. Now is the time to give more intelligence to the “muchachota” (some BuenosAires guy will understand what it mean… btw, for others, with&amp;nbsp; “muchachota” I’m referring to ConfORM project).

I need your help thinking about the behavior that ConfORM should have in these cases:

Case 1:
An interface is implemented </summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/8784002723809824065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2010/11/conform-thoughts-about-interfaces-as.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/8784002723809824065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/8784002723809824065'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2010/11/conform-thoughts-about-interfaces-as.html' title='ConfORM : Thoughts about interfaces as relation'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924739636407907202.post-4784726319685155691</id><published>2010-11-04T15:15:00.000-03:00</published><updated>2010-11-04T15:15:31.652-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ConfORM"/><category scheme="http://www.blogger.com/atom/ns#" term="NH3"/><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate"/><title type='text'>ConfORM: understanding polymorphism (interfaces)</title><summary type="text">The Domain
Three entities and two components some ones implementing the same interface.
The mappingvar entities = new[] { typeof(User), typeof(Email), typeof(InstantMessage) };
var orm = new ObjectRelationalMapper();
orm.TablePerClass(entities);
&amp;nbsp;
var mapper = new Mapper(orm);
mapper.Customize&amp;lt;IHasMessage&amp;gt;(x =&amp;gt; x.Property(hasMessage =&amp;gt; hasMessage.Message, pm =&amp;gt; { pm.Type(</summary><link rel='replies' type='application/atom+xml' href='http://fabiomaulo.blogspot.com/feeds/4784726319685155691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fabiomaulo.blogspot.com/2010/11/conform-understanding-polymorphism_04.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/4784726319685155691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924739636407907202/posts/default/4784726319685155691'/><link rel='alternate' type='text/html' href='http://fabiomaulo.blogspot.com/2010/11/conform-understanding-polymorphism_04.html' title='ConfORM: understanding polymorphism (interfaces)'/><author><name>Fabio Maulo</name><uri>http://www.blogger.com/profile/13558454874302740335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrlMvcXRjNwqif8XQiKVGhImSRP8fCvgugVND1qVOqVDosHssCwJN0zmQ3GZiTzBjUdXplD_arpewaZV_HBOJYqsoNUh88ENa0zlKzvgupbDNTdwS-DDU1zAdcGxSGWVw/s220/MAYA-g-log-cal-D10-Ok.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1IBXnsiUGhziMXf4X6uajPfIYtbsxcSqy27XqpiEEhGhP7762g6SHuxknBV4rF3NzjS9Zxu-rV5nnZhQlRyC01fptfMdqXGuNZWChkfrqmOewKMoKNoMft5WTqUOJzrWEALyDyONDQlQ/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry></feed>