It is really nice :-) Mathieu
is beta testing the tool I developed to publish Articles and How to on our
site Tech
Head Brothers, a French portal about .NET. And he succesfully published a
first article directly from Word 2003 !!!
Now that I have my publishing tool working I just got the news that as a Microsoft MVP I can register to get a free X.509 certificate. Excellent timing :-) !!!
I planed to generate one, but with such an offer…
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:
- Transform the XML generated by Word 2003, e.g. to include pictures, colorize source code...
- Zip the XML document and all referenced files (pictures, zip)
- Attach the zip file using DIME to the SOAP context
- Add signature and encryption to the SOAP context
- Call the web service
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 |
I finally fixed the issue I reported in the post “New milestone reached in the development of the authoring tool for Tech Head Brothers French portal “. I am still waiting some feedback from Peter (he might be in holidays).
I am getting an exception when I try to deserialize an object. This exception is due to a security problem.
Continue readingIn this version we now have:
- a toolbar hosting Preview, Zip, Post plugin 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:
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.
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.