Natty Gur
Enterprise Architect on Enterprise Architecture
-
Creating infrastructure for displaying application visualization layer on Web and Windows.
Well, this idea isn't new. It's here for a long time specially for creating unified visualization layer for systems that can run on different hosts such as web, windows, Mac etc. the utopia is XML that will send to target display host and by using XSLT the right display format will be generate and display. Employing this operation on web application is straight forward and actually done today. But for windows application this is very complex task.
-
Beware from OBJECT tag inside Div
Today I notice buggy behavior of .NET designer. One of my client use windows user control on one of his web form to create rich client web application. To install the user control on the client side they use the object tag with code base attribute pointing to cab file responsible to register the user control assembly in GAC and register as COM object (the just follow one of MS KB's). While the page running from browser every thing works great but when they try to open the page in design mode if the got lucky they get never ending error messages "argumentexcaption HDC". If the don’t have luck they got the following message "CLSID_CorSymWriterSXS could not be created error &H80040154". That message won't disappear unless they reinstall CLR 1.1.
-
XAML styles
I play today with XAML styles. Generally they are very
similar to the Web style but sometimes they take other
approach. For example to change style as a result of
user actions on the page XAML styles required
additional tags instead of using the OnXXX syntax.
One nice feature that I run into is Style inheritance.
By using BasedOb attribute you can specify that one
style inherits other style behavior. You can also
override certain style attributes to change the base
style behavior.
Below you can find simple code that demonstrates style
changing on user action and style inheritance. -
Generics, it really helps!
-
Converting applications from 1.0 to 1.1.
Just finish converting of 24 web applications, on two machines cluster, from CLR 1.0 to CLR 1.1. All those application serve as one system that based on ASPX pages and assemblies using COM+ services. Due to large objects (85k +) memory clean problem of the CLR 1.0, which was solved in CLR 1.1, the aspnet_wp memory usage climb and users start to complain about performance. The only solution recommended by MS was switching to CLR 1.1.
-
Every 24 hours my Longhorn crash with NT_EVALUATION_TIME_EXPIRED
I installed Longhorn on machine with the required system configuration and finished the subscription process. The server is running 24 hours a day without any problems or crashes. but, after 24 hours of working I get this horrible blue screen with NT_EVALUATION_TIME_EXPIRED message. Of course after booting every think goes back to normal for the next 24 hours.
-
Bidi support… not in this version.
Well, I start to play with XAML. Since most of my client use Hebrew support in their application I thought it will be nice to create window application that will support right to left flow direction. It was pretty easy to find FlowDirection attribute but when I try to use it in my code:
-
Is Longhorn is going to bluer system boundaries?
-
Installing Longhorn amd whidbey, my story ...
At last I got time to sit down and try to install Longhorn on my machine. The installation goes straight with exception of getting the license key process which was too much longer. After 20 minutes the installation finished with annoying message about the Ethernet driver that couldn’t be found by the OS (its Compaq dt530s with on board Intel card). I download the latest driver form Compaq web site but the OS keeps on refusing to find the Ethernet driver. After hours of frustration I install other (external) Ethernet card and finally I’ve got network connection. But the story goes on … after connection the network wire the OS collapse with the beautiful unchanged blue screen of death… (At least I wasn’t in a middle of presentationJ)