Deploying ASP.NET MVC to IIS 6 (Windows Server 2003)

by Matthias Broschk September 10, 2009 15:54
When you run your ASP.NET MVC application in Visual Studio's built-in web server, it works fine. But when you try to deploy it to a Windows 2003 system (or any other IIS 5 or 6 based web server), you will get a "404 Not found" error. This is due to the reason that on IIS 6 (or prior versions) ASP.NET is only executed if the URL contains a filename extension (such as .aspx) which mapped t... [More]

Tags: , , , ,

ASP.NET | IIS

Using ADO.NET Entity Framework classes with ASP.NET MVC

by Matthias Broschk August 15, 2009 00:05
The ASP.NET MVC framework provides an easy approach to create an ASP.NET application based on the Model-View-Controller pattern.  Without bringing any restrictions to your web applications (it supports existing ASP.NET features), it offers you the full benefits of the MVC pattern such as Test Driven Development. The ADO.NET Entity Framework (EF) is an object-relational-mapping framework for ... [More]

Tags: , , , ,

ADO.NET Entity Framework | ASP.NET MVC

WPF and MDI - Another alternative

by Matthias Broschk May 05, 2009 19:55
I have recently experimented with WPF and MDI. Last time I used the Win32 API in order to create a WPF-based child window within a WinForms-based MDI parent window. It did some more research and came up with a more sophisticated solution. The main problem remains: WPF does not (yet) provide build-in mechanisms for classic MDI management (besides from tab pages). So in order to use MDI (in my case... [More]

Tags: , , , ,

C# | WinForms | WPF

Creating a simple WYSIWYG HTML-Editor control (WinForms) with Visual Basic.NET

by Matthias Broschk May 03, 2009 23:43
Did you ever require a WYSIWYG HTML-Editor for your desktop application? Well, you could just buy one, but what is the fun of that? Prior to .NET 2.0 developers had to use the Microsoft.mshtml interop assembly in order to include the Internet Explorer's webbrowser control, but now such a control is part of the .NET framework. Please note that all of the following requires Internet Explorer to be i... [More]

Tags: , , , , ,

Visual Basic.NET | WinForms

Tiny Encryption Algorithm (TEA) in Visual Basic.NET

by Matthias Broschk April 04, 2009 12:08
I was recently looking for a simple, but efficient encryption algorithm, which I could use for a .NET Compact Framework application on my mobile phone. TEA (Tiny Encryption Algorithm) seemed to be a good choice and I even found a C# implementation on CodeProject. Since my project was written in VB.NET, I decided to rewrite the code. Since nowadays VB.NET supports unsigned data types and bitwise ... [More]

Tags: , , , ,

Compact Framework | Encryption | Visual Basic.NET

WPF and MDI

by Matthias Broschk April 03, 2009 15:27
I have recently started looking into WPF and have therefore started to update one of my old WinForms applications. It's GUI consists of a single MDI-container form and about 50 MDI-child forms, which are of course not visible at the same time. Surely I don't to want update all of these forms to WPF at once, but rather step by step. Fortunately you can use the old WinForms technology within... [More]

Tags: , , , , ,

WPF | Win32 API | C#

How to upload images to ImageShack using Visual Basic.NET

by Matthias Broschk March 10, 2009 13:07
ImageShack is a great image host. The best thing about it is the ImageShack XML API which makes it possible to programmatically upload images. This works just the same as uploading manually. Registration is not required, unless you intend to change or remove the images afterwards. The following code is based on something I found on MSDN. I added some improvements, such as a more flexible mime type... [More]

Tags: , , ,

Visual Basic.NET | ImageShack

Handling unhandled exceptions with WinForms

by Matthias Broschk December 17, 2008 21:28
Handling exceptions is not too difficult, if you know where to catch them. The problem are unhandled exceptions which might occur all over the application. Fortunately there is a way to catch (almost) all of them. Well, in most cases you won't be able to fix the problem and the program will terminate, but at least you can log them for further diagnosis. Basically there are two types of exceptions... [More]

Tags: , , , ,

C# | C++ | WinForms

Using the PayPal API via the SOAP interface (getting started)

by Matthias Broschk November 13, 2008 18:53
The PayPal API makes powerful functionality available to developers by exposing various features of the PayPal platform. It offers two interfaces: Name-Value Pair (NVP) interface Communication is achieved by using simple HTML. This is a lightweight approach, but mostly consists of constructing request URLs. More information are available here, but this will not be considered in this ... [More]

Tags: , , , ,

PayPal API | SOAP | Visual Basic.NET

How to delete Internet Explorer's temporary files and cookies with C#

by Matthias Broschk October 14, 2008 01:59
If your application uses the WebBrowser control, due to privacy/security concerns you might want to clean up the browser cache when the application terminates. The IE's temporary files are stored in a special sub-directory in your "Documents and Settings\[Username]\Local Settings' directory called Temporary Internet Files. Although this looks like a normal directory (when opened with Windows ... [More]

Tags: , , , ,

C# | Internet Explorer

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen | Modified by Mooglegiant

About the author

Matthias Broschk from Hamburg (Germany) wrote his first goto statements in QuickBasic at the age of fifteen, switched to Visual Studio (i.e. Visual Basic / Visual C++) at version 5.0 and has been an addict of .NET since its early beginnings. There have been many other languages and frameworks (Java, PHP, ... ), but none about which he has been as enthusiastic as .NET. These days you can find more information in blogs rather than anywhere else. Therefore he has decided to share his experiences and start yet another .NET blog.