Quantcast
Channel: palmmedia.de
Browsing latest articles
Browse All 44 View Live

ASP.NET MVC - Routing of Legacy URLs

When you convert an existing ASP.NET application to ASP.NET MVC you will sooner or later want to handle legacy URLs. Imagine an ASP.NET application containing the page "YourPage.aspx". Now you want to...

View Article



Image may be NSFW.
Clik here to view.

ASP.NET MVC - SampleApplication based on Entity Framework 4.0

The intention of the MVCSampleApplication was to build a sample application using the latest .NET technologies.The ASP.NET MVC application provides a simple guestbook, where users can register and post...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET MVC - Developing a custom blog engine

A few weeks ago I decided to start blogging. Since my website existed for some years I chose to write my own blog engine and integrate it into the existing layout. With Oxite an open source engine...

View Article

Image may be NSFW.
Clik here to view.

MSBuild - Code Coverage Analysis with PartCover and ReportGenerator

Ever since NCover has not been free any more, I use PartCover, which is available under the GNU General Public License (GPL). In this post I will show how you could generate a nice 'Code Coverage...

View Article

ASP.NET MVC - How to protect your website against spam

When your use forms on your website, spammers will very soon be trying to inform your visitors about their "great" products. In this post I will show you how to protect your website by using a simple...

View Article


Image may be NSFW.
Clik here to view.

Deploying ClickOnce-application based on .NET 3.5 SP1 to IIS 6

Today I had to create a ClickOnce installation for a VSTO Word 2003 Addin. Until I finally managed to deploy it to an IIS 6 webserver, some problems had to be solved. First you have to configure your...

View Article

Image may be NSFW.
Clik here to view.

WPF - Animation of graph algorithms - Part 1

A few years ago I had to create some animations of graph algorithms. That meant two things: I had to implement algorithms like Dijkstra or Kruskal and then create a visual representation of the...

View Article

Image may be NSFW.
Clik here to view.

WPF - Animation of graph algorithms - Part 2

In the first part of this series I showed how to implement a data structure for graphs.Now let's continue with the UI. The UI should be capable of creating graphs consisting of nodes and edges with...

View Article


VSTO - Speech recognition in Outlook Addin with .NET

In this article I will show how you could create an Outlook Addin that enables you to enter the recipients of an email by speech.First we setup the speech recognition engine with the contacts from the...

View Article


ASP.NET - Count feed subscribers without Feedburner

The most important advantage of Feedburner is the subscriber count. But Feedburner is not an option for everyone, since the address of your feed changes if you move it to Feedburner.You could redirect...

View Article

Image may be NSFW.
Clik here to view.

WPF - Search and highlight text in DocumentViewer programmatically

The DocumentViewer is a great control for showing XPS documents in a WPF application. You can zoom and search the document, but the control does not provide a public API for its Find functionality....

View Article

Image may be NSFW.
Clik here to view.

.NET 4.0 - Performance of Task Parallel Library (TPL)

The upcoming .NET Framework 4.0 will contain the new Task Parallel Library (TPL). The TPL will be used by PLINQ, which is a parallel implementation of LINQ to Objects.PLINQ makes it easier to take...

View Article

PartCover - Coverage of unexecuted methods

During the last weeks I received several emails pointing me to a potential issue in my tool ReportGenerator. The problem is that methods that have not been executed during a test run using PartCover,...

View Article


PartCover - Coverage of unexecuted methods - Part 2

A few weeks ago I blogged about a problem concerning coverage of unexecuted code in PartCover. The problem was that the report generated by PartCover does not contain any coverage information about...

View Article

Image may be NSFW.
Clik here to view.

PHP - Print article about Piwi

An article about the Piwi Framework, written by Christian Grobmeier and myself, appeared in the latest edition of the PHP Magazin. The article is a basic introduction to the framework. It covers the...

View Article


Image may be NSFW.
Clik here to view.

.NET - Starting programs by speech

Did you ever search an application in your start menu? Even with the search bar of Windows 7 or Windows Vista it takes some time to select the right shortcut. In this article I will show you a tool,...

View Article

Image may be NSFW.
Clik here to view.

AOP - Interception with Unity 2.0

Unity is a well known dependency injection container. Custom extensions can be created to extend its functionality. The download of Unity contains an extension for interception. In this post I will...

View Article


Android - First impressions

The Android market share is continuously growing. So I decided to create a Yahtzee application to get some experience in android development. In this post I will compare Windows Phone 7, which has...

View Article

Image may be NSFW.
Clik here to view.

Android - Yahtzee application with shake detection

During my experiments with Android, I have created a Yahtzee application with shake detection. In this post I will give you an overview of the application and show you how to implement shake...

View Article

Image may be NSFW.
Clik here to view.

.NET 4.0 - Covariance and contravariance

Today I took a look at the new covariance and contravariance features of .NET 4. In this post I will explain the theoretical background and will provide some practical examples.The code snippets cover...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET MVC 3 - Razor based blog engine with SQL CE 4.0

About one year ago a created a blog engine which was based on ASP.NET MVC 1. Since then technologies have evolved. When ASP.NET MVC 3 was released, I decided to update my blog engine to use the new...

View Article


Image may be NSFW.
Clik here to view.

VSTO - Importing Google contacts to Outlook 2007

For a long time I have been using Outlook to manage my contacts and appointments. I always synchronized my mobile phone with Outlook. After buying an Android device things have changed. Now I use...

View Article


Image may be NSFW.
Clik here to view.

MetroBackUp - Applying Metro UI and Flow Design (Event-Based Components)

Four years ago I wrote one of my first WPF applications. It was named 'BackUp' and enabled you to keep directories in sync (similiar to Microsoft's SyncToy).Actually I learned a lot of the WPF stack by...

View Article

Image may be NSFW.
Clik here to view.

Code Coverage - Testing with OpenCover and PartCover

Just some days ago, a new code coverage tool was released for the first time. It's called OpenCover. Shaun Wilde created this tool, since PartCover 4 has some issues that are difficult to resolve with...

View Article

Image may be NSFW.
Clik here to view.

IoC Container Benchmark - Performance comparison

In this post I will do a performance comparison of the most popular IoC containers.Of course performance is not the only criteria when choosing a container for a project. Perhaps you need features like...

View Article


YAGNI - 'Poor-mans CQRS' sample application with Entity Framework

This week Daniel Lang published an interesting article about unnecessary overhead in simple applications.In a nutshell he proposes an architecture called "Poor-mans CQRS". In his sample he uses an...

View Article

Reflection vs. compiled expressions vs. delegates - Performance comparision

I'm currently working on an application which uses reflection to create a generic UI. Therefore I was interested in the performance impact of reflection. In this post I will do a comparison between the...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET MVC - Generic filtering based on expressions

Recently I was asked to implement a reusable filtering mechanism in an ASP.NET MVC application. To be more concrete: A website shows a grid containing arbitrary data. The user should be able to enter a...

View Article

Image may be NSFW.
Clik here to view.

ReportGenerator - New release with more advanced report preprocessing

ReportGenerator 1.3.0.0 has just been published. The new release offers some new features which I want do describe in this post.Improved report preprocessingThe coverage reports generated by...

View Article



Image may be NSFW.
Clik here to view.

SQL Server 2012 - Access database with Windows authentication using IIS

After setting up Windows 8 and SQL Server 2012 my ASP.NET applications were not able to access my SQL databases.Whenever I have to setup a PC in the future, I don't want to waste my time (again) to...

View Article

Windows 8 - Powershell Here with VS 2012 Tools

The PowerToy Open Command Window Here has been a very useful extension for Windows XP.With Windows 7 and Windows 8 the PowerShell is a good replacement for cmd.exe. This post shows how you PowerShell...

View Article

Image may be NSFW.
Clik here to view.

CruiseControl .NET - Integration of coverage reports

Some time ago somebody on Stackoverflow asked how to integrate OpenCover results into CruiseControl .NET. After being asked again, I decided to write a tutorial to show how CC.NET has to be configured....

View Article

Image may be NSFW.
Clik here to view.

ReportGenerator - New release with coverage by test support

Since my last blog post about ReportGenerator a couple of features have been added. In this post I will describe the most important changes.Apart from reduced memory usage and the possibility to...

View Article


Image may be NSFW.
Clik here to view.

RSS Feed - Alternatives for Google Reader

Dear reader, only one week is left until Google will shut down its popular Feed Reader. Since RSS is still relevant, it's time to migrate to another service. There are some alternatives that you could...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET MVC 4 - Blog engine based on Twitter Bootstrap

It's time to update my blog engine which I published some time ago. The updated version is now based on ASP MVC 4 and uses Twitter Bootstrap 3 instead of a custom CSS file. In this post I will give a...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET MVC - Authentication (Two-Factor, MembershipProvider, SimpleMembership)

Most web applications are using username and password for authentication. ASP.NET supports this concept since the very beginning. With MVC 4 Microsoft also introduced the SimpleMembership, which makes...

View Article


Image may be NSFW.
Clik here to view.

GIT - Creating a merged graph of GIT history using yUML

Two years ago Phil Haack created a tool called SeeGit. The tool visualizes the history of a GIT repository. I decided to create a similar tool which uses yUML diagrams to render the history graph.My...

View Article


Image may be NSFW.
Clik here to view.

ReportGenerator - New release with custom report plugins and F# support

ReportGenerator 2.0 has just been released. The new version contains some new features and improvements. This blog post will give a brief overview of the most important changes.Custom reports using MEF...

View Article

Image may be NSFW.
Clik here to view.

ReportGenerator - New beta with history/trend charts

ReportGenerator 2.1 has just been published as a beta release. This blog post will explain the new feature trend/history charts and some other improvements.Trend/history chartsWhen you use the new...

View Article

Image may be NSFW.
Clik here to view.

ReportGenerator - New release with enhanced HTML report and Cobertura support

ReportGenerator 2.5 has just been released. This latest version has some enhancements in the HTML report and and some other improvements.Summary report enhancementsThe design of the reports changed a...

View Article

Image may be NSFW.
Clik here to view.

ReportGenerator - New release with risk hotspots analysis

ReportGenerator 3.1 has just been released. The new version ships with a new risk hotspot analysis and several other improvements.Summary report enhancementsIf you are using OpenCover you will notice a...

View Article


ASP.NET Core - Model Binding of abstract classes

Last week I updated my old blog post to ASP.NET Core. Since the DefaultModelBinder class does not exist any more, I had to rewrite my model binding code.My controller action takes a collection of an...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET Core - Angular application with Windows auth

Visual Studio 2022 does not provide an option to scaffold an Angular application with Windows authentication. In this blog post I document the required steps to get Windows authentication working for...

View Article

Browsing latest articles
Browse All 44 View Live




Latest Images