Tipps Webspace Details Tools Windows Mobile Fun Development SQL Official Sites Virtualization Slide Decks Napster Storage BizTalk Media Center Tablet PC Shopping Diverse Searching Wii Templates Live Writer Silverlight Sidebar Gadgets SOA RFID SharePoint MindMapping Oslo Dublin Windows Azure TV WCF Twitter
André Dammeyer
Dipl. Informatiker, Developer & Software Architect

homeBlogOfADamdownloadssocial webresumecontact

BlogOfADam (rss)

Contains various stuff from André Dammeyer.


BizTalk + AppFabric, a very interesting combination for low latency scenarios, Donnerstag, 10. Juni 2010 21:27:31

feedback


HowTo: Dynamic Loading of XAML through WCF-Service, Donnerstag, 3. Juni 2010 23:03:21

Download VS2010-Solution.

  • Create a WCF-service with one method
    • String SubmitAndGetXaml(string commandParameter)
      • The method loads a Xaml file with the name that is specified by commandParameter from disk
  • Create a WPF-Application with a main window
    • The main window contains a ContentControl-control
  • Add a reference to the WCF-service
  • In the constructor call the SubmitAndGetXaml with a parameter that points to a Xaml-file in the WCF-service
  • Use XamlReader.Parse to parse the return value of the SubmitAndGetXaml-method
  • Assign the result of the XamlReader.Parse-method to the content-property of the ContentControl of the main window

To allow interaction within your dynamic loaded Xamls,…

  • Implement a generic button-handler with in the code-behind of the main window
  • Add "ButtonBase.Click='button_OnSubmit'" (where "button_OnSubmit" is the name of the generic button-handler) to the main window grid
  • Test if current button name is "Submit"
    • If the condition is true, call the SubmitAndGetXaml and use as parameter the CommandParameter-property of the button-object

Note: This has to be done for each type of control that needs some code-behind action.

feedback


HowTo: Access Local XML-File in a ClickOnce WPF-Application, Donnerstag, 3. Juni 2010 22:41:17

  • Create a XML-File in the Project (i.e. "myconfiguration.xml")
  • Mark it as "Content"
  • Set "Copy to Output Directory" to "Copy always"
  • Open "Project Properties", and go to "Publish"
  • Open "Application Files…", and set "Publish Status" to "Include"
  • The you can access the file like following
    • XDocument xdoc = XDocument.Load(System.IO.Path.Combine(Environment.CurrentDirectory, "myconfiguration.xml"));

feedback


HowTo: Create a ClickOnce WPF-Application, Donnerstag, 3. Juni 2010 22:39:18

Download as PDF.


Note: This is only a sample configuration of a ClickOnce WPF-Application. There are several other settings that might be interesting to study!

clip_image001

  • Go to "Project Properties-->Signing"
    • "Create Test Certificate…"

clip_image002

  • "More Details…"
    • And install the certificate

clip_image003

  • Go to "Security"-tab
    • Check "Enable ClickOnce security settings"
      • Choose "This is a full trust application"

clip_image004

  • Go to "Publish"-tab
    • Enter a "Publish Location", i.e. an IIS application folder

clip_image005

  • At "Install Mode and Settings", choose "The application is available offline as well"
  • Go to "Updates..."
    • Check "The application should check for updates"
      • Here choose "Before the application starts"

clip_image006

  • Go to "Options…"
    • Fill in some information, i.e. like the following

clip_image007

clip_image008

  • Define a ".htm"-page and check "Automatically generate deployment web page after every publish

clip_image009

feedback


Cool trick to map a local drive letter to a SkyDrive folder without third party software, Sonntag, 9. Mai 2010 15:34:22

feedback


Waiting for Windows Live Wave 4 because of the ability to store OneNote notebooks in SkyDrive, Sonntag, 9. Mai 2010 15:25:29

feedback


Problems with VMware USB Arbitration Service and suspend mode, Samstag, 20. Februar 2010 15:51:10

I am running Windows 7 x64 on a HP EliteBook 8530p. After installing latest VMWare Player (3.0.1) on the machine i got heavy issues after start from suspend mode. Sometimes the os hangs when suspending, and somtimes my usb or bluetooth hardware was not working anymore.

The only solution i found after many trial error sessions was to disable the service “VMware USB Arbitration Service” in the service control manager. That’s ok for me as a workaround, but clearly not acceptable.

But my hope is that Microsoft will support x64 OS’s with Windows Virtual PC.

feedback


Hyper-V supported Microsoft products, Samstag, 27. September 2008 18:28:22

Hyper-V is the new virtualization technology that Microsoft presents us with Microsoft Windows Server 2008.

Hyper-V is not only interesting for using in development- and testing-environments, but especially to reduce costs in production environments. Therefor it is essentially to know what Microsoft products are supported with Hyper-V. The full list of supported Microsoft products can be found here. And here is an abstract of some major server products from the list:

  • Microsoft BizTalk Server (at least 2009)
  • Microsoft SQL Server 2008
  • Microsoft Office SharePoint Server and Windows SharePoint Services
  • Microsoft Exchange Server
  • Microsoft System Center Operations Manager
  • ...

feedback


I just did it..., Sonntag, 4. November 2007 21:45:39

After a day of redesign an sorting out old crap into trash I just launched my new web site. My major goal was to get rid of all my old stuff, but not to throw anything away that might be further necessary for me. The solution was to save the old stuff into compiled help files and put'em on the new site under downloads.

Until now I will only write all my public notes into this blog.

Details

I used Microsoft Expression Web, Windows Live Photo Gallery, Microsoft Office Photo Tool, Microsoft Pain, Total Commander and nothing else:-)

feedback


Copyright © 2009 by André Dammeyer.