Tag | XML Posts

This post refers to the situation where a client is sending MSMQ messages over HTTP to a receiving server hidden behind a firewall. The messages will be stuck in the Outgoing Queue with a state that switches between "Inactive" and "Waiting to Connect." If you collect a Network Monitor trace then you should see that the server replied to the message from the client with a response of "HTTP 400 - Bad Request" without including a body in the response. If you had a PSS engineer format the MSMQLOG.BIN ...
While building our mobile app I came across a few valuable resources for some of the specific issues I was facing, I thought I'd share those in case others were looking for similar info. Customized Color Progress Bar iPhone This one probably violates all UI rules defined by Apple, but we were looking to change the color of the progress bar for our app based on certain values. As the bar filled up, we wanted it to change to red so the user could quickly see while driving that is represented a different ...
My short summary This comparison is mainly originated with attention to XML-based configuration possibilities and grouping implementations of the same contract which are choosable over a key. StructureMap A really nice container with simple XML configuration. But we had problems if the container must instantiate WPF-controls. LightCore Also a really nice container with simple XML configuration. But it seems that there is no way to specify distinct implementations which are choosable by a key. Autofac ...
When the P & C insurance company I used to work for wanted to start obtaining geocode information for addresses, I was responsible for the architecture and design decisions related to consuming the vendor-supplied data. The background for the task was nothing unusual: the vendor provided the data via a web service that used proprietary (and poorly documented) XML schemas for the input and output messages. We had 2 point-of-sale web applications and an internal underwriting application that would ...
In the past when I needed to test what my application looked like with sample data. I’d create a class named Data.cs and write some code like the following: Data.cs public class Data { public string Name { get; set; } public int Age { get; set; } } Code Behind: List<Data> source = new List<Data>(); for (int i = 0; i < 50; i++) { source.Add(new Data() { Name= "MIKE" + i, Age = i, }); } dg.ItemsSource = source; This would provide me with some quick and dirty sample data, but it really ...

An updated version of this post is located in the following location:

http://geekswithblogs.net/tonyt/archive/2012/02/16/148728.aspxv

Recently we had a couple of defects in the development of one of our integration solutions where we hadn't handled date times correctly in relation to day light saving. When we looked for some guidance to help us it seemed that there is a fair bit of discussion around .net implications of this but little recent content about BizTalk. Probably the most useful background articles are the following: http://msdn.microsoft.com/e... http://geekswithblogs.net/d... ...
In this Issue: Benjamin Gavin, Richard Waddell, Kunal Chowdhury, Chris Koenig, Timmy Kokke, cherylws, David Anson, Jeremy Likness, David Kelley, Andy Beaulieu, and Walt Ritscher. From SilverlightCream.com: Silverlight TreeView Case Study - FAQ Maintenance - Part 1 Benjamin Gavin is pulling together the posts he's recently done and producing an updatable FAQ file app -- something I find useful -- and this is part 1 ... good stuff! Extending Central Silverlight Business Rules to Client and Server Side ...
I’m gearing up to take the 70-516 exam, which focuses on ADO.NET, EF, LINQ, and XML as it relates to .NET 4.0 and VS.NET 2010. My exam is scheduled for Friday, although I had thought about moving it. Busy work/family life has meant my best intentions of studying haven’t happened. When I looked at the availability for when I could move my exam though, the earliest was in early October (we only have two Prometric test centers here in Winnipeg…before a month ago or so we only had one). So I’m gonna ...
Over the past few months I had the great opportunity to tackle the challenge of learning both the iPhone and Android mobile platforms for the first time as a developer. I had used both previously as a consumer, so it was interesting to finally get a chance to jump in with both feet for a work project. I have been focused on .NET development in C# for the past 8 years, but originally cut my teeth on unmanaged C & C++ during the 90's, along with a smattering of Java development for college courses ...
I facilitated a discussion on Automating Your IT Shop at St. Louis Day of .NET. There was so much to talk about, we didn’t get to everything. Here are the notes I took while we were talking. Conversation Starter Questions What tools do you use to automate? What tools would you like to use? What tools would you like to explore (time dependent)? How do I know what to automate? Cost v. Benefit. Decision tree complexity. Rewritable process? How do I automate? What is the right amount of tech for the ...
A few days (maybe even a week ago now) I had an email in my inbox asking me if I’d like to have a copy of NDepend so I could maybe write something about it on my blog. I went through 3 stages – 1st – free software?! Hell yes, I’ll have that… 2nd, actually, I have Visual Studio 2010, I have code metrics already, do I need more? 3rd – presumably there is a reason that NDepend exists, maybe I should take this opportunity to get to know why and what it’s for. So I said ‘yes’ and the next day I had NDepend ...
We got this error while creating site collection or even opening a page in edit mode. We tried to find out the root cause of this problem but could not find much. But we have identified few things that can cause the problem. 1) You must know that we should dispose SharePoint (SPWeb, SPSite etc.) objects after using them. But you should be very careful that the Dispose() method is called at the correct time / using block is used intelligently. Otherwise the application may behave inconsistently. 2) ...
PivotViewer series Building your first PivotViewer application Runtime PivotViewer collection creation PivotViewer - Working with Facets Handling PivotViewer events PivotViewer - Custom actions PivotViewer and MVVM Intro Today I would like to show you how you can consume web services in the PivotViewer control for Silverlight and build a collection at runtime. This tutorial is based on examples found on www.getpivot.com and the getting started tutorial I posted earlier this week. This tutorial used ...
El manejo de la información hoy en día es importante, pero lo es aún más la forma en que se controlan los accesos a la misma. Hoy veremos como crear reglas de accesso a nuestras aplicaciones web basadas en asp.net utilizando el membership provider que nos proporciona asp.net de una forma fácil y rápida. Para empezar, agregamos una nueva página a nuestro proyecto asp.net y definimos lo siguiente <table class="webparts"> <tr> <th> Website Access Rules</th> </tr> <tr> ...
The scenario: Imagine someone asks you to create an XML file with some data structure. The approuch: There are several ways to achieve this, the fastest and less time comsuming is to create a class structure that represents the XML structure you need, fill in with the data and them serialize it to a string and save it to a file. The Implementation: Lets say you need a single node, followed by an array of nodes. Class Definition: public class MyNode { [XmlElementAttribute("code")] public int code; ...
I found it very odd that this was not available when doing some search engine queries. My requirement was to take in an AD user name and query SharePoint 2010 to determine the SharePoint groups in which the account belongs. The code was to run from within a RIA Authentication Service, which is code run on a server and is not likely on the SharePoint server. This code will also work with SharePoint 2007 (WSS 3.0 and MOSS 2007). You will need to add a Web Reference to http(s)://<spservername&... ...
PivotViewer series Building your first PivotViewer application Runtime PivotViewer collection creation PivotViewer - Working with Facets Handling PivotViewer events PivotViewer - Custom actions PivotViewer and MVVM Intro If you haven’t had a chance to look at the new PivotViewer control for Silverlight, have a look here or here. The PivotViewer enables visitor of you website to search large amounts of data very easily. The control takes a lot work out of your hands. Basically you tell it to load ...
This was the question from Pinal Dave's blog and i have answered the same. Thought this might be useful for my friends too and posting the same here. Hi, I’ve following problem, which I’ve not been able to do successfully. Your help will be appreciated. Table has following 2 columns DocNum DocEntry 1 234 2 324 2 746 3 876 3 764 4 100 4 387 Expected result is as follow 1 234 2 324, 746 3 876, 764 4 100, 387 Thanks Rahul Jain on August 16, 2010 at 12:22 pm | ReplySathya Narayanan Your comment is awaiting ...
Ive been having some problems with versioning for BizTalk recently and in particular it was centred around one map. Initially the problems were related to the configuration manager but then when this was resolved there was another little gotcha which is probably worth bearing in mind. So on the development machine everything versions as 999.999.999.999 and this is usually pretty pain free. On the build server though a version number is applied from cruise control and replaces anything with 999.999.999.999 ...
[Source: http://geekswithblogs.net/E... In my previous post, Cloud Services and Command-Query Separation: Part 2, I walked through a sample Command-Query Separated service bus solution using readily available cloud services for communication. In this one, I'll look at some of the implications of shifting systems integration to the cloud, compared to an on-premise ESB. The focus here is mainly on Amazon Web Services, but I'll cover Azure with a dedicated sample project. Cost & Non-Functional ...
Hey folks, Recently, Tellago Studios released its first product SO-Aware, A WCF RESTful Service Metadata Repository. Now talking about WCF Services and how can we forget them being used extensively by BizTalk Server. Let’s check it out with a simple scenario. Say you are using SO-Aware as a central repository for all your Web Services. Some of those services are also integrated with BizTalk. Now on one hand you have a central repository for your services and your life is going smooth but when it ...
We have released Silver Diagram Beta + SDK, you can try it out here, and read more information about it here. About Silver Diagram: Create your custom diagram based application with Silver Diagram. Make a mind map application, create flow charts for your custom projects or develop other solutions. The Silver Diagram SDK is available for Silverlight and Windows Phone 7 and has the following features: Define custom nodes as simple controls and use editors and adorners to manipulate them. Arrange nodes ...
One of the new features of XNA 4.0 is the Content Project. Those of us who’ve worked in XNA 3.1 and earlier are familiar with the old Content folder, which was simply a folder inside your game project into which you’d place your raw content and from which your game would load the compiled XNB files. In theory it could be named anything since one of the things you would do in the constructor for your game is specify the name of the Content folder. XNA 4.0 has moved content (i.e. game assets like music, ...

We recently had to open a ticket with MS regarding the creation of workflows when using Infopath.  Basically what would happen is that the connection to the SQL box was so slow that the XML was not getting created on the workflow.  We're running IE8 with Win 7, X64. 

THE SOLUTION: Go into IE -> choose tools -> connections -> LAN settings and uncheck the auto detect option. 

Hope that helps someone.

I have spent some time, around all 6 of the SharePoint 2010 data access technologies 1. Using SharePoint standard web services 2. SharePoint Client Object Model 3. Silverlight SharePoint Client Object Model 4. Data Services Client Model 5. OWSRV.DLL 6. SharePoint Object Model Silverlight is a client application so the data access technologies applicable are: 1. SharePoint web Services 2. Silverlight Client Object Model 3. Data Services Client Model 4. OWSSRV.DLL These 4 have many features in common ...
Now, VSTO has a separate wing in MSDN Forums with the name 'Office for Developers'. I am really happy to see this. When I started working with VSTO, there are very less tutorials on the web. Forum posts and responses are also rare at that time. Its popularity increased like anything in just one year. Earlier, there is only one forum for VSTO programming. As the usage of VSTO is increased, separate forums are introduced.Following are newly introduced forums. Outlook – http://social.msdn.microsof... ...
Welcome to the GEEKSWITHBLOGS/RAYSMITHEQUI... Programming dept. Blog! Welcome to my new blog....I will try to steer my programming blogging here! I will cover the gamut of programming but as you might imagine .net is a mainstay!! After Jabry.com took an absent without leave then came back online last week, with neary a reason, leaving my google ranking non-existant, I realized that it will be best to have resources spread out a bit more evenly. There will surely be some duplication and the inevitable ...
Introduction On many BizTalk projects you have to deal with managing mapping of reference data. A number of times in the past I've spoken about the features in BizTalk for mapping reference data however they do have some limitations which mean that it is very common for a project to implement their own tables in a custom database to hold mapping reference data. While this is entirely valid you often end up with the pain of how do you manage the reference data mappings. One of the simplest ways is ...
Unit test suites are often used as a quality tool during the development process to keep the codebase stable as it changes and expands. Tools such as NUnit, MSTest are often used to run and report on the test suites. However, when implementing unit testing in your build process, you have no way of knowing how much of your code the unit tests are actually testing. This is where code coverage comes in. You can run NUnit, MSTest within the Code Coverage tool and use the report to determine which code ...
Normal 0 false false false EN-US JA X-NONE /* 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; font-family:"Calibri","sans... ...
An article was published at JupiterJS.com (titled “JavaScript vs Silverlight”) arguing that JavaScript is better than Silverlight. Unfortunately, there is no way to post comments on that page (weird, really) so I decided I would post my answer here. Read the rest of this entry » ...
IDE Must have Visual Studio 2008 Visual Studio 2010 Nice to have Sharp Develop Eclipse Editor Must have Editor with high functionality and high usability (like WScite, UltraEdit, PSPad, ..) Nice to have Microsoft XML Notepad 2007 Notepad++ Windows Live Writer WScite Visual Studio Add-Ins Must have AnkhSvn GhostDoc PowerCommands PowerToys for Visual Studio ReSharper VsCommands Nice to have CopySourceAsHtml Clone Detective for Visual Studio CR_Documentor, Documentor Agent Johnson (R# Plugin) Agent ...
For Issue 900, I wanted to do another "best of" and it's a little tricky. I can't do best of from 800 to 900 because it will be heavily weighted to the early posts. So what I did was best of for 2010 so far. I also did best of 2009 to put that one to bed. In the lists, Number 01 is the top hit, and they go on from there. Just a note to bloggers... if you reorganize your blog, don't break your links! ... there are a couple on these two lists that I had to go find, and that means that other links on ...
Technorati Tags: Sandcastle,.NET Photo credit: cynwulf I'm of the opinion that in-line comments are often a "code smell", but if you're developing a framework or class library that you want others to use, .NET XML comments on public classes and members used to generate documentation can be very useful. The tool for building that documentation is Sandcastle. According to its CodePlex site, "Sandcastle produces accurate, MSDN style, comprehensive documentation by reflecting over the source assemblies ...
I recently had the privilege of taking part of a conversation about available blog engines with some of our Microsoft Community Leaders. I since got interested in finding out more about available .Net-based extensible blogging engines. Two days ago, I came across a link about Oxite, a codeplex ASP.Net MVC-based mature open source blogging engine (http://oxite.codeplex.com). While the Oxite project is no longer active, its source remains available and downloadable. Additionally, the future holds great ...
Normal 0 false false false EN-US ZH-CN 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; ...
You created classes from your XML-Schemas (using XSD.exe for example) and want to use them in BizTalk. There may be several reasons for and against doing it. But I do not want to discuss that here. Just assume you want to do it. ;-) After you deployed your BizTalk App and start sending the first messages to your ReceiveLocation with an XML Receive Pipeline of a MessageType that a schema and a class exist for. BizTalk is not able to decide whether class or schema should be used and gives you a nice ...
This past Monday, June 21st, The New York City Council Committee on Technology in Government held a hearing on its proposed legislation, known as Introduction 029-2010, that would require all City agencies to publish their data online, in “raw” form. The data would be available to private citizens who wished to analyze it, hobbyist developers who wished to work with it, and commercial entities looking to utilize it internally or create products that use and add value to it. Such initiatives have ...
June 21st, 2010 The Importance of Open Government Data To all those present, good afternoon. My name is Andrew Brust. I help run a consulting firm, twentysix New York, here in Manhattan. I am also a technology columnist and blogger, and serve on the New York Technology Council’s Advisory Board. As I have explained in previous testimony, I am a lifelong New Yorker, and began my IT career in the employ of the government of the City of New York. I’ve testified to this Committee before, voicing my support ...
The BizTalk Scheduled Task Adapter is an in process receive adapter that can be implemented on a receive location to execute a prescribed task on a daily, weekly or monthly schedule. I have previously talked about the installation of the Scheduled Task Adapter with BizTalk Server 2009, detailed below are details of how this adapter can be configured on a receive port. Within the BizTalk Administration console, right click and add a new one way receive location. Select the receive port that your receive ...
The BizTalk Scheduled Task Adapter is an in process receive adapter that can be configured to execute a prescribed task on a daily, weekly or monthly schedule. "The adapter is configured entirely within Biztalk, all config is stored within the SSODB and can be exported and imported via binding files. The schedule capabilities are similar to those available with the Windows Scheduled Task Service." Although defined on codeplex as an adapter for BizTalk Server 2004 or BizTalk Server 2006, the Scheduled ...
Note: I've translated this article from my Portugues blog: http://pontonetpt.com/blogs... I'm sorry for the bad english, but i'll try to translatet it better as possible with a little help of Google Translatter. I've writed this article because i coulnd't found one article about NHibernate 2.0 that was simple to understand in Portuguese. In the coming weeks I will spend some free time studying NHibernate. I've heard very good reviews ...
In this tutorial, we are going to configure the application/user settings in a WPF application the easy way. Most example that I’ve seen on the net involve the ConfigurationManager class and involve creating your own XML file from scratch. I am going to show you a easier way to do it. (in my humble opinion) First, the definitions: User Setting – is designed to be something specific to the user. For example, one user may have a requirement to see certain stocks, news articles or local weather. This ...
The saga of the Change Log A recent conversation reminded me of the need for change logs within a database, to record when various change scripts were run. Creating such the required table is simple. A typical table for this consists of: Id - identity Integer primary key ChangeFileName - NVARCHAR(128) to hold the name of the file run. DateAdded - DateTime non-null with default value of getutcdate() Purpose - NVARCHAR(128) Rerunnable - Bit non-null default 0. By good design of the table only two data ...
Background While the xpath function in a BizTalk orchestration is a very powerful feature I have often come across the situation where someone has hard coded an xpath expression in an orchestration. If you have read some of my previous posts about testing I've tried to get across the general theme like test-driven or test-assisted development approaches where the underlying principle is that your building up your solution of small well tested units that are put together and the resulting solution ...
I was listening to Dot Net Rocks show #560 about F# and during the podcast Richard Campbell brought up a good point with regards to F# and a GUI. In essence what I understood his point to be was that until one could write an end to end application in F#, it would be a hard sell to developers to take it on. In part I agree with him, while I am beginning to really enjoy learning F#, I can’t but help feel that I would be a lot further into the language if I could do my Windows Forms like I do in C# ...
Lately I’ve been doing some tests on migrating our TFS 2008 installation to TFS 2010, coupled with a machine and domain change. One particular topic that was tricky is user accounts. We installed first a new machine with TFS 2010 and then migrated the projects in the old server. The work items were migrated with the projects. Great, but if I try to edit one of the old work items I cannot save it anymore because some fields contain old user names (ex. OLDDOMAIN\user) which are not known in the new ...
Office Open XML has been my focus for the last 8 months. We are creating solutions that generate data and business rule heavy presentations and document. On June 24th I will be covering the how to use OOXML to generate documents that can be used as sales and marketing collateral. Register below and come out and join the discussion. http://www.eventbrite.com/e... del.icio.us Tags: Office Open XML,OOXML PSC Group,LCNUG,Document Generation ...
In my previous blog I wrote an introductory post on services and how you can build services using the .NET frameworks Windows Communication Foundation (WCF) In this post I will show how to develop a real world application using WCF The problem During the last meeting we realized developers in Uganda are not so cool – they don’t use twitter so may not get the latest news and updates from the technology world. We also noticed they mostly use kabiriti phones (jokes). With their kabiriti phones they ...