ayende.com
NHibernate Futures - Ayende @ Rahien
https://ayende.com/blog/3979/nhibernate-futures
Founder of Hibernating Rhinos LTD. You can reach me by phone or email:. Time to read 7 min. Let us take a look at the following piece of code:. Var s = sf.OpenSession() using. Var tx = s.BeginTransaction() { var blogs = s.CreateCriteria Blog () .SetMaxResults(30) .List Blog (); var countOfBlogs = s.CreateCriteria Blog () .SetProjection(Projections.Count(Projections.Id() ) .UniqueResult int. Console.WriteLine(" Number of blogs: {0}. Blogs) { Console.WriteLine(blog.Title); } tx.Commit(); }. To make things ...
ayende.com
Nice process, but what about the engineering bits? - Ayende @ Rahien
https://ayende.com/Blog/archive/2010/02/20/nice-process-but-what-about-the-engineering-bits.aspx
Founder of Hibernating Rhinos LTD. You can reach me by phone or email:. Nice process, but what about the engineering bits? Time to read 5 min. Software processes has always been a popular topic of discussion in our industry. Those can get quite heated, with advocates of the stable / stale Waterfall method pointing fingers toward rapid / rabid Agile methods, with the CMMI people throwing documents around and Lean people standing on the sidelines muttering about Waste. Why is that a problem? Getting to kno...
hanselman.com
Hacked! And I didn't like it - URLScan is Step Zero - Scott Hanselman
http://www.hanselman.com/blog/HackedAndIDidntLikeItURLScanIsStepZero.aspx
And I didn't like it - URLScan is Step Zero. August 11, '08. Posted in ASP.NET. My blog was down a few days ago. I've had downtime in the minutes over the last few years, but as far as I recall, it's never been down for any significant time. Keyvan noticed that a bunch of us were attacked. Phil Haack. Was also, ahem, haacked. UPDATE: To be clear, I wasn't. I host at ORCSWeb. Which just had a Beta Release in June. Was on fire. In fact, not so. Support for query string scanning, including an option to scan...
ayende.com
Repository is the new Singleton - Ayende @ Rahien
https://ayende.com/Blog/archive/2009/04/17/repository-is-the-new-singleton.aspx
Founder of Hibernating Rhinos LTD. You can reach me by phone or email:. Repository is the new Singleton. Time to read 5 min. I mentioned in passing that I don’t like the Repository pattern anymore much, and gotten a lot of responses to that. This is the answering post, and yes, the title was chosen to get a rise out of you. There are actually two separate issues that needs to be handled here. One of them is my issues with the actual pattern and the second is the pattern. So, what is the problem with that?