Development With A Dot

Blog on development in general, and specifically on .NET



My Friends

My Links

Permanent Posts

Portuguese Communities

Browse by Tags

All Tags » Extensibility (RSS)
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...
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...
Delete By Id in NHibernate
NHibernate allows executable queries, that is, plain old UPDATEs , INSERTs and DELETEs . This is great, for example, for deleting an entity by its id without actually loading it. Note, that the following won’t give you that: 1: session.Delete(session...
ASP.NET Web Forms Extensibility: Handlers
In the .NET world, all HTTP requests, whether they be for web services (XML, WCF, Web API), pages (Web Forms and MVC), etc, are processed by a handler. Basically, a handler is a particular implementation of the IHttpHandler interface, and requests are...
NHibernate Extensibility Index
Updated on April 12th A list of all my posts on NHibernate extensibility: Strongly Typed Delete with NHibernate Implementing an Interceptor Using NHibernate’s Built In Dynamic Proxy Generator Querying an Uninitialized Collection with NHibernate Checking...
ASP.NET Web Forms Extensibility Index
Here you will find a list of all my posts on ASP.NET Web Forms extensibility . If you have any questions, comments or suggestions, do let me know! Providers Handler Factories Control Adapters Expression Builders Modules Tag Mapping URL Mapping Handlers
ASP.NET Web Forms Extensibility: URL Mapping
A long time before ASP.NET Routing came along, ASP.NET already offered a similar functionality: it was called URL mapping. URL mapping allows having virtual URLs that redirect to real ones. For example, you can have all requests for “/Product/IPhone”...
ASP.NET Web Forms Extensibility: Tag Mapping
There may be times when you want a particular setting applied to all controls of a given type, in all pages. Or you want to debug this control, but you don’t have access to it’s source code. Or you want to change its behavior. For that, you can use tag...
ASP.NET Web Forms Extensibility: Modules
Next in the series is modules. So, what is a module, and what does it do? A module is some class that implements IHttpModule . This is a very simple interface, which only defines two methods: Init : this is the “body” of the module, where you place it...
ASP.NET Web Forms Extensibility: Expression Builders
I have talked extensively about expression builders in the past, and that is because I find them extremely useful, for building no code solutions. In a nutshell, it is a design-time mechanism for executing a method which receives some parameters and returns...
More Posts Next page »