# Wednesday, June 10, 2009

Der Eventsommer geht weiter… am 5. und 6. Juni fand der erste Architecture.NET Open Space 2009 in Düsseldorf statt.

image

Ein sehr interessantes Format und sehr interessante Themen. Lars, bitte im Winter 2008 gleich nochmal :-)

image

btw. Lars wird unsere Usergroup am 02.07.2009 besuchen

Event | Life | Misc
Wednesday, June 10, 2009 10:38:21 PM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [2]  | 

Am 5. Juni war ich als Sprecher beim “Project Springboard” zu Gast. Dennis Zielke und das Student Partner Team haben ganze Arbeit geleistet und ein Spitzen Event auf die Beine gestellt – nochmal nochmal nochmal!

image

Mein Vortrag “IIS, PHP & WCF – Web Services InterOp” hat wirklich Laune gemacht und ist laut Feedback bester Vortrag der Konferenz – DANKE, IHR WARD EINE SUPER AUDIENCE!!!

image 

Hier nun wie versprochen das Slide und der Code (PHP gehostet über FastCGI im IIS 7.0 ruft über SSL und Basic Athentication einen WCF Service mit einer Complex-SOAP-Message auf…): springbreak_IIS_PHP_und_WCF.zip

C# | Event | Projects | Security | WCF
Wednesday, June 10, 2009 9:42:19 PM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [1]  | 
# Tuesday, June 02, 2009

Do you know code with constructors containing each and every property?

I’ve never had a name for CoP before this post. Thanks Richard!

 

Btw.: Extension methods do the job as well without the need to know a second object ;-)

Tuesday, June 02, 2009 8:50:50 AM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [1]  | 
# Wednesday, May 20, 2009

image

On the 15th of Mai the Cologne/Bonn .NET Community invited to the Microsoft Campus in Cologne for a day full of WPF and Silverlight – the dotnet Cologne 2009. My submission to the Call for Papers was the only Talk NOT talking about User Interfaces… but was accepted – Thanks, to Roland, Albert and Stefan!

image

I was happy that my presentation was not held in room 404 ;-)

 

image

I really enjoyed the session as well as the whole event and as promised I provide what I presented for download: Silverlight as DataCache (Slide & Code)

 

Hoper to see you on one (or all) of the next events:

Wednesday, May 20, 2009 10:14:40 PM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, April 06, 2009

image

Wie man Benutzeroberflächen für Desktops und das Web mit der Windows Presentation Foundation (WPF) erstellt, das können Sie jetzt im MSDN-Portal für Softwarehersteller (ISVs) lernen – in einer Viertelstunde. Möglich macht’s WPF Fast Start, eine WPF-Komponente, die Sie in eine Ihrer Anwendungen implementieren und testen können. Einfach herunterladen und nach dem beigefügten Tutorial vorgehen.

http://www.microsoft.com/germany/msdn/my/softwarehersteller/WPF_FastStart.mspx

Monday, April 06, 2009 5:16:35 PM (W. Europe Daylight Time, UTC+02:00)  #    Disclaimer  |  Comments [2]  | 
# Tuesday, March 03, 2009

Today I got confirmed I passed :-)

MCPD_EA(rgb)_1259

Tuesday, March 03, 2009 8:25:36 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 

Until then this Visual Studio macro helps to comment and uncomment in CSS files.

Imports System
Imports EnvDTE
Imports EnvDTE80
Imports EnvDTE90
Imports System.Diagnostics

Public Module StyleSheets

    Public Sub CommentCss()
        Dim ts As TextSelection = DTE.ActiveDocument.Selection
        Dim text As String = ts.Text.Trim(" ")

        Dim fileName = DTE.ActiveDocument.FullName

        If Not fileName.EndsWith(".css") Then
            DTE.ExecuteCommand("Edit.CommentSelection")
            Return
        End If

        If String.IsNullOrEmpty(text) Then
            Return
        End If

        ts.Text = "/*" + text + "*/"
    End Sub

    Public Sub UncommentCss()
        Dim ts As TextSelection = DTE.ActiveDocument.Selection
        Dim text As String = ts.Text.Trim(" ")

        Dim fileName = DTE.ActiveDocument.FullName

        If Not fileName.EndsWith(".css") Then
            Return
        End If

        If Not text.StartsWith("/*") And text.EndsWith("*/") Then
            Return
        End If

        ts.Text = text.Substring(2, text.Length - 4)
    End Sub

End Module

Tuesday, March 03, 2009 8:14:05 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 

I just stumbled over Richards initiative on killing IE6… I extended the message to display and added it to my blog and our companies web site:

image

Here is the mark up:

<!--[if lte IE 6]>
  <div style="background-color: #f9f4ad; border: solid 1px #e0d200; padding: 8px; margin-top: 10px; text-align: center;">
    <p>You are using an <strong>old and unsupported version of Internet Explorer.</strong></p>
    <p>In order to get the most out of the web, you should get a <a href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx" style="color: #000; text-decoration: underline;" target="_blank">free update for Internet Explorer</a>,
       or consider trying <a href="http://mozilla.com/firefox/" style="color: #000; text-decoration: underline;" target="_blank">Mozilla Firefox</a>,
       <a href="http://www.opera.com/" style="color: #000; text-decoration: underline;" target="_blank">Opera</a> or
       <a href="http://www.google.com/chrome" style="color: #000; text-decoration: underline;" target="_blank">Google Chrome</a> instead. If you're using a work computer, you should contact your IT
       administrator. Check out <a href="http://www.quirksmode.org/upgrade.html" style="color: #000; text-decoration: underline;" target="_blank">this article</a> for more reasons why you should upgrade.</p>
  </div>
<![endif]-->

Help and drop it to your site today!

Tuesday, March 03, 2009 3:43:51 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [2]  | 
# Monday, March 02, 2009

Die IX veranstaltet zusammen mit IT-Visions (Dr. Holger Schwichtenberg) ein .NET Seminar, das wahlweise in verschiedenen, zum Teil aufeinander aufbauenden Blöcken gebucht werden kann. Dabei werden die Grundkonzepte von .Net, die Sprachsyntax von C#, die Handhabung der Entwicklungsumgebung Visual Studio, die wichtigsten Funktionen der .Net-Klassenbibliothek geschult. Neben allgemeinen .Net-Seminaren gibt es spezielle Kurse zu Desktop-Anwendungen mit Windows Forms und WPF sowie Web-Anwendungen mit ASP.NET und AJAX.

Anmeldung per Mail an mich oder die IX-Konferenzseite

Monday, March 02, 2009 10:36:24 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, February 16, 2009

A colleague (Daniel Wessels) just asked me how I would sort a generic Dictionary because it has no build in Sort method. A solution that uses functionality that is built in would be to (ab)use a generic list:

var dictionary =
    new Dictionary<string, int>()
        {
            {"George",42},
            {"Mike",28},
            {"Pete", 56},
            {"Sam", 33},
        };

var list = dictionary.ToList();

list.Sort((a, b) => a.Value.CompareTo(b.Value));

foreach (var keyValuePair in list)
{
    Console.WriteLine(
        string.Concat(
            keyValuePair.Key,
            " ",
            keyValuePair.Value));
}

Monday, February 16, 2009 7:45:03 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  |