Development With A Dot

Blog on development in general, and specifically on .NET

Sponsors

News

My Friends

My Links

Permanent Posts

Portuguese Communities

Browse by Tags

All Tags » .NET (RSS)
Taking Picture Snapshots with ASP.NET and HTML5
This is another post on HTML5 and ASP.NET integration . HTML5 brought along with it a number of great JavaScript APIs; one of them is getUserMedia , which is W3C standard and you can get a good description of it in MDN . In a nutshell, it allows access...
Making Better Use of the NHibernate HiLo Generator
Introduction NHibernate’s HiLo (High-Low) id generation algorithm is one of the most commonly used, and for good reasons: It is database-independent, that is, does not rely on any database-specific functionality such as SQL Server’s IDENTITY and Oracle...
ASP.NET Callback Panel
Continuing with my quest for reusable, no dependencies, Web Forms AJAX controls , this time I wanted a replacement for the venerable UpdatePanel control. Specifically, I wanted to address the following issues: Allow the partial update of a region on my...
Speech Synthesis with ASP.NET and HTML5
The .NET framework includes the SpeechSynthesizer class which can be used to access the Windows speech synthesis engine. The problem with web applications is, of course, this class runs on the server. Because I wanted a mechanism to have speech synthesis...
NHibernate Pitfalls: Aggregating Non-Nullable Numerical Values Without Records
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here . When you are performing a LINQ query that aggregates non-nullable numeric values – Sum, Average, for example – and the query does not return any values, you...
ASP.NET Upload Panel
Introduction I have been playing recently with HTML5, and one thing that I got to understand really well was the new upload mechanisms available. Specifically, I wanted to understand how Sky OneDrive , Google Drive , Dropbox , etc, all support dropping...
NHibernate Connection Resiliency
Entity Framework 6 included a feature known as connection resiliency. Basically, what it says is, when EF is trying to connect to a database, it will try a number of times before giving up. After each unsuccessful attempt, it will wait some time and then...
NHibernate Pitfalls: Outer Joins of Unrelated Entities
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here . NHibernate does not support outer (left, right, full) joins in most of its querying APIs, namely, Criteria, Query Over, LINQ and HQL. Of course, LINQ is translated...
Custom NHibernate Criteria Projections
I recently had the need to investigate a way to do some complicated projections with Criteria queries and I was faced with what seems a common problem: being able to fully select the properties of the root entity of the criteria. An issue has been raised...
NHibernate Fluent Validation
Some time ago, I wrote a post on fluent validation for Entity Framework Code First. I think it is a cool concept, and I decided to bring it into NHibernate! In a nutshell, what I want to be able to achieve is something like this: 1: var validation = sessionFactory...
More Posts Next page »