Tag | wcf Posts

In one of our prod server we recently ran into issue when we went and update the web.config and try to browse the service. We started seeing the service was not responding and getting the following warning in the application log. Our service is WCF service, BizTalk orchestration exposed as service. We have other prod server where we never ran into this issue, so what’s different with this server. After going thru lot of forum and came up on some Microsoft service pack and hot fix which related to ...
I’m starting to see a whole bunch of tweets and blog posts on how Silverlight/WPF is dead, or how the XAML team has been disbanded at Microsoft, or how someone predicted Silverlight would die, blah blah blah. They all have a similar ring to it though: “Told ya so!” “They were stupid ideas anyway!” “Serves Microsoft right, boy are they dumb!” Let me tell you something, all those that are gleefully raving about Silverlight/WPF’s demise are nothing more than death trolls. Let’s assume that everything ...
In this Issue: René Schulte, Rajat Jaiswal(-2-), Peter Kuhn, Colin Eberhardt, Kunal Chowdhury(-2-), Beth Massi, Michael Crump, Daniel Vaughan, Chris Rouw, WindowsPhoneGeek, and Jesse Liberty. Above the Fold: Silverlight: "Cubelicious - Silverlight 5 + Balder + Physics + SLARToolkit Augmented Reality = Triple Win!" René Schulte WP7: "Binding the WP7 ProgressIndicator in XAML" Daniel Vaughan LightSwitch: "Adding Static Images and Text on a LightSwitch Screen" Beth Massi Shoutouts: Laurent Bugnion is ...
In this Issue: Vikram Pendse(-2-), Christian Schormann, Pete Brown, Kunal Chowdhury, Andrea Boschin, SLMPerf, WindowsPhoneGeek, Jesse Liberty(-2-), and Michael Washington. Above the Fold: Silverlight: "Silverlight 5: Vector and Bitmap Printing for Reports and more" Pete Brown WP7: "New SketchFlow Template for WP7" Christian Schormann LightSwitch: "Integrating Visual Studio LightSwitch Application Into An Existing Website using IFrames" Michael Washington Shoutouts: Laurent Duveau presented on LightSwitch ...
One of the most common errors we could see when we use WCF adapters is "The action was not understood". This is most likely because the mismatch between the logical port operation identifier in a orchestration and the operation name of SOAP action header in WCF send port confguration. To fix the problem is very easy, just change one of them to have them match. There is a very good article explaining why this happens. Click here to view the article. ...Edmund Zhao ...
In this Issue: Rudi Grobler, Roy Dallal, Chris Rouw, Sean Nolan, Peter Kuhn, WindowsPhoneGeek(-2-), Jesse Liberty(-2-), Mike Taulty, Paul Sheriff, Xpert360, and Vikram Pendse. Above the Fold: Silverlight: "Storing Files in SQL Server using WCF RIA Services and Silverlight – Part 1" Chris Rouw WP7: "XNA for Silverlight developers: Part 12 - Mango (1)" Peter Kuhn From SilverlightCream.com: Slide-out keyboard support on Windows Phone Rudi Grobler has a quick post up discussing the slide-out keyboard ...
This article is a Part 5 of the Interview Questions series. Part 1: BizTalk: Questions for interview without answers Part 2: BizTalk: Interview questions and principles Part 3: WCF: Questions for studying and interviewPart 4: WCF: Questions for studying and interview: DiscoveryPart 5: WCF: Questions for studying and interview: Routing Service Part 6: BizTalk: Advanced Questions WCF, Routing Service Q&A • What are the features of the Routing Service (RS): Protocol bridging; Message transformation; ...
Recently I was building a VM for a BizTalk 2006 R2 project. My VM configuration was : Windows 2003 R2 SQL 2005 with SP4 Visual Studio 2005 with SP1 BizTalk Server 2006R2 I installed the BizTalk Server 2006 R2 SP1 update from the Windows Update. Life was good so far. Next I got requirement to use WCF SQL adapter and there I went and started installing the pre-requisite for it. 1. WCF LOB Adapter SDK SP2 2. Microsoft BizTalk Adapter for SQL Server. After that I went and tried to Add the Adapter metadata ...
Workflow 4 State Machine – Distributed Tracking Visualization · Disclaimer: This post requires an understanding of WF 4.0.1 , WCF and WPF. · Before I explain the how, look at the following image for the what: I am debugging a REMOTE workflow STATEMACHINE instance, and from tracking information sent from server, I am able to highlight the current state in my client! Visual Workflow Tracking Sample – a Big Ball of Mud · Workflow 4 provides the System.Activities.Presentat... class which ...
In a previous post, I talked about how to build your own custom Media Type Formatter with the WCF Web API. In this post, I used HAL as the media type to expose an API for Nerd Dinner. There are a core set of guiding principles to building RESTful services and one of those principles is that documentation efforts for a service should be focused on defining the media type(s) and link relations that the service uses. While it’s important to have a consistent pattern for URI design, it’s really not that ...
Media Type Formatters in the WCF Web API provide a way for the consumer of your service to not only specify the format they want for their response, but also specify the format they are using on their request. Typically the desired response format is specified in the “Accept” request header and the request body format is specified in the “Content-Type” request header. Media types are central to building any RESTful service. Two of the most common media types are “application/xml” and “application/json”. ...
I recently spent far too long debugging a problem with our Azure application. We have two Azure cloud projects, and they both started refusing to start at about the same time, with different error messages. The web applications they house both worked absolutely fine when deployed to local IIS. There turned out to be two different problems - both very simple - so I thought I'd share what they turned out to be :) Problem 1 One application failed to start in Azure, with the error message "Unable to ...
I was chatting the other day with someone about adapters for connecting to LOB applications and an interesting point came up which I thought id share my thoughts on. The scenarios is that if you have a line of business application for arguments sake lets say its dynamics CRM which has a BizTalk adapter available but also has an existing web service API (or some other protocol based API). Which should you use for integration? In my opinion the answer to this is the usual "it depends" answer. I think ...
Jquery auto-complete, WCF Services and cross domain nightmares Gone are the days of using the Ajax toolkit, it’s far too bloated and can be very difficult to debug if anything goes wrong. So like many other developers I have made the conscious effort in swapping my attention to jQuery instead. I have recently been working on a project where I needed to implement a simple auto complete dropdown, so instead of reaching for the auto-complete extender from the Ajax toolkit I decided instead to use the ...
Fixed now though ...
In this Issue: Kunal Chowdhury, Khawar Yunus, Alex van Beek, David Kelley, Laurent Bugnion(-2-), Valentin Stoychev, Dhananjay Kumar, and Jesse Liberty(-2-). Above the Fold: Silverlight: "Using Silverlight and Server Push to build a better means of debugging production applications" Khawar Yunus WP7: "Monetizing Phone 7 Application Methods and Approaches" David Kelley Shoutouts: Joe McBride has his materials up for the presentation he did: Push Notifications and Tiles – Slides & Demos Damian Schenkelman ...
Overview of the “AdventureWorksDesignPatterns” Project (I’ll be posting on this series here. It will be based on the presentations I’m creating for the PhillyNJ.NET user group a subgroup of PhillyDotNet) This is the start of a long series on “applied design patterns”. The intent to demonstrate design patterns in real code. I am not endorsing or “pushing” any specific methodologies. But I will be stressing various points of views many of which are part of various methodologies you may have heard of. ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for May 23-29, 2011. Here are the top 5 news on SilverlightShow for last week: Entity Framework 4.1 Code First, Silverlight, and Shared Models with REST+JSON A Simple Physics Game using Silverlight and Farseer Engine Windows Phone 7 Mango - Sockets Using IIS Express to Secure Silverlight and WCF Applications Windows Phone 7 Mango - Silverlight and XNA integration Visit and bookmark SilverlightShow. Stay in ...
In this Issue: Kunal Chowdhury, Roy Dallal, Jim Wightman, Kevin Hoffman, Levente Mihály, Peter Kuhn(-2-, -3-), René Schulte, WindowsPhoneGeek, Jesse Liberty(-2-), John Papa. Above the Fold: Silverlight: "Reactive Extensions–FromAsync" Jesse Liberty WP7: "Windows Phone 7 Mango - Sockets" Peter Kuhn Shoutouts: Kunal Chowdhury has a list up of all the Windows Phone 7.1 (Mango) Features From SilverlightCream.com: Windows Phone 7 Jump Start with Mango - 1 - Creating a Hello World Application Kunal Chowdhury ...
PREREQUISITES DEVELOPPMENT TOOL In this tutorial, component that follow is required and need to be install: Visual Studio 2010 Express ADO.NET Entity Framework 3.5/4.0 Microsoft Silverlight 4 Tools for visual Studio 2010 that include all components necessary for silverlight 4: Silverlight 4 developper runtime, silverlight 4 SDK, silverlight 4 tools for visual studion 2010. Please, to download it, please refer to this link. INTRODUCTION This topic explain in the simple way how to display data from ...
At a client I work at, we have a few dozen WCF services used throughout the environment. It's become difficult to consolidate the various services so that people know when knew ones become available and to administer their connections as environments change. To address this, we created one web project that has connection information for every service. Each service has a different factory method depending on Binding and Endpoint credentials. The bindings and endpoints are generated programmatically, ...
Two posts in two days, this posting rate will never last! Anyway. On my current project I needed to implement a web service in C#. Because of its uniform interface, stateless nature and generally being seen as the way web services are now done I decided to implement the web service as a RESTful one. This would be my first ever web service. Once that decision was made the next one was how best to go about implementing a RESTful web service. Having done some research and after looking into WCF I decided ...
Looks like bloggers figured out I'd post the submittals first, because today I got hammered with posts. In this 2nd in a row Submittal-only Issue: Alex Golesh(-2-, -3-, -4-, -5-), René Schulte, Alex van Beek, Kunal Chowdhury(-2-), Rudi Grobler. Above the Fold: Silverlight: "Silverlight 5 Multiple Window Support" Kunal Chowdhury WP7: "Augmented Mango - SLARToolkit for Windows Phone" René Schulte WP7: "Windows Phone Mango–What’s New? (“New Sensors & Tooling Enhancements” - Part 3 of 8)" Alex Golesh ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 4 – Excerpts from July 2010 – PhillyNJ.NET Presentation) Continuing our discussion from Part-3 we ask. What are the “Gang of Four” (GoF) Structural Patterns and where can we find them in the .NET Framework? Let’s look at a list of the Strutural Patterns as defined by the GoF. Adapter Pattern – is used to match interfaces of different classes Bridge Pattern – is used to separate an object’s interface from its implementation Composite ...

I have started reviewing another book on WCF and was unable to get the sample code from that book to work. Within a few minutes I had expanded the sample to allow me a function to debug the problem. That I had the code working so quickly is a tribute to the good examples in WCF on Dot Net 4 (http://www.apress.com/9781430233688)

Today a new set of tools targeting the Windows Phone 7 “Mango” release is available. This toolset is being called Windows Phone Developer Tools 7.1 This by not means can be translated into the actual product name for the final release! The download is available at Create.MSDN.com [might take a few hours to appear on that site] Direct Download Link Documentation and What’s New is on MSDN: http://msdn.microsoft.com/e... Using these tools a developer can write WP7 application for 7.0 ...
This book is an excellent introduction to WCF on Dot Net 4. I thouroughly recommend it to all Dot Teams and individual developers who work or may work with WCF 4. The book will take several readings in order to get the greatest benefit from the wealth of practical information contained therein. You should be prepared to spend time working through the sample code for the book available from the Apress Site at http://www.apress.com/97814... There are two downsides to the book, which I would hope ...
I wanted to replace .Net Remoting calls with WCF. Article “From .NET Remoting to the Windows Communication Foundation (WCF)” was very useful for me. It was misleading reference to Attribute ReturnUnknownExceptionsAsFa... which doesn’t exist any more.It has been changed to IncludeExceptionDetailInFau... I wanted to use WCF Binary Encoding when Host in Windows 2003 Server(IIS6) instead of text encoding, that is coming out-of-the-box I found the blog WCF: Enable Binary Encoding Over Http and literally ...
Part 2 of my "Reloaded-Series"! In the orginal post here TCPBinding seemed to be the solution. But it is not the best and in some cases just not usable. This only applies to large requests! Sabrina and Philippe, both colleagues in the current project, discovered something far better and much more interesting... What happnes here is DOS-attack-prevention by IIS! Fortunately this did not apply to us that much, sitting behind the DMZ and a far way from the outside world... Solution: Change the allowed ...
This error plagued me some time ago but then some change in the called service(i think they sped up processing...) was the solution. But in my new project it happend again. We call a WebService hostet on WebLogic. No problem if the traffic is low and only few calls are made. But then calls increased and *boom*. Not again! It took us several days to tackle it, trying things like the "keepAlive"-customWCF-binding (see earlier post) and lots of config-changes on WebLogic and so on. Nothing seemed to ...
In this Issue: Chris Rouw, Kevin Dockx(-2-), WindowsPhoneGeek, Jesse Liberty, Jeremy Likness, Telerik Phone Team, Mike Taulty(-2-), Pete Brown, and András Velvárt. Above the Fold: Silverlight: "Locking and Unlocking controls in a Silverlight LOB Application" Chris Rouw WP7: "WP7 ToDo Lists App Built with RadControls" Telerik Phone Team Just too cool not to list: "Kinect + Bing Maps–the gestures" András Velvárt Shoutouts: The SilverlightShow folks sent me their top 5 from last week: SilverlightShow ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for May 2-8, 2011. Here are the top 5 news on SilverlightShow for last week: How to Create a To-Do App for Windows Phone 7 Join a 3-day Online XNA Training for free! WP7 app designed for the ladies: Woman Calendar Silverlight 5 Beta Rough Notes – The Third Dimension Silverlight MVVM, WCF RIA Services Simple Sample Application Visit and bookmark SilverlightShow. Stay in the 'Light ...
In this almost entirely submittals Issue: Andrea Boschin, Manas Patnaik, Alex van Beek, Michael Washington, Kunal Chowdhury(-2-, -3-), Michael Crump, Richard Waddell, Jeremy Likness, Mike Taulty, Alexandra Rusina, and Pete Brown. Above the Fold: Silverlight 5 Beta: "Silverlight 5: Debugging Bindings with Xaml Breakpoints" Pete Brown Silverlight: "Dynamic Types to Simplify Property Change Notification in Silverlight 4 and 5" Jeremy Likness LightSwitch: "Using The LightSwitch Filter Extension" Michael ...
Lately, I have been taking some time to learn some new technologies. For me, the best way to learn a new technology is to jump head first into a project: Daily deal websites such as GroupOn, LivingSocial, DealFind, etc. have really taken off over the last 6 months. With so many sites out there, my inbox was being flooded with emails from all these daily deal websites. This seemed like it might be a fun project, so I set out to build a daily deal aggregator. First, I built a Windows Phone 7 app. I ...
Article Source: http://geekswithblogs.net/c... How do you send "Call Context" information in the header message to Dynamics AX 2012 WCF services from BizTalk? One difference between AX 2009 and AX 2012 services, is that you no longer always need to provide destination endpoint context information. This is described here: In previous releases, each AIF endpoint was associated with a specific company. Microsoft Dynamics AX 2012 does not require that you associate integration ports with a specific ...
In this Issue: Pete Brown, Victor Gaudioso, WindowsPhoneGeek, Jesse Liberty, Jeremy Likness, John Papa, David Anson, Mike Taulty(-2-), Lazar Nikolov, Alex Knight, Deborah Kurata, and Michael Washington. Above the Fold: Silverlight: "Simulating rain in Silverlight Part 2 - Optimization" Lazar Nikolov WP7: "Creating a Windows Phone 7 Trial Application: Implementation and Best Practices" WindowsPhoneGeek Lightswitch: "LightSwitch: 10 Times As Many Silverlight Developers As Today" Michael Washington ...
If you organize your BizTalk projects based on the type of artifacts, e.g., a solution contains schema project, pipeline project, map project, orchestration project, you might often encounter build failure problems due to the missing assembly reference. Sometime, even if you have the references properly added and you are able to verify them in object browser, you might still have problem not seeing the newly added or modified artifacts in any configuration window. The reasons for this kind of issues ...
In this Issue: Kunal Chowdhury, Peter Kuhn, David Anson, Rob Tiffany, Paul Sheriff, Jesse Liberty, Jeremy Likness, Mike Taulty(-2-), and Andrea Boschin. Above the Fold: Silverlight: "Performance Optimization of Silverlight Applications using Visual Studio 2010 SP1" Jeremy Likness WP7: "The Reactive Snake for Windows Phone 7" Andrea Boschin From SilverlightCream.com: Step-by-Step Using ImplicitDataType in Silverlight 5 Beta Kunal Chowdhury has a good tutorial up on Silverlight 5 Beta's ImplicitDataType ...
In this Issue: Max Paulousky, Roy Dallal, Colin Eberhardt, Deborah Kurata, David Anson, Mike Taulty(-2-), Jesse Liberty, and Jeremy Likness. Above the Fold: Silverlight: "The BestFitPanel collection of layout containers provides flexible, easy-to-use options for Silverlight, WPF, and Windows Phone applications" David Anson WP7: "Metro In Motion Part #4 – Tilt Effect" Colin Eberhardt Shoutouts: John Papa has a 3rd part up on his blog conversion to Orchard CMS: Walking Through the Orchard Part 3 - ...
In this Issue: René Schulte(-2-), John Papa(-2-), Jeremy Likness(-2-), Andy Beaulieu, Arik Poznanski, Page Brooks, Deborah Kurata(-2-), Microsoft, and Jesse Liberty. Above the Fold: Silverlight: "WriteableBitmapEx goes NuGet" René Schulte WP7: "Windows Phone Developer Resources" Microsoft Shoutouts: SilverlightShow posted their top 5 from last week: SilverlightShow for April 25-May 01, 2011 Koen Zwikstra has announced an update of Silverlight Spy... read his note about Silverlight 5 Beta... Silverlight ...
Check out the Top Five most popular news at SilverlightShow for April 18-24, 2011. Here are the top 5 news on SilverlightShow for last week: New SilverlightShow Webinar: Getting started with the Silverlight 5 Beta Silverlight 5 – Elevated Trust In-Browser Windows Phone 7 and WCF Don’t Play Nicely Silverlight 5’s New and Improved Threading Architecture Using Custom Markup Extensions in Silverlight 5 Visit and bookmark SilverlightShow. Stay in the 'Light ...
This article is a Part 4 of the Interview Questions series. Part 1: BizTalk: Questions for interview without answers Part 2: BizTalk: Interview questions and principles Part 3: WCF: Questions for studying and interviewPart 4: WCF: Questions for studying and interview: DiscoveryPart 5: WCF: Questions for studying and interview: Routing Service Part 6: BizTalk: Advanced Questions Q&A: WCF, Discovery · When the WS-Discovery standard gets approval first time? · Is the WS-Discovery using the XML format ...
The Author provides a very thorough grounding in WCF, The book is excellent and well worth working through the sample downloadable from the Apress web site. I do have an issue with the advertising of the book. It states "You'll also learn how move your current .Net remoting and web service applications to WCF". There were a few pages on upgrading web service to WCF but not the case study and upgrade pointers that I was expecting. In spite of this, I have no hesitation in recommending this book to ...
Last week at MIX11, Preview 4 of WCF Web API was released. If you missed it, you can watch the video here. One way to get Preview 4 and start playing with it is to download it here. However, an even easier way to to just grab the bits from NuGet: When you download the latest Web API bits, there are a couple of sample applications that show off the latest features of the Web API (these are in the CodePlex download, not the NuGet packages). The first one is a Contact Manager “Simple” project which ...
A new release of Microsoft All-In-One Code Framework is available on April 16th. This blog introduces 14 ASP.NET and Azure code samples in the release. The rest new samples will be introduced next week. Download address: http://1code.codeplex.com/r... Alternatively, you can download the code samples using Sample Browser v3. The new Sample Browser gives you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically ...
Ajax enabled data centric applications are getting popular day by day in web development space. While these type of web applications provide rich user experience, building a robust and powerful application quickly is a great challenge for developers. Fortunately Microsoft has started providing great frameworks, plug-ins and APIs to facilitate this process. Last week Microsoft announced a new version of java-script API “datajs”, which is intended to help web developers to build data centric AJAX applications ...
First, let me clarify the “killing kittens” statement. A couple of years back, I had a chance of attending a sessions presented by Todd Klindt and Shane Young on SharePoint Installation and to raise awareness of how little control, and not to say the limitations, of installing in Standalone mode, they would state “Everytime a SharePoint Standalone Installation happens, God kills a kitten”. Ok, now on to the rest of the purpose of the post. Assumption: SQL Server 2008 R2 is already installed on the ...

At MIX11, I am releasing a new preview of MVVM Light version 4. This new preview contains one small change and one large change.

Read the rest of this entry »

Well, another Philly Code Camp has come and gone, and it was a great time. I made it a one-day trip, which I think I'm getting too old to keep doing. Left the house at 4 AM from Pittsburgh, made it to Philly by 8:15 AM; I left around 4 PM and got home by 9 PM (no thanks to my TomTom, which took me on a scenic tour of old town Fort Washington). I was expecting a nice and relaxing day at Philly Code Camp where I had one talk (A Beginner's Guide to LINQ) at 2 PM; but I got an email from Marc Ziss asking ...
Welcome to my fantastic blog, and very first blog post! In my first post I thought I would share my first experience with the .NET dynamic data type, while doing some Silverlight binding. The scenario is I have a View, ViewModel and Model project. My Model project gets data from a WCF service, and sets the appropriate properties in the ViewModel. There's an ObservableCollection property in the ViewModel bound to a DataGrid in the View. The data in the ObservableCollection can be filtered through ...