Category Archives: .NET

.NET Category

WPF 3D Programming

WPF uses DirectX as its rendering engine. The framework allows much more than only 2D programming. Before we start with a simple 3D example, you should know some basics: 3D model A 3D model is an object that will be presented in your application. A model is defined by triangles. The triangles together build up… Read More »

WCF basicHttpBinding and Https

Running a WCF service (svc) with basicHttpBinding and Https needs some configuration inside the web.config. First create a website for your service in IIS with a Https (port 443) binding. For this example, I created a test certificate with makecert.exe. Now develop your WCF service with default ABC-configuration (Binding = basicHttpBinding). Open the the service… Read More »

SQL Server and “M”

I found an interesting link about the feature of SQL Server: Microsoft will release a new language called “M”. Link: Update on SQL Server Modeling CTP (Repository/Modeling Services, “Quadrant” and “M”)

Dynamic IIS hosted WCF Service

For hosting WCF Services in IIS you usually need a .svc file. This File exposes your Service. With ASP.NET virtual Paths you have the opportunity to load your service without a .svc file. You can put the WCF Service inside a DLL without adding a reference to the ASP.NET WebApp. Implementation: – Create a Class… Read More »

Architecture validation with Visual Studio 2010 Ultimate

The new version of Visual Studio (Ultimate) brings a lot of new architecture features with it. It allows you to create UML sequence diagrams from extisting code. Or it visualizes the most important components in your application. This visualizations are very helpful when you have to modificate/extend an existing project written by other developers. Here… Read More »

Batch processing with Entity Framework .NET

Entity Framework is a built-in ORM in .NET. It’s great to work with. It handles the complete data access for you. (Connection, query generating, executing of SQL commands etc.) The performance is OK, if you don’t work with lot of data. The current release (.NET 4.0) doesn’t support batch processing. That means: If you add… Read More »

Aspect-oriented programming (AOP) with Spring.NET

The motivation of aspect-oriented programming is to separate program logic. Application can be devided in two concerns. 1. Core: Contains the program/business logic like calculation etc. 2. System: Contains system specific processes like logging. In this example, I show you how to implement a AOP based logger. Logging is something you need very often. But… Read More »