Dienstag, Dezember 21st, 2010 | by Franz Kalchmair | Posted in .NET Framework, C#, Open Components Framework, WPF | 1 Comment »
Ein Medienbruch ist bei einem Arbeitsprozess immer eine Herausforderung. Aus rechtlichen oder technischen Gründen ist eine persönliche Unterschrift manchmal unumgänglich. Das unterschriebene Dokument soll jedoch ohne Aufwand wieder in den elektronischen Arbeitsprozess zurückgeführt werden können.
Ocf|Recognition löst diese Herausforderung mit QrCodes. Auf das gewünschte Dokument wird an einer definierten Position ein QrCode aufgebracht. Dieser QrCode stellt im wesentlichen eine eindeutige ID (Guid) dar. Das Dokument kann dann ausgedruckt und unterschrieben werden. Mit Ocf|Recognition lässt sich das unterschriebene Dokument wieder einscannen, wird über den QrCode
wiedererkannt und kann dem entsprechend in den elektronischen Arbeitsprozess wieder zurückgeführt werden.
Dienstag, Oktober 12th, 2010 | by Daniel Siegl | Posted in .NET Framework, Enterprise Architect | 2 Comments »
On my way to “debugging” NUnit Tests with Enterprise Architect. I ran into issues with the NUnit Console runner – EA’s Debugger wouldn’t properly attach to it.
So I started investigating how I could make a very very simple NUnit runner to help me on that. During my research I found one helpful thread on Stackoverflow.com
What I did to solve my Issue:
First I converted my Test.dll to a Test.exe
Then I had to add 3 NUnit Refrences to this Project
Now with the hints from the Stackoverflow thread it was very easy to prepare a program.cs that would execute my tests.
The first line is pretty important as it set’s up the NUnit framework:
CoreExtensions.Host.InitializeService();
The rest is pretty straightforward – find the name – add to the Testpackage – and Execute:
SimpleTestRunner runner = new SimpleTestRunner();
TestPackage package = new TestPackage("Test");
string loc = Assembly.GetExecutingAssembly().Location;
package.Assemblies.Add(loc);
if (runner.Load(package))
{
TestResult result = runner.Run(new NullListener());
}
I don’t care about the Results in my Scenario – as I collect the results from a second run with the console runner as described in my other post – for other scenarios it will be necessary to evaluate the results after the Tests are run.
Now running the Test.exe allows me to use Enterprise Architects Debugger just fine.
Montag, Oktober 11th, 2010 | by Daniel Siegl | Posted in .NET Framework, Enterprise Architect, Enterprise Architect Erweiterungen, Programmierung Allgemein | 6 Comments »
Lately I been investigating the options Enterprise Architect offers to record Sequence Diagrams from code, because we want to learn for LieberLieber AMUSE.
And I found a pretty interesting result:
It only takes into account “Classes” and not “Instances”.
There is two links that proved helpful – a video tutorial from Sparx Systems and a Blog post from Tom Peplow.
(weiterlesen…)
Freitag, Oktober 8th, 2010 | by Daniel Siegl | Posted in .NET Framework, Teamcity | 1 Comment »
Inspired by a blog post from Roy Osherove – I wanted to be able to fire up additional build agents for peak times.
Yesterday Mario from Codeforce joined me to consult us on how to move Teamcity Agents into Amazon EC2. It took us two hours including lunch
After our session Mario made a nice blog post on the Topic:
How to run the Build Process in the Cloud with Teamcity and Amazon EC2 « All about Cloud Computing
Now we can build LieberLieber AMUSE even faster
Donnerstag, Oktober 7th, 2010 | by Daniel Siegl | Posted in .NET Framework 4, Enterprise Architect | 14 Comments »
Enterprise Architect from Sparx Systems allows you to integrate NUnit unit tests into your project. As the new build of EA (8.863) now supports .net 4.0 I revisited this functionality and prepared a little walkthrough.
All of this work has been done on Windows 7 x64 with Visual Studio 2010. In order to have as little troubles as possible you have to go for the x86 version of the tools so everything works nicely. As EA is a x86 Application using the x64 Tools will not work.
In order run this you need at least NUnit 2.5.5 – where as I went with the latest Version NUnit 2.5.7
I prepared a simple demo solution in Visual Studio 2010 that consists of an Accounts an Accounts Test Project.

(weiterlesen…)
Mittwoch, September 22nd, 2010 | by Daniel Siegl | Posted in .NET Framework, Microsoft Surface, Silverlight, WPF | No Comments »
Today I found a XAML Clipart gallery that can come very handy! It already contains 12000+ Cliparts: Xamalot – Free XAML Clipart

Montag, Juli 26th, 2010 | by Andreas Bruckner | Posted in .NET Framework, Windows 7 Phone | No Comments »
How to find out, if your app is running in an emulator, or on a real device?
In July’s beta, Microsoft has moved this property from System.Environment to Microsoft.Devices.Environment namespace.
//enum DeviceType contains: Device, Emulator
this.IsEmulator = (Microsoft.Devices.Environment.DeviceType == DeviceType.Emulator);