Add documents from a Base64Binary xml element to SharePoint with Biztalk 2006

August 7, 2008 22:03 by Geert van der Cruijsen

On my current project we wanted to add documents which come in as attachment through a webservice to a sharepoint document library to store them.

We used Biztalk 2006 to receive the file, get the different files from the xml and then send them to SharePoint. In this blogpost I’ll explain how to do this with a small POC I made.

First off we started with a receive port which is able to receive the xml message (the binary port on the picture) we receive this message into a BinaryMessage message which is linked to the following schema

An example message is looking like this: (where the <document> should have the attachments as a base64binary string.

After receiving the message we want to loop through all the messages in the document so I created a foreach to read all the document elements from the xml.

The code to build the loop is the following:

InitializeLoop :

iteration = 1;

documentCount = xpath(BinaryFile,"count(/*[local-name()='BinaryFileToSharePointTest' and namespace-uri()='']/*[local-name()='Document' and namespace-uri()=''])");

first I set the iteration variable to 1 and I set the documentCount to the amount of document elements that are in the incoming xml file.

Message assignment

BinaryFileWithMetadata = BinaryFile;

binaryMessageCreator = new BinaryToSharePoint.Helper.BinaryMessageCreator();

selectXpath = "string(/*[local-name()='BinaryFileToSharePointTest' and namespace-uri()='']/*[local-name()='Document' and namespace-uri()='']["+ System.Convert.ToString(iteration)+"]/text())";

base64String = xpath(BinaryFile,selectXpath);

binaryMessageCreator.CreateBinaryMessage(BinaryFileWithMetadata,base64String);

configProperties = new VdCruijsenNet.Utilities.Sharepoint.ConfigPropertiesXML();

configProperties.AddProperty("Title","test");

BinaryFileWithMetadata(WSS.ConfigPropertiesXml) = configProperties.ToString();

BinaryFileWithMetadata(WSS.Filename) = "bestandsnaamTest "+System.Convert.ToString(iteration)+".pdf";

In the message assignment we first Create the new outgoing message for each of the documents in the incoming xml file. Then we select the base64binary string with an xpath expression and send it to the binaryMessageCreator.

The binaryMessageCreator creates a new System.Xml.Document (which isn’t a xml file but biztalk doesn’t know that :) from the base64binary string. For the source of the BinaryStreamFactory see below:

After creating the new Message of the type System.Xml.Document, which is actually a byte[] containing the file we add a filename and some metadata which can be stored in SharePoint we send the message with the send shape to sharepoint.

The SendPort is a “Windows SharePoint service” sendport which can automatically add the file to a sharepoint document library.

 

Sendport

Receiveport

As you can see it’s pretty easy to get the binary files from an xml file in Biztalk after you know how you can do it.

Happy Coding

Geert van der Cruijsen


Comments (0)

Upgraded my weblog to Blogengine.net 1.4.5

August 6, 2008 23:00 by Geert van der Cruijsen

4 days ago Blogengine.net 1.4.5 was released. A good time for me to upgrade to the newest version since i wanted to split my weblog up to a part to store my messages about my private life and my posts about software development.

Upgrading to 1.4.5 was pretty easy except 1 error i ran into. I'm using blogengine.net together with mysql since my provider doesn't have mssql and I didn't really like the xml based blogging. After setting everything up i kept on running into System.Threading.SemaphoreFullExceptions. After posting this on the Blogengine.net codeplex site some people mentioned this was a bug in the mysql.data.dll version 5.1.6 and if you upgrade to 5.2.2 everything should work fine again. So i did and you can see the results now.

I've also upgraded the layout of my weblog and added a http://life.vdcruijsen.net section to store my weblog about my life when I'm not developing software but am going out on vacation, trips or have something else to blog about.

Tnx to the Blogengine.net team for this great piece of software!

Geert van der Cruijsen

 


Comments (1)

Comparison of Microsoft Silverlight 2 and Adobe Flex by an Adobe Evangelist

July 26, 2008 00:07 by Geert van der Cruijsen

I've found a nice read on a comparison between Microsoft's Silverlight and Adobe Flex by an Adobe Evangelist who took a 3 day Silverlight 2 training.

The weblog post starts of with summarizing the good and bad things of Silverlight but it's also nice to read the comments where a big discussion starts between Microsoft employees, Adobe employees and other developers/designers that have to choose between these 2 technologies.

Things he likes about Silverlight:

  • “The first thing I really like is the concept of threading. Being able to spawn off complex tasks without choking the main thread is pretty cool. You could, for example, show a really smooth animation when you are loading a bunch of data in a separate thread.”
  • “A Silverlight application can directly communicate with the HTML document it is hosted on by simply setting a parameter.”
  • “Being able to code in either C# or VB.NET is also a great feature. Especially since these two languages are pretty familiar to people developing for the Windows platform. I’m not one of them, but I found that C# is similar to ActionScript. Next to those languages you also have XAML, which does more or less the same things as MXML.”
  •  

    after that he tells us the things he doesn't like about Silverlight:

  • Code in XAML and C# is really verbose.”
  • “Styling controls is an absolute nightmare! I honestly think that this is going to be Silverlight’s Achilles’ heel!”
  • “Another thing that I really couldn’t grasp is the lack of HTML tag support in text fields.”
  • “I know the Expression tools are still in beta, but it has to be said that all the tools (including Visual Studio, which is no longer in beta) felt extremely buggy and incomplete.”
  • “Over these three days, I got a strong feeling that Silverlight was created by people who don’t know anything about designers.”
  •  

    In my opinion Silverlight and Adobe Air/Flex can both be big and good in their own things and eventually they will start growing towards each other as .Net and Java are also doing. Adobe has its huge designers userbase while Microsoft has a very big developers userbase. I think Adobe will stay the best thing to use for really nice fancy looking webtools while Silverlight will focus itself on the real rich internet Applications instead of websites which will stay the big focus of Adobe.

    I do agree with him that styling can be pretty hard for designers which aren't used to set all those properties and maybe Silverlight is a bit TOO extensible for them. As an example he shows how to change the rotation of an object in Silverlight and Flex:

    Microsoft Silverlight Adobe Flex

    <Button>
    <Button.RenderTransform>
    <RotateTransform Angle="45"/>
    </Button.RenderTransform>
    </Button>

    <Button rotation="45"/>

    I can see a designer will like the simple rotation property but Microsoft gives us (developers) the option to do all kinds of transformation on the object which is more extensible then the way it's done in Flex.

    About the point where he is complaining about how buggy everything is, I think this changed in a good way from Silverlight 2 Beta 1 to Beta 2 and I'm sure that everything will be really stable at the final release. (of course Visual studio isn't in beta... but the Silverlight developer tools are so that's why Visual studio isn't always that stable while building Silverlight applications at the moment)

    I do think Microsoft will have a hard time to get designers to change to Silverlight from their loved environment which they already know but only time will tell.

    http://www.webkitchen.be/2008/07/17/silverlight-the-good-the-bad-and-the-ugly/

    Geert van der Cruijsen


    Comments (0)

    Last.Fm Radio Stream Player Gadget 0.5 Released!

    July 25, 2008 22:36 by Geert van der Cruijsen

    Last week my mailbox was flooded by mails of people who were telling me my Windows Vista Sidebar gadget to play Last.fm radio was broken.

    I tested it myself and concluded that this was indeed the case. Last.fm changed their website last week and my guess is that they also changed their streaming service.

    After a full night of debugging I found out what was the problem and I fixed it in a new version which can be now downloaded from the download area.

    If you are interested in what was changed read on. The change was fairly simple, the protocol uses 2 handshakes to connect to the service. The first handshake is to connect to the scrobbling service. The second handshake is used to connect to the streaming service. Before last week requesting the mp3 stream was done by sending the sessionid of the first handshake. Now... it seems you have to send the sessionid you get with the second handshake. It took some time to figure this out but now everything seems to work fine again.

    Protocol example:

    Handshake 1 request:

    http://ws.audioscrobbler.com/radio/handshake.php?version=1.4.2.58376&platform=win32&platformversion=Windows%20Vista&username=geertvdcruijsen&passwordmd5=
    4d9309866b98863c3c3336e50392831b&language=en&player=winamp

    Handshake 1 response from last.fm:

    session=bbe5e763d1e1deb988595cecf1c21e9d stream_url=http://87.117.229.85:80/last.mp3?Session=bbe5e763d1e1deb988595cecf1c21e9d subscriber=0 framehack=0base_url=ws.audioscrobbler.com base_path=/radio info_message= fingerprint_upload_url=http://ws.audioscrobbler.com/fingerprint/upload.php permit_bootstrap=0

    Handshake 2 request:

    http://post.audioscrobbler.com/?hs=true&p=1.2&c=tst&v=1.3.1.1&u=geertvdcruijsen
    &t=1217017120&a=2a060e72c7aae132e8fad06b741be806

    Handshake 2 response from last.fm:

    OK 7e5b82460d2a45e382b81c437ae6a87a http://post.audioscrobbler.com:80/np_1.2 http://87.117.229.205:80/protocol_1.2

    Tune to the right radio channel:

    http://ws.audioscrobbler.com/radio/adjust.php?session=bbe5e763d1e1deb988595cecf1c21e9d&url=lastfm://artist/muse

    Response to channel change request from last.fm:

    response=OK url=lastfm://artist/muse stationname= Muse’s Similar Artists discovery=true

    Request metadata of stream:

    http://ws.audioscrobbler.com/radio/xspf.php?sk=bbe5e763d1e1deb988595cecf1c21e9d
    &discovery=0&desktop=1.3.1.1&time=1217017120321

    I was happy to receive the mails of complaints because this is proof people are actually using my gadget :) Hopefully all problems are fixed now so happy listening!

    Geert van der Cruijsen


    Comments (1)

    MOSS workflow wont start because 'The requested workflow task content type was not found on the SPWeb'

    July 2, 2008 22:02 by Geert van der Cruijsen

    The last 2 days my MOSS environment was driving me crazy because an already existing workflow didn't want to start in a new document library in a new subsite. I made this workflow in Visual Studio 2005 and deployed it as a feature to my SharePoint Site. I connected the workflow to a content type and told it to run on new items of this type or whenever an item changes. This workflow worked fine for 2 months in this particular document library.

    After 2 months my client asked for a new subsite with a new document library where this workflow should also run. I installed this workflow here and expected everything would go as planned. When I tried to test the workflow I didn't see anything happen so I tried creating new items, changing them, even manually starting the workflow. Nothing happened. The metadata field which contains the workflow status was staying empty. When checking the log files I didn't see anything either.

    I tried to reinstall the workflow. Deleted and recreated the site nothing seemed to help. During all this the workflow still worked fine in the other subsite and document library. When I recreated the workflow and checked the logfile again I finally found an error. (it seems Sharepoint only logs this error the first time you start the workflow and after that it doesn't do anything)

    The error message in the logfile was the following:

    Workflow Infrastructure        72fv Unexpected AutoStart Workflow: System.ArgumentException: De aangevraagde werkstroomtaakinhoudstype is niet gevonden op SPWeb.     at Microsoft.SharePoint.SPList.PrepForWorkflowTemplate(SPWorkflowTemplate wt)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(SPListItem item, SPFile file, SPWorkflowAssociation association, SPWorkflowEvent startEvent, Boolean bAutoStart, Boolean bCreateOnly)     at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWorkflow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange, AssocType atyp)

    this Dutch error (I really hate Dutch errors. you can't look them up on Google/MSDN:( )translated in English is 'The requested workflow task content type was not found on the SPWeb'. I found the exact translation because I was lucky and when I had the English error this gave me new hope to find a weblog with the answer (since weblogs seem the primary documentation for SharePoint 2007 ;) )

    I searched for the error and everything I could find was reinstalling the OffWFCommon feature. I tried this with the following commands but nothing changed. I also tried to uninstall and reinstall but this didn't help either

    stsadm -o installfeature -filename OffWFCommon\feature.xml
    stsadm -o activatefeature -filename OffWFCommon\feature.xml -url http://localhost/

    This weblog told me the exact thing that was going on. the TaskListContentType wasn't installed on my tasks documentlibrary when I checked it by enabling content types chaning in the advanced settings of the tasks list. The ID of this content type is 0x01080100C9C9515DE4E24001905074F980F93160 which is the same as the OffWFCommon feature so it definitely had something to do with it. When I checked the content types of my task doclib that was working I noticed it had 2 content types attached. 1 called "Task" and 1 called "Workflow task content type" my Tasks library that wasn't working had a content type called "Tasks". I couldn't find any way how to add these content types because these are system content types and thus hidden.

    Solution/Workaround:

    Since I already wasted 1 and a half day on this problem my next try was to save the Tasks documentlibrary of the workflow that was working as a template. After that I deleted the workflow in the new document library and also deleted the Tasks list there. I added a new Tasks list by using the template I made and installed the workflow again for this documentlibrary. I tested it and guess what.. everything seemed to work fine. The solution isn't that pretty but I was glad it finally worked!

    Hopefully someone with the same problem reads this before they waste to much time on this really awful problem. Also if you know  a better solution please let me know because I would really like to know how to really solve this problem.

    Geert van der Cruijsen


    Comments (2)

    DevDays 2008 Amsterdam

    May 22, 2008 21:22 by Geert van der Cruijsen

    I just came home from Amsterdam after a long day of listening to presentations on the DevDays 2008 in Amsterdam. It was a long day since I live "below the rivers" as people in Holland like to call it and its a pretty long drive to Amsterdam so I had to get up early.

     

    I stepped into my car at 6:00 in the morning to be in Amsterdam at 9:00. In the Netherlands traffic is such a joke that it isn't possible for me to be in Amsterdam at 9:00 because when i leave at 6:00 i'm there at 8:00 and when i go a bit later i'm already late for the first session because of all the traffic jams. So around 8 o'clock I entered the Rai and helped a bit at the Avanade stand to help kill the time before the first session.

    At 9:00 the keynote started and David Platt told us Why software sucks. To wrap his story up he told us that developers write software that doesn't function well because it doesn't do it's job like it is supposed to. We build to many "cool" features that nobody uses etc. His principle of software development is: KNOW THY USER FOR HE IS NOT THEE. All in all it was a interesting presentation about something everybody already knows or should know but still a lots of developers keep doing a bad job at it. If you want to know more about this subject check out David's website or read his book called "Why Software Sucks"

    The Second session I visited was an "Introduction to Silverlight 2" by Daniel Moth. He gave us a good overview of what silverlight 2 is going to do at release and what it can already do know. Since I already played around with the silverlight 2 beta I already knew some stuff he told and showed us in the demo's but it was nice to see all aspects of what silverlight 2 is capable off. The demo's he showed us were a Hello World example, a XAML introduction, The bridge between html/javascript and Silverlight 2, Networking capabilities in Silverlight and at the end he showed us how to acces the local file system. On Daniel's blog is a nice summary of his presentation at DevDays so if you are interested in what Silverlight 2 can do check it out at http://www.danielmoth.com/Blog/2008/05/my-silverlight-session.html

    After enjoying a nice lunch in the sun I visited a presentation about "Building Rich Internet Applications for WSS 3.0 and MOSS 2007". This presentation was done by Patrick Tisseghem. Patrick is a SharePoint MVP and showed us to possibilities of using Silverlight in SharePoint. Before I went to the presentation I thought that this could be very useful because in my daily work I have to code against/in SharePoint quite a bit. The Silverlight support Patrick showed us didn't came as anything new to me since Daniel Moth already showed us in his presentation that in Silverlight 2.0 you can acces webservices via the client side code. Patrick showed us how to use the standard webservices that SharePoint exposes and explained to us that we can build our own services to communicate with SharePoint. Since on my projects I already build several webservices on SharePoint this didn't feel like anything new to me and it was mostly more of an introduction to Silverlight 2.0 that that it had something to do with SharePoint. Patrick also showed us what it takes to use Silverlight in SharePoint  but the steps you should take were a bit to specific in my opinion and you'll have to look them up anyway as soon as you want to try it out yourself :)

    The next session was by Ingo Rammer and was about "Combining WCF and WF in the 3.5 framework to build durable services". I really liked this presentation since I work with WCF quite a lot on my projects and it was nice to see how to build workflow services using WF and WCF. Ingo showed us that in the 3.0 framework it wasn't possible to build durable services and if you use duplex services things can go wrong when one of your services restart for some reason. He build a durable service that was serialized when the service shuts down and when it starts again it can be deserialized again so the service that is sending a response wont get any errors because the service has restarted.

    The last session of the day was by Peter Himschoot and was about how to use REST and JSON in WCF. Peter showed us that it is really easy to use REST instead of soap to communicate to WCF services but I still don't think that I'm going to use this very often since REST is specially build to be reached by everyone and most services I build require security and that something that's lacking in REST. Rest isn't supposed to be used for those services and Peter had a nice line for this: REST = REACH. meaning that if you have to communicate with software that's build using older languages you probably use REST because most languages support the HTTP protocol.

    All in all it was a nice day and I enjoyed myself and learned lots of new stuff. People who are going again tomorrow enjoy! I won't be going tomorrow since I have to work on my project half a day before I go away for the weekend to Terschelling with my colleagues of Avanade Netherlands to have fun and drink some beers.

    Geert van der Cruijsen


    Comments (0)

    Display Picture Metadata in your Silverlight 2.0 Deepzoom Application

    April 30, 2008 17:11 by Geert van der Cruijsen

    As i promised 2 days ago here's my post about how to display metadata of sub images in your Silverlight Deepzoom Application. I already typed this post yesterday but because of a stupid mistake i lost my post and now I have to type it again :( (but I think I'll make it a bit shorter)

    To start building your Silverlight 2.0 deepzoom application download Deepzoom Composer from Microsoft here. This tool works quite easy. just add some images in the "import" mode then drag them on your screen in the "compose" mode and then export your deepzoom Project.

    If you want to be able to identify the different sub images in your Multiscaleimage object check the "Create Collection" checkbox.

    deepzoomComposerCollection

    After exporting this will be the result:

    deepzoomexport

    Now to load up this collection of pictures into your own project take a look at this weblog, there is a really good explanation on which steps to take and after you did all those steps i'll explain how to show metada of the different subimages in the deepzoom application.

    So if you are at this point you should have your own working deepzoom application and you want to add picture metadata to your project. If not go back to this weblog or try one of these.

    The only way of identifying the different sub images in the big multiscaleimage is by the Z-Order of the different images. So how do you know which image has what Z-Order you ask? thats where the generated SparseImageSceneGraph.xml comes in which was generated by the Deepzoom Composer.

    <SceneNode

      <FileName> P1000558.JPG</FileName

      <x>0,235460826165879</x>

      <y>0,00108692916410255</y

      <Width>0,218281177677285</Width>

      <Height>0,144923888547009</Height

      <ZOrder>2</ZOrder>

      <Description>Uitzicht van hotelkamer</Description>

    </SceneNode>

     

    As you can see i added my own Description element to every SceneNode in the generated xml so we can use it in our project. We'll use this xml file to query the ZOrder of the subimage and get the description as a result with the use of Linq.

    To do this we'll first have to open the xml file in our code behind page from the page.xaml.cs.

    deepZoomObject.Loaded += delegate(object sender, RoutedEventArgs e)

    {

        _xmlImageMetadata = XDocument.Load("SparseImageSceneGraph.xml");

    };

     

    After that we'll add code to display the metadata when the mouse moves over a sub image in the multiscaleimage.

    deepZoomObject.MouseMove += delegate(object sender, MouseEventArgs e)

    {

        if (mouseButtonPressed) 

        {

            mouseIsDragging = true

        }

        else 

        {

            ImageName.Text = GetMetadata(e.GetPosition(deepZoomObject)); 

        }

        lastMousePos = e.GetPosition(deepZoomObject);

    };

     

    Then we add the function GetMetadata which queries the xml file and gets the description from it.

    private string GetMetadata(Point point)

    {

        Point p = deepZoomObject.ElementToLogicalPoint(point); 

        int subImageIndex = SubImageHitTest(p);

        if (subImageIndex >= 0) 

        {

            var q = from c in _xmlImageMetadata.Elements("SceneGraph").Elements("SceneNode"

            where ((string)c.Element("ZOrder")) == (subImageIndex + 1).ToString()

            select (string)c.Element("Description"); 

            if (q != null)

           

                return q.Single();

           

            else

                return ""

        }

        else 

            return "";

    }

     

    This function uses the function SubImageHitTest which I copied from this weblog:

    int SubImageHitTest(Point p)

    {

        for (int i = 0; i < deepZoomObject.SubImages.Count; i++) 

        {

            Rect subImageRect = GetSubImageRect(i); 

            if (subImageRect.Contains(p))           

                return i; 

        } return -1;

    }

     

    Rect GetSubImageRect(int indexSubImage)

    {

        if (indexSubImage < 0 || indexSubImage >= deepZoomObject.SubImages.Count)        

            return Rect.Empty;

        MultiScaleSubImage subImage = deepZoomObject.SubImages[indexSubImage]; 

        double scaleBy = 1 / subImage.ViewportWidth;

        return new Rect(-subImage.ViewportOrigin.X * scaleBy, -subImage.ViewportOrigin.Y * scaleBy, 1 * scaleBy, (1 / subImage.AspectRatio) * scaleBy);

    }

     

    if you build and start your application now you should be able to see your added metadata when you mouseover a sub image in the MultiscaleImage.

    My working example can be found here: http://www.vdcruijsen.net/projects/SilverlightDeepzoom/test.html

    sourcecode can be downloaded here:

    (you'll have to add your own deepzoom object since i removed that from the zip file)

     

    Happy Coding!

     

    Geert van der Cruijsen

    kick it on DotNetKicks.com


    Comments (2)

    Build your own Silverlight 2.0 Deepzoom application and host it with "Silverlight Streaming"

    April 28, 2008 22:40 by Geert van der Cruijsen

    A few weeks back on MIX'08 Microsoft showed us a stunning demo including new technologies like Seadragon and Silverlight 2.0.

    This demo showed us the collection of memorabilia at Hardrock Cafe. The demo can be found at http://memorabilia.hardrock.com/

    This demo really got my attention and after some searching on the internet i found out i wasn't the only one. There are hundreds of blogposts by people showing how you can build this for yourself and guess what: it's really easy!

    I've spend some days in the weekend and this evening building my own version of a Silverlight Deepzoom Application. Most of my code is "borrowed" or copied from other blog posts which i'll list at the bottom of this post. My goal was to also be able to show metadata at the pictures and after some research it wasn't to hard to do this either. Since i didn't find any other blog posts who explained how to show metadata with your pictures i'll make a seperate blogpost about this tomorrow.

    I've put some of my last vacation photo's online in my own deepzoom test application at: http://www.vdcruijsen.net/projects/SilverlightDeepzoom/test.html (source also linked on that page)

    Download Source: 

    As i said before i won't go explaining the code in this post because i'm gonna do that tomorrow in a separate post where i'll explain how to add metadata to your deepzoom application. if you want more information about Silverlight and Deepzoom check out the following links:

    how it works: http://blogs.msdn.com/jaimer/archive/2008/03/31/a-deepzoom-primer-explained-and-coded.aspx

    lots of how-to's: http://projectsilverlight.blogspot.com/

    more info on silverlight 2.0 http://weblogs.asp.net/scottgu/archive/2008/02/22/first-look-at-silverlight-2.aspx

    Another cool thing i found out is that Microsoft is offering is a hosted environment for your silverlight applications. You can get up to 10GB of free space at Silverlight Streaming: http://silverlight.live.com/

    You can upload your Silverlight manifest files + other resource files like video's to Silverlight Streaming and you can link your silverlight object on your own page. The silverlight object in my own example is also hosted at Silverlight Streaming.

    If you have any questions or recommendations about this subject please dont hesitate to send me a mail about it.

    Geert van der Cruijsen

    kick it on DotNetKicks.com

     


    Comments (0)

    SharePoint Workflow running in a different context as the host sharepoint site

    April 21, 2008 22:30 by Geert van der Cruijsen

    On my current project I ran into a problem with a custom SharePoint workflow because the workflow sometimes failed to run and sometimes it worked like a charm. When I cancelled a workflow which gave an error and restarted it by hand it finished without any problems.

    When I looked in the SharePoint logfiles what was causing my workflows to crash it showed that the workflow couldn’t find values for some settings in the web.config. I couldn’t think off any reason why the workflow couldn’t read these settings about 50% of the times a workflow was started.

    The workflow I created is automatically started after the change of an item in a specific document library. After some testing I found out that all workflows that I started by changing the item with the sharepoint webinterface worked fine but the items that were changed by an external source (a custom webservice I created but also the biztalk SharePoint Adapter webservice) crashed with the error that they couldn’t read the web.config.

    The webservices that are causing the workflow to crash are in a different sharepoint webapplication and thus use a different web.config. When I added my settings in the web.config of this webapplication the workflows stopped crashing.

    So it seems that the WF workflows are running in the process which changed the item in the sharepoint list which caused the workflow to start instead of the standard w3p process of SharePoint which I thought always was the case.

    Happy coding!


    Comments (0)

    Volta or Silverlight 2.0

    April 21, 2008 22:19 by Geert van der Cruijsen

    Last Wednesday evening we had a presentation at the Avanade Netherlands office about Volta and what Volta could do for us in the future. The demo in the presentation showed us the possibilities that Volta can bring to software developing on the web. After this presentation we had a cool discussion about the question if Volta will really make it to the daily life of web based software development.

    In my opinion with my current knowledge about Volta is that a lot of pro’s of Volta are also taken away by using Silverlight 2.0 on the client instead of html/javascript. I’ll sum up most pro’s of using Volta and then compare then to the use of Silverlight 2.0. Ofcourse most things said in this post are just my current ideas and opinions on the 2 projects which are far from complete products today.

     

     

     

    Some pro’s on volta are: Dynamic/easy switching of the place where code is being executed. You can add a single line of code in a class and make it completely run on the client instead of on the server. If you want your code to run on the client Volta will generate javascript from your .net code after it’s compiled to the IL.

    This power of volta makes it easy to just generate all your javascript instead of writing it all by yourself. Everyone knows writing/debugging loads of javascript can be a pain in the ass so of course it’s nice to program in C# or any other .net language you like. You can even set breakpoints on the c# code which you created and step through this when you are actually running generated javascript at that time.

    Volta can also generate javascript which is compatible with the browser which is doing the current request so you don’t have to think about cross browser compatibility anymore.

    All in all at the time Volta will be a fully grown product you can write your whole web application in 1 language instead of also having to write javascript to get your fancy web 2.0 look and feel on your web app.

    After seeing the presentation about Volta I thought the only big feature Volta can bring is the possibility to dynamically change parts of code to run on the client or server. The other nice features are also brought to us with Silverlight 2.0 which makes it possible to write C# for the client side instead of javascript. In my opinion Silverlight even has more and better options to do this because  you have more powerfull tools in the Silverlight runtime which make it possible to make even fancier tools then you can in Javascript. One big example of something Silverlight can do which javascript will never do is that you can make real statefull apps instead of the stateless pages you’ll keep building in Javascript. Opening sockets to the server will never been done by javascript while it is easy to do in Silverlight 2.0

     

    So if javascript is going away in both cases what does Volta bring that silverlight can’t handle? The only big thing that is left is changing your code to run on the server/client by adding a line of code to your class. Ofcourse this can be a really powerfull thing but in my opinion this wont be used that often and especially not in enterprise applications where my focus on my job is at.

    In my opinion Silverlight 2.0 can become a really big revolution on the web IF and only IF Microsoft does everything it can to get the silverlight plugin on ALL pc’s as soon as possible (ofcourse after Silverlight 2.0 is released) The plugin has to be available for every browser no matter what OS. No matter what type of computer. Desktop or mobile. Everyone with Linux and Firefox or Windows and IE will have to get this plugin which has same functionality. So in my opinion Microsoft should develop the plugin for all browsers instead of only for windows+IE and let the moonlight project reverse engineer this plugin for a plugin that runs on linux. Volta instead of Silverlight doesn’t have this problem because the javascript code that’s being generated already runs on all sort’s of browsers on all OS’es.

    We’ll have to see what the future brings but my money is on Silverlight being installed on 95% of all pc’s in a year or 2 so we don’t have to generate Javascript but can just make flashy c# code on the client.

    Another option can also be that Volta will be generating Silverlight code instead of javascript so we get the best of both worlds :)

    Do you have a different opinion? Please let me know in a comment!


    Comments (0)

    Small things that make life easier: attach Visual studio debugger to multiple processes

    March 31, 2008 21:48 by Geert van der Cruijsen

    Hello again.

    Today a really small post from me about a really simple thing i found out today. Ofcourse a lot of people know this but i also know lots of people dont know this while you are using it quite often. When you are developing for SharePoint for example you'll have to debug by attaching your debugger to the right w3wp.exe process. When i did this i always selected 1 and hoped it was the right one. Today i was debugging together with a collegue and then he selected more processes at once and i was like *DOH*!!!

    This discovery can save a lot of time if you always pick the wrong w3wp.exe process like i did :)

    so for everyone who didnt know this use this option from now on. I will do it for sure!

     

    Geert van der Cruijsen


    Comments (1)

    Microsoft releases beta versions of IE8 and Silverlight 2.0 at MIX 08

    March 6, 2008 22:44 by Geert van der Cruijsen

    Today Microsoft launched the public beta of Internet Explorer 8 at MIX'08. As i posted in a blogposting yesterday the big change in Internet Explorer 8 is the render engine which is running in "super standard mode" instead of quirks mode that IE7 uses. You can download the public beta here: http://www.microsoft.com/windows/products/winfamily/ie/ie8/default.mspx

    One thing microsoft learned about the release of IE7 was that after the first Beta release of IE7 there were so many reactions, complaints and idea's send by people that it was almost undoable to do something with all the input. With this release of IE8 Microsoft opened up there bug database to the public so everyone can see the known bugs and people can even help prioritize these bugs.

    One of the new feature in IE8 apart from the render engine is the use of "webslices" (http://www.microsoft.com/windows/products/winfamily/ie/ie8/webslices.mspx) these webslices look like a sort of rss technology where you can subscribe yourself to a part of a website instead of an rss feed and the webslice technology will let you know when the data changed.

    Microsoft also released the beta of Silverlight 2.0. Scott Guthrie made a nice post about that on his blog: http://weblogs.asp.net/scottgu/archive/2008/02/22/first-look-at-silverlight-2.aspx

    There are also some nice video's on the website of MIX 08. These video's and part of the website are made with silverlight 1.0 so check it out:

    mix website: http://visitmix.com/2008/default.aspx

    mix videos: http://sessions.visitmix.com/

    Geert van der Cruijsen


    Comments (0)

    Changing the "object reference not set to an instance of an object" Exception in BizUnit 2.3 for Biztalk 2006

    March 4, 2008 20:49 by Geert van der Cruijsen

    Lately I’ve been working with BizUnit 2.3 to create Unit tests for the Orchestrations we’ve build in BizTalk 2006 at our current customer.

    BizUnit 2.3 is an opensource project on CodePlex (http://www.codeplex.com/bizunit ) to help you make the testing of these orchestrations easier. I’ve noticed that when you create a validation step and try to do a check with an xpath query you can get weird errors when the element you are looking for doesn’t exists.The Exception you’ll receive will be: 

     

    "object reference not set to an instance of an object"

    This Error doesn’t really say what is going wrong in your test report and that’s because the application isn’t throwing an ApplicationException but the code right in front of it will go wrong because checknode is null and BizUnit is trying to compare the checknode.InnerText.What I did was change the code in the XmlValidationStep.cs so it will give a nice ApplicationException when the element you are trying to check doesn’t exist in the xml file you are checking.The changes I made to the code are written down here and should be inserted into XmlValidationStep.cs in the BizUnit 2.3 project

     

    string xpathExp = xpath.SelectSingleNode("@query").Value;
    XmlNode valNode = xpath.SelectSingleNode(".");
    string nodeValue = valNode.InnerText;
    context.LogInfo("XmlValidationStep evaluting XPath {0} equals \"{1}\"", xpathExp, nodeValue );
    XmlNode checkNode = null;

    try
    {
      checkNode = doc.SelectSingleNode(xpathExp);
    }
    catch
    { }
    if
    (checkNode != null)
    {

      if
    (0 != nodeValue.CompareTo(checkNode.InnerText))
      {
        throw new ApplicationException(string.Format("XmlValidationStep failed, compare {0} != {1}, xpath query used: {2}", nodeValue, checkNode.InnerText, xpathExp));
      }
    }
    else

    {
      throw new ApplicationException(string.Format("XmlValidationStep failed, no element found, xpath query used: {0}", xpathExp));
    } 

    Hope this will help you understand the errors you get while testing with BizUnit on your project! 

    Geert van der Cruijsen

     

     


    Comments (0)

    Internet Explorer 8 will render with 'super standard mode'

    March 4, 2008 20:04 by Geert van der Cruijsen

    Today Microsoft promised Internet Explorer 8 will use the 'super standard mode'  rendering mode by standard instead of the IE7 version 'Quirks mode' that was planned earier.

    Because of this People will be forced using the W3C standards OR add a special tag so the browser knows it should render the page in IE7 mode. Hopefully this will help to have 1 standard html which every browser will show the same way. More information about this: http://blogs.msdn.com/ie/archive/2008/03/03/microsoft-s-interoperability-principles-and-ie8.aspx 

    With this change IE8 will be able to pass the ACID2 test but guess what the "Web Standards Project" released the ACID3 test today which is supposed to test Ajax and other dynamic content in browsers. IE7 get's a score of 5 out of 100 while FireFox is getting the current best score with 50/100. Still a long way to go for every browser to pass this test. You can find the test and more information here: http://www.webstandards.org/action/acid3/

     

    Geert van der Cruijsen


    Comments (1)

    SharePoint BDC listview error: "An unhandled exception has occurred: There was an error in the callback"

    February 21, 2008 23:29 by Geert van der Cruijsen

    So after my first month off having my own development blog I already start to slack on making new posts. Not a good sign ;) Well here’s an update again about a weird error I came across in SharePoint today. I'll try to make more posts in the near future but lately I didn't see any cool things to blog about. I also spend most of my free time to study for my MCPD exam next week.

    I was working on a SharePoint Solution using the Business Data Catalog to retrieve data from a mssql database and to show this data in a BDC list view. On my development machine everything was working fine so I uploaded it to my test environment and what happened.

    The following error came up: "An unhandled exception has occurred: There was an error in the callback"


    I checked the trace log and the event viewer. Both didn’t show anything about any error involving the Business data catalog. Google didn’t result in anything useful either so I asked around at some colleagues. Finally one of them gave me the following link:

    http://discuss.joelonsoftware.com/default.asp?dotnet.12.506335.2

    The people at this page have a slightly different problem but I didn’t have any other solutions so I thought I might give it a try. And after I tried it I was stunned. The Data List view actually worked.

    So what was the solution? Adding a Search box web part to the page containing the BDC data list view did the trick. You can set the search box to invisible if you don’t want it visible on your page.

    I haven’t looked why this search box webpart is connected to the data list view yet but I would really like to know why. It took quite some time to figure this one out so in the end I was happy it worked.

    For anyone of you who encounter the same problem as I did I hope you find this post faster as I found my answer today.

    Enjoy!

    Geert van der Cruijsen


    Comments (2)

    Searching Custom columns in SharePoint

    January 16, 2008 22:33 by Geert van der Cruijsen

    The SharePoint Keywordquery and Fulltextsearch are good ways to search metadata programmatically. This option is only available for MOSS 2007 because you don’t have a server context object in WSS 3.0.


    When you Create a keyword query instance the metadata properties that will be returned will only be the basic SharePoint metadata fields like name, title etc. When you want to get your own created columns in the results you’ll have to add the property names to the to the SelectProperties object from the keywordquery.

    // Set result properties
    kwq.SelectProperties.Add("ProductID");

    To search custom SharePoint properties you’ll have to set these properties as Managed Metadata first. After you’ve done this it’s pretty easy. You can just put “propertyname:value” as QueryText and then the search will search the property “propertyname” which contain “value”. You’ll have to put quotes around the search value because otherwise the search will also show results where the value is only a part of the property value.

    Below is a full example how to create a KeywordQuery in code for in example your custom webparts.

    string SSP = ConfigurationManager.AppSettings["SSP"].ToString(); 
    ServerContext context = ServerContext.GetContext(SSP);
    KeywordQuery kwq = new KeywordQuery(context);

    // Set properties for the query before executing
    kwq.ResultTypes = ResultType.RelevantResults;
    kwq.EnableStemming = true;
    kwq.TrimDuplicates = true;

    // Set result properties
    kwq.SelectProperties.Add("ProductID"); 

    kwq.QueryText = column + ":" + value;
    // Fetch data
    ResultTableCollection results = kwq.Execute();
    ResultTable resultTable = results[ResultType.RelevantResults];

    // Load data into a DataTable
    DataTable tbl = new DataTable();
    tbl.Load(resultTable, LoadOption.OverwriteChanges);

    return tbl;

    Hope this will help you building your own custom search webparts in MOSS 2007

    Geert van der Cruijsen


    Comments (0)

    Geert's Vista Sidebar Gadget: Last.fm stream player version 0.1 released

    January 6, 2008 13:07 by Geert van der Cruijsen

    I've been spending all my spare time this weekend to this project but now the player is ready for release 0.1 beta ;)

    You can download the gadget here:

    Last.fm Stream Player gadget Download

     

    Information about how it's made 

    I've used wireshark to learn how the official client was using the last.fm protocol to get a mp3 stream since this wasnt documentated on the last.fm development documentation.

    The different states in the protocol are:

    • handshake 1 (for streaming)
    • handshake 2 (for scrobbling)
    • tuning into a channel
    • get metadata of current song
    • send "now playing" information
    • at the end of song submit the scrobbled song
    • go to step 1

    Since vista sidebar gadgets are html/javascript only the gadget is using an windows media player activex object to play the actual stream. All the handshake and other http requests are done by ajax calls to the audioscrobbler server. You can download the source on the download page also.

    Have fun!

    Geert van der Cruijsen


    Comments (10)

    Creating a Microsoft Windows Vista Sidebar Gadget: Last.fm stream player - part 1

    January 3, 2008 21:47 by Geert van der Cruijsen

    I’ve been using Windows Vista for 1 year now and I never used the sidebar before. I turned it off in the first week and never turned it back on again. Last week I decided to give it a try again and after filling it with some handy gadgets I thought it was time to build my own.

    I didn’t know how to build a gadget so I looked it up on MSDN. There are some samples there but basically sidebar gadgets are small “web parts” totally build in HTML and JavaScript.

    My first gadget I’m going to build is a Last.FM music player that can play a music stream from the Last.fm site with peoples favorite artists or with music matching a tag. Like you can do on the Last.fm site yourself.I went searching how I could get this stream to run in my gadget and I found out that Last.fm is using a fairly simple http based protocol which is described at http://www.audioscrobbler.net/development/protocol/I first started out with the 1.1 protocol because I didn’t read that there already was a 1.2 version. The 1.2 protocol has 3 states (handshake, now playing and submission) at the moment I’m writing this the only thing I have made is the handshake part and other functions to get metadata from the track.

    I didnt make a nice user interface for my gadget yet and i didnt make anything to save your settings in. This will all be done in the upcoming days. If someone is really good in making a nice little interface (max 60 pixels wide) and feel like helping me out at this give me a call!. I'm not that good at grapic design.

    btw. Coding Javascript in Visual Studio 2008 is really really nice. The intellisense really works great and it helps you write code a lot quicker.

    I didnt put the sourcecode online yet since it's all in the debugging phase right now and everything is still hard coded (user,password, radio channel etc). When everything is done i'll post the full sourcecode here.

    The functions that I’ve build now are shown in the following picture

    The javascript code for these functions is shown below. (I will put it all on my site as a gadget when the whole thing is done).

    This is all i could do in my spare time the last 2 days. I hope to get a lot further tomorrow and i'll post the results again.

    function Play()

    {

    duration = 0;

    document.WindowsMediaPlayer.Stop();

    GetMetaData();

    currentlyPlaying = true;

     

    setTimeout("UpdateTimer()", 1000);

     

    }

    function stop()

    {

    currentlyPlaying = false;

    document.WindowsMediaPlayer.Stop();

    }

    function UpdateTimer()

    {

    if (currentlyPlaying)

    {

    if((document.WindowsMediaPlayer.CurrentPosition < duration) || (duration == 0))

    {

    document.getElementById("counter").innerHTML = ConvertSecondsToTime(document.WindowsMediaPlayer.CurrentPosition);setTimeout("UpdateTimer()", 950);

     

    }

    else

    {

    //alert("restart");

    document.WindowsMediaPlayer.Stop();

    SendHandshake();

    }

    }

    else

    {

    stop();

    }

    }

    function ConvertSecondsToTime(seconds)

    {

    var date = new Date(seconds * 1000);

    var timeString = date.getMinutes() + ":" + date.getSeconds();

    return timeString;

    }

    function makeRequest(url) { http_request = false;

    if (window.XMLHttpRequest) { // Mozilla, Safari,...

    http_request = new XMLHttpRequest();

    if (http_request.overrideMimeType) {http_request.overrideMimeType(

    'text/xml');

    }

    } else if (window.ActiveXObject) { // IE

    try {

    http_request = new ActiveXObject("Msxml2.XMLHTTP");}

    catch (e) {

    try {http_request =

    new ActiveXObject("Microsoft.XMLHTTP");} catch (e) {alert("error");}

    }

    }

    if (!http_request) {

    alert('Giving up :( Cannot create an XMLHTTP instance');

    return false;

    }

    http_request.onreadystatechange = alertContents;

    http_request.open('GET', url, true); http_request.send(null);

    }

    function alertContents()

    {

    if (http_request.readyState == 4)

    {

    if (http_request.status == 200)

    {

    document.getElementById("debug").innerHTML = http_request.responseText;

     

    switch(functionCall)

    {

    case "SendHandshake" :

    GetHandshakeResponse(http_request.responseText);

    break;case "TuneIn" :

    GetTuneInResponse(http_request.responseText);

    break;

    case "GetMetaData" :

    GetMetaDataResponse(http_request.responseText);

    break;default:

    alert(functionCall);

    }

    }

    else

    {

    alert('There was a problem with the request.' + http_request.status);

    }

    }

    }

    function SendHandshake()

    {

    var now = new Date();

    now.setHours(now.getUTCHours(),now.getUTCMinutes(),now.getUTCSeconds(),now.getUTCMilliseconds());

    var time = parseInt(now.getTime()/1000.0)

     

    functionCall = "SendHandshake";

    url = "http://post.audioscrobbler.com/?hs=true&p=1.2&c=tst&v=1.3.1.1&u="

    url += "geertvdcruijsen";url += "&t=";

    url += time;

    url += "&a=";

    var md5String = MD5("password");

    md5String += (time);

    url += MD5(md5String);

    makeRequest(url);

    }

    function GetHandshakeResponse(response)

    {

    arr_response = response.split("\n");

    //stream_url = arr_response[1].split("stream_url=")[1];

    session = arr_response[0].split("session=")[1];document.getElementById("session").innerHTML =response;

    TuneIn();

    }

    function TuneIn()

    {

    functionCall = "TuneIn";url = "http://ws.audioscrobbler.com/radio/adjust.php?session=";

    url += session;

    url += "&url="

    url += "lastfm://artist/Chemical+Brothers/similarartists";url += "&debug=0";

    makeRequest(url);

    }

    function GetTuneInResponse(response)

    {

    Play();

    }

    function GetMetaData()

    {

    var now = new Date();

    functionCall = "GetMetaData";url =

    "http://ws.audioscrobbler.com/radio/xspf.php?sk=";

    url += session;

    url += "&discovery=0&desktop=1.3.1.1&time="

    url += now.getTime();

    makeRequest(url);

    }

    function GetMetaDataResponse(response)

    {

    arr_location = response.split("<location>");stream_url = arr_location[1].split("</location>")[0];

     

    arr_duration = response.split("<duration>");duration = arr_duration[1].split(

    "</duration>")[0];

     

    duration = (parseInt(duration,0)/1000) -3;

    document.getElementById("metadata").innerHTML = ConvertSecondsToTime(duration);

     

    document.WindowsMediaPlayer.fileName = stream_url;

    document.WindowsMediaPlayer.Play();

    }

    <object id="wmp" standby="standby" type="application/x-oleobject"> <embed type="application/x-mplayer2" id="WindowsMediaPlayer" name="WindowsMediaPlayer" showstatusbar="-1"></embed>

    </object>


    Comments (0)

    Volta, Seadragon and Photosynth. Cool stuff from Microsoft Live labs

    December 30, 2007 13:37 by Geert van der Cruijsen

    Almost 1 month ago Microsoft showed us their first technology preview of Volta. Volta is a new technology by Microsoft which makes it possible to change code to run on the server or client by only changing 1 line of code.

    Imagine the possibilities on proof of concept projects where you don’t know where the bottlenecks will be. With this technology you can just build a test application and when you’re finished you can change pieces of code to run on the client or server to increase performance. Go and download the Volta technology preview on the live labs site now.

    Another thing I wanted to show you is Seadragon. Seadragon is another technology by Live Labs from Microsoft. Seadragon is a technology where really high resolution pictures are stored on a server and you can zoom into them on the client. This makes it really easy to watch really high resolution images without having them on the client location. The Server application only sends the information that the client can see to the client application. These generated images are far less big in size as the original images are on the server.

    Photosynth is another technology made by Live Labs and it is using the Seadragon technology to stream the images to the client. Photosynth is a tool to view a collection of images based on the location of where the images are taken. Photosynth can scan through a big collection of images of for example a big building and make up a 3d model of this building by using the images in the collection. You can view the building by selecting the angle of a specific image and the application will load that image with the Seadragon technology. From this new angle on the building you can zoom or select another image and you can take a virtual tour around the building like that.

    You can test Photosynth on the live labs website with a few collections off famous buildings/objects like the NASA space shuttle Endeavour or Piazza San marco in Venice.

    I found a really nice video about Seadragon and Photosynth on Youtube. If you want to see what is possible with these new technologies you really have to check it out.

    I really think these technologies can grow big if you combine it for example with sites as Flickr so you can get a really new experience browsing through pictures.

    Geert van der Cruijsen

     


    Comments (0)

    Using the Flickr.net Api on a medium trust server

    December 29, 2007 19:37 by Geert van der Cruijsen

    The photo sharing site Flickr has a nice api which you can use in your own applications. On codeplex is a .net version of this api Flickr.net.

    I had to make a little script for a friends project so she could view random flickr photo's on her site. I made a aspx page using the Flickr.Net dll and it worked perfectly on my own machine. after uploading it to my hosted webserver i ran into trouble. the following error came up when browsing to the aspx page

    Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

    After some research i came to the conclusion that it had something to do with my site running in a medium trust. The Flickr.Net api uses a caching function standard which doesnt has the right permission on a hosted envoirment.

    The real solution was easy after i found out what the real problem was. The only thing i had to do was disable the caching:

    Flickr.CacheDisabled = true;

     

    After doing this the script was running perfectly. during the search for the solution to this problem i came across a lot of people who had the same problem when deploying their Flickr.net enabled scripts so i thought it was handy to post this simple solution.

    Have fun with your Flickr.Net enabled Scripts!

    Geert van der Cruijsen


    Comments (1)

    403 Forbidden error when deploying custom features in SharePoint

    December 22, 2007 18:22 by Geert van der Cruijsen

    This week i ran into a problem after deploying a feature in SharePoint. I ran the stdadm command to install and activate a feature, the command returned without any errors so i thought everything was ok. When i tried to open up SharePoint in the browser all the pages gave a "403 forbidden" error

    My first thoughts where that there was something wrong with the feature but this couldn't be the case because this feature was installed on multiple envoirments and they were all working ok.

    After some research i found out that SharePoint didnt have enough rights in the feature directory in "program files\common files\microsoft shared\web server extensions\12\templates\features\$feature name dir"

    This error can occur when you manually create a directory in the "features" directory of SharePoint. You can easily fix it by right clicking the folder, click properties, security and then Advanced. On the permissions tab delete the "Uninhereted permissions from the folder". Another option is to manually give the right users the rights to the directory.

    Geert van der Cruijsen


    Comments (0)

    Creating a multitouch User interface in C# using the WiiMote

    December 22, 2007 18:03 by Geert van der Cruijsen

    I think most people heard about Microsoft Surface. (If not check http://www.microsoft.com/surface/) This machine will cost around 5000 to 10000 dollars but hey it's a really cool device. Now on my daily journey surfing the internet I came across a really cool project that everyone can try at home if you have knowledge about .net and own a Nintendo Wii to create your own multi touch user interface!

    Since the Wii remote is using a Bluetooth connection towards it’s remote it’s also possible to connect it to your own pc. The Wii remote has an infra red sensor which can sense multiple infra red light sources at the same time.

    How this all works is explained at http://www.cs.cmu.edu/~johnny/projects/wii/

    There is also a C# sample code how to connect your pc to your Wii remote and how you’re able to do cool stuff with it. If I have enough time in the coming weeks I’ll try to test it myself if I can get my hands on some infra red LED’s.

    Have fun!

    Geert van der Cruijsen


    Comments (0)

    Hello World!

    December 22, 2007 17:19 by Geert van der Cruijsen

    Hi everyone,


    Welcome to my first blog. The reason I’m starting to blog is that I’ve recently started working for Avanade and I’m coming across a lot of new things in the Microsoft world and i would like to share those things with you.


    I’m trying to keep up with all the new things Microsoft is throwing at us and I’ll post some experiences when I try them out.


    About myself: my name is Geert van der Cruijsen and me and my girlfriend live together in Uden, The Netherlands. I started to work for Avanade the first of September this year and I’m going to work on my MCPD-EA certification this year. From the Microsoft technology my experience lies in SharePoint 2007, C#, asp.net and Webservices.


    Thanks for reading my first post and enjoy!


    Comments (0)