Tag | wcf Posts

In this Issue: AfricanGeek, Andrea Boschin, Colin Eberhardt, Anoop Madhusudanan, Lee, Laurent Bugnion, Rudi Grobler, Xianzhong Zhu, Jesse Liberty, Asim Sajjad, Dhananjay Kumar, XAMLNinja, and Kunal Chowdhury. Above the Fold: Silverlight: "Develop a Flexible 2.5D Scene Editor Targeting Silverlight RPG Games - Part 2" Xianzhong Zhu WP7: "A Windows Phone 7.1 (Mango) MVVM Tombstoning Example" Colin Eberhardt Metro/WinRT/Windows 8: "Consuming WCF Service in Windows 8 XAML/C# metro application" AfricanGeek ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for September 26 - October 02, 2011. Here are the top 5 news on SilverlightShow for last week: The Top 10 Over-Engineering Mistakes in Silverlight Applications Recording of yesterday's webinar 'WCF RIA POCO Domain Services' available online Developers get MORE with Windows Phone 7.5 Developing Windows Phone 7 HTML5 apps with PhoneGap Silverlight 5 P-Invoke: Using Kinect SDK from Silverlight Visit and bookmark ...
Hello everyone, I've faced a weird problem when I was deploying FAST for Sharepoint, is that when I search, the results URL is not mapping correctly to the AAMs that I've defined for it. So, When I opened the event viewer, I've found 2 critical errors that keep on occuring every fixed time interval which were: The Execute method of job definition Microsoft.Office.Server.Sea... (ID 75aabb8d-11c6-4d32-9d0d-ec6... threw an exception. More information ...
Yes, all unhandled exceptions will kill the IIS worker process, but in WCF you can tag an IErrorHandler onto your service behavior and all unhandled exceptions will be neatly taken care of. Unless that exception is thrown from a factory task, in which case the error handler is bypassed and the worker process is killed. So this code: public ServiceResponse OnBoardClient(Client newClient) { if (IsValid(newClient)) { var client = newClient; Task.Factory.StartNew(() => OnBoardClientInternal(clien... ...
This example is not covered in the ESB Toolkit samples and I bumped my forehead a few times while making it work. I thought it’d be helpful to save other fellow BizTalk'ers from headaches by publishing findings. I have been fun of dynamic generic messaging for quite a while and went long ways to avoid working with typed messages and static bindings when it made sense. Nowadays, with the ESB Toolkit one does not have to spend much effort to achieve this goal. But one has to learn intricacies of configuration ...
In this Issue: Peter Kuhn, Scott Hanselman, David Anson, Kunal Chowdhury, Beth Massi, Rajat Jaiswal, MIke Ormond, WindowsPhoneGeek, Xianzhong Zhu, Jesse Liberty, Derik Whittaker, Morten Nielsen, Sumit Dutta, Asim Sajjad, and Dhananjay Kumar. Above the Fold: Silverlight: "How To Use DataTriggers In Silverlight DataGrid" Dhananjay Kumar WP7: "Windows Phone eBook 1st Edition Published" MIke Ormond LightSwitch: "Filtering Lookup Lists with Large Amounts of Data on Data Entry Screens" Beth Massi Windows ...
At last, I can announce that ‘BizTalk Server 2010 Unleashed’ has been published and is available through major booksellers in both printed and electronic form. The book is not a new edition of the old ‘BizTalk Server 2004 Unleashed’ book from several years ago, although Brian Loesgen, our fearless team leader, provided continuity with that title. Instead, this is entirely new content written by a team of six authors, including myself. BizTalk Server is such a huge subject. It proved a challenge to ...
For more formatted view .. Goto http://ankitagrawal57.blogs... any web application, performance is basic necessity. Earlier internet speed used to be limited thus users got inclined to pages which load within 3-4 secs. But now the internet speed is no more a constraint but still time does remain a constraint. Imagine yourself visiting a website which takes a lot of time (30 – 60 secs) just to load the page. You would not like to go to that site again.To mitigate this issue, developers and ...
Are you passionate about your job? Do you enjoy programming? Do you think you're any good at it? One of the things that make me productive as a developer are the tools and products I use. However, these tools seem to try and grab all my attention. When I go to a conference, or read a blog entry, I'm bombarded with them: Windows 8, Visual Studio 11, TFS, WCF, Silverlight, MEF, OData, Lightswitch, LabManagement, NuGet, ... it just doesn't stop, and I know I will never be able to keep up with all of ...
At the beginning I want to inform that I've already read the similar question here: Entity Framework 4.0: is it worthy now? but it does not answer my questions and doubts concerning EF 4.0. Here's the case: We are working on a quite big project written in WPF and WCF. The structure of the database contains about 60 tables, lots of stored procedures, views and some functions. We are not using any ORM at the moment. Some time ago when the first version of EF was release we did not go with it because ...
One benefit of my recent experience on a BA flight was that I got plenty of time to read through “Microsoft BizTalk 2010 Line of Business Systems Integration”. I’d promised the publisher weeks ago that I would take a look and publish some comments, but August has been such a busy month for me, and they have had to be patient. I should point out that, for the sake of transparency, that with another BizTalk book about to be released (next week) which I helped co-author, I have an urgent and obvious ...
.Net has several methods of serialization and sometimes it causes a lot of confusion even for experienced programmers. I believe the best article to describe the different methods is Aaron Skonnard’s Serialization in Windows Communication Foundation(MSDN Magazine > Issues > 2006 > August) (by some reason it’s not highly rated by Google and other articles are coming first for Serialization related requests) There is also a brief comparison table in StackOverflow What are the differences between ...
Programming for Metro Metro is the future http://zd.net/rnT9VZ .NET is for old apps. WinRT replaces WPF & WCF. XAML is big. There were no Silverlight sessions. HTML 5 and Javascript ( Blend for HTML) are back in fashion – I wont dwell on this because web apps are (inconsistently) simplistic in concept and over-complex in development. Yes, all those XAML skills are portable, Silverlight (RIP) apps can run as Metro apps with a bit of fidgeting with namespaces – you just need to know what controls ...
In the previous post I droned on about how to apply the AsyncOperationService to an API conforming to the .NET Asynchronous pattern. In this post I’ll be building a more real world example. Well I say “real world” please don’t confuse that with something actually useful. Its still a little contrived and is not an example of best practice but it is something you could actually build and test. What are we going to build? We are going to build an ambitious ground breaking Silverlight app that allows ...
When developing WCF services that interact with a custom Security Token Service (STS), you will need to create at least one X.509 certificate. If you have access to a trusted certificate authority – e.g. a Windows Active Directory domain – then this task is pretty simple. But if you don’t, or maybe you would just rather create a set of self-signed certificates, here is an approach that works well for me. This particular scenario utilizes three separate certificates. The first one is named “localhost” ...
If your orchestration is heavily rely on WCF SQL adapter based on SQL stored procedures, you may often encounter an issue related to strongly-typed schema and receive an error which is similar to the following. The adapter failed to transmit message going to send port "WcfSendPort" with URL "mssql://sqlserver//databas... It will be retransmitted after the retry interval specified for this Send Port. Details:"System.Data.SqlCli... Invalid object name '#Temp'. This is because of the ...
Today the release candidate of Microsoft’s Silverlight 5 was released to the public. If you want to know “What’s new in Silverlight 5” then check out this page on Silverlight.net and continue reading the article below. Getting Started First, we are going to need to download the required tools to install the Silverlight 5 RC. Before getting started, please note that you can install the Silverlight 5 RC on top of the final release of Silverlight 4. If you have the Silverlight 5 Beta installed, then ...
In this Issue: Alex Golesh(-2-, -3-), Andrea Boschin, Peter Kuhn, Shawn Wildermuth, WindowsPhoneGeek(-2-), Jesse Liberty, Pete Vickers, Sumit Dutta, Asim Sajjad, Chad Campbell, Vikram Pendse, Michael Crump, and David Kelley. Above the Fold: Silverlight: "Silverlight 5 : Low-Latency Sound Effects" Vikram Pendse WP7: "Windows Phone codenamed "Mango" Training Course" Alex Golesh Shoutouts: Michael Palermo's latest Desert Mountain Developers is up My friends at SilverlightShow posted their top 5 for ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for August 22 - 28, 2011. Here are the top 5 news on SilverlightShow for last week: Who says Silverlight can’t run on a tablet Papa's Perspective: Fundamental MVVM apps portal – a Silverlight based app store Tablet Development with Microsoft Silverlight Free SilverlightShow Webinar: WCF RIA POCO Domain Services Visit and bookmark SilverlightShow. Stay in the 'Light ...
If you are developing you WCF service for web service deployment under IIS and coding with the Visual Studio web server you are in for a rude awakening when it comes time to deploy your solution. Ok, so that is a little over dramatic, but there are a few steps and precautions you need to know about. Below are the main steps to deploying your application to IIS assuming WCF is already installed and registered. The first step is to create an application pool. Make sure that for your .NET 3.5 WCF service ...

Well simply put - flat out on a big Government IT project. This is due to go live next month and I'll be writing a number of pieces here on it.

Built on BizTalk, WCF, Windows Foundation, MVC, Entity framework and App Fabric....

After an incredible trip to Chattanooga, TN (my first trip to Tennessee, by the way), I finally made it back home to Pittsburgh and found some time to upload my two DEVLINK talks (slides and code). I tried something a little different this time by adding my code to GitHub and my slides to SlideShare. We’ll see how that works out – but I’m optimistic. So without further adieu, I present to you my 2011 DEVLINK talks. Talk #1: Greenfield Development with CQRS (and Azure, and MVC, and a bunch of other ...
Requirement was to create Multi-tenant WCF Service for custom development using WCF and Dynamics CRM 2011. There is just one SVC file but multiple URLs to access it e.g. in Dyanamics Organization Org1 have URL http://CRMserver_name/Org1/... and Org2 have http://CRMserver_name/Org2/... I was trying this using URL Routing but problem is, it is creating REST services which we don’t want. We should be able to access these services just like ...
I recently had the pleasure of creating a course for Pluralsight on MVC Scaffolding. For the next 24-hours the course will be completely free! Click here to view the course now. I’ve divided the course up into three modules. In the first module, I cover everything you need to know to be quickly productive with MVC Scaffolding. This includes mastering the command line, understanding one-to-many relationships, and scaffolding Actions and Unit Tests. In the second module, I do a deep dive on customizing ...
In this Issue: AfricanGeek, Dhananjay Kumar, Erno de Weerd, Jesse Liberty(-2-), Den Delimarsky, Austin Andrews, John Papa, Morten Nielsen(-2-), Andrej Tozon(-2-), and Michael Washington. Above the Fold: Silverlight: "Papa's Perspective: Fundamental MVVM" John Papa WP7: "Connecting Windows Phone 7, Zune, a Proxy Server and an Intranet Web Service" Erno de Weerd LightSwitch: "Using WCF RIA Services With LightSwitch: I Know You're Scared, I Understand" Michael Washington Shoutouts: Michael Crump is ...
In this All Submittal Issue: Michael Washington, SilverlightShow(-2-), Mark Monster(-2-), Oren Gal, Andrea Boschin, Sigurd Snørteland, Peter Kuhn, Mijail Cisneros, Kunal Chowdhury(-2-), Gill Cleeren Above the Fold: Silverlight: "Why Visual Studio Debugger is not working for my Silverlight Application?" Kunal Chowdhury WP7: "Cache as Fallback using Reactive Extensions" Mark Monster LightSwitch: "Using WCF RIA Services In LightSwitch To Simplify Your Application UI" Michael Washington Shoutouts: Michael ...
Part of the fun of being a consultant is that the technology you use changes from day to day. Recently it is WCF which, while knowing the concepts of since it came out I haven’t used up until now. The nice thing is that it really isn’t any harder to develop for than a normal ASP.NET web service. A couple of the attributes change and which project type you start with is different, but it is still message based services. Just like the method of a web service needs a Webmethod attribute a method in ...
Windows Communication Foundation is a powerful tool for building contract based messaging. As with most powerful technologies with flexibility comes a fair amount of complexity. I ran into one of these situation while trying to send files as part of message in the form of a byte array. In itself this is a simple concept. The problem is that the default configuration of WCF is setup to protect us from denial of service attacks to the best of its ability. In order to achieve this it is setup for relatively ...
In this Issue: Michael Washington, Andrej Tozon, András Velvárt, Michael Crump, Nigel Sampson, Ben Gracewood, Jeremy Likness, Den Delimarsky, Austin Andrews, Morten Nielsen(-2-), and Alex Sorokoletov. Above the Fold: Silverlight: "Using Attribute Validation in Silverlight with WCF RIA Services Example" Jeremy Likness WP7: "SurfCube on Mango Part 3–Share on Facebook, Twitter, LinkedIn" András Velvárt LightSwitch: "How To Create a Simple Control Extension (Or How To Make LightSwitch Controls You Can ...
If you've found this blog posting, you've probably been banging your head against a wall trying to get those errors generated from your web service to appear in your MVC web site. You may have already discovered that while you can see the messages display in Fiddler, getting them to appear in your project takes a little bit of work. First, l strongly recommend you check out the work already done on this subject by more dedicated bloggers than l: http://kenneththorman.blogs... ...
Performing Composite Operations on Oracle Database is very similar to SQL Server Database. I just want to point out one mistake developers might easily make during the send port configuration. For any composite operation, the generated binding script doesn't include the composition operation tag in SOAP action header, therefore a new line needs to be manually added for each composite operation during the send port configuration. For WCF SQL Adapter, it looks like <Operation Name="CompositeOperationName" ...
Everyone has a journey. You start off young & stupid, and 2 decades later, you're closer to understanding the nature of reality. That’s one of the main goals in life, to seek knowledge (justified, true beliefs – pick any 2 J ). I must have read 5000 books in my life. From some of my readings it could be construed that reality computes itself, It from Bit. From others, it can be concluded that Entropy is decreased by increased rates of computation, and in the short span of human civilization, ...
The KB article is so short, I may as well paste it in. KB article 2021894 MSMQ ReceiveContext does not receive messages from the queue and no exception is thrown On a computer that is running Windows Server 2008 or a later version, you experience the following symptoms: In Microsoft Message Queueing (MSMQ) 4.0, the ReceiveContext feature fails silently. Additionally, the Windows Communication Foundation (WCF) application does not receive any messages from the queue. The ReceiveContext feature's Complete ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for August 1 - 7, 2011. Here are the top 5 news on SilverlightShow for last week: Free Silverlight Show Webinar: Deep-DIVE in Silverlight FIVE Silverlight Menu4U 7 reasons to be a Windows Phone 7 Developer WCF RIA Services Toolkit (August 2011) - And Updated NuGet Packages KinectSDK + Windows Phone 7 Mango Visit and bookmark SilverlightShow. Stay in the 'Light ...
In this Issue: Oren Gal, Oscar Agreda(-2-), Michael Washington, Mike Gold, John Papa, Paul Sheriff, Jesse Liberty(-2-), András Velvárt, and Derik Whittaker. Above the Fold: Silverlight: "here is a Complete Silverlight Business Application using MVVM" Oscar Agreda WP7: "SurfCube on Mango Part 2– The SystemTray" András Velvárt LightSwitch: "WCF RIA Service: Combining Two Tables" Michael Washington Shoutouts: Michael Crump's articles on OData at Silverlight show have been pulled into an eBook: My eBook ...
So, last year I was working a large SL 4 project. Things rolled along well but… One of the devs the client forced on us was a guy who claimed to be a senior developer but was really a very junior one. Now the client had him doing all kinds of work and thought he was awesome. So one day I was debugging problems and found this. At startup of the app, we needed a bunch of lists for list boxes and validation and such. What this dev had done was make calls to WCF like so: Get list 1 Get list 2 Get list ...
Article Source: http://geekswithblogs.net/c... What is the best approach for developing a WCF client application that sends messages to the WCF on-ramps exposed by the BizTalk ESB Toolkit? I had considered various approaches: Generate an xml message from a string template using string replacements. Then submit the message to the ESB endpoint using code similar to the Itinerary Test Client provided with the ESB Toolkit. Then for the response use XPath to get the required data. - This is obviously ...
We have two services, that can be called independently, but also can be used together. They have some common types, and if they called together, default Visual Studio proxy generation will create the same types in different namespaces. There are multiple articles, that recommend to use command line SvcUtil instead of Visual Studio IDE. The article How to reuse types across service endpoints suggests on client side manually update Reference.svcmap to include multiple <MetadataSources> and NamespaceMappings ...
In this Issue: Gill Cleeren, Adam Kinney, Peter Torr, John Garland, Kunal Chowdhury, Telerik, WindowsPhoneGeek, Xianzhong Zhu, Jesse Liberty(-2-), and Michael Washington. Above the Fold: Silverlight: "Showing the Onscreen Keyboard in Silverlight OOB Applications" John Garland WP7: "Check if your WP7 app is a Bing Instant Answer" Adam Kinney LightSwitch: "The Visual Studio LightSwitch Economy" Michael Washington Shoutouts: Pete Brown announced a sweet deal on his next book: My Next Book: Silverlight ...
Introduction One of the first things I wanted to do after installing the Azure AppFabric June CTP was to create an AppFabric application that used the Bing Map SOAP services. That was when I hit my first roadblock. There is currently no option in the AppFabric Application Designer to add a reference to an external service. After asking around in the forums I learned that I should build an external service to do this. There is currently very little documentation on creating external services for Azure ...
MvcScaffolding is a tremendous productivity improvement for MVC developers. Earlier this year, Steve Sanderson posted the definitive 7-part series on MvcScaffolding which is a must-read for anyone serious about doing scaffolding. The best part about the scaffolding infrastructure is that MvcScaffolding is actually built on top of another package called T4Scaffolding. T4Scaffolding can be used as the basis for *any* scaffolding – not just MVC projects. To that end, we can enjoy the same power of MvcScaffolding ...
Microsoft has released a number of training kits that have hands-on labs, articles, presentations and loads of information. The have become available for a range of products. They have also been updating them as more features or service packs come out. The links to them are listed below: Visual Studio 2010 and .NET 4 Training Kit http://www.microsoft.com/do... Windows Azure Training Kit http://www.microsoft.com/do... SQL Server 2008 R2 for Developers ...
Hi there, Recently we had a requirement to integrate a RESTful Service with BizTalk Server. Well no biggie. You can use WCF – Custom Adapter and use webHTTP binding and add a webHttp Endpoint behavior. Wala. Easy to say, little bit tricky to do. That all is fine, but what if you want to have a polling receive location which needs to go and do an HTTP GET to a RESTful Service. Aahh!! That’s even more trickier. Bunch of you reading this post would have already thought about some or other way of doing ...
Giovanni Bassi published the original NuGet package for LINQ to Twitter (L2T), which I'm appreciative of. Since then, I have yet to do a release myself, but that is changing now. The current version of LINQ to Twitter is stable enough for a release, so the time is right. I think there are a few aspects of a LINQ to Twitter NuGet package that aren't as simple as point at a project and your done, so I'll document my process here in case anyone else is interested. Getting Started I had played around ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for June 27 - July 03, 2011. Here are the top 5 news on SilverlightShow for last week: WCF RIA Services series now available as a fully offline resource Download Windows Phone SDK 7.1 Beta 2 (Mango) - Web and Offline Installer Telerik XAML controls Q2 2011 Beta Release Using the Task Parallel Library (TPL) for Events Developers Get Goody Basket Full of Mangos Visit and bookmark SilverlightShow. Stay in the ...
I've done better! An improved service client wrapper is described here.WCF clients need to be cleaned up properly, but as they're usually auto-generated they don't implement IDisposable. I've been doing a fair bit of WCF work recently, so I wrote a generic WCF client wrapper which effectively gives me a disposable service client. The ServiceClientWrapper is constructed using a WebServiceConfig instance, which contains a Binding, an EndPointAddress, and whether the client should ignore SSL certificate ...
It’s here – the brand new - Windows Phone SDK 7.1 Beta2. This time it has ability for your to Flash your Developer Unlocked phone to Mango Beta! How awesome is that? Mega-Ultra-Mango-Awesome!! The Windows Phone SDK includes the following Windows Phone SDK 7.1 (Beta2) Windows Phone Emulator (Beta2) Windows Phone SDK 7.1 Assemblies (Beta2) Silverlight 4 SDK and DRT Windows Phone SDK 7.1 Extensions for XNA Game Studio 4.0 Microsoft Expression Blend SDK Preview for Windows Phone 7.1 WCF Data Services ...
In this Issue: WindowsPhoneGeek, John Papa, Mike Taulty, Erno de Weerd, Stephen Price, Chris Rouw, Peter Kuhn, Damian Schenkelman, Michael Washington, and Manas Patnaik. Above the Fold: Silverlight: "Binding to View Model properties in Data Templates. The RootBinding Markup Extension" Damian Schenkelman WP7: "Storing Files in SQL Server using WCF RIA Services and Silverlight – Part 3" Chris Rouw LightSwitch: "Saving Files To File System With LightSwitch (Uploading Files)" Michael Washington Shoutouts: ...
· XNA communication must by default be lightweight – if you are syncing game state between players from the Game.Update method, you must minimize traffic. That game loop may be firing 60 times a second and player 5 needs to know if his tank has collided with any player 3 and the angle of that gun turret. There are no WCF ServiceContract / DataContract niceties here, but at the same time the XNA networking stack simplifies the details. The payload must be simplistic - just an ordered set of numbers ...
Binding file for WCF Adapter doesn't save the password no matter it is generated by "Add Generated Items..." wizard in Visual Studio or "Export Bindings..." in administration console. It is by design dut to the consideration of security, but it is very annoying especially when you import bindings which contain multiple WCF send ports. The way to aviod retyping password everytime after an import is to edit the binding file before import. Here is what needs to be done. 1. Find the following string: ...