In the past in my team, we were storing the Telerik assemblies into our SVN repository then in Git! I wasn’t happy about that for a really long time. Each releases our repository was growing much more than it was needed for nothing!
Continue readingI finally invested time to migrate our build from a heteroclite mixture of MSBuild, TeamCity build steps and whatever to something that really delight me: Cake (C# Make).
Continue readingAs said in a past post: Yeah!!! :-)
Publications are working, I am working on the new publishing tool for my
website Tech Head Brothers, and
today I reached another milestone: The tool is now installed on Laurent
Duveau notebook and he is able to post directly from Word 2003.
If you are using ReSharper
from JetBrains and you have some
difficulties to remember the different available shortcuts then I recommend you
this Pdf file:
Today I am with Microsoft
France in Strasbourg for the “Rencontres
Solutions Métiers sur Office“ where I will demonstrate the tool and the
publishing chain of Tech Head Brothers. I will be on stage in one hour to
demonstrate the smart application and to show one live publication on the web
site of a new article by Mitsuru
FURUTA talking about WinForms.
Tuesday, 26 April I will be with Microsoft France in Strasbourg
as a speaker for the “Rencontres Solutions Métiers sur Office”. I
will demonstrate the tool I developed for Tech Head Brothers website based
on VSTO 2003, Word 2003, XML Schema, XML, XSLT, Web Services secured with
WS-Security and WS-Policy.
I finally managed to have a first beta going to the Tech Head Brothers authors of my
publishing tool based on Word 2003, XML, Web Services… Read
more and a bit
more.
“Rick Ross, founder of Javalobby, talks about our recent trip to the
Microsoft campus in Redmond Washington for the Technology Summit 2005. This
gathering of developers from a variety of platforms yielded some interesting
insights from all parties. Listen on for Rick’s overview and thoughts on the
summit.
I was asked about the new way to work with NFOP to generate the pdf without
the old Engine class. So here is what I am doing:
1 #region Using
2
3 using System.Net;
4 using System.Reflection;
5 using System.Xml;
6 using System.Xml.Xsl;
7 using java.io;
8 using log4net;
9 using org.apache.fop.apps;
10 using org.xml.sax;
11 using TechHeadBrothers.Portal.UI;
12 using StringWriter = System.IO.StringWriter;
13
14 #endregion
15
16 namespace TechHeadBrothers.TechHeadBrothers.Portal.UI
17 {
18 ///
20 ///
21 public class FOPPrintStrategy : PrintStrategy
22 {
23 #region Logging Definition
24
25 private static readonly ILog log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
26
27 #endregion
28
29 protected override void Print(PrintArticle page, string xmlpath, string xslpah, XsltArgumentList xsltargs)
30 {
31 string fullFoDoc = XmlContentToFoContent(page, xmlpath, xslpah);
32
33 InputSource source = new InputSource(fullFoDoc);
34 ByteArrayOutputStream output = new ByteArrayOutputStream();
35
36 try
37 {
38 Driver driver = new Driver(source, output);
39 driver.setRenderer(Driver.RENDER_PDF);
40 driver.run();
41 output.close();
42
43 int sz = output.buf.Length;
44 byte[] pdf = new byte[sz];
45 for (int i = 0; i < sz; i++)
46 pdf[i] = (byte) output.buf[i];
47
48 page.Response.ClearHeaders();
49 page.Response.Clear();
50
51 page.Response.AddHeader(“Content-Disposition”, “attachment; filename=TechHeadBrothers.pdf”);
52 page.Response.ContentType = “application/octet-stream”;
53
54 page.Response.Flush();
55 page.Response.BinaryWrite(pdf);
56 page.Response.End();
57 }
58 catch (FOPException fope)
59 {
60 if (log.IsDebugEnabled)
61 log.Debug(fope.getMessage());
62 }
63 }
64 }
The **latest **release of Updater Application Block, version 2.0, can be
downloaded from Microsoft
Download Center.
Updater Application Block, version 2.0, uses other application blocks
included in *patterns & practices *Enterprise Library. The Updater
Application Block uses the Configuration Application Block and the Cryptography
Application Block. You can choose to use these in your application or just take
them as part of the implementation of the updater. Enterprise Library was
released in January 2005. To learn about and download Enterprise Library, use
the following links: