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

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#

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

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

WPF Converter: Formatting values with XAML

by Matthias Broschk July 13, 2008 14:03
  If you require to format bound object properties such as dates or values inside you XAML-code, the following converter might be useful. The converter uses the String.Format function, whereas the value and the format-String are passed as parameters. First the Visual Basic.NET implementation: Imports System.Globalization Imports System.Windows.Data Public NotInheritable Class FormatCon... [More]

Tags: , , , ,

WPF

Maintaining scroll position on postbacks with ASP.NET

by Matthias Broschk November 18, 2007 12:47
Although web applications have become more and more advanced over the last years there are still several issues that remind you that you basically deal with plain old html pages. One of those issues is the disturbing fact that when working with long web pages you always end up at the top left corner of the page after postbacks. It can be really a pain in the neck having to scroll back to where you... [More]

Tags: , ,

ASP.NET | JavaScript

How to parse Rapidshare URLs with C#

by Matthias Broschk May 03, 2004 02:20
File-hosters such as Rapidshare have been exploding everywhere within the last few years. Since it is common for the files to be split into several archives and the links to them are sometimes spread over one or even more web pages it can be a pain in the neck to gather them individually (. Therefore I wrote a small parser, which retrieves all Rapidshare links from a given URL by using Regular Ex... [More]

Tags: , ,

Misk

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.