Quantcast
Channel: Development With A Dot
Browsing all 404 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

NHibernate and the Specification Pattern

My friend Zoran Maksimovic (@zoranmax) of Agile-Code, who was the technical reviewer of my NHibernate Succinctly book (and something else too…), invited me to write a guest post at his blog. The result...

View Article


Image may be NSFW.
Clik here to view.

NHibernate Pitfalls: One Shot Delete and Inverse Collections

This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.When you clear all items in an entity’s collection by calling it’s Clear() method, if it has cascading option...

View Article


Cascading Drop Down Lists in SharePoint

IntroductionA common request is the ability to have one drop down list (the child) being filled after another one (the parent) has; this is usually called cascading drop down lists.There are several...

View Article

Image may be NSFW.
Clik here to view.

Simple Calculations With .NET

The idea for this post came from a recent post of Salvador Gascon (@salvadorgascon): http://salvadorgascon.wordpress.com/2014/09/27/how-evaluate-math-expressions/.For simple math expressions...

View Article

NHibernate Pitfalls: Specifying Property Types

This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.When you want to specify an NHibernate type (implementation of NHibernate.Type.IType) for a property using...

View Article


Image may be NSFW.
Clik here to view.

ServiceStack Succinctly

ServiceStack Succinctly is the new addition to Syncfusion’s Succinctly series. It was written by by friend Zoran Maksimovic (@zoranmax), the main author and maintainer of Agile-Code.com.I had the...

View Article

Image may be NSFW.
Clik here to view.

Type Conversions in .NET

Sometimes we have an instance of some class that is not exactly the one we want. This can either be because it is not typed – is of type Object– or for some other reason. When that happens, we need to...

View Article

Image may be NSFW.
Clik here to view.

Nesting SPDataSource Controls

Sometimes, when you are using a SPDataSource control to bind to some list control, you might need, inside of it, to fetch information from the item you are iterating over.Imagine, for example, that you...

View Article


Lesser-Known NHibernate Features: Mapping a Class to a Query

Today I start a new series on lesser-known NHibernate features.Besides the normal mapping of a class to a table (or view, for that matter), it is also possible to map a class to a query. Do note that...

View Article


Image may be NSFW.
Clik here to view.

Lesser-Known NHibernate Features: Mixing Client and Server-Side Calls in...

Another not widely known feature of NHibernate: mixing client and server-side calls.To illustrate this, imagine that you want to calculate the difference between a mapped DateTime property and the...

View Article

Conditional Content in SharePoint Markup

In SharePoint, there are several web parts that allow us to have different contents depending on some conditions:LoginView (ASP.NET): allows the definition of templates per authenticated or anonymous...

View Article

Image may be NSFW.
Clik here to view.

Lesser-Known NHibernate Features: Entity Mode Map

This one is a real treat!When we use NHibernate or any other O/RM, we normally use classes to represent the database objects (tables or views). In NHibernate, this is called Entity Mode POCO– Plain Old...

View Article

Image may be NSFW.
Clik here to view.

Applying Code Access Restrictions in .NET

Sometimes there is the need or desire to resort to Aspect-Oriented frameworks (AOP) in order to add some validations or cross-cutting concerns. In several situations, it is indeed necessary, but .NET...

View Article


Image may be NSFW.
Clik here to view.

Unity - Part 7: Adding Interfaces

Another post on the Unity series, this time, adding interfaces to proxies. Previous posts here (Registration by Convention), here (Injecting Values), here (Extensions), here (Aspect-Oriented...

View Article

Lesser-Known NHibernate Features: Future Queries

Sometimes it makes sense to send several queries at the same time to the database server. This prevents multiple roundtrips and normally can provide results faster. Knowing this, NHibernate offers two...

View Article


Image may be NSFW.
Clik here to view.

Adding Markup to a SharePoint Page

How many times have you had the need to add ASP.NET markup – HTML and server-side control declarations – in a SharePoint page? Yes, there is the Script Editor Web Part and the Content Editor Web Part,...

View Article

Image may be NSFW.
Clik here to view.

TextBox With Suggestions in SharePoint

This control will suggest values for a text box from the values in a SharePoint list. It makes use of the HTML5 datalist element in a slightly customized TextBox control. 1:publicclass SPTextBox :...

View Article


Image may be NSFW.
Clik here to view.

Displaying Current Weather Status in SharePoint

OpenWeatherMap.org offers a nice service for obtaining current and forecast weather conditions. Go visit it, and search for the “weather in your city”. In the results page, by hovering the link, you...

View Article

Image may be NSFW.
Clik here to view.

Unity - Part 8: Web

IntroductionLong overdue in the Unity series, how to use Unity in a web application. You can find the other posts here (Adding Interfaces), here (Registration by Convention), here (Injecting Values),...

View Article

Entity Framework Pitfalls – Batch Modifications

Entity Framework does not support batch modifications, that is, UPDATEs or DELETEs of several entities at once. Neither classic nor Code First, not even Entity-SQL.For UPDATEs, you have to load each...

View Article
Browsing all 404 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>