Archive for October, 2009

Sharepod for iPhone

If you own a iPhone, you might want to check out Sharepod, at http://www.getsharepod.com/download/. With this little application you’re able to send media files (mp3 etc) to your ipod without using  Itunes.

Why do I want this? Well, I got some mp3 songs on my work computer and I wanted them on my iPhone. If I try to use Itunes on my work computer all other mp3’s will be lost since you can only sync one Itunes at the time to iPhone (crap). Btw, you still need Itunes installed on the computer running SharePod.

Read Full Post »

Nikon D3s

Nikon releast its latest flag ship, the Nikon D3s about a week ago! It’s an improved version of the D3 camera, with the ability to catch HD video (720p) as well as taking images with the whopping ISO 102400 (that’s crazy!). Check out the brief hands on at DP Review here:


Read Full Post »

Need utils for fast testing of WCF or webservices?

SoapUI is a great tool for testing webservices (http://www.soapui.org/).

The built in WcfTestClient for VS Studio is another which works for both webservices as well as WCF services! It could be found under C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\WcfTestClient.exe in VS Studio 2008.

Read Full Post »

Microsoft has released Beta 2 of VS Studio 2010 and .Net 4.0 today, available for MSDN subscribers, check it out at: http://go.microsoft.com/fwlink/?LinkID=151797.

Read Full Post »

Microsoft released a VPC for BizTalk 2009 to be used as live demo or hands-on labs.

Download it here:

The virtual machine image contains a full live demo and six hands-on labs of BizTalk Server 2009, which highlight integration with SharePoint Server 2007 and Windows Workflow (.NET 3.5).

Read Full Post »

One problem I encountered in a project is to call several services (Webservice/SQL etc) via BizTalk before delivering a result back to a web application. By calling the services synchronously and letting the user wait meanwhile is not a good solution, however calling the services asynchronously seems like a better choice.

By using AJAX and exposing the services as webservices from BizTalk a great solution could be made. I made a test webservice with the following code:

namespace WebApplication1
    /// <summary>
    /// Summary description for WebService1
    /// </summary>
    [WebService(Namespace = “http://tempuri.org/“)] //
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
    public class WebService1 : System.Web.Services.WebService

        public string HelloWorld()
            return “Hello World”;

        public string HelloWorld2()
            return “Hello World2″;

Note the 5 seconds sleep in the HelloWord2 method. Then I created and AJAX enabled web page, with the following code:

<%@ Page Language=”C#” AutoEventWireup=”true” CodeBehind=”Default.aspx.cs” Inherits=”WebApplication1.Default1″ %>

<!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”>

    <script type=”text/javascript”>

        function pageLoad() {

        function MyBtn_onclick() {
            ret1 = WebApplication1.WebService1.HelloWorld2(OnComplete1, OnTimeout, OnError);
            ret2 = WebApplication1.WebService1.HelloWorld(OnComplete2, OnTimeout, OnError);

        function OnTimeout() {
            alert(“Timeout on webservice call”);

        function OnError() {
            alert(“Error in webservice call”);

        function OnComplete1(arg) {
            document.getElementById(‘MySpan2’).innerHTML = arg;

        function OnComplete2(arg) {
            document.getElementById(‘MySpan1’).innerHTML = arg;

    <form id=”form1″ runat=”server”>
        <asp:ScriptManager ID=”ScriptManager1″ runat=”server”>
           <!– Add a reference to the webservice, to be able to call it from javascript code above –>
                <asp:ServiceReference Path=”~/WebService1.asmx” />
        <input id=”MyBtn” onclick=”return MyBtn_onclick()” type=”button” value=”Invoke” />
        <br /><br />
        <span id=”MySpan1″></span>
        <br />
        <span id=”MySpan2″></span>

When a user clicks on the Invoke button, the code invokes the both methods asynchronously. This means that the HelloWorld method returns its value before the HelloWorld2, even thought the HelloWorld2 is called before HelloWorld.

Read Full Post »

Microsoft released this white paper which describes how to connect BizTalk Server 2009 with Sharepoint 2007. Check it out at http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=dd4e843d-2121-4016-8391-d763d0ff0a08. You could also check out my old post about this subject.

Read Full Post »

I finally got around to test Windows 7 (I’m running it on my web/media server). It looks a lot like Vista, but hopefully it’s way better. 

I had troubles getting my old Soundblaster Live 5.1 to work with Windows 7, but after downloading kx-driver (freeware driver for soundblaster) I got it running  by doing the following:

I ran msconfig to disable the kx mixer in startup (since it crashes under Windows 7).
Then I right clicked on kxmixer.exe and set it to run under Vista compability. Then I created a shortcut to kxmixer and added it to the Startup folder on the windows menu.

Now, kx-mixer starts during boot, but the sound was terrible! Then, I went to the control panel>Sound and selected a different output to be default, see below (I set the  SPDIF/AC3 as default since I’m only using digital out). Now, the sound is cristal clear and everything works prefectly…

Windows 7

Read Full Post »