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

Profiling SQL Server in .NET

The main tool for profiling SQL Server is, of course, SQL Server Profiler. You can, however, achieve more or less the same results using .NET, I'll show you how.First, you need to have assemblies...

View Article


Skill Up - Learn More to Earn More

PACKT Publishing made freely available its Skillup Reports: basically, it is a set of comprehensive reports for different technical areas - web development, app development, data development, sys admin...

View Article


Image may be NSFW.
Clik here to view.

Interception in .NET – Part 1: Introduction

Interception is the capability by which developers can inject behavior dynamically into existing methods or properties, before, after or instead of their execution. A common paradigm is Aspect-Oriented...

View Article

Interception in .NET – Part 2: Dynamic Interception

This is part two of a series of posts on interception in .NET. You can find the first part here.Interception TargetsThere are two possible targets for interception:Types, such as classes or...

View Article

Image may be NSFW.
Clik here to view.

Blend for Visual Studio 2012 by Example Review

IntroductionI was recently asked by Packt Publishing to review another of their books. This time it was Blend for Visual Studio 2012 by Example, a book by Abhishek Shukla (@abbeyshukla), apparently,...

View Article


Image may be NSFW.
Clik here to view.

Local Machine Interprocess Communication with .NET

IntroductionTL; DR; A description of several techniques to pass messages between processes running on the same machine.At times, there is the need for multiple processes running on the same machine to...

View Article

Image may be NSFW.
Clik here to view.

Blend for Visual Studio 2012 by Example: Beginner’s Guide Discount Offer

I recently published a review of Pack Publishing’s new book, Blend for Visual Studio 2012 by Example - Beginner’s Guide. Well, guess what, Pack is offering a 50% offdiscount if you buy it between 17th...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET Multitenant Applications Succinctly Released

My fourth title for the Succinctly series has just been released: ASP.NET Multitenant Applications Succinctly!This time, it’s about writing multitenant applications with ASP.NET. It was fun to write,...

View Article


Entity Framework Pitfalls: Lazy Loading and Proxy Creation

There are two properties that control the ability to lazy load navigation properties:LazyLoadingEnabled: controls whether navigation properties marked as virtual will be lazy loaded, that is, loaded on...

View Article


Entity Framework Pitfalls: Using Stored Procedures for Basic Operations

Entity Framework, as of version 6, allows the usage of stored procedures for its CUD (Create, Update and Delete) operations. We just need to override the DbContext’s OnModelCreating method and call...

View Article

Java Flaws

One thing I didn’t talk about in my Java vs C# series (by the way, more to come soon) was some things that I think Java got wrong.One of these things has to do with serialization. Java offers the...

View Article

Entity Framework Pitfalls: DbConfiguration Classes Are Automatically Loaded

Entity Framework, since version 6, allows us to specify certain aspects of its configuration by code through a DbConfiguration-derived class. This configuration can be specified in one of three ways:A...

View Article

Lesser-Known NHibernate Features: Executable HQL

var records = session.CreateQuery("update Person p set p.Email = p.Email + p.Username + '@somedomain.com' where p.Email is null").ExecuteUpdate();What happens when you need to bulk change a lot of...

View Article


Ongoing Series of Posts

So, for your – and my – information, these are the post series currently going on in my blog:NHibernate Pitfalls: a big list of NH pitfalls; not all are negative, but perhaps unexpected;Lesser-Known...

View Article

Custom .NET Data Provider

The .NET framework offers a provider model for ADO.NET. It is possible to register ADO.NET providers that can be used to dynamically create connections and other kinds of objects:var myProvider =...

View Article


Type Converter to Type

What happens when you need to pass a type as a string? Well, if the string is an assembly qualified type name, and if the assembly is either in Global Assembly Cache or in a known location – such as...

View Article

Data Platform Airlift 2015

Today I had the great pleasure to attend the Data Platform Airlift 2015 event, at Microsoft Portugal! Moreover, I presented a session together with Luís Calado on what’s new in the Azure world! My part...

View Article


Elastic Object Implementation in .NET

I think it was Anoop Madhusudanan (aka, amazedsaint) who first coined the term “Elastic Object”. He even built an implementation, which you can find on GitHub and NuGet, which is very nice. Basically,...

View Article

Image may be NSFW.
Clik here to view.

Correlation Id Scope

A correlation id is an enterprise messaging pattern that helps bind together several messages. If they have the same correlation id, then they must be somehow related. Several servers and service bus...

View Article

Image may be NSFW.
Clik here to view.

Unity, Part 11: Integrating With Azure Application Insights

Another one for the Unity series.Lately I’ve been playing with Azure Application Insights. Nice thing, even if – at least, for the moment – not as powerful as some of its contesters. A thing that came...

View Article
Browsing all 404 articles
Browse latest View live