by community-syndication | Jun 8, 2006 | BizTalk Community Blogs via Syndication
I demonstrated over a year ago the code required to subscribe to the Policy Override event when developers checkin code, as you know you can apply Checkin policies to ensure developers do things like linking to Work Items, provide Checkin comments, etc. These can of course be “skipped” by Overriding the policy which is valid for scenarios like say 0200 when you need to get the code checked in for a change.
When I first demonstrated it, and plenty of people have demonstrated since, it involved in writing bits of code (not a lot but code nonetheless), things obviously improved as the product developed and here’s the much cleaner way of achieving this.
You can simply use bissubscribe.exe to subcribe to events now instead of writing a custom application that used the various Team Foundation Web Services, this command subscribes to the Checkin event and filters on the PolicyOverrideComment – if it’s been filled in (which is mandatory) the developer has “skipped” your Checkin Policy at which point you may wish to have words 🙂
bisSubscribe.exe /eventType CheckinEvent /userId VS2005\Administrator /address [email protected] /deliveryType EmailHtml /filter “PolicyOverrideComment <>””
Note that CheckinEvent is case sensitive – watch out (it had me stumped for a while)
This will cause an email to be sent to [email protected] when a developer overrides the policy, you’ll get an e-mail containing all of the changeset information including the TFS user in question.
You can obviously filter on anything you like but that will catch all PolicyOverrides, if you then want to have more control about the notification (perhaps IM, custom e-mail, etc. – then you’ll need to do it the Web Service Way:
bisSubscribe.exe /eventType CheckinEvent /userId VS2005\Administrator /address http://localhost:8080/CheckInNotificationWS/Service.asmx /deliveryType Soap /filter “PolicyOverrideComment <>””
As you all should know I’m a big fan of strong-typing when it comes to XML so I use XSD/C on the checkinevent schema that you can find here:
C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\TF Setup\CheckInEvent.xsd
Then declare any-old Web Service that has a method that looks like this (note the policy override code isn’t required as the bissubscribe tool is doing this for you)
[WebService(Namespace = “http://tempuri.org/“)]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService
{
public Service () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[SoapDocumentMethod(Action = “http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/02/Notify”,
RequestNamespace = “http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/02”)]
[WebMethod]
public void Notify(string eventXml)
{
XmlSerializer xs = new XmlSerializer(typeof(CheckinEvent));
StringReader sr = new StringReader(eventXml);
CheckinEvent CheckIn = xs.Deserialize(sr) as CheckinEvent;
if (CheckIn != null)
{
// Were there any Policy Failures during this checkin?
if (CheckIn.PolicyFailures.Length > 0)
{
}
}
}
Enjoy!
by community-syndication | Jun 8, 2006 | BizTalk Community Blogs via Syndication
I've finally shipped the Adapters chapter of Professional BizTalk Server 2006, which makes 3 chapters done and plenty more to go 🙁
The chapter specifically doesn't cover writing Custom Adapters or the underlying Adapter architecture as I've taken the call that BizTalk Unleashed contains the "bible" of Adapter Development written by Kevin Smith (who I like to think as the godfather of that area 🙂
I discuss the myriad of Receive and Send Port magic and drill into each Adapter providing background on when you should and shouldn't use them (MSMQ vs MSMQT for example), the context properties promoted and provide a walkthrough on developing and configuring the FILE, WSS and SOAP Adapters and with the SOAP adapter I explain how to effectively create the message required to send to a SOAP adapter with a complex-type (i.e. class).
Plus with our announcments around BizTalk Server 2006 R2 it looks like I'll be modifying the book in a number of areas to make it cover R2 (especially with regard to WCF) and will ensure it's bang up to date when it hits the shops early next year.
I've had to replan the chapter ship schedule as I'm a bit behind 🙂 but I'm still on-target to meet the original end date and I've got the BizTalk Architecture chapter to ship before I go on holiday early July!
by community-syndication | Jun 7, 2006 | BizTalk Community Blogs via Syndication
RSS feeds are great to keep you up to date without the hassle to go and look if information is updated; the new/updated stuff is pushed towards you. In the previous version of SharePoint, there was no support for RSS feeds out of the box. Although it’s possible to add RSS functionality to SharePoint 2003 by installing add-ons, it’s not very straight forward. Luckily in the new SharePoint 2007 RSS feeds are available, and the good news is: it’s enabled by default! When you navigate to a list or document library, you can select the View RSS Feed item from the Actions menu.

This will navigate to the RSS feed’s URL, but you’re not going to see the raw XML; it’s transformed into a nice web page using a XSLT. From this page you can click the Subscribe to this feed link which will send the feed to your favorite RSS reader (for example Outlook 2007).

This is what you get if you do not change anything, of course you can also customize the RSS feed for each list. For each list’s RSS feed you can specify the title, description and image url. Additionally it’s possible to choose the columns which should be included and the number of items to show in the feed (optionally limited by the age of the items). The default RSS feed of a list is based on the default view of that list. But each list view also has a RSS feed which can be retrieved from the view’s settings page. Great!
So is there still room for improvement and/or opportunities? I do think so! One of the nice features of the U2U RSS Feed Generator for SharePoint, is the ability to create a feed that aggregates more than one list. This enables the users of a site to subscribe to one feed which bundles all the important information of a site. Maybe exposing the OPML for all the lists of a specific site could be a workaround. Let’s see if there will be any improvements in RC1, otherwise we’ll have to built something!

by community-syndication | Jun 7, 2006 | BizTalk Community Blogs via Syndication
If you are coming to TechEd next week – come to my session and learn about building
custom activities in workflow:
CON333 (WinFX) Windows Workflow Foundation: Creating
Custom Activities for Workflows
Day/Time: Thursday, June 15 1:00 PM – 2:15 PM Room: 254
AB
Speaker(s): Jon
Flanders
Activities are the building blocks of workflows much like
controls are the building blocks of ASP.NET pages or Windows Forms. In Windows Workflow
Foundation, activities are used to encapsulate execution logic, communicate with the
host and factor a workflow into reusable components. In this session, learn how to
create custom activities and re-usable libraries of workflow building blocks.
Track(s): Connected Systems
Session Type(s): Breakout Session
Session Level(s): 300
Also – I’ll be hanging by the Windows Workflow TLC area when I’m
not speaking or attending sessions – come on by and say “Hi” and ask about WF.
(for you literal people out there – feel free to say hi if you see me outside of the
TLC area as well – ;-))

by community-syndication | Jun 7, 2006 | BizTalk Community Blogs via Syndication
Thanks to your input, we’ve created and published a new BizTalk Server 2006 whitepaper.
This paper describes some key product enhancements of interest to Developers and IT Professionals which are included in Microsoft BizTalk Server 2006. Of particular interest are improvements made to the application deployment and application upgrade experience via the platform’s application concept, the new BizTalk Server Administration Console, and developer redeployment enhancements made in Microsoft Visual Studio.
We hope you find this useful.
http://download.microsoft.com/download/5/3/b/53b9f43a-66e2-4b89-aca6-2577e71512f7/UnderstandBTSAppDepl.doc
Download more BizTalk Server 2006 whitepapers here.
by community-syndication | Jun 7, 2006 | BizTalk Community Blogs via Syndication
Microsoft IT’s BizTalk Server implementation acts as the hub between internal and external business transactions at the company, from the production and manufacture of the Microsoft Xbox%u00ae video game system through the movement of more than US$20 billion in treasury funds each month. How were these mission-critical applications running on BizTalk Server 2002 and BizTalk Server 2004 migrated and upgraded to BizTalk Server 2006? And what were the benefits to upgrade? Read the technical white paper and watch the new video.
Technical White Paper | Video
For more customer evidence, see:
Microsoft Case Studies
BizTalk Server 2006 RTM and BizTalk Customer Evidence
by community-syndication | Jun 7, 2006 | BizTalk Community Blogs via Syndication
Microsoft IT’s BizTalk Server implementation acts as the hub between internal and external business transactions at the company, from the production and manufacture of the Microsoft Xbox%u00ae video game system through the movement of more than US$20 billion in treasury funds each month. How were these mission-critical applications running on BizTalk Server 2002 and BizTalk Server 2004 migrated and upgraded to BizTalk Server 2006? And what were the benefits to upgrade? Read the technical white paper and watch the new video.
Technical White Paper | Video
For more customer evidence, see:
Microsoft Case Studies
BizTalk Server 2006 RTM and BizTalk Customer Evidence
by community-syndication | Jun 6, 2006 | BizTalk Community Blogs via Syndication
by community-syndication | Jun 6, 2006 | BizTalk Community Blogs via Syndication
You can find more information here:
http://biz.yahoo.com/prnews/060606/sftu068.html?.v=51
by community-syndication | Jun 6, 2006 | BizTalk Community Blogs via Syndication
You can find more information here:
http://biz.yahoo.com/prnews/060606/sftu068.html?.v=51