# Thursday, June 10, 2010

This is *real* value:

image

The “Add References Dialog” modified by Visual Studio 2010 Pro Power Tools Pro.

I really love the “Search” box!!!

Thursday, June 10, 2010 9:35:10 PM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, May 27, 2010

I’m proud to announce our first open source project released on GitHub.

The Docx2UnitTest Code Generator is based on an idea of Thomas Bandt. You can read his blog post here.

Philip Proplesch started out with a T4 template (of course edited with Tim Fischer’s fabulous tangible T4 Editor). After he told me about it I had the idea of doing it with a code generator (Visual Studio custom tool). The advantage is that you do not need to copy the T4 files around.

Spend the last few nights pair coding (thanks to my girlfriend for the time to build this amazing stuff!!!)…

Docx2UnitTest
A Visual Studio 2010 custom tool to generate unit tests from Microsoft® Word® 2007/2010 documents.

Supported frameworks are:
- MsTest
- NUnit
- XUnit

Features:
- It keeps the implementation of tests during re-generation.
- It keeps test methods attributes

image

Just add a *.docx file to a project in Visual Studio. The test classes will be generated immediately.

image

So give it a try and give us some feedback – I bet the regex to keep the existing code can be improved :-)

Btw: The colorful things in my IDE are TestLint from Typemock and ReSharper from JetBrains.

Get it here on GitHub…

Thursday, May 27, 2010 3:06:17 PM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [0]  | 
# Sunday, May 23, 2010
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.InvalidOperationException: An exception was thrown in a call to a WSDL export extension: System.ServiceModel.Description.DataContractSerializerOperationBehavior
 contract: http://devcoach.com/services//:ICollectionService ----> System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
   at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
   at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
   at System.Reflection.CustomAttribute.IsCustomAttributeDefined(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable)
   at System.Reflection.CustomAttribute.IsDefined(RuntimeType type, RuntimeType caType, Boolean inherit)
   at System.RuntimeType.IsDefined(Type attributeType, Boolean inherit)
   at System.Runtime.Serialization.CollectionDataContract.IsCollectionDataContract(Type type)
   at System.Runtime.Serialization.CollectionDataContract.IsCollectionOrTryCreate(Type type, Boolean tryCreate, DataContract& dataContract, Type& itemType, Boolean constructorRequired)
   at System.Runtime.Serialization.CollectionDataContract.TryCreate(Type type, DataContract& dataContract)
   at System.Runtime.Serialization.DataContract.DataContractCriticalHelper.CreateDataContract(Int32 id, RuntimeTypeHandle typeHandle, Type type)
   at System.Runtime.Serialization.DataContract.DataContractCriticalHelper.GetDataContractSkipValidation(Int32 id, RuntimeTypeHandle typeHandle, Type type)
   at System.Runtime.Serialization.DataContract.GetDataContractSkipValidation(Int32 id, RuntimeTypeHandle typeHandle, Type type)
   at System.Runtime.Serialization.DataContract.GetDataContract(Int32 id, RuntimeTypeHandle typeHandle, SerializationMode mode)
   at System.Runtime.Serialization.DataContract.GetDataContract(RuntimeTypeHandle typeHandle, Type type, SerializationMode mode)
   at System.Runtime.Serialization.DataContract.GetDataContract(Type type)
   at System.Runtime.Serialization.DataContractSet.GetDataContract(Type clrType)
   at System.Runtime.Serialization.DataContractSet.GetMemberTypeDataContract(DataMember dataMember)
   at System.Runtime.Serialization.DataContractSet.AddClassDataContract(ClassDataContract classDataContract)
   at System.Runtime.Serialization.DataContractSet.InternalAdd(XmlQualifiedName name, DataContract dataContract)
   at System.Runtime.Serialization.DataContractSet.Add(XmlQualifiedName name, DataContract dataContract)
   at System.Runtime.Serialization.DataContractSet.Add(DataContract dataContract)
   at System.Runtime.Serialization.DataContractSet.Add(Type type)
   at System.Runtime.Serialization.XsdDataContractExporter.AddType(Type type)
   at System.Runtime.Serialization.XsdDataContractExporter.Export(Type type)
   at System.ServiceModel.Description.MessageContractExporter.ExportType(Type type, String partName, String operationName, XmlSchemaType& xsdType)
   at System.ServiceModel.Description.DataContractSerializerMessageContractExporter.ExportBody(Int32 messageIndex, Object state)
   at System.ServiceModel.Description.MessageContractExporter.ExportMessage(Int32 messageIndex, Object state)
   at System.ServiceModel.Description.MessageContractExporter.ExportMessageContract()
   at System.ServiceModel.Description.DataContractSerializerOperationBehavior.System.ServiceModel.Description.IWsdlExportExtension.ExportContract(WsdlExporter exporter, WsdlContractConversionContext contractContext)
   at System.ServiceModel.Description.WsdlExporter.CallExtension(WsdlContractConversionContext contractContext, IWsdlExportExtension extension)
   --- End of inner ExceptionDetail stack trace ---
   at System.ServiceModel.Description.WsdlExporter.CallExtension(WsdlContractConversionContext contractContext, IWsdlExportExtension extension)
   at System.ServiceModel.Description.WsdlExporter.CallExportContract(WsdlContractConversionContext contractContext)
   at System.ServiceModel.Description.WsdlExporter.ExportContract(ContractDescription contract)
   at System.ServiceModel.Description.WsdlExporter.ExportEndpoint(ServiceEndpoint endpoint, XmlQualifiedName wsdlServiceQName)
   at System.ServiceModel.Description.WsdlExporter.ExportEndpoints(IEnumerable`1 endpoints, XmlQualifiedName wsdlServiceQName)
   at System.ServiceModel.Description.ServiceMetadataBehavior.MetadataExtensionInitializer.GenerateMetadata()
   at System.ServiceModel.Description.ServiceMetadataExtension.EnsureInitialized()
   at System.ServiceModel.Description.ServiceMetadataExtension.get_Metadata()
   at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.InitializationData.InitializeFrom(ServiceMetadataExtension extension)
   at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.GetInitData()
   at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.TryHandleDocumentationRequest(Message httpGetRequest, String[] queries, Message& replyMessage)
   at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.ProcessHttpRequest(Message httpGetRequest)
   at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.Get(Message message)
   at SyncInvokeGet(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

 

Even redirecting the version by config doesn’t work:

<runtime>
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
      <assemblyIdentity name="System.Runtime.Serialization" publicKeyToken="b77a5c561934e089" />
      <bindingRedirect oldVersion="2.0.5.0" newVersion="4.0.30319.1" />
    </dependentAssembly>
  </assemblyBinding>
</runtime>

Grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

Sunday, May 23, 2010 6:19:22 AM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, May 13, 2010

I’m proud to announce our first open source project released on GitHub.

The Docx2UnitTest Code Generator is based on an idea of Thomas Bandt. You can read his blog post here.

Philip Proplesch started out with a T4 template (of course edited with Tim Fischer’s fabulous tangible T4 Editor). After he told me about it I had the idea of doing it with a code generator (Visual Studio custom tool). The advantage is that you do not need to copy the T4 files around.

Spend the last few nights pair coding (thanks to my girlfriend for the time to build this amazing stuff!!!)…

Docx2UnitTest
A Visual Studio 2010 custom tool to generate unit tests from Microsoft® Word® 2007/2010 documents.

Supported frameworks are:
- MsTest
- NUnit
- XUnit

Features:
- It keeps the implementation of tests during re-generation.
- It keeps test methods attributes

image

Just add a *.docx file to a project in Visual Studio. The test classes will be generated immediately.

image

So give it a try and give us some feedback – I bet the regex to keep the existing code can be improved :-)

Btw: The colorful things in my IDE are TestLint from Typemock and ReSharper from JetBrains.

Get it here on GitHub…

Thursday, May 13, 2010 1:55:40 AM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [7]  | 
# Thursday, May 06, 2010

Heute haben wir mal ein richtig spannendes Thema in der Usergroup: “.NET mit Maschinen”

Klaus Eichhorn und Christian (a.k.a. Olaf) zeigt wie in seiner Firma (KES) .NET in der Entwicklung zum Einsatz kommt. Das Interessante daran ist, dass hier mal die Software nicht in der *virtuellen Welt"* bleibt. Die KES macht Steuerungstechnik und hat z.B. eine Maschine für Reibschweißen zusammen mit der Hochschule in Magdeburg entwickelt. Sowohl Siemens, als auch Bosch werden mit einem ganzheitlichen Ansatz bedient.

image

Was ist eine Speicher Programmierbare Steuerung (SPS)? Was sind die Vorteile?

image

Vom Stromlaufplan über  KOP und  FUP zu AWL!

image

Die Sinumerik 840D! Die Plattform ist ein Windows XP mit installiertem .NET Framework…

image

G01 X100 Y10 F1000

image

Und dann in .NET :-)

Thursday, May 06, 2010 9:24:08 PM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, April 22, 2010

Tomorrow in Cologne: Artist MC supports Mos Def

flyerMosDef

Thursday, April 22, 2010 9:28:45 AM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, March 24, 2010

I really like the FireFox personas feature – hey IE Team: ever thought about customization :-P

Here is mine: http://www.getpersonas.com/en-US/gallery/Designer/lennybacon

Wednesday, March 24, 2010 2:42:30 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, February 25, 2010

Since a few weeks I’m running a 15” MacBookPro beside my beloved HP 8510w as a productive workstation. Because a lot of my friends asked me about my experience I want to share my current point of view. First of all some facts collected over the last month:

Hardware

Feature MAC PC
Keyboard Keys - x
Keyboard backlight x -
Fingerprint sensor - x
Docking Station - x
Smart Cards - x
Silence x -
Weight x -
Beamer-Connectivity adaptor native
Touchpad x -
USB-Ports 2 4
PCMCIA/UMTS - x
Dual Boot x -
Style x -

 

Software

Feature OSX Windows 7 Windows Server 2008 R2
File system viewer columns - x x
Virtualization x (VMWare Fusion 3) - x (Hyper-V)
       

I really like the MAC a lot not only because I can also run a Windows 7 on it. But my HP (even if 2 years old and a few bucks more expensive) feels faster - maybe because of the hard drive. We’ll see after I switched to SSD :-P

Last but not least my recommendation: Ummm… get both man!

Thursday, February 25, 2010 9:12:58 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 

image

In Zeiten, in denen man in das dem lennybacon sein Wuppertal :-) Kultur auf Grund der politischen Einsparmaßnahmen klein schreibt, freue ich mich einige einfach Kultur machen. Noch dazu wenn es so nette Nachbarn sind, wie David J. Becher!

In der ersten Folge geht es (auch) um mein Viertel - die Mirke.

Umbedingt einschalten: http://www.derliebej.de/

Thursday, February 25, 2010 8:35:22 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, December 17, 2009

image 
Mein ehemaliger Chef, jetzt blue badged Clemens Vasters wird heute unsere User-Group (www.netug-niederrhein.de) beehren...

Auf dem Grund oder in den Wolken oder beides? Hybride Verteilte Anwendungen mit Windows Azure.

Cloud-Computing ist der grosse, neue Trend in der IT. Aber welche Anwendungen können schon heute tatsächlich in einer solchen Umgebung laufen? Ist Cloud-Computing eine "alles oder nichts" Entscheidung? Kann man Anwendungen so gestalten, dass Teile in einer Cloud-Computing Umgebung laufen und andere Teile traditionell auf eigenen Servern? In einem Rundflug durch Microsofts Cloud-Computing-Plattform erklärt Clemens Vasters migrations und architekturkonzepte mit praxisnahen Einsatz-Szenarien.

Über den Referenten:

Clemens Vasters ist als Principal Technical Lead bei Microsoft in Redmond mitverantwortlich fuer das Design und Teile der Implementierung des Windows Azure platform AppFabric Service Bus und diverser Elemente der Hintergrund-Infrastruktur der Windows Azure platform.

Thursday, December 17, 2009 11:51:47 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  |