• <dw:daniel_walzenbach runat="server" />

    RAW Codecs for Windows


    We’ve released a page on the Pro Photo site that we will keep updated with all of the RAW format codecs that are released by the camera/software manufacturers.  You can view the page at http://www.microsoft.com/prophoto/downloads/codecs.aspx.



  • <dw:daniel_walzenbach runat="server" />

    How to get started with WCF (Windows Communication Foundation)?


    Michele did an outstanding series of WCF webcasts for MSDN. Each webcast is 1 hour in length, touching on the fundamentals and practical approaches for your WCF development efforts.

    Additional information can be found on .NET Framework 3.0: Design on the Windows Vista Platform > Webcasts.



  • <dw:daniel_walzenbach runat="server" />

    Visual Studio 2005 Support for SQL Server 2008


    This CTP resolves a problem that when you try to open a database connection to SQL Server 2008 by using Visual Studio 2005 design tools, you may receive the following error message:
    “This server version is not supported. Only servers up to Microsoft SQL Server 2005 are supported.”
    This CTP addresses this issue, and enables the following Visual Studio functionality for SQL Server 2008 CTP5 :

    • Server Explorer successfully connects to SQL Server 2008, and database objects such as stored procedures and table data can be viewed and edited. Note that table schemas still cannot be viewed or edited in this release.
    • SQL CLR projects that target SQL Server 2008 CTP5 can be created and deployed to the server.
    • T-SQL and SQL CLR debugging are now enabled for SQL Server 2008 CTP5.
    • Data binding features in Client and Web Projects are enabled.

    Get all the facts and the CTP on http://www.microsoft.com/downloads/details.aspx?FamilyID=e1109aef-1aa2-408d-aa0f-9df094f993bf&displaylang=en


    P.S.: As you most probably can imagine we are currently working on a patch for Visual Studio 2008. Unfortunately I am not allowed to say more :-(

  • <dw:daniel_walzenbach runat="server" />

    Duke Nukem Forever (DNF) - Finally? After 11 years???


    3D Realms announced a new teaser trailer to be released on December 19, 2007 around 12:00PM CST. To tide us over until then, there has been a screen shot taken from the teaser and posted in their forums.

    Read the whole story on the 3D Realms Forum.

    Ahhhh... Must to go back to work... Must resist playing Duke Nukem 3D... ;-)


  • <dw:daniel_walzenbach runat="server" />

    ANNOUNCEMENT: Tafiti goes Shared Source


    Today, we are announcing the release of the Tafiti Search Visualization source code to CodePlex which means developers can download, modify, and resell the code (see MS-PL License for all the details).

    Sweet :-)


  • <dw:daniel_walzenbach runat="server" />

    How to alter an existing column in a table to become a primary key/identity column?


    Imagine the following Data Definition Language (DDL):

    USE [test]


    /****** Objekt:  Table [dbo].[Customer]    Skriptdatum: 12/18/2007 11:04:16 ******/





    CREATE TABLE [dbo].[Customer](

          [ID] [int] NOT NULL,

          [SomeText] [nvarchar](50) COLLATE Latin1_General_CI_AS NOT NULL

    ) ON [PRIMARY]

    To alter the column ID to become the primary key/identity column use this sql script

    /* Überprüfen Sie das Skript ausführlich, bevor Sie es außerhalb des Datenbank-Designer-Kontexts ausführen, um potenzielle Datenverluste zu vermeiden.*/












    CREATE TABLE dbo.Tmp_Customer


          ID int NOT NULL IDENTITY (1, 1),

          SomeText nvarchar(50) NOT NULL

          )  ON [PRIMARY]


    SET IDENTITY_INSERT dbo.Tmp_Customer ON


    IF EXISTS(SELECT * FROM dbo.Customer)

           EXEC('INSERT INTO dbo.Tmp_Customer (ID, SomeText)

                SELECT ID, SomeText FROM dbo.Customer WITH (HOLDLOCK TABLOCKX)')


    SET IDENTITY_INSERT dbo.Tmp_Customer OFF


    DROP TABLE dbo.Customer


    EXECUTE sp_rename N'dbo.Tmp_Customer', N'Customer', 'OBJECT'










    Obtaining the above script is easier that you might think. Open the table, make the modifications and click the script changes button( ). Thereupon you will be presented with a dialog holding the desired script.


  • <dw:daniel_walzenbach runat="server" />

    Free Visual Studio 2008 and .NET Framework 3.5 Training Kit


    The Visual Studio 2008 and .NET Framework 3.5 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2008 features and a variety of framework technologies including: LINQ, C# 3.0, Visual Basic 9, WCF, WF, WPF, ASP.NET AJAX, VSTO, CardSpace, SilverLight, Mobile and Application Lifecycle Management.



  • <dw:daniel_walzenbach runat="server" />

    Geocoding or How to transform a list of addresses into Latitude/Longitude values and display them on a map? Sourcecode included!


    Since I did http://www.woistdaniel.de/ and occasionally talk about Virtual Earth I almost always get asked the same question. Someone has a list of companies/stores/medics/pharmacies/clubs/museums/”u name it” with the address consisting of the street, zip code and the city, wants to display those items on a map and provide additional information for them. Unfortunately I never had a comprehensive reference to point to and therefore decided to write a step by step guide on the above topic on my own ;-)

    Geocode the data

    Let’s get started with some random locations in Munich that should be visualized on a Virtual Earth map and imagine, that we have the data in an excel sheet like this:

    Name Description AddressLine PostalCode PrimaryCity CountryRegion URL
    Haus der Kunst Art museum in Munich with changing exhibitions. Prinzregentenstrasse 1 80538 Munich Germany http://www.hausderkunst.de/
    Deutsches Museum The world's largest museum of technology and science. Museumsinsel 1 80538 Munich Germany http://www.deutsches-museum.de/
    Asamkirche One of the most splendid achievements of Bavarian late Baroque architecture or rococo. Sendlinger Straße 32 80331 Munich Germany http://en.wikipedia.org/wiki/Asamkirche
    Frauenkirche The landmark of Munich Frauenplatz 1 80331 Munich Germany http://www.muenchen.de/Tourismus/Sehenswuerdigkeiten/Muenchen_in_Bildern_neu/Webcam_c/198612/Frauenkirche.html
    Hofbräuhaus Brewery in Munich. No explanation needed ;-) Platzl 9 80331 Munich Germany http://www.hofbraeuhaus.de

    In order to place those items on a map we first have to geocode them which basically is determining the latitude and longitude coordinates for a physical address. While there are multiple possibilities to geocode data we are going to use the Virtual Earth Platform Customer Services since those services allow batch converting of hundreds of thousands of locations at once (972,222 to be exactly => start thinking big ;-) ). To make things even better there is a Virtual Earth Platform Developer Account which allows one to use the aforementioned services free of charge. Sign up here https://mappoint-css.live.com/mwssignup/, validate the confirmation email and that’s it.

    Now that we have a Virtual Earth Platform Developer Account let's go back to our sample data. Geocoding them is as simple as uploading the data to the Virtual Earth Platform Customer Services site as geocoding your data happens automatically. To upload your data the file containing the data has to be either a Microsoft Office Access 2002 or Microsoft Office Access 2003 XML file with an embedded schema or a delimited-field flat file where the first row defines the schema. Valid delimiters are commas, tabs, or pipes ( | ) and only a single delimiter must be used consistently throughout the file.
    Simply create a database like the following containing one table to hold the locations or download the one I used. The column EntityID has to be of Type Long Integer, the Latitude and Longitude column have to be of type Double.

    Fill the table with your data and leave the columns Latitude and Longitude empty. These columns will later be filled automatically by the Virtual Earth Platform Customer Services.

    Now export your data to an xml file by right-clicking on the table in the left and select export >> XML-file. Be sure to include the schema in the xml file on the following dialog and save the file.

    As we now have the location data in a format the Virtual Earth Platform Customer Services can understand, log in to the Virtual Earth Platform Customer Services site and upload the data. Simply click on the "Create" Button in the Data Sources section on the right-hand side, fill out the dialog like this and click Create.

    Your data will now be uploaded and geocoded resulting in this image after a short moment.

    To download the data click the download link in the Data Sources section,

    choose the output format

    and find the downloadable file in the Recent jobs list an instance later.

    Besides the included schema at the top of the file the geocoded data looks like this:

                <Name>Haus der Kunst</Name>
                <Description>Art museum in Munich with changing exhibitions.</Description>
                <AddressLine>Prinzregentenstrasse 1</AddressLine>
                <MatchedAddress>Prinzregentenstraße 1, 80538 München</MatchedAddress>
                <Name>Deutsches Museum</Name>
                <Description>The world's largest museum of technology and science.</Description>
                <AddressLine>Museumsinsel 1</AddressLine>
                <MatchedAddress>Museumsinsel 1, 80538 München</MatchedAddress>
                <Description>Famous Brewery in Munich.</Description>
                <AddressLine>Platzl 9</AddressLine>
                <MatchedAddress>Platzl 9, 80331 München</MatchedAddress>

    Visualize the geocoded data on a Virtual Earth map

    Lets start with some infrastructure and build a webservice that returns a List(Of Location) which we will use later.

    Imports System.Web.Services
    Imports System.Web.Services.Protocols
    Imports System.ComponentModel

    ' ScriptService >> To allow this Web Service to be called from script, using ASP.NET AJAX.
    <System.Web.Script.Services.ScriptService()> _
    <System.Web.Services.WebService(Namespace:="http://tempuri.org/")> _
    <System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
    <ToolboxItem(False)> _
    Public Class Locations
        Inherits System.Web.Services.WebService

        <WebMethod()> _
        Public Function GetLocations() As List(Of Location)
            Dim _xmlLocations = String.Format("{0}App_Data\MapPointOutput.xml", AppDomain.CurrentDomain.BaseDirectory)
            Dim query = From item In XElement.Load(_xmlLocations)...<MapPoint> _
                        Select New Location With {.Name = item.<Name>.Value, _
                                                  .Description = item.<Description>.Value, _
                                                  .MatchedAddress = item.<MatchedAddress>.Value, _
                                                  .URL = item.<URL>.Value, _
                                                  .Latitude = item.<Latitude>.Value.ReplaceDecimalSeparator, _
                                                  .Longitude = item.<Longitude>.Value.ReplaceDecimalSeparator}
            Return query.ToList
        End Function

    End Class

    Public Class Location
        Public Name As String
        Public Description As String
        Public MatchedAddress As String
        Public URL As String
        Public Latitude As Double
        Public Longitude As Double
    End Class

    Public Module Tools
        ''' <summary>
        ''' This tiny function enables to call ReplaceDecimalSeparator on any String Type
        ''' </summary>
        ''' <param name="Value"></param>
        ''' <returns></returns>
        ''' <remarks>Needed to convert a value into a Double. Based on the decimalseparator the conversion from String to Double can sometimes return wrong values.</remarks>
        <Runtime.CompilerServices.Extension()> _
        Public Function ReplaceDecimalSeparator(ByVal Value As String) As Double

            If String.IsNullOrEmpty(Value) Then
                Return 0
            End If

            Return CDbl(Value.Replace(".", Globalization.NumberFormatInfo.CurrentInfo.NumberDecimalSeparator))

        End Function

    End Module

    Note that we are using LINQ to XML to query the data we want to show on the map and the use of the extension method ReplaceDecimalSeparator which makes programming much more intuitive. Sweet :-)

    In order to be able to consume this webservice from our website with JavaScript we are using the ASP.NET Ajax Framework, or - to be more specific - the ScriptManager and include a reference to the webservice in the Scripts section of the ScriptManager. We also need to place a <div /> tag on the website to hold the Virtual Earth map. The final result can be seen here:

    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="ShowLocationsOnVirtualEarth._Default" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>How to show a list of locations on a Virtual Earth map.</title>
        <script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6" type="text/javascript"></script>

        <script type="text/javascript">

            function pageLoad() {
                // InitializeMap is located in VEMap.js and takes care
                // that the map gets initialized and loads the data
                // afterwards


        <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
                    <asp:ScriptReference Path="~/JavaScript/VEMap.js" />
                    <asp:ServiceReference Path="~/WebServices/Locations.asmx" />

            <div id='myMap' style="position:absolute; top:0px; left:0px; width:800px; height:600px;"></div>


    Additionally some JavaScript is needed to actually draw the locations on the map (This is the file VEMap.js referenced in the above code).

    var map = null;                 // this var holds the VE map

    // Initializes the VE map and calls the method to load the data
    function InitializeMap() {

        // make sure map is initialized
        if (map == null) {
            map = new VEMap('myMap');   // initialize map
            map.LoadMap();              // load it
            map.SetMapStyle('r');       // set the MapStype to "Road"
            map.SetCenter(new VELatLong("48.132241398091125", "11.575480699539175"));   // and zoom to Munich

        // load the locations and display them on the map



    // calls the WS and retrieves the Locations. Since this call is async we need
    // to wire up a method which should be called when the call to the webservice
    // succeeds and one if the call fails
    function GetLocations() {

        // wire up the methods to call in case of success and failure

        // call the webservice


    // Callback function invoked when the call to
    // the Web service methods succeeds.
    function OnSucceededCallbackRoute(result) {


        // draw the locations on the map


    // this function draws the locations on a map
    function DrawLocationsOnMap(ListOfLocations) {

        if ((map != null) && (ListOfLocations != null) && (ListOfLocations.length > 0)) {


            // this array holds all the VELatLong values
            // used later to set the zoom of the map to display
            // all the locations 
            var points = new Array();
            var vELatLong;


            // draw the Locations on the map
            for (i = 0; i < ListOfLocations.length; i++) {          

                vELatLong = CreateVELatLongFromLocations(ListOfLocations[i]);
                points[i] = vELatLong;           

                // add the location to the map


                // Zoom the map according to all locations


    // ************************************************************
    // *** some tools ;-)                                       ***
    // ************************************************************

    // Converts a Location into a VELatLong object
    // Parameters:
    // Location: a Location
    // return: a VELatLong instance
    function CreateVELatLongFromLocations(Location) {
        return new VELatLong(Location.Latitude, Location.Longitude);



    // Creates a custom VEShape (which represents a dot on the map)
    function AddDot(Point, Name, Description, MatchedAddress, URL) {


        var shape = new VEShape(VEShapeType.Pushpin, Point);

        var descriptionText = '<b>Description:</b> ' + Description + 
                              '<br /><br /><b>Address:</b> ' + MatchedAddress + 
                              '<br /><br /><b>Homepage:</b> <a href = "' + URL + '">' + URL + '</a>';   

        shape.SetCustomIcon('<div><img src="images/info.png" /></div>');
        return shape;



    // Callback function invoked when the call to
    // the Web service methods fails.
    function OnErrorCallbackRoute(error) {
        alert("Error (route): " + error.get_message());


    if(typeof(Sys) !== "undefined") Sys.Application.notifyScriptLoaded();

    And that's it resulting in

    To make life even easier you can download the entire solution here and the database here.

    Cheers. Be sure to let me know what you think!


    P.S.: As always this code is "as is" and NOT intended to be used in product use! Note also that this approach might not be the best solution if you only want to display one map with no interaction. If this is your goal make sure to embed the location data in your site to prevent the additional postback to the server (probably using RegisterClientScriptBlock or similar).

    P.P.S. You can geocode your data programmatically using the CustomerDataService class as well. A good place to start is http://msdn2.microsoft.com/en-us/library/aa491870.aspx.

  • <dw:daniel_walzenbach runat="server" />

    How to develop Microsoft Virtual Earth applications in managed code like C# instead of JavaScript


    Microsoft Live Labs VoltaVolta, a Live Labs technology preview launched last week, includes bindings for Virtual Earth. The VoltaVirtualEarth library allows developers using Volta to build Virtual Earth applications for the browser, in managed code. This translates into static type checking, IntelliSense, integrated debugging, and many others—see the Volta docs for a list of the benefits.

    If you're interested in seeing it in action a subset of the Virtual Earth interactive SDK is available online, with the code written in C# rather than JavaScript. For example, here's the code for the Show/Hide a shape sample:

    private void ShowHideShape()
        var map = new Microsoft.LiveLabs.Volta.VirtualEarth.Map(mapDiv);
        Shape shape = new Shape(ShapeType.Pushpin, map.GetCenter());
        shape.SetTitle("My pushpin");
        shape.SetDescription("This is a pushpin.");
        doShowShape.Click += delegate { shape.Show(); };
        doHideShape.Click += delegate { shape.Hide(); };

    With the caveat that Volta is a technology preview, if it looks like something you'd like to take a closer look at please do give it a try and provide your feedback to the community forum.

    To cool!


  • <dw:daniel_walzenbach runat="server" />

    Browser requirements for AJAX


    AJAX is an acronym that covers many things. Generally, IE 5.5+ had some capabilities that can be considered AJAX capabilities, and Firefox 1.x also had some (native support for XHR object, for example). The minimum requirements for basic AJAX functionality is IE5+ for Windows, Firefox 1+, Mozilla 1+, Safari 1.2+, Opera 7.6+.

    Microsoft support details for ASP.NET AJAX technology that can be found at http://www.asp.net/AJAX/Documentation/Live/BrowserCompatibilityForASPNETAJAX.aspx.



  • <dw:daniel_walzenbach runat="server" />

    Some HTML Editors for ASP.NET...


    The following are some HTML Editors for ASP.NET providing "Rich Text box" functionality and are definitely worth a try.

    FreeTextBox >> http://freetextbox.com/

    FCKEditor >> http://www.fckeditor.net/

    TinyMCE >> http://tinymce.moxiecode.com/

    This list is by no means complete. There are a couple of other Rich Text editors on the ASP.net control gallery like the Telerik RadEditor. Be sure not to miss them! If you favor other editors just drop a line in the comments. Thanks!



  • <dw:daniel_walzenbach runat="server" />

    Der entwickler.press Adventskalender >> Jeden Tag ein kostenloses eBook zum Download


    Coole Aktion von entwickler.press! Auf http://entwickler-press.de/ep/psecom,id,2,new,5.html steht während der Adventszeit jeden Tag ein eBook als kostenloser Download bereit. Eine Sache gibt es allerdings zu beachten: Der Download ist nur an dem jeweiligen Tag verfügbar :-( Ich würde aber mal vermuten - und das ist AUSSCHLIEßLICH meine persönliche Einschätzung und keine Aussage von entwickler.press - dass es vielleicht eine Möglichkeit gibt die Bücher noch im Nachhinein zu bekommen. Am besten einfach mal freundlich nachfragen.

    Schöne Grüße und eine gesegnete Adventszeit!


    P.S. Vielen Dank an dieser Stelle an Peter Bucher für den Tipp!

  • <dw:daniel_walzenbach runat="server" />

    Cross-Processing pictures


    Well, Günter Hagedorn - a friend of mine - just showed me a cool trick in Photoshop: Cross-Processing pictures. "Cross-processing is developing color print or slide film in the wrong chemicals". Have a look at the following two pictures as an example. The left picture is the raw output from my camera. The right one is the one Günter cross-processed.

    Daniel Walzenbach Daniel Walzenbach
    raw picture cross processed picture

    Pretty neat, eh?


  • <dw:daniel_walzenbach runat="server" />

    The tiny VB.NET quiz – byref or what the...?


    Alright, here is the next quiz. Imagine the following code:

    Module Module1

        Dim intVal As Integer = 10
        Dim dblVal As Double = 20

        Sub Main()


        End Sub

        Private Sub PrintValues()
            Console.WriteLine("{0} - {1}", intVal, dblVal)
        End Sub

        Private Sub ModifyValue(ByRef Value As Integer)
    Value = 30
        End Sub


    This code will print out the following:

    30 - 20
    30 - 20
    30 - 30

    So why's that? Give it your best shot!


  • <dw:daniel_walzenbach runat="server" />

    Do you know your language? This time it's the tiny VB quiz ;-)


    Dim x = -2147483648
    Dim y = Integer.MinValue

    Well, the question is as easy as that - what Types are x and y and what's the reason?



    P.S. Needless to say that you shouldn’t use the VB.NET compiler but the one in your head ;-)

  • <dw:daniel_walzenbach runat="server" />

    Objektorientierte Programmierung mit VB.NET


    Da die Objektorientierte Entwicklung für viele Entwickler immer noch ein Buch mit sieben Siegeln ist spreche ich am Dienstag, den 4. Dezember 2007, 18:00 – 22:00 Uhr bei der .NET Usergroup Frankfurt über Objektorientierte Programmierung mit VB.NET.

    Seit der ersten Version des .NET Framework ist VB.NET eine durch und durch objektorientierte Sprache. Anders als in VB 6.0 ist der Umgang mit Objekten hier keine Kür, sondern Pflicht und mit dem Wandel einher gehen objektorientierte Konzepte wie Klassen und Objekte, Kapselung, Vererbung, Polymorphismus, Schnittstellen, usw. Welche Konsequenzen dieser Wandel für Entwickler hat, was die Vorteile der Objektorientierten Programmierung (OOP) sind und wie sich diese in konkreten Codebeispielen äußern zeigt Daniel Walzenbach, Developer Evangelist der Microsoft Deutschland GmbH. Im Anschluss einer Einführung in die OOP beleuchtet Daniel außerdem komplexere Themen wie Ereignisse, Boxing, Polymorphie, Delegates, usw.
    Dieser Vortrag bietet zum einen Visual Basic-Programmieren mit fundamentalen bzw. fortgeschrittenen Kenntnissen einen guten Einstieg bzw. eine Vertiefung der OOP, sondern zum anderen auch praktizierenden VB.NET Programmierern die Möglichkeit ihr Wissen zu vervollständigen und vielleicht existierende Wissenslücken zu schließen.

    Bis bald in FFM!


    P.S.: Wie immer bin ich an jeder Art von Feedback interessiert! Konkret würde mich in diesem Fall allerdings interessieren in wiefern o.g. Thema von Belang ist? Allgemeiner ließe sich die Frage auch so formulieren ob grundsätzlich Interesse an "älteren" Technologien besteht oder ob es immer das "Neuste vom Neuen" sein muss?

  • <dw:daniel_walzenbach runat="server" />

    Microsoft SQL Server 2008 CTP, November 2007 is out!


    Well, Christmas must be early this year ;-) We released Visual Studio 2008 and the .NET Framework 3.5 yesterday and are announcing the SQL Server 2008 CTP, November 2007 (aka CTP5) today.

    Download and enjoy ;-)


    P.S. Yes, this is a reason to get excited :-))

  • <dw:daniel_walzenbach runat="server" />

    Visual Studio 2008 and .NET Framework 3.5 shipped!

    Visual Studio 2008

    YEAAAAHHH! Check out the details on Soma's and Brian Harry's blog :-)

    For those who simply can't wait that long, the entire family of Visual Studio products (from the Express Editions to the Professional version to Visual Studio Team Suite) and .NET Framework 3.5 are available for immediate download here.

    What a brilliant day!


  • <dw:daniel_walzenbach runat="server" />

    ASP.NET Ajax TechTalk (Update)


    Vorbei sind die Zeiten grauer, langweiliger Webanwendungen die hauptsächlich aus einer Ansammlung von Texten und Links bestanden. Der aktuelle Trend geht zu interaktiven, reichhaltigen Anwendungen welche die Features und Funktionalitäten traditioneller Desktopanwendungen in einer Webanwendung im Browser zur Verfügung stellen. Ermöglicht wurde dieser Trend u.a. durch ein Programmiermodell welches heute unter dem Namen Ajax (Asynchronous JavaScript and XML) in aller Munde ist und die inzwischen zahlreichen Ajax Frameworks, welche die Entwicklung komplexer Anwendungen deutlich erleichtern.

    Dieser TechTalk gibt einen Überblick über das ASP.NET Ajax Framework von Microsoft. Daniel Walzenbach, Developer Evangelist der Microsoft Deutschland GmbH, vermittelt die Technologien welche Ajax erst ermöglichen, verdeutlicht an vielen Beispielen die Entwicklung von Ajax Anwendungen mit dem ASP.NET Ajax Framework und geht im Anschluss auf Problemstellungen ein, die in „real-world“ Anwendungen auftreten. Gegenstand dieses TechTalks sind weiterhin Themen wie Performance von Ajax Anwendungen und Toolunterstützung.





    Zur Anmeldung



    Mercure Hamburg City

    Amsinckstr. 53,

    20097 Hamburg

    TechTalk: ASP.NET Ajax



    Hotel Spreebogen Berlin

    Alt-Moabit 99,

    10559 Berlin

    TechTalk: ASP.NET Ajax



    CommaSoft AG

    Pützchens Chaussee 202-204a,

    53229 Bonn

    (Zugang über Holtorfer Straße)

    TechTalk: ASP.NET Ajax



    Dorint Novotel Karlsruhe Kongress

    Festplatz 2,

    76137 Karlsruhe

    TechTalk: ASP.NET Ajax



    Hilton Munich Park

    Am Tucherpark 7,

    80538 München

    TechTalk: ASP.NET Ajax

    Bis bald!


  • <dw:daniel_walzenbach runat="server" />

    November CTP of SQL Server 2008 (CTP-5) almost done ;-)


    SQL Server 2008

    The November CTP of SQL Server 2008 is a huge step forward as we continue delivering on our Data Platform Vision for “Your Data, Any Place, Any Time.” SQL Server 2008 will bring that vision to life, and there is something in this feature-rich CTP to meet the needs of companies of all sizes. I really believe it is going to be an eye opener for a lot of people, not just in terms of the new features that will be included, but how close we are to delivering a final product with very high quality. Here a just some of the great new/improved features.

    Data Collection and Performance Warehouse for Relational Engine
    Performance tuning and troubleshooting are time-consuming tasks for the administrator. To provide actionable performance insights to administrators, SQL Server 2008 delivers more extensive performance data collection, a new centralized data repository for storing performance data and new tools for reporting and monitoring.

    Service Broker Enhancements
    Getting the data to the right place at the right time is important.  Service Broker Conversation Priority in SQL Server 2008 gives you greater control over the system by making it easy to configure priority rules so that the most important data is sent first and processed first.

    Registered Servers Enhancements
    Enhancements to the Registered Servers tool window in Management Studio include running T-SQL queries and policies against groups of servers and the ability to share a common, centrally stored, server topology (Database Engine only).

    Synchronous net-changes change tracking for SQL Server
    SQL Change Tracking feature provides the functionality to synchronously track changes to data in user table without the need to create triggers or modify schema of the table. Applications will be able to reliably determine what data has changed since a watermark/baseline and will be able to obtain the latest data. The feature is geared towards providing the functionality with least DML overhead.

    T-SQL IntelliSense
    Transact-SQL IntelliSense provides intelligent aids for Transact SQL scripting that make language references easily accessible for database developers. When coding, you do not need to leave the Database Query Editor to perform searches on T-SQL language elements or your database metadata.  You can keep your context, find the information you need, insert T-SQL language elements directly into your code, and even have IntelliSense complete your typing for you. This can speed up software development by reducing the amount of keyboard input required and minimize references to external documentation.

    Declarative Management Framework (DMF) Enhancements
    Enhancements to DMF include more expressive conditions (including support for common functions, T-SQL, and WMI queries), more robust target set filtering, custom messages for policies, and the inclusion of best practice policies.

    Geo-spatial Support
    SQL Server 2008 delivers comprehensive geo-spatial support. The new GEOGRAPHY and GEOMETRY data types provide spatial data support for location-aware applications.  These types can be used to store locations, as well as paths and regions in space, and provide a rich set of functionality for comparing and manipulating these objects.  Use the GEOGRAPHY type when working with latitude and longitude coordinates in a true round-earth model; use GEOMETRY when working in projected planar surfaces, as well as naturally planar systems such as interior spaces.
    These types are supported by new spatial indexes, which provide for fast execution of queries involving spatial data.  The query optimizer has been enhanced to build-in knowledge of spatial indexes and types, so that appropriate cost-based plan decisions can be made.

    Analysis Services Query and Writeback Performance (FITS)
    New MOLAP-enabled write-back capabilities in SQL Server 2008 Analysis Services remove the need to query ROLAP partitions. This provides users with enhanced writeback scenarios from within analytical applications without sacrificing the traditional OLAP performance.

    Robust Report Server Platform
    Reports can easily be delivered throughout the organization with simplified deployment and configuration. This enables users to easily create and share reports of any size and complexity.

    Integration Services - Lookup Enhancements
    The need to perform lookups is one of the most common extraction, transformation, and loading (ETL) operations. This is especially prevalent in data warehousing where fact records must use lookups to transform business keys to their corresponding surrogates. SSIS increases the performance of lookups to support the largest tables.

    Analysis Services MDX Query Optimizer - Block Computation
    Block computations provide a significant improvement in processing performance, enabling users to increase the depth of their hierarchies and complexity of the computations.

    Analysis Services Aggregation Design
    SQL Server 2008 drives broader analysis with enhanced analytical capabilities and with more complex computations and aggregations. The AS Aggregation Design improvement exposes Aggregation Design objects in SQL Server BI Dev Studio and SQL Server Management Studio and provides tools for users to better work with these aggregation designs. In addition, an advanced view in the new Aggregation Design tab of the cube editor provides the ability for an advanced user to view and manually edit individual aggregations within an aggregation design.

    Analysis Services Cube Design
    New cube design tools help users streamline the development of the analysis infrastructure, enabling them to build solutions for optimized performance. The AS Cube Design improvement introduces a new Cube Wizard which helps users create better cubes in fewer steps.  The new wizard focuses on having the user answer a few questions to create leaner cubes that better targets their needs.  It also unblocks the previously difficult scenarios of creating a cube a cube based on a single, de-normalized table and creating a cube containing only linked dimensions.

    Reporting Services Scale Engine and Robust Server Fit and Finish
    A reengineered memory management and scalability infrastructure lays a solid foundation of scalability capability to enterprise customers.



  • <dw:daniel_walzenbach runat="server" />

    SP1 für Vista rockt!!!


    Es ist unglaublich! Nicht zu fassen sozusagen! Ich habe soeben SP1 für Windows Vista auf meinem Rechner installiert und die Kiste rennt :-) Kein rotierender Donut mehr beim Kopieren von Dateien. Selbst das Löschen derselben geht inzwischen in Sekundenbruchteilen :-) Ich bin restlos begeistert! Der Tag ist gerettet! So kann man auch mit kleinen Sachen Kindern eine Freunde mache ;-)

    In diesem Sinne… Alles wird gut ;-)


    Windows Vista Service Pack 1 Beta - Build ...
  • <dw:daniel_walzenbach runat="server" />

    Windows Live Tools for Microsoft Visual Studio - November CTP and Windows Live Spaces Photo API (Alpha) available :-)


    We just released the Windows Live Tools for Microsoft Visual Studio - November CTP. This release of Windows Live Tools provides basic functionality associated with building websites using Windows Live Contacts, Windows Live ID authentication, LoginView and Silverlight streaming. This release also provides a project template for creating Windows Live website.
    Get all the details from Angus Logan's Blog.

    Angus also announced the availability of the Windows Live Spaces Photo API (Alpha) available & Interactive SDK. The Windows Live Spaces Photo API allows a user to delegate permissions for a third party web site to read or read/write on albums and photos stored within Windows Live Spaces via a server to server API.

    Pretty cool :-)


  • <dw:daniel_walzenbach runat="server" />

    How to create a CSS Layout for your web application?


    Well, as we all know <table /> based layouts for websites should be avoided. But how to create a cool looking css layout? How to create a 3 column page layout, how to float columns or what needs to be done to have them static?

    Fortunately help is available in terms of Layout generators and tutorials :-)

    CSS Layout  Generators

    CSS Tutorials



    P.S. You also might check out the HTML and DHTML Reference which comes in handy from time to time.

  • <dw:daniel_walzenbach runat="server" />

    .NET Framework 3.5 commonly used types and namespaces poster free for download


    Paul Andrew announced the availability of the .NET Framework 3.5 update to the Commonly Used Types and Namespaces poster. Get it while it's still hot and be sure to have a printout stuck behind you on your wall. The link also contains a XPS format file which prints over 16 letter or A4 pages for easy printing ;-)

    Microsoft .NET Framework 3.5



  • <dw:daniel_walzenbach runat="server" />

    Man lernt NIE aus… oder wie klone ich eine Objektstruktur?


    So… gestern war's soweit. Ich war das erste Mal in meinem Leben auf einem Fußballspiel, genauer bei dem Spiel TSV 1860 vs. Borussia M'gladbach in der Allianz Arena.
    Nachdem mich ein Freund darauf hingewiesen hatte mich warm anzuziehen (es hat ein wenig gedauert bis ich realisiert hatte, dass das Stadion offen ist ;-) und in München ist inzwischen der Winter angebrochen) war ich perfekt vorbereitet. Als ich in die U-Bahn stieg trug ich meine Snowboardhose sowie einen warmen Pulli, meine dickste Jacke, eine Mütze über die ich im Notfall noch die Kapuze meiner Jacke ziehen konnte und halbhohe Stiefel über die ich meine Hose ziehen konnte. Schön mollig, echt gemütlich :-) Am Stadion angekommen war meine Körpertemperatur auf mehrere hundert Grad angestiegen und ich freute mich endlich in den Kälte zu kommen. Immerhin war ich auf eine Nordpolexpedition vorbereitet.
    Sch… war das kalt! Die Temperatur im Stadium war nahe dem absoluten Nullpunkt (in der zweiten Halbzeit fing es außerdem an zu schneien) und hätten wir uns in der Halbzeitpause nicht bewegt wäre ich wahrscheinlich in der Kälte umgekommen. Unglücklicherweise war das Spiel auch so lausig dass es weder die Notwendigkeit gab aufzuspringen und Tore zu bejubeln (das Endergebnis war ein bombiges 0:0) noch eine der Mannschaften anzufeuern. Wäre es nicht soooo kalt gewesen und meine Finger schon tiefgefroren hätte ich an meinem Buch weitergelesen welches ich in weiser Voraussicht eingepackt hatte (Das Ding auf der Schwelle). Tatsächlich war mir zwischenzeitlich so langweilig dass ich es interessanter fand, die Schneeverwirbelungen am Dach der Arena zu beobachten als das Spiel ;-). In diesem Moment wurde mir wieder einmal bewusst dass man nie auslernt. Hätte ich mich doch NOCH dicker angezogen…

    Ähnlich geht es mir übrigens mit der Softwareentwicklung deshalb anbei ein kleiner Trick. Eine Frage, die öfter aufkommt ist wie Objektstrukturen geklont werden können. Wer sich in der .NET Klassenbibliothek etwas auskennt dem fällt in diesem Zusammenhang wahrscheinlich die Methode MemberwiseClone ein. Wer jedoch genauer in die Dokumentation schaut wird feststellen, dass MemberwiseClone eine "flache" und keine "tiefe" Kopie eines Objekts erstellt und damit für unser Vorhaben ausfällt.

    Als Beispiel soll ein Objekt X dienen, das auf die Objekte A und B verweist. Objekt B wiederum verweist auf ein Objekt C. Eine flache Kopie von X erstellt das neue Objekt X2, das ebenfalls auf die Objekte A und B verweist. Eine tiefe Kopie von X erstellt ein neues Objekt X2, das auf die neuen Objekte A2 und B2 verweist, die Kopien von A und B sind. B2 wiederum verweist auf das neue Objekt C2, das eine Kopie von C ist. Verwenden Sie eine Klasse, die die ICloneable-Schnittstelle implementiert, um eine tiefe oder flache Kopie eines Objekts zu erstellen.

    Mit folgendem Trick ist es dennoch einfach eine tiefe Objektstruktur zu klonen. Mit Hilfe eines BinaryFormatter serialisieren Sie eine Objektstruktur in einen MemoryStream und deserialisieren Sie diesen danach in ein neues Objekt. Fertig ist der Klon :-)    

    Imports System.IO

    Imports System.Runtime.Serialization.Formatters.Binary


    Public Class DeepCopy


        Public Shared Sub main()


            Dim Person1 = New Person With {.Vorname = "Daniel", .Alter = 31}


            Dim Tiere = New List(Of Tier)

            Tiere.Add(New Tier With {.Name = "Fausto", .Tierart = Tierart.Hund})

            Tiere.Add(New Tier With {.Name = "Lilly", .Tierart = Tierart.Katze})


            Person1.Haustiere = Tiere


            Dim Person2 = DeepCloneCopy(Person1)


        End Sub


        ''' <summary>

        ''' Erzeugt eine "deep copy" eines Objekts also eine Kopie des Objekts

        ''' inclusive aller untergeordneten Objekte.

        ''' </summary>

        ''' <param name="ObjektToClone">Das zu clonende Objekt.</param>

        ''' <returns>Eine "deep Copy" des zu clonenden Objekts.</returns>

        ''' <remarks>Dieser Code funktioniert auch bei rekursiven Objektbeziehungen</remarks>

        Public Shared Function DeepCloneCopy(ByVal ObjektToClone As Object) As Object


            Using _memoryStream As New MemoryStream

                Dim _result As Object


                Dim _binaryFormatter As New BinaryFormatter


                ' das Objekt serialisieren

                _binaryFormatter.Serialize(_memoryStream, ObjektToClone)


                ' An den Anfang des Streams springen

                _memoryStream.Position = 0


                ' und das Objekt deserialisieren

                _result = _binaryFormatter.Deserialize(_memoryStream)


                Return _result


            End Using


        End Function


    End Class


    <Serializable()> _

    Public Class Person


        Public Vorname As String

        Public Alter As Integer

        Public Haustiere As List(Of Tier)


    End Class


    <Serializable()> _

    Public Class Tier


        Public Name As String

        Public Tierart As Tierart


    End Class


    Public Enum Tierart



    End Enum

    In diesem Sinne viel Spaß beim Klonen von Objekten und nicht vergessen: Beim Fußball im Winter immer schön warm anziehen ;-)


Page 4 of 12 (284 items) «23456»