Tag | wcf Posts

We're nearing the end of our second iteration on a new project. I started out by setting myself a few goals to explore. I'd like to write them down here, so I can come back in a few months to see what remains of them. You're welcome to comment on these goals.Overall- readable, intent revealing software- DRY, YAGNI, BOYSCOUT et all...Entities:- IAggregate root has interface- No ID (I'm not sure if I can pull this one off with NHibernate)- No (public) setters except for things like name, description, ...
In this Issue: Richard Waddell, Scott Barnes, Bob Bartholomay, Alex van Beek, Sergey Barskiy, Chris Klug, Microsoft Expression Blog Shoutout: All U.S. MVPs going to the Summit note that Suzanna Moran, my MVP lead, highly suggests the session at 1:30 on Tuesday "Developer & Platform Evangelism"... nudge, nudge :) John Papa is a very busy guy... Silverlight TV number 4 is up: 3 Steps to MEF (MEF Part 1) – Silverlight TV Episode 4 The Silverlight Team Blog announced Jordan Brand Leverages Silverlight ...
You all may have found this one out even earlier, but I found this out just a few days before. A WCF Service doe not allow normal method overloading , which is supported by .NET. It throws InvalidOPerationException. As for the reasons to why this happens is becasue WSDL is not a object orinted language and does not support these features of OOP. However overloading can be performed in WCF service in a roundabout way. [ServiceContract] interface ICalculator { [OperationContract(Name="Ad... ...
The day started a bit early today as we have to present a small session at Community Tech Days @ Hyderabad which was confirmed today itself. The event went very well, over 200 attendees have attended the event. Speakers from various states came to Hyderabad to attend the event. I first met Harish Ranganathan, my favourite evangelist, after entering the hall. Hima Bindu delivered the first session on Web Development Enhancements in VS 2010 which was very interactive and informative. Next Arun Ganesh ...
On February 4th, I will be presenting .NET 4.0 and Visual Studio 2010 at the Microsoft office in Reston as part of my company’s continued efforts to provide education on Microsoft technologies. This presentation will cover a wide breadth of technologies that are being launched by Microsoft this year. The presentation is geared towards technical decision makers including Architects, CTO, CIO, Project Managers, IT Managers, and senior development resources. This a totally free Microsoft sponsored event ...
In this Issue: Brett Balmer, Shawn Wildermuth, Tim Greenfield, Anoop Madhusudanan, Victor Gaudioso, David Kelley Shotouts: Jeremy Likness posted New Silverlight 3 Version Released (3.0.50106.0) Koen Zwikstra is always out there working :) Check out his PDF for Silverlight Preview From SilverlightCream.com: Hosting Silverlight Accessible WCF Services in an Azure WebRole Brett Balmer posted a solution to a problem lashing up to WCF while running Silverlight in Azure, and I added an Azure tag, Brett... ...
We begin this particular piece of our adventure into functional programming with some WCF code unification. This same technique can be used with other constructs including database connections and anything that has a setup/tear down template. I have a small set of example code using WCF which I’ll be using as an example. The specifics of the WCF calls, syntax, and general discussion is outside of the scope of this particular post; however, there are many good references on MSDN and in other’s blogs. ...
Hey guys so if you want to download my databinding demos and hello world demos here you go: http://cid-8e2654c5f01e6069... My slide deck from Virginia Beach alongside my 2007 demos are also posted up on my Sky Drive. The WCF Demos should work. You must remember though that if you are using a cross domain webservice that you need a policy file at the root of your IIS Directory. In the upcoming months as time permits I will post more demos. I’m sorry for the recent neglect ...
In this Issue: Jim Wightman, Richard Waddell, Fredrik Normén(2), Einar Ingebrigtsen, Sergey Barskiy, Chris Klug, Dan Wahlin, Walt Ritscher, and Jonas Follesø. Shoutouts: You saw the beginning of Silverlight TV ... now John Papa announces Get Your Questions Answered on Silverlight TV Mark Monster is discussing the architecture of his MeXperience application: MeXperience – Step 2 – Architecture and more From SilverlightCream.com: Another brief Silverlight in WinPE post Jim Wightman has another video ...
In this Issue: Justin Angel, Brett Balmer, and Fredrik Normén(2). Shoutouts: The Silverlight Team Blog announced IIS Smooth Streaming Player Development Kit Beta 2 released John Papa opens up Silverlight TV with Keith Smith on Premier of Silverlight TV Jeff Barnes announced ARCast.TV Special - An Architects Perspective on Silverlight 3 From SilverlightCream.com: AutoMagically Implementing INotifyPropertyChanged Geez... how do you discuss one of Justin Angel's posts in a couple sentences or less? ...
In this Issue: Andrej Tozon, Victor Gaudioso, David Kelley, Lee, Adam Kinney, and Karl Shifflett. Adam Kinney announced The second edition of the Flash to Silverlight Guide has been posted! Don't forget today is the last day to get MIX10 for $795 ... I'll be doing that today myself... hope to see you all there! From SilverlightCream.com: Add version 4 components to your Silverlight 3 application with MEF Andrej Tozon has a downright useful feature implemented ... he's using MEF for Silverlight 3 ...
In this Issue: Richard Waddell, Benjamin Roux, Sergey Barskiy, Alex Knight, Chris Klug(2), András Velvárt, Brian Genisio, Jeff Prosise, Matthias Shapiro, and Mike Taulty. Shoutouts: Adam Kinney is taking Blend training on the road: Silverlight Design Days – Free Blend Training on Tour... keep checking back, and find one close to home! New Silverlight MVP Koen Zwikstra announced Silverlight Spy 3.0.0.7 From SilverlightCream.com: The Seeker: Sidebar 2 – Blendable Seeker via ControlTemplate Richard ...
But first, a brief introduction as to what prompted this line of posting. At PDC ‘09 I had the pleasure of making acquaintances with Jon Galloway and Steve Andrews who challenged me to do more than practice & talk with co-workers and put together a talk and the suggested topic for said talk was – functional programming. Well, I’m not quite at the talk stage yet, but figured that the blog format worked as a good starting point. So, what is functional programming? Wikipedia offers the following ...
In this Issue: Jeremy Likness, Justin Angel, Pete Blois, Adam Kinney, and Victor Gaudioso. From SilverlightCream.com: Auto-Discoverable Views using Fluent PRISM in Silverlight Jeremy Likness has a follow-on to his Fluent Prism in Silverlight posts and is auto-discovering Views and tagging them so they appear in a target region. Silverlight Weblog Features Overview Leave it to Justin Angel to write his own Blog... but bonus for us, it's in Silverlight, MVVM, WCF RIA Services, Prism, etc. and etc. ...
Common questions when learning LINQ to SQL revolve around many-to-many relationships. This post will describe a scenario that needs queries across many-to-many relationships, show the data and the LINQ to SQL representation of that data, explain the query, and finally output the results. As you know, the design for many-to-many involves a join table. The following figure illustrates a many-to-many relationship between Tags and Tasks with a TasksTags join table: A scenario for working with this data ...
In this Issue: Mark Monster, Colin Eberhardt, Andy Beaulieu, Stephen Price, Tim Heuer, Vibor Cipan, Koen Zwikstra, Jeff Prosise, Dan Wahlin, and David Poll. Shoutouts: I know I've congratulated a few of the new and re-awarded MVPs for January 1st, but Tim Heuer has the big list on his site, so I'll just give a link to Tim: January 2010 Silverlight MVPs Jeff Blankenburg had a contest up on January 1st... obviously it's over, but it was fun to work through: Click The Button - The Contest Jesse Liberty ...
I just added a new webcast “Introduction to WCF Workflow Services” to CloudCasts. I’ve been playting around with WCF and WF in .NET 4.0 and AppFabric for a while now, and will get into the habit of releasing webcasts every week or so. (Well that’s the new year’s resolution anyway…) The webcast is here ...
I have had a couple of discussions with some former co-workers in the past couple of weeks regarding "what I am doing now", and each one of them seems to have the same "whoa, thats different" comment on it. To be honest, I felt the same way. It really seems like over the past 7-8 years, Microsoft has gone against the grain of what they had been doing back in the traditional ASP days, in continuing to produce new technologies (.Net Framework / ASP.Net / Atlats / AJAX / XAML / WPF / WCF / Silverlight ...
Recently, one of the queries I had was on “TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond” while consuming a web service over proxy settings. Setting the UseDefaultWebProxy to true didn’t help with this error. I had earlier written a post on explicitly setting the proxy in the configuration file for Web Services. The scenario here though was, ...
I like using ASMX Web Services (WS)in my code -- either creating them or just calling them. (Yes, I use Windows Communication Foundation (WCF) also). One of the best features of the WS call is that the object model can be exposed to allow the caller to return specific results that need no additional parsing. This does not hold up, however, if the result is returned in a string of raw XML as the result may require additional parsing to be of best use. Here is an example of calling Web Services where: ...
Happy New Year 2010 from SilverlightCream! In this Issue: Fredrik Normén, Damon Serji, Gavin Wignall, András Velvárt, Vibor Cipan, and CrocusGirl. Shoutouts: The Silverlight Team Blog has an interactive customizable New Year's card up for your use: Happy Holiday Season and Happy New Year from the Silverlight team I've added a WebCam/Mic tag to Silverlight Cream, and tagged 13 prior posts, so you can now search for them on the search page. From SilverlightCream.com: WCF RIA Services – Dynamically ...
Part III - Create the Java Web Service consumed by a .NET client This article is the third in a three part series demonstrating the interoperability between .NET WCF services and Java Web Services. NOTE: If you haven't read Part I or Part II, you should review them before continuing on. In Part I we reviewed the class diagram of the Team class and in Part II we covered creating a WCF service that exposed that class and consumed it with a Java client. Now we will be creating the JWS and consume it ...
In this Issue: John McFetridge, Fredrik Normén(2, 3), Jeff Blankenburg, Rishi, and Expression Blog. Shoutouts: Jesse Liberty reports a Silverlight HVP Design Update Michael S. Scherotter announced Maximum.TV Launches Spanish Language Silverlight TV Site From SilverlightCream.com: Developing Business Applications with Silverlight 3 ,Prism and Ria Services John McFetridge has a great tutorial PDF up on Prism, Silverlight 3, and RIA Services. Silverlight exception handling using WCF RIA Services and ...
Recently I had an interesting task to consume a particular XML document and populate a C# object from it. The structure of the XML document looked roughly like this: 1: <root xmlns="http://www.w3.org/20... 2: <entry> 3: <id>1</id> 4: <title>abc</title> 5: <content> 6: <div xmlns="http://www.w3.org/19... 7: <table> 8: <tr> 9: <td>Item1</td> 10: <td>111</td> 11: </tr> 12: <tr> 13: <td>Item2</td> ...
Part II - Create the WCF "Team" service consumed by a Java client This article is the second in a three part series demonstrating the interoperability between .NET WCF services and Java Web Services. NOTE: If you haven't read Part I you should review that article before continuing on. In Part I we reviewed the class diagram of the Team class, so our first step is to create the .NET classes in support of that model. We will start by creating the Player class: 1: [DataContractAttribute(Name = "Player", ...
Recently I was involved in a discussion around the concept of interoperability with WCF services. Half of our I.T. shop develops in the Java world and the other half in .NET, so as we were designing our next WCF service we asked ourselves the question, " Will this service ever need to be consumed by a Java client?" The answer to that question would make a difference in our design approach since we were told by our consultants friends that if we were to use custom data types in .NET, we were foregoing ...
In this Christmas Eve in Phoenix Issue: Richard Waddell, Kirupa, Douglas Starnes, Nigel Sampson, cherylws, Colin Blair, Yavor Georgiev, John Papa, Jeff Blankenburg, and Gill Cleeren. Shoutouts: For all you bloggers out there, David Anson posted: Blogging code samples stays easy [Update to free ConvertClipboardRtfToHtmlText tool and source code for Visual Studio 2010!] Colin Blair has an interesting discussion up as Thoughts on Modular WCF RIA Services If you haven't seen it yet, Scott Guthrie announced ...
In this Issue: Damian Schenkelman, Alexey Zakharov, Jeremy Likness, John Bruin, Andrej Tozon, Fons Sonnemans, Adam Kinney, Andrea Boschin, Al Pascual, Giorgetti Alessandro, Rob Eisenberg, Gill Cleeren, and Jeff Blankenburg. Shoutouts: Gavin Wignall has announced the Launch of the MSUK Partner Festive Game If you're in the UK, Tesco has this technology working: Silverlight-powered Virtual DVD now available from Tesco András Velvárt announced an interview by Karen Young when he was in Berlin: Another ...
first a note: I know this is the name of my blog is cloud9 and im supposed to be talking about Azure but just like everyone has thier pronounciation of the word Azure... I have my own defintion or vision of what Azure is. Azure is the core of a software + services platform. At this point in the game you might be saying DUH.. Whatever. Well let me just whatever your whatever lol. Azure = S+S = ( Azure Cloud, ServiceBus, Identity Metasystem (ACS/WIF/ADFS20/Cardspace etc), Dublin, WCF, WF, REST, Silverlight, ...
In this Issue: Jeff Prosise(2), Chris Klug(2), Laurent Bugnion, Jeff Blankenburg(2, 3), Gill Cleeren(2, 3, 4), Fredrik Normén. Shoutouts: Alan Mendelevich announced Stock Chart for WPF & Silverlight 1.1 Released ... free WPF and Silverlight charting control. Just for fun: SnowCrystals.com From SilverlightCream.com: Silverlight 4's New Local File System Support Jeff Prosise has a post up on accessing the local file system with Silverlight 4B. Remember this is only with elevated permissions. Silverlight's ...
Previously I wrote an article regarding Unit Testing WCF with Unity. Unit testing allows you to test a single component of your application, completely independent of any other components or systems. Once you have successfully created your unit tests, the logical next step is to see how your service works when connected to other components. These integration tests allow you, for example, to run tests against your service and see how it behaves when writing to a database or consuming another service. ...

I have a question to ask :

 How can you convience a developer who has been working on the old .asmx web service to upgrade his web services to .svc i.e WCF Services.

How can you convince him so that he understands the benifits of using WCF. What are they when compared to .asmx age old web services.

 

I have a question to ask :

When we add reference to a WCF Service in our web site in Visual Studio we are not able to view any Reference.cs proxy class file as we can see it  , getting created in case of Windows Forms application or Console Application.

  Is there any interesting fact behind this ?

 

I have my first question on my BLOG for the WCF lovers:

What is the difference between using the following two options:

 1> Add Service Reference

2> Add Web Reference

 As far as my knowledge goes , the Add Web Reference is used to add the reference for the ASMX services, but Add Service Reference will create the proxy which is mainly for .NET 3.0 & .NET 3.5

 Does any one else have some really cool understanding of this difference....

What is WCF? Windows Communication Foundation aka WCF is a Microsoft platform for SOA (Service Oriented Architecture). The following are some of the important aspects that WCF allows us to achieve. Its used for building distributed and interoperatble applications. Unifies ASMX, .NET Remoting, Enterprise Services, MSMQ etc. A single programming model for all distributed computing technology. Configuration driven protocol choices, messaging format, reliable transactions etc. Built for service-oriented ...

I am trying to debug a WCF workflow and I am unable to attach to the w3wp.exe service to try and debug the error code that I am getting.  Running Windows 7 Enterprise (64) with VisualStudio Team System 2008. I don't know if this is related to the workflow or not.  I am running VSTS as administrator to attach to the process (which is standard).  If anyone has any suggestions, let me know.

If you have used the Entity Framework that shipped with Visual Studio 2008 SP1, you would really start appreciating the flexibility it offers for building schema driven data access layer and get it to the UI Layer either directly or using a middle tier such as WCF RIA Service. Check my earlier post on this, if you are interested further :) Meanwhile, the other exciting stuff that has been around is the SQL Azure which is part of the Windows Azure platform. SQL Azure provides relational data over ...
In this Issue: René Schulte, Mike Hodnick, ITLackey, Glenn Block, David Anson, ChristophDotNet, Micah, Adam Kinney, Joel Cochran, Andrei Alecu, Jesse Liberty, and Gill Cleeren(2). Shoutout: Jeff Paries shared the 2009 Silverlight Christmas Card from Waggener Edstrom ... pretty cool, thanks Jeff! From SilverlightCream.com: World# - Real Time 3D Augmented Reality with Silverlight Please note coments made here are sometimes made to be humorous or poike fun at myself, as I tried to do with this one. ...
Phil and I discuss the real time web and consuming real time data from a Silverlight client. “Real-time data can be consumed in a number of ways but there are a few techniques that are better suited to an RIA. A publisher/subscriber hub is one way of subscribing to data but this technique requires the subscriber to be running a web server which isn't possible from Silverlight or any other RIA technology. Continuously polling a resource is the most common way to check if the data you are interested ...
In this Issue: Andrej Tozon, nmarun, AmazedSaint, Shawn Wildermuth, Fredrik Normén, Damon Payne, Victor Gaudioso, Jeremy Likness(2), Alan Mendelevich, Dan Wahlin, Lee(2), Expression Blog, Andy Beaulieu, and Gill Cleeren. Shoutouts: Scott Guthrie Tweeted about Template Monster now having Silverlight Intro Templates and Silverlight Templates Einar Ingebrigtsen announced Balder 0.8.8.5 Release is out Victor Gaudioso has a list of all his videos: All of my Silverlight Video Tutorials in One Place: (Revisited) ...
In this Issue: Corrado Cavalli, Davide Zordan, Braulio Diez, David Anson, Jeff Prosise, Jesse Liberty, Koen Zwikstra, Giorgetti Alessandro, John Bruin, Colin Blair, Radenko Zec, and Gill Cleeren(2). Shoutouts: Have you seen this for Visual Studio? Visual Studio Theme Generator .. very nice! Jeff Barnes has his slide deck and projects up for a Silverlight presentation he gave: Silverlight 4 – Presentation and Code Samples My Advent Candle seems to have a problem, but could answer why I'm having trouble ...
I have been playing with the WCF RIA Services (erstwhile .NET RIA Services) for sometime and found that most of the samples out there focus on Silverlight based applications. While the new WCF RIA Services preview for VS 2010 is awesome in terms of its Silverlight integration, I also wanted to test out on building plain vanilla ASP.NET Applications and using the power of WCF RIA Services to build a middle tier for the same. Ok, to begin with, I already had Visual Studio 2010 Beta 2 installed and ...
I have recently picked up a copy of Richard Seroter's book "SOA Patterns with BizTalk Server 2009", and thought that I would try and make some useful comments on each chapter as I read it. I am currently working in an environment where we have been implementing BizTalk Solutions as a part of an overall SOA strategy for a number of years, and I am hoping that this book will help me to gain a new perspective on the use of BizTalk in this type of architecture, and hopefully expand my understanding of ...
I have been a developer for over 10 years, and at one point or another completely relied on the knowledge of someone with more experience than I had to make something work. I figure that it's time for me to start giving back. As background, I am a Microsoft technology based developer currently working in WCF/WPF/XAML, although I have only been doing this type of development for a little while now. I have a solid background that covers ASP.Net (C#/VB.Net), Traditional ASP, Javascript, custom AJAX ...
In this Issue: Jeremy Likness, Rudi Grobler, Nick Kramer, Fredrik Normén, Mike Taulty, Deborah Kurata, Shayne Burgess, Glenn Block(2), and Gill Cleeren(2). Shoutout: Did you know MIX10 registration was open? Register by Jan 15th and get in for $795!! MIX10 From SilverlightCream.com: Unit Tests for ViewModels AND Views in Silverlight Confused about Unit Testing Silverlight apps in MVVM? Jeremy Likness isn't... and he shows us how! Blend 3 Tip: Filter resources by selected element Rudi Grobler has ...
So you're familiar with TDD (test-driven development)... Failing your tests first, then building up your classes to satisfy your tests so they're all "Green"... This is a typical scenario and is pretty straightfoward with .NET. Well now you have to create a WCF service and implement unit testing to ensure you don't break your service when you build out a new version. This is a bit more challenging but you do have some different options: Separate out your service code into a library and run your tests ...
Technorati Tags: Web Services Security Some tips on how to implement Web Services Security on a .NET web service. If we are developing on WCF (Windows Communication Foundation) platform, there is built-in support for OASIS WS-Security Basic Profile and we can configure through configuration settings. If ywe are developing on ASMX platform (Classic .net web services), you have to depend on WSE (Web Services Enhancements) to implement the same. WSE 3.0 from MS site offers samples for most security ...
Technorati Tags: Silverlight Silverlight: How Should I architect my Silverlight App? Every case is different, of course. But, the general rules are following. Focus on writing reusable code. We should write code that others will use in other projects you'll find yourself maximizing the reuse and writing better code. We should avoid putting the same code in more than one place. Share your code. Split the code into separate (DLL) projects and separate them along technology lines. For example, a root ...
Technorati Tags: SharePoint There are a bunch of SharePoint features in Visual Studio 2010 Beta. They are going over Business Data Connectivity (BDC) designer, which is available in the project template Business Data Connectivity Model. BDC is one of two most important architectural components of Microsoft Business Connectivity Services (BCS) which enables users to read and write data from external systems—through Web and Windows Communication Foundation (WCF) services, databases, and Microsoft .NET ...
Technorati Tags: Silverlight,WCF WCF NET.TCP Protocol in Silverlight 4 Silverlight 4 beta has been released and it has many new features. One of the most important features is net.tcp binding support. Now in Silverlight 4 we can communicate with WCF web service using net.tcp protocol. If I can choose the one most important feature in Silverlight 4 beta that can kill WPF apps I will choose the net.tcp support. One of the major performance improvements in Silverlight was the possibility to add binary ...