Quantcast
Channel: ALLINSIGHT » NET | ALLINSIGHT
Browsing latest articles
Browse All 9 View Live

Image may be NSFW.
Clik here to view.

Simple Ini class

This time I have a small snippet for you which is for simple processing of ini files. I programmed the snippet a long time ago. At this time I used an other naming convention for code than now. I hope...

View Article



Image may be NSFW.
Clik here to view.

Introducing Extension Methods for Arrays

With Extension methods you can extend the existing funtionality of objects and types. In this case we will extend the functionality of an Array. So we need to create two extensions. One for changing...

View Article

Image may be NSFW.
Clik here to view.

Implementation of a string reverse Extension Method

This is a follow-up of Introducing Extension Methods This method is an extension of the string-class. It reverts a string in a very efficient way and it is widely used around the world. Faster methodes...

View Article

Image may be NSFW.
Clik here to view.

Implementing IDisposable

In some cases it is necessary to cleanup unmanaged resources before the GC will do that. Because the GC only have the hand over managed but not unmanaged resources. So you won’t know when exactly...

View Article

Image may be NSFW.
Clik here to view.

Caching objects in .Net with MemoryCache

In .Net 4.0 Microsoft indroduces a new universal cache. For quite some time caches were already present in ASP.Net, but could (should) not be used in C# or VB.Net. With the new package...

View Article


Image may be NSFW.
Clik here to view.

Debug another application

Today I will show up how we could build an application that is able to can debug another. Since a while I got a problem to control an obsolete program that is productive for a while in the company I...

View Article

Image may be NSFW.
Clik here to view.

SerializableDictionary

Some days ago i got the problem, that I have to use a custom dictionary with as parameter for a service – therefore it must be serializable. I found an interessting solution from “Paul Welter” at his...

View Article

Image may be NSFW.
Clik here to view.

Visitor Pattern

As announced in my post about the “Null Object Pattern” I will explain the “Visitor Pattern” today. At the first time I maintained an application with visitors, I found it a bit confusing – Therefore I...

View Article


Image may be NSFW.
Clik here to view.

Limitation of Path.GetTempFileName

Welcome to a short trip to a concrete function of the .Net Framework: Path.GetTempFileName In my current project we have a lot of unit tests where a lot of temp files (created by Path.GetTempFileName)...

View Article

Browsing latest articles
Browse All 9 View Live




Latest Images