In a team, communication between members is of great importance. I found that a lot of bug or mistakes in software development, quite often derive from incomplete or not well conducted analysis. I’m not an expert of software analysis, but I found that a quite good analysis, even an informal one, can give great benefit [...]
If you do not mind to issue a delete for each object, you can delete multiple objects using an overload version of the ISession.Delete() Method, here is an example. uow.Session.Delete("select A from ActionSpawned A where A.ParentAction = :act", ParentAction, NHibernateUtil.Entity(typeof(Action))); The code is quite concise, you specify the query to select a series of object, [...]
Continue reading about NHibernate and deleting a group of objects
I must admit that I do not like very much the XXXDataSource control of ASP.NET 2.0 library, but the ObjectDataSource is sometimes a quick solution to interface the UI with own LogicLayer. In a recent project I have a complex page that set up some complex filter for data in a Sql Server engine, the [...]
Continue reading about Find value of ASP.NET ObjectDataSource or SqlDataSource at runtime
This post is mainly a tralation of an old post in italian. Here is the source Code. QueryString is a common and easy way to move state between pages in web applications, but it can lead to a security problem. Suppose you are writing a forum engine, you write a simple page to edit a [...]
Continue reading about Secure your queryString with encription in asp.net 2.0
Using AcrobatSDK is damned a hard stuff, the documentation is too big, and there are lot of examples but quite often I do not find useful ones, the result is that I’m feeling lost into all the layers, functions etc. Moreover doing simple things is so damn hard…as an example, here is the code to [...]
Continue reading about AcrobatSDK Find the name of active document
