Archive for the ‘ASP.NET’ Category

ASP.NET Intellisense in Visual Studio 2008

01:31 PM

Since yesterday I had no intellisense for standard ASP.NET Server Controls. Today I found a solution:

http://forums.asp.net/t/1205528.aspx

Quoting from the blog of Mikhail Arkipov (and the same goes for VS 2008)

I blogged earlier that in VS 2005 we switched from using static XML schemas to automatically generating them using reflection on Web controls. XML schemas are generated on demand as you open pages in your Web site. They contain information about ASP.NET controls, custom and user controls. You can find generated files cache in

C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\8.0\ReflectedSchemas

For Vista:

C:\Users\[Username]\AppData\Roaming\Microsoft\VisualStudio\9.0\ReflectedSchemas

A quick sketch of asynchronous View Models

01:13 PM

The How to make a loading graphic in WPF XAML? question on stackoverflow reminded me, that I wanted to write a short piece about the WPF infrastructure I’m currently writing. A first part was the Doing GUI architecture the Right Way where I describe the basic advantages of the View Model. Today I’m going to show some details of how this enables very smooth removal of background tasks from the UI Thread. Beware that this is work in progress, so edges might be rough.

The basic structure is three-fold: the Model where the actual data resides, the View which interacts with the user and the View Model as a intermediate layer. I will start out with describing the View, which is really thin. Afterwards I’ll talk a bit why the Model alone is not enough. In the last part I’ll describe my approach to filling the gap.

(more…)

ASP.NET 2.0 Web Server Here

09:17 AM

I found an useful Registryscript to start an ASP.NET Development Web Server from the Explorer.

http://weblogs.asp.net/rmclaws/archive/2005/10/25/428422.aspx

But there are two locations

“C:\Windows\Microsoft.NET\Framework\v2.0.50727\” and
“C:\Programme\Gemeinsame Dateien\Microsoft Shared\DevServer\9.0\”

Here is my Registry “Script”:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\Folder\\shell\\VS2005 WebServer]
@="ASP.NET 2.0 Web Server Here"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\Folder\\shell\\VS2005 WebServer\\command]
# @="C:\\\\Windows\\\\Microsoft.NET\\\\Framework\\\\v2.0.50727\\\\Webdev.WebServer.exe /port:8080 /path:\"%1\""
@="C:\\\\Programme\\\\Gemeinsame Dateien\\\\Microsoft Shared\\\\DevServer\\\\9.0\\\\WebDev.WebServer.EXE /port:8080 /path:\"%1\""