This morning I woke up at 4:30 AM, and could not sleep anymore, so I decided to work on my publishing tool for my site Tech Head Brothers. I finally managed to publish directly from Word 2003 in a secure way.
The website expose a publishing web service that uses WS-Policy, to specify that it needs Signature and Encryption using a X.509 certificate. When the user hit the publish button, the tool:

  1. Transform the XML generated by Word 2003, e.g. to include pictures, colorize source code...
  2. Zip the XML document and all referenced files (pictures, zip)
  3. Attach the zip file using DIME to the SOAP context
  4. Add signature and encryption to the SOAP context
  5. Call the web service
Continue reading

Today I am flying to Barcelona - Spain and leaving the horrible weather here in Zürich - Switzerland (same at home in Mulhouse - France). I am attending Microsoft Connect Event, and really hope to see a bit of blue sky there because it has been to much time without sun here.

![](http://perso.wanadoo.fr/laurent.kempe/images/Connect%20Event%20Barcelona%202004%20Zurich.jpg)
1. Zürich, horrible weather, 8 degrees, raining, but a Ferrari
![](http://perso.wanadoo.fr/laurent.kempe/images/Connect%20Event%20Barcelona%202004%20Fly.jpg)
2. Nice flight, at least here the sky is blue
![](http://perso.wanadoo.fr/laurent.kempe/images/Connect%20Event%20Barcelona%202004%20Morning.jpg)
3. WHOAUH !! Waking up in such conditions is a pleasure
Continue reading

I refactored quit a lot of code on my site Tech Head Brothers this week and went to bed late (around 1:30 AM each day). But now it is running better and faster. I removed the rendering to Pdf using NFop of the articles because it works locally on my TEST server but not on the PROD one.

One of the speed improvement is due to the complete reimplementation of a user control that download a RSS to publishnews on my site. The issue with the previous method was that the cache was buggy. Now what I am doing is to to use two values in cache, one is the RSS document (a XML document as a string) and that one never expire:

Continue reading

I started yesterday to work on the second release of the publishing tool that we are using to write articles on my site Tech Head Brothers. The first version what packing everything needed (XML, pictures, source zip) into one zip file that the author was emailing me for publishing. The new idea is to have a Web Service on the web site that directly accept this zip file as a Dime attachment. So the author can directly post his article to the web site without passing it to me. I am so lazy ;-)

I have this web service developped and the code in the VSTO project. Then I faced an issue during debugging. In fact when the debugger reach the point of calling the web service then I get back to the Word 2003 document, and can’t continue to debug and the web service is not called. If I remove the line of code that attach the Dime attachment to the request:
srv.RequestSoapContext.Attachments.Add(attachment);
and call the service then it works, but for sure that’s not what I want.

Continue reading

I finally managed to have my content XML schema version 2.
This allows
me to edit the content of my site in World 2003. I have to say that it is pretty
cool to type articles in World and then just to save them in XML and post then
on the site.

Comment and share

Copyrights © 2024 Laurent Kempé. All Rights Reserved.
Author's picture

Laurent Kempé

I am an experienced Team Leader & Distinguished Solution Architect with a passion for shipping high-quality products by empowering development team and culture toward an agile mindset. I bring technical vision and strategy, leading engineering teams to move product, processes and architecture forward.


Team Leader, Distinguished Solutions Architect


Illzach, France