If you look at this post, you can see that I had some performance problem with regular expression. After the first round of optimization it turns out that performances are still quite slow. My next step will be to remove regular expression doing search by a custom algorithm.
I need to search word in text [...]
Suppose you have a legacy database, and an entity called ViewOfBaseData that have this id.
<composite-id class=”ViewOfBaseDataId” name=”Id” >
<key-many-to-one class=”LinkResult” name=”Link” column=”AnalysisId” lazy=”proxy” />
<key-property name=”AnalysisDate” type=”System.DateTime” column=”AnalysisDate” />
</composite-id>
Resulting SQL query is a simple join between the two tables, but now suppose you cannot use HQL [...]
Continue reading about NHibernate ICriteria and composite-id with key-many-to-one
I’ve come across this post, that deals about java and .net programmers. I must admit that the situation is the one depicted by the author, probably in the average, java programmers are better accustomed with stuff like DI, IoC, ORM, AOP, and design principle, respect of .net developer; but is it really ok to reduce [...]
The situation is the following: I have a web site (not a web application) that have one wcf service hosted with the classic svc file. Everything works as expected, until I use a Deployment Web Project to build a site with “allow the precompiled site to be updatable” to false. Now if I browse the [...]
Continue reading about Hosting wcf service in precompiled web sites
Castle has a great facility to resolve Wcf services with castle windsor. This is really useful because it helps you when your concrete service classes have dependency to be resolved. There are a lot of tutorials or blog posts on how to configure it when you want to host service in IIS, but little bit [...]
Continue reading about Castle Wcf facility integration on windows service or console.




