Tag | XML Posts

Ray Ozzie, chief architect at Microsoft, opened the keynote. Here are my random notes: Ray thanked everyone for coming to the event and stressed how important we all are in Microsoft's success. He then stressed his work as an ISV in the past and how he also sat in the audience like we are today. PDC is about Microsoft's take on the revolutions happening in the world. It is about combining the best aspects of combining software along with the best aspects of services. Tomorrow Ray will talk on stage ...

Note: The Wireless network at the keynote failed miserably, so this will be posted with a delay.

Ray Ozzie talks about the future of software and Microsoft's take on new software foundations. Mobile platforms increasling important. New software and activation codes for new services will be made available.

Read the rest of this entry »

The files that appear in the solution explorer automatically when you create a new Sequential Workflow Library are: · Feature xml (DeploymentFiles\FeatureFiles) : o This xml file is used to put together a workflow as a feature, in order for it to be deployed into SharePoint. When creating the project, this file is almost blank. · Workflow.xml (DeploymentFiles\FeatureFiles) : o This workflow xml file is the final piece the developer needs to deploy workflow to SharePoint. At the beginning, this file ...
[Source: http://geekswithblogs.net/E... At the SBUG meeting last week, my session on "ESB Guidance: A Real-World Implementation" was meant to end with a demonstration, but we ran out of time - and in any case what I'd intended to show was probably a bit ambitious, with plenty of this-is-bound-to-go-wrong points. But I've spent some time making it more solid and the code is available now on MSDN Code Gallery: ESB Guidance 1.0 Demonstration: TriathlonResults, if you want to have a look. You'll ...
Here are the things that caught my attention in today's MSDN briefing: A. Silverlight 2.0 1. You can use IsolatedStorageFile and IsolatedStorageSettings for storing data on the client machine, but they can be disabled by users, so this case must be treated appropriately 2. Xaml power toys http://karlshifflett.wordpr... , it is a VS 2008 SP1 addin that provide powerful code generating tools on context menus for Silverlight and WPF xaml developing 3. You can access HTML DOM Silverlight, ...
Exciting half day training on Silverlight 2 Data Access. About 10 seats left for this event. Sing up now! Posted on 8/26/2008 2:10:31 PM Day of Silverlight 2.0 - Data Access - with John Papa Friday, October 24, 2008 While Silverlight empowers developers to use their .NET and XAML skills to develop Rich Internet Applications, it also can be used to build data driven Silverlight applications that communicate with multi-tier architectures. This session will demonstrate how to build Silverlight 2 applications ...
Previously I wrote about Problems after Installing VS 2008 side-by-side with VS 2005 and that Visual studio conversion wizard opens each time for converted 2008 solution. There were a few Web Application Projects that failed to convert without any reason. The Upgrade file was just like this: <?xml-stylesheet type='text/xsl' href='_UpgradeReport_Files/... <UpgradeLog> <Event ErrorLevel="3" Project="TSA.Testing.Assemb... Source="main\TSA\Testing\TS... ...
Here we are at part two of the Custom Code Snippet Series. In the previous part we covered how to make your own snippet by creating an XML .snippet file and adding to it the necessary content to get a custom snippet up and running. This time around, we’re going to cover the “Easy” method of creating custom code snippets: through a GUI. Thankfully, the MSDN itself has a Code Snippet Editor for both Visual Basic 2005 and 2008 available at the following links. This tutorial will make use of the Visual ...
I decided to completely redesign my website www.galasoft.ch (yes, it's about time, I know). For this process, I decided to inspire myself (loosely) from my good friend Robby Ingebretsen's site, which is both simple and beautiful. Read the rest of this entry » ...
If you read any blogs about SharePoint, you will have undoubtedly read about using features and solutions to deploy your SharePoint customizations. While these work well in most cases there are some situation where you must take some precautions to ensure the deployment goes smoothly.
I can just say that I'm happy to say good bye to Blend 2.5, it was really a pain to use to different Blend versions (2.0 and 2.5 as I mostly work on WPF) and since already bought the Expression Studio I was wondering if I had to buy Blend 2.5 just for Silverlight but now I am happy. I might bring new tutorials and now that we have a stable version it will be better I was just waiting for the final and stable release so as to kick start developing commercial Silverlight applications. I must add that ...
[Source: http://geekswithblogs.net/E... The Guidance Automation Extensions Toolkit (see GAX Toolkit) gives you this lovely message when you use the "Quick Register" action in your GAX package development. It's true that it can take a while, although it's substantially quicker than the full registration action. When you're in development though, solutions using your GAX package will read the contents from the project's bin\Debug, so you may not need to re-register between builds at all. ...
In this brief series I’m going to go over creating your own custom code snippets for use in Visual Studio 2005 or later. We’ll be using the XML Schema from Visual Studio 2005, but I assure you it works for both. This series will contain three parts: The “Hard” Way The “Easy” Way Practical Example of an XML Snippet The reason we’re going to call this version the “Hard” way is because there are snippet generator apps available, including one made by the teams themselves. So before we begin, I’d like ...
Example displaying when data is sent in form of xml document CREATE PROCEDURE XMLINSERT @intShowVersion INT =0, @strClassName varchar(250), @strLang varchar(10), @strXml text='', @intError int output AS SET NOCOUNT ON /* @intShowVersion INTEGER =0, @strCreatedBy VARCHAR(20) = '' , @intTemplateID INTEGER = 0, @dtClientCreatedOn DATETIME = '' , @strUpdatedBy VARCHAR(20) = '' , @dtClientUpdatedOn DATETIME = '' , @strXml text='', SET DATEFORMAT dmy IF (@intShowVersion = 1 ) BEGIN SELECT VERSION='$Revision: ...
I was playing with idea of using Schematron for Biztalk. It turns out that it could be very powerful tool. Schematron xslt like language wich allows to verify xml based on xpaths. And this is something xsd can't do. Taking insipration from brilliant article from Sarvana; I decided to write a receive pipeline component that can validate incoming xmls based on xpaths. If the incoming xml fails the tests then I don't want that to enter the system rather than failing further down the line.My requirement ...
The Useless Introduction You Used To :) This post has taken so long to be started in writing. I’ve been busy with many events in my life lately. Suffering from frequent limited internet access lately, and, all this moving between companies thing has been eating me. And yes, I admit, I' have been as tired and more honestly lazy as you expected me to be! Hey, there’s a little warning. This post is not exactly for my usual audience. I’m sorry, but introducing Domain Driven Design is not one of the goals ...
Suppose you have three tables in your database where one of them specifies a many-to-many relationship between the other two (example from AdventureWorks): Suppose also that you have a method such as GetVendors(int productID) that will retrieve all the vendors for a given product through the ProductVendors table (that is , the many-to-many table). Now, if this method is exposed via a WCF service, when your client calls it you will see an exception like this one: "System.ServiceModel.Commun... ...
Hi Adam, How can multiple services subscribe to the same message but only have it delivered once? I am thinking of redundancy and load balancing scenarios where I have multiple clients processing messages. I think that you are referring to a competing consumer pattern. Assuming this is correct this is how I would go about solving it in MT. In masstransit, we have the concept of a control bus as being different from the 'data bus'. You can see this in the XML below <facility id="masstransit"> ...
In this issue: Tim Heuer, Mike Snow, Peter Bromberg, Jeff Handley, Terence Tsang, Corey Schuman, and Jonas Follesø. From SilverlightCream.com: Silverlight in SharePoint web parts Tim Heuer discusses Silverlight in Sharepoint with a group of links out to good information. How to Dynamically Load a Silverlight Control within another Silverlight Control Mike Snow explains how to dynamically load a Silverlight Control into an existing Silverlight App... Silverlight: Dynamically add "favorites" bookmark ...
For those Linux devs who don’t have something adamantly against Microsoft, Mono 2.0 has been released! From the release notes: Mono 2.0 is a portable and open source implementation of the .NET framework for Unix, Windows, MacOS and other operating systems. Release Date: October 6th, 2008 Major Highlights Mono 2.0 is a major milestone in the Mono project, and it supports the following features: Microsoft Compatible APIs ADO.NET 2.0 API for accessing databases. ASP.NET 2.0 API for developing Web-based ...
[Source: http://geekswithblogs.net/E... As Cory pointed out, my original task to execute T4 templates under MSBuild (replacing property markers in the T4 script with evaluated values from the build, see: An MSBuild task to execute T4 templates), fails under MSBuild 3.5. This is down to a change in the object model in the framework. All the useful classes are internal and all the useful properties are private, so they have to be reflected over - which makes my code brittle. I've updated ...
Recently with my forays into the XMPP land, I have needed to handle the case of writing out the following XML (as is, without the closing tag): <stream:stream xmlns="http://etherx.jabber... xmlns="jabber:client" from="bob" to="server"> Note that the tag is closed. The .Net XML writer keeps that open until you try and go into a conflicting state such as a new start tag, comment, PI, or such. Calling Flush() simply doesn't work. My previous methodology used a comment to close it. Thus ...
I am a BizTalk developer since BTS 2004 came. And recently did BTS 2002 Migration too Recently I have been observing few Microsoft announcements and which made me to say this... First look at what I have observed... Look at Microsoft Application Server Roadmap-->Dublin Look at the Microsoft Future Modeling related articles-->Oslo Wow, it seems Microsoft is all over Europe.. Ok, here is my observation from what I heard, looking at these kind of announcements BizTalk 2009 might be the last XLANG ...

Now that the book is finished writing, reality is catching up with me and I am finally able to work on the backlog of ideas and projects that has accumulated in the last months. Time to give an update of stuff I do or will do soon.

Read the rest of this entry »

The Heartland Developers Conference has come to Minneapolis and things start kicking off tonight with the pre-conference party, down at the Hyatt Regency in downtown Minneapolis. I attended the HDC last year in Omaha as a representative of Magenic and enjoyed it so much I decided to speak at the event this year (both in Minneapolis and Omaha.) I'm speaking on Monday and my time slot has some pretty tough competition with Andrew Troelson discussing LINQ Query Internals and Amanda Laucher discussing ...
In a previous post I linked off to Sahil Malik's blog, where he demonstrated the use of the URL protocol for working with SharePoint's RPC methods to export a list's XML definition. Well, since he let the cat part way out of the bag on one of my oldest and best trick, I figured I'd let it all the way out, showing off perhaps my favorite gem of the SharePoint API. There is an awful lot you can do with the RPC methods that make up owssvr.dll. For example, Sahil's post shows you how to get the configuration/definition ...
It is a common problem in the sharepoint 2007 developemt to hide the “Sign in” link in the client web browser. I didnt find any perfect solution for that. Let's think one scenario. For example, You are developing a WCM website in MOSS and have two entry points to the website - one web app for internal use to edit the site (i.e. you have to authenticate), and one for the website (i.e. for anonymous access). You have created a master page which obviously has to contain controls that allow users to ...
When using untyped messages on WCF operations we can take a more generic approach in creating services. The idea behind untyped messages is to create operations which take a parameter of which the type (and datastructure) is not known in the signature of the operation. This parameter is not a class you created and attributed with the DataContract attribute but it is the Message class found in the System.ServiceModel.Channels namespace. using System.ServiceModel.Channels; public interface IServiceInterface ...
I can describe my feeling of mgration from TFS 2005 to TFS 2008 in one word-NIGHTMARE. Summary of recommendations. 1.Create combined TFS 2008+SP1 setup as described in http://www.woodwardweb.com/... and in the latest Team Foundation Installation Guide 2. Read Team Foundation Installation Guide ,Upgrade TFS 2005 to 2008 , Tips for upgrading from TFS2005 to TFS2008 3. If you are using fully-qualified domain names (FQDN, e.g., tfsserver.mycompany.com) , replace the FQDN with NetBios ...
Date: October 28 Join MSDN Events for the latest tips, tools and technical information you need to build powerful applications and engaging user experiences. We’ll show you how SQL Server 2008 delivers new development capabilities, including support for Spatial Data types, a fresh storage mechanism and more. You’ll also learn how to leverage the Silverlight platform to build next generation applications for consumers and business, and how Visual Studio Tools for the Microsoft Office System (VSTO) ...
Model View Presenter / Passive View Benefits A hot topic near and dear to my heart is Model View Presenter (MVP) or Passive View design pattern. This design pattern forms a good model for keeping a strong separation between UI logic and business logic. In the MVP model, the data access objects constitute the model, the View is the UI components kept as simple as they can be and the Presenter is where the business logic is. These three components interact with other through interfaces to further reinforce ...
What can we do for meaningful variable names? You hear much about naming conventions and some shops still have some arcane rules in place. Fortunately most of us have stepped beyond Hungarian notation. I have seen some shops define rules that the method name should include the number of parameters. I have seen shops define rules that would ban overloading and insist on a sequence number for methods that should be overloads. I have seen shops that wanted the Requirement Number embedded in method names, ...
Article Source: http://geekswithblogs.net/m... Following a recent post about the different approaches to caching you might consider when implementing reference data mapping in BizTalk one of the things that stands out most was that the solutions where a team had used a caching approach often resulted in them not using the BizTalk Cross Referencing features. As I've mentioned many times I prefer to use this unless there is good cause not to (there are reasons where you might not want ...
Phillydotnet.org 3rd code camp for 2008 will be held at the DeVry University campus in Fort Washington, PA on Saturday, October 11 from 8:30-5:00. Please register on our web site.-->Detailed directions are on the DeVry web site. sold out. There will be another Code Camp in May.--> Lots of code, just say no to slides! 8 hours 50 sessions (8:30, 10:00, 12:30, 2:00, 3:30) 10 tracks including new IT Infrastructure and Enterprise 500 seats with tables (laptops welcome) Free breakfast, lunch, and afternoon ...
[Source: http://geekswithblogs.net/E... As part of the testing for the Dynamic Looping Convoy solution, I wanted performance testing with LoadGen, which proved to need almost as much development as the BizTalk design. The standard LoadGen message creation from templates, and even the Dynamic Message Creator wouldn't work for my case where I wanted to generate messages in related sets, all of the same type but each only populating part of the schema. So the message id would be the same for ...
Nikolay Raychev on SL and Localization, Chris Koenig on Style, WPF and SL, ux.artu.tv with developer training, Andy Beaulieu on finding Media Elements, Michael S. Scherotter with SL2 text to Word2XAML, Terence Tsang with Waving Text, Joel Neubeck with a SL Rating Control, Jesse Liberty begins a Custom Control series, and Jonas Follesø on WCF Authentication. Somasegar blogged about the new Social Bookmarking platform. I've created an account on MSDN, using the name "Dave [WynApse]" and I'm archiving ...
First today as a USArmy veteran (1970-1973), I think I would be remiss in not remembering 9-11-01. Roger Guess deployed his new game "Defend Stuff", Martin Mihaylov on the DataGrid, Inkubook's new Photobook software, Jonas Follesø with SL2 navigation, Mike Snow on the Install and creating a Zoom Toolbar, and Terence Tsang parsing XML. Doug Blackmore's Silverlight 2 Combobox that I blogged about last week is up on the Write and Win! Contest at SilverlightShow, and I might also add, they're still getting ...

A property of a BizTalk map that I didn't know before: Ident (to generate well-formed XML out of a map)

Thanks to Erika Ehrli for further information: http://blogs.msdn.com/erikaehrli/archive/2005/11/16/IndentXMLFilesandDocuments.aspx  

Environment files in source control are a big No No. Environment files are a big No No anywhere. Period. Except one place - where they are used. You should ONLY maintain ONE local environment file. You should only store in source that one file that is needed to run the code locally. If you have a config.DEV, config.TEST, config.PROD, etc. YOU ARE WRONG! Stop this, you are causing yourself more pain! Every time you update one value, you have to update it in several places. You are violating DRY (don't ...
I needed to be able to execute automated unit tests essentially command line for several different projects I am involved in. That is easy enough to do with mstest.exe (I am using FinalBuilder so it is even easier than that). What is not so easy is to gather the corresponding coverage statistics in something useful (i.e. XML). I need to do that because I use a tool called NDepend to analyze our code base and it only understands the XML coverage file. It took me a while to get it all figured out so ...
It is a very nice browser.. is the feeling, I got after using it for an hour or so. So the first impression is good. But I can't write this blog post using it. So there is lot to be still done. For example it doesn't shows the RichEditBox toolbar as shown below over the Post Body entry box. Similarly it is unable to show XML content as XML and renders it as html (without tags). These just some examples, I am sure Google will incorporate all such features in coming releases. The things which I liked ...
WCF Durable services are WCF services in which the operations can remember the values of private variables (=the state of the service) inbetween restarts of the serivcehost and/or client. This is new in .NET 3.5 and the concept goes beyond the idea of .NET 3.0 WCF sessions. In WCF sessions the service keeps the content in a session environment which is not persisted by default, this means that the service can only remember the data as long as it is running. When the service is down, the data is lost. ...
Many of you use timestamp in LINQ to SQL because it's easier for us figure out if an object is new or not. This is specially useful when we need to track the state of objects in disconnected/N-tier scenarios. An important thing to note, though, is that the timestamp column is mapped as a System.Data.Linq.Binary property in the LINQ generated object so it is part of the XML serialization when you use the LINQ to SQL objects in Web Services/WCF services. The real problem is that System.Data.Linq.Binary ...
ToString() and the underestimated IFormattable Everyone knows you always should override the ToString() function on you custom objects. But most programmers (including me until yesterday) leave it there. I ran into a problem these days where I wanted a specific xml representation and a tap separated representation of the same custom object. The "experienced" programmer would just write their own format function. But it felt more old fashion and not quite OO like. And then I read the Tip 5 in the ...
Introduction I recently starting fooling around with the new XML LinQ stuff in .Net, and it is very impressive. One thing that I found missing was the ability to serialize objects directly into XElements. However, Microsoft did provide the means to get me to hit the ground running and it took a couple of minutes for me to get it right. Readers and Writers One thing the classical .Net XML always lacked was an "XmlNodeWriter", a writer that basically allows you to create DOM XML nodes using a standard ...
On the project I just completed I was in need of the ability to quickly package a site definition, web parts, and workflows for a custom SharePoint site. I ended up using 3 different techniques in order to package the 3 different solutions. Which in the long run I wouldn't recommend, but overall I now have a much deeper aspect of the different techniques I used. I will detail the pro's and con's I found for all of them and you can make your own decision as to which one you would use to suit your ...
SWIFT decided to move to XML standards in year 1999. Since then, we have been hearing about MX standards (XML based). In all SWIFT presentations I have seen so far, I always hear about MX messages. SWIFT also maintains and releases MX standards every year. I always get a message that SWIFT will finally be moving everything to MX, but I never get a concrete end-date! Yes, we should not move to new technology/approach for the sake of changing! But here, I clearly see a case for moving towards XML based ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; ...
Generic xmlTextReader Original article: http://www.dotnetspider.com... ////-----------------------... ////convert XML string to MemoryStream ////-----------------------... MemoryStream memoryStream = new MemoryStream(); byte[] data = Encoding.Unicode.GetBytes(s... memoryStream.Write(data, 0, data.Length); memoryStream.Position = 0; ////-----------------------... ...