Tag | XML Posts

An excellent posting covering the 'new' Microsoft BizTalk LoadGen 2007 coupled with a simple WCF test. Read all about it a the Connected Thoughts blog. The tool in a nutshell is a command line utility called LoadGenConsole.exe that takes an XML configuration file and generates the load tests described in the configuration file. The 2007 version of LoadGen can be used to simulate load in several types of transport (file, HTTP, MQSeries, MSMQ, SOAP, WSE, WSS, WCF) and to monitor certain types of systems ...
Ever since attending the C# 3.0: Beyond LINQ presentation at Desert Code Camp (excellent presentation Donald), I've been a little more wary of a couple of the new features introduced by C# 3.0. I wanted to go over them and point out some of the pitfalls that they can lead to. Note that I'm not trying to discourage its use - BUT - if you know how something works in the underlying technology, you're more likely to choose the correct techniques for a given situation. All static code analysis and time ...
You can pick up a nice, free XML editor, Liquid XML Studio 2008, from Liquid Technologies at http://www.liquid-technolog... All the important stuff is there: document text editor intellisence schema graphical view document validation XPath builder XML formatter syntax highlighting The UI has a Visual Studio look and feel. Without a doubt, the best free XML editor I've come across ...
Using multi-part messages is first in Marty Wasznicky’s article 8 Tips and Tricks For Better BizTalk Programming so I thought I might demonstrate this technique in more depth. My experience with multi-part messages has been when I want to define a single message to pass among loosely coupled orchestrations that contains all the messages associated with the initial loan request. This post also uses code from some of my previous posts, so some of it should look familiar. Multi-part message types can ...
If you're diligent about putting meaningful comments in your source code (and if you're not, you should be!) you have probably wanted the ability to have a comment link to another method or another area of code. Using XML comments, it is relatively easy to link to other code elements using the <see> or <seealso> tags. However, if you want to have this same ability in normal comments, you were out of luck. However, a new Visual Studio Add In available on CodePlex is changing that. This ...
I recently found myself in a bind trying to get a useful XPath function for the xpath() function (BizTalk developers, you know what I'm talking about) that would help me logically identify the existence of an element in a schema instance (otherwise known as an Xml document). The documentation (or at least my hard-copy version does?) states: "For more information on the xpath function, see third-party documentation on the XML Path Language (XPath)." So, I fired up my favorite search engine and did ...
Often, when dealing with mathematical models for hazard estimation, one has to make the most out of just a handful of experimental data, and try to extract a rule or a behavioural function. While the use of lookup charts printed on paper may sometimes be a viable option, we won’t be able to rely on it when we want to implement a software solution. When this is the case, soft-computing may look like the perfect solution; neural networks can process data, learn their trend, and elaborate new samples ...
Now, after the very futile example which accompanied the introduction to JavaScript Object Notation in my last post (by the way, I forgot to mention that this is what the fancy acronym stands for, but I'm sure you already knew that), let's go straight to the fun part, and see how we can leverage the flexibility of JSON (and ASP.NET AJAX, of course) to achieve some less trivial result. When developing a web application, we often need to aggregate data from different sources. You might argue this is ...
Well John and I are back in the swing of things. We have reorganized the equipment to make it easier and faster to record podcasts. Watch this blog for our next move as it should happen fast. Here is a recap of the HDC podcasts we recorded: Joe Olsen and Phil Wolfe, HDC coverage and our last podcast from the event Don XML - LINQ, VB Literals, New XML Technologies Chris Williams - XNA and Game Development Adam Esterline & Chris Ortman - Ruby, Agile, Testing Kent Tegels - SQL Adoption and features ...
DonXML starts this conversation with a recap of ALT.NET, then breaks into the new technologies Microsoft is releasing in the area of XML. Don has been an XML MVP for the past 4 years and is definitely one of the brightest in this space. Read his blog here. Listen to DonXML talk about XML! Technorati tags: HDC, DonXML, LINQ, ALT.NET, VB, XML ...
I saw a post on Digg today about changing the Ready message on the screen of your HP Printers. So I took a look at it and modified it so that it will read the XML output of the Google weather service. Just change the IP address to that of your HP Printer and then set it up as a scheduled task. Then change the Google URL to your location. http://www.google.com/ig/ap... 03051 &hl=en If you ever want to know how cold it is outside, take a look at your printer. #!/usr/bin/perl # $Id: hpsetdisp.pl ...
Recently I have been working a lot with web services : developing new ones and maintaining some. All the web services I maintain return a XML string which are build manually using XMLDocument, XMLWriter etc. But I prefer to pass a complex type because it is easier to develop and maintain. Also the client who is using the web service would find it easy to see the XML schema returned if we are returning the complex type. If we are constructing a XML file and returning it as a string, then we will have ...
I've finally found some time to test WCF performance vs .NET Remoting in sending 'plain' objects. Here you can find my previous results of sending DataSet through the wires. The test project described in this article can be downloaded here. What I tested: Plain [Serializable] object Marked with or without [DataContract] attribute I tested client latency (not server throughput) What are my results: I hoped it will be different but it occurs that the .NET Remoting is better in sending plain objects ...
Recently I worked for the first time with CData sections in XML messages. A CData section in an XML Document starts with <![CDATA[ and ends with ]]> and everything between is ignored by the XML parser. In my scenario I got xml (with some CData sections) from a WebService, transformed it with a map (and did some other things in an orchestration) and sent it to another WebService. The first WS gave me xml with CData but the second WS received none. After some debugging I found out that the xml ...
The excellent Nathan Dunlap posted on the 18th of September about Blend September CTP, and the new features he likes. It's very much in line with what I have been thinking too since I tried this latest edition, so I am not going to repeat it, just go ahead and read his post. (By the way, it's good to see Nathan blogging more lately, very happy about that :-) Read the rest of this entry » ...
Recently I've wanted to demonstrate using the BizTalk Rules Engine outside of BizTalk. In our post 9/11 world, everyone's probably had some contact with the heightened security and restrictions for air travel and banking transactions. Along the same lines, the Nuclear Regulations Commission often updates the rules concerning access control to nuclear power plants within the United States. Knowing the flexibilty of the BRE and the ease with which new rules can be added and deployed, I thought this ...
I attended the Florida.net at Citrix Ft Lauderdale on 10/02/2007 and have seen all the talented “GEEKS” successfully presented their codes: Steve Potter - Cache Register Jonas Strawski - SQL Server as Document Repository Lou Yovin - Volume Shadow Copy Tim Corbett - System Tray App Louis Datz - dashCommerce Martin Anderson - XML Schemas and powershell Max Trinidad - Powershell script to create CSV Shervin Shakibi, Dave Noderer, and Jeff Barnes of Microsoft who were Judges and Mc as well. As all of ...
Check this out at Scotts Blog: source: http://weblogs.asp.net/scot... Releasing the Source Code for the .NET Framework Libraries One of the things my team has been working to enable has been the ability for .NET developers to download and browse the source code of the .NET Framework libraries, and to easily enable debugging support in them. Today I'm excited to announce that we'll be providing this with the .NET 3.5 ...
All the code Idols did a great job. In the end, mostly by popular vote, Steve Potter won the "Top Geek" title. I'm sure we will see more of Steve as he is very interested in presenting at future meetings! Thanks to the code idol contestants: Steve Potter - Cache Register Jonas Strawski - SQL Server as Document Repository Lou Yovin - Volume Shadow Copy Tim Corbett - System Tray App Louis Datz - dashCommerce Martin Anderson - XML Schemas and powershell Max Trinidad - Powershell script to create CSV ...
I had a complicate (and buggy) T-SQLstored procedure, that concatenate fields from details table and show them as one field in the resultset of the main table(Itinerary and summary of itinerary items. I've looked in pivot functionality, but didn't fint how to make it working in the way I needed. Furthermore, Pivot is available for SQL Server DB with compatibility level 90(aka SQL server 2005), but our db still has compatibility level 80(aka SQL server 2000). So I desided to write UDF to concatenate ...
Yesterday I implemented something like xml parsing in my application. The requirements were: Data is send to the application in form of xml using Web Service End-user should be able to extract some granular data out of the xml And here comes XPath. I added some configuration mechanism to my app so the end-user can provide xpath queries and save them in database. My WCF Service that looks exactly like an ordinary web service receives the xml data, searches for the XPath queries that should be run ...
I posted a tutorial on my favorite programming forum </dream.in.code>, and thought Id go ahead and share it on my blog as well. One question I get all the time in programming communities, always by young, new programmers, is how to work with web Services in .Net. It was these questions that lead me to writing the tutorial I posted on Dream.In.Code. I guess before you can show someone how to create and consume a Web Service, you need to ensure they know and understand what a Web Service actually ...
tools , reflector , ghostdoc , VS2005 , snippets , software development , wireshark , clr profiler , profiler , ants profiler , fx cop Many times I've been called "The tool-guy" or something like that. That's because people around me know that I love tools, and have a lot of them. And if they don't know it yet, they will know after they come to me with a particular issue. But still, many times I wonder that people do not know the tools, or simply not use them. Practical experiences have given me ...
XAML being XML-based, it needs to be parsed and processed when the code is loaded in the application. WPF allows multiple scenarios, for example pre-compiling the XAML to BAML (binary application markup language), which is usually embedded into an assembly. This speeds up loading time, of course. Another option is to leave the unprocessed, uncompiled XAML file on the server (or in the "bin" folder of the application), and to load that file on demand when it is needed. This step involves the conversion ...
I remember in my early days..."hacking" a game to get better stats (gold, experience, items, etc.) usually meant time spent in a hex editor experimenting with value changes and doing differential compares between previous game save files and one right after you "got something". My daughter recently got a new game (PetVet3D) and she wanted to play it to get to the level where you can buy a horse clinic. I started looking at how long it would take and it seemed ridiculous the way the game's internal ...
In the current architecture od our application I have to use composite controls to implement significant amount of HTML UI. It will not be good to load child user controls into parent composite control(but technically probably still possible). I've followed the approach described in David Ebbo's Turning an ascx user control into a redistributable custom control blog post (and in MSDN article). However if you want to modify the control, process of Publish and copy DLL may be annoyed. I've decided ...
I received comments to my blog (WCF vs. Remoting (with DataSet)- performance comparison) with some adjustments I could make to improve performance of the WCF. I did some of them: Cache ChannelFactory. It is quite expensive to create it each time you need a proxy. My recommendation is: Hide it in your own Factory class or method so you can cache it. I am not sure yet why the ChannelFactory is not cached somehow by WCF but I believe there are some serious reasons. Disable security for NetTcpBinding. ...
Yesterday I start writing Simple BizTalk Server 2006 application on Windows 2003 with SQL Server 2005. In have two databases in SQL Server source database name is CustomerSource and destination database name is CustomerDestination and both have same tables in term of their schemas, but their names are different like Customers and 2006Customers in my destination database. My BTS application does a very simple job its fetch all records from Customers table by using the simple query. "Select * from ...
We have seven potential Code Idol's lined up to compete in the first Ft Lauderdale Code Idol. The judges will be there to harrass and judge the contestants who will be competing for valuable prizes and bragging rights for "Top Geek". Shervin Shakibi, Dave Noderer and a mystery guest will be judging! REGISTER HERE! Each contestant will have ~ 10 min. to present their content. And the contestants are: #1 - Steve Potter Description: “Operation Controller”. I would describe it as an object that handles ...
Error Message: There was a failure executing the send pipeline: "Microsoft.BizTalk.DefaultP... Source: "XML assembler" Send Port: "Target\Path" Reason: The root element is missing. Solution: When ever this error comes its mean your input xml document is not schema validated. Get Valid Input XML Document Open your mapping file and right click on its and the click on Test Map. Get XML document from the Output Window and pass this XML document as a input source ...
When you want to pass data from a Sharepoint workflow to a task InfoPath form, the recommended method (in fact I don't know of any other one) is using a "receive data" data source, defined by the ItemMetadata.xml file. The structure of this file is documented in various places around the net, for simple data types (like, say TextBox-es or CheckBox-es). Unfortunately, when it comes to passing data to complex controls like the drop-down list , it seems there just is a void of information, although ...
I'm possibly looking at changing things around shortly with regards to this blog so as a "Just in Case" you might want to start looking using the following FeedBurner link of ThinClients feeds.feedburner.com/thincl... and that way you'll be able to find it regardless of where it is hosted? Use the Syndication XML Button at the top left of this page. And to all those folks that I have caught up with over the years it looks like I might have some news on my future employment by the end of the first ...
One of the common ways I've seen for any kind of "export to Excel" feature on websites is to output to a hidden DataGrid or GridView, and then rendering the contents of the GridView to the response stream, naming it with a .XLS extension. This has a series of problems, not the least of which is the "This file has contents that do not match the file extension" error dialog presented when you open the file in Excel. One of the cool tools I've found recently is called "ExcelXmlWriter" hosted and produced ...
After a few years of reading and doing some research on ORM I decided to take the plunge. I decided to try to use NHibernate for a small personal project of mine. I decided to follow the tutorial that was listed on the site to get my feet wet. It is a little annoying when a project post a tutorial ,only to have it not work. Not only could I not get it to work but some of the error messages are not very friendly. After hunting for 20-30 minutes I found out what all of the problems were. One problem ...
Thanks to Dugie for the heads up on this announcement, could this be right? everyone is going to co-operate? WOW DMTF Accepts New Format for Portable Virtual Machines from Virtualization Leaders New specification created by Dell, HP, IBM, Microsoft, VMware, XenSource aims to become an industry standard; will help ensure portability, integrity and automated installation/configuration of virtual machines PORTLAND, ORE. September 10, 2007 The Distributed Management Task Force (DMTF®) today announced ...
Anyone that’s worked with a BizTalk map of sufficient complexity is familiar with the pains of making changes to a map. Most maps look like a rat’s nest of links and it can be quite the challenge to find the link for which you’re looking. It helps greatly if the links are labeled, but while labeling links seems to be a best practice, it can also be an extremely tedious practice. I wrote this utility with that in mind, trying to ease the tedious practice of labeling all the links in a map. The utility ...
I use the Templates feature in SSMS a fair bit when I am working with XML/A, but I sometimes wonder how many people are aware that it exists. On my copy of SSMS, it is docked on the right hand side. If you cannot see the Template explorer at all, you can access it through the View menu. Have a look at the following list of templates that are available for MDX and XMLA for Analysis Services. This feature is really great for XMLA queries. I don't really know of anyone that sits down and writes XMLA ...
XML comments and Blend It's great to see how Expression Blend V2 improved over V1. One small thing I noted which makes life easier is the preservation of XML comments entered before a XAML element. This allows documenting an element in a ResourceDictionary, and then moving the element in another ResourceDictionary without losing the comments. That's possible in the Resources tab of Blend, on the right. Read the rest of this entry » ...
"LINQ will be a language intrinsic capability for universal query". I have seen an interesting comment in javalobby as a response to the above statement that came in an article regarding LINQ It goes like this. "LINQ is solving a problem that's not a problem. There's no problem with accessing a DB with SQL, Java objects with Java code, and XML data with a DOM or SAX parser. No need to "unify" these." Even there exists some confusion among the .Net programers ,about the need of LINQ. We have always ...
Three new articles from Koen: First he discusses User Controls and Circular references in Silverlight 1.0; Next he demonstrates retrieving the actual width and height of an image; and finally Koen discusses using the Downloader in Silverlight 1.0; and a new Silverlight aggregation site and Community Server site for Silverlight has opened: SilverlightShow Usercontrols and circular references in Silverlight 1.0 From SilverlightCream.com: Koen at FirstFloorSoftware takes off on Tim Heuer's User Control ...
Two months ago, after listening to .NET Rocks! show with Daniel Simmons, I was really curious to learn more about ADO.NET Entity Framework (EF). As part of my learning I was ready to write a tutorial on how to get started with this framework. However there were no tools available at the time and with instructions on how to manually edit XML files the article turned very long, and quite frankly looked very boring. Hence I decided to postpone publishing it and wait for the tools to came out. This week ...
As noted to me from Scott Hanselman, Microsoft just released the CTP1 of the XML Schema Explorer. Seems that there are a lot of changes coming in the XML space for the .NET 3.5 release and the XML tools that are currently present in VS2005 will be no more as they are replaced by some new XML tools - the XML Schema Designer being one of them. Here is a screenshot of the new XML Schema Explorer. You can see from this screenshot that the schema is open on the left-hand side of the shot, while the schema ...
Check this out. If you're still using UML based techniques for some part of your process Dia provides support Dia is roughly inspired by the commercial Windows program 'Visio', though more geared towards informal diagrams for casual use. It can be used to draw many different kinds of diagrams. It currently has special objects to help draw entity relationship diagrams, UML diagrams, flowcharts, network diagrams, and many other diagrams. It is also possible to add support for new shapes by writing ...
I've been developing a web application recently which needed to access a calendar in a sharepoint installation to retrieve events and display them. Under the covers in sharepoint, a calendar with events is more or less just a list. So we access the list. Here's how I did it: Step 1 Add a reference to the lists sharepoint web service in Visual Studio: Step 2 Next we want to initialize a new instance of the Lists class in the referenced web service, and set the credentials to access the sharepoint ...
Yes, the article about Biztalk vs Scribe is comingBy FriendlyCRMonster(FriendlyC... My article about Biztalk vs Scribe Insight is bit delayed, guess my few quiet days are over and working hard for one of our new clients in the South of the Netherlands. Nevertheless I got very curious about Biztalk Server 2006. ...Friendly Microsoft Dynamics CRM Monster - http://friendlycrmonster.bl... unrecognized schema typeMicrosoft.public.biztal... unrecognized schema type.www.tech-archive.net: ...
This post is part of a series which discusses the journey I took building a smart client membership application using Microsoft's Smart Client Software Factory (SCSF). You can navigate the entire series from here. Several years ago I developed a .NET code generation tool based on XSLT. It evolved over time and even had a front-end GUI to enable selection of various templates as well as database schema browsing. I had to hack my way through the INFORMATION_SCHEMA output of databases and developed ...
It has been a while since I last posted, but I haven't stopped working :) I am currently on a project involving WPF and WCF. While I am not a big fan of WPF, but I quite like WCF. During the development of our project we run into a very annoying problem with WCF. After some help from Microsoft, we found a solution at last. The problem is very easy to describe. On the one side, we have a WCF service running. On the other side, we have a client with a reference with to this service. Now and then, we ...
One of the components provided with BizTalk Server 2004 and 2006 is the Business Rules Engine. It's touted as one of the big benefits of going with BizTalk as a business user can administer the rules and affect changes without needing to understand the intricacies of BizTalk. The BRE can also be used outside of BizTalk which is something that might merit investigation later. For now, I'll cover three methods of manipulating XML data I often use. I'll also take a moment to mention that this post isn't ...
One focus of my job here in St. Louis is large-scale “Smart Client” development. One of our “niche” areas of expertise at SSE is architecting and designing Windows-based apps. Over the years we’ve built a huge framework that we call the SSE Smart Client Container™. The container itself is a really cool and extensible host for Windows functionality that supports a flexible add-in infrastructure we use to build new apps. It’s all written in C# 2.0 and comes in at around 150k lines of code (not that ...
I'm an admitted tool freak. I've created enough myself that I always appreciate a good one when I find one. I'll willingly spend hours learning how to setup a tool that will save me time in the long run. Just yesterday I became acquainted with MZ-Tools. Of course the version that I really want to run is the 6.0 version for VS2005/2008. But here at 'the office', I find myself doing Microsoft Access at least part of the time and MZ-Tools version 3.0 is free for that, so what the heck... I downloaded ...