Tag | wcf Posts

I few months ago I took a pledge to: "I will publish a blog post on Tuesday 24th March about a woman in technology whom I admire but only if 1,000 other people will do the same." to celebrate Ada Lovelace day. That time has come! Michele Leroux Bustamante – author of a book I deem as one of the best books I’ve bought to get me into SOA and learning WCF… Without it I wouldn’t have got half as far as I have! Now – aside from the selfish reason of the fact that she has helped me with the book – I admire ...
Check out the 2009 Microsoft SOA & BPM Conference presentation on Microsoft ESB guidance 2.0, Oslo, BAM, REST with WCF, Customers case studies etc... 1. Keynotes, Lunch Sessions and Customer Case Studies 2. Technical Offerings Track 3. Best Practices Track ...
As I said in my previous post, I’m currently implementing a web service in WCF. It has to be consumable by code that’s been written for a .NET 2.0 style web service (in Perl, as it happens), and so I’m using the BasicHttpBinding and Xml serialisation. One of the reasons I’m using WCF is to be able to wrap all operations (in the WCF sense) in the same error handling code. The requirements of the client are always to have the following class returned: public class Result<T> { public T Data { ...
Interest to ADO.NET Data Services platform obviously is growing up among developers of web-services. It also confirmed when I receive e-mail letters with questions about different problems. As a rule these questions are reduced to serivce error after some actions, when serivce say about general error and not takes details. In this case services say that he stored information about error in logs. Whether familiarly to you the given message? I think yes, if you had time to try ADO.NET Data Services ...
Hello. My name is Sergey Zwezdin. I work in company NeoConcept (Russia, Chelyabinsk) at position CTO. I am engaged in software working out on platform Microsoft. NET since 2004. Since July, 2008 I am Microsoft MVP, technical expertise - Visual C #. The area of my interests includes WCF, WPF, LINQ, ADO.NET Data Services (astoria), ADO.NET Entity Framework, and many other interesting technologies. To communicate with me use following e-mail sergey.zwezdin@gmail.com or MSN sergey.zwezdin@gmail.com. ...
Tomorrow Thursday 19th of March 2009 Location: Delfino 4105 Working across the .NET continuum Come see how to build a continuum of client applications including HTML, AJAX, ASP.NET, Microsoft Silverlight, and Windows Presentation Foundation (WPF) that all consume the same Windows Communication Foundation (WCF) service. Learn how to reuse as much code as possible, how to optimize the development process, and how to address key logistical issues like external servers and cross domain communication. ...
I have to say that I’m a big fan of WCF’s modularity and power. At the moment though, I’m struggling with impersonation issues and feeling overwhelmed by the sheer size of the thing. “With great power comes great responsibility”, I suppose. We have a legacy policy in our company whereby web services impersonate a particular user account that can write to certain file shares and access databases. This has served us well for intranet web apps, but I’ve run into difficulties because I’m forging ahead ...
Right, in my last post I wrote about creating a DBML file and hooking it all up through WCF, however, we only got to ‘retrieving’ from the database via the service. So, let’s presume you want to upload… We already had our contract: [ServiceContract] public interface ICarsService { [OperationContract] Car GetCar(int id); [OperationContract] void SubmitCar(Car car); } Of which we’ve tested the ‘GetCar’ method, let’s get to implementing the ‘SubmitCar’ method. We actually did implement some code in ...
We’ve been slowly migrating our services from asmx to WCF, but as we’re still using BizTalk 2006 with no support for WCF we’ve been exposing endpoints configured for basicHttpBinding and consume them using the SOAP adapter. Generally speaking things have been going well, although we completely gave up on the idea of moving the services to WCF and NOT have to change the client, until yesterday we’ve stumbled into a serialisation issue – The SOAP adapter, as part of its work deserialises the request ...
Recently a few of us were speaking about what would be the future of BizTalk after the 2009 release. I already had a few thoughts on what I think would be great additions to the product and what strategic directions it may move in. I have checked to ensure that none of my thoughts breach the MVP NDA and after getting the thumbs up I've listed my thoughts below so there might be a bit of discussion on these ideas. AreaThoughtNotesImproved or New FeatureConfiguration SubsystemWithin BizTalk solutions ...
I wanted to make sure and draw attention to the effort that Brandon King in Harrison, Arkansas has given towards promoting this event. There are some major giveaways, and we will be arranging a carpool from Springdale to drive the 1:30 to give a good showing from the NWA DNUG crew. Details: Who: CLAUDIO LASSALA What: Details at http://odnug.org When: April 2nd 5:30 PM – 8:30 PM Where: North Arkansas College (Center Campus - Durand Center - Old Regions Bank Building), Harrison, AR Grand Prize Inspiron ...
Download Sample Code The Problem Chances are that if you’ve done much Silverlight development you’ve worked with a few web services. In most cases, they are the primary channel for getting data in and out of your application. Fortunately, the Silverlight runtime has a scaled down implementation of the client-side WCF framework that allows us to perform most simple web service operations fairly easy. However, it is important to note that when I say the WCF stack is scaled down, I mean it is really ...
I wanted to share a couple of suggested Silverlight 2 reads, especially for those visiting my blog after the recent Winnipeg Code Camp talk I did on Silverlight 2. Pro Silverlight 2 in C# 2008 by Matthew MacDonald. This book is an incredible reference, covering almost every topic that you’d need to know for building Silverlight 2 applications (There’s no dedicated “Architecture” chapter, but I think that’s a topic best served currently by the Microsoft P&P Team and Prism). The book has the benefit ...
I’ve recently been working a fair bit with WCF and web services in and out of BizTalk. One of the things this involves is hooking up some orchestration ports using the generated port types when the target service is consumed. Once the consuming wizard is done, the generated port type definitions can then be edited to include a fault message. I chose to assign the out-the-box BTS.soap_envelope_1__1+Fault message. Now, the physical 2-way send port the orchestration wires up to has a custom receive ...
Here's what's happening: Attendees: 428 Sessions: 73 Speakers: 49 Tracks: 15 Sessions: ASP.NET Make your Data Dance with ASP.NET Dynamic Databy Shawn Weisfeld + Show Description ASP.NET Dynamic Data is a framework that lets you create data-driven ASP.NET Web applications easily. It does this by automatically discovering data-model metadata at run time and deriving UI behavior from it. A scaffolding framework provides a functional Web site for viewing and editing data. You can easily customize the ...
My past experience with WCF services has followed a slightly unusual path. For a variety of reasons, most of the services I've written have consisted of an interface and an implementation. Pretty straight-forward thus far. However, where it gets a little unusual is in the hosting mechanism. We're using Windows services to host of WCF services. This works out well for us, since these services live on intranets, and aren't publicly exposed. When looking at Azure, services are a little different. It's ...
Now, I may be doing this wrong, but at the moment, it works :) I’m writing a service to communicate with a database, and provide a consistent front end for the applications that will be using it. In the past that has meant writing tonnes of CRUD (Create Read Update Delete) code, usually via Stored Procs, which are then accessed by a ‘DbAccess’ helper class of some variety. Not to mention the added bonus of writing the classes to store the data as it comes out. Fortunately the database I’m accessing ...
I am just back from the MVP summit in Seattle / Redmond and I had a great time there. It was fantastic catching up with old friends and making new ones. Seeing what is coming up in future releases of Silverlight and WPF (to name just those two) was electrifying. Of course I cannot talk about it because otherwise Justin Angel and the NDA police will track me down and kick my ass. If you never met Justin before, trust me, you don't want that to happen. :) Read the rest of this entry » ...
[Source: http://geekswithblogs.net/E... The Code Generation Guidance Package on CodePlex was designed to be extensible and reusable. There are three main C# projects, which isolate logic for code generation, and the UI and GAX components. Sixeyed.CodeGeneration This is the core project, defining how metadata is represented and retrieved, and defining configuration for code generation runs. Metadata is defined in terms of: A metadata source, which contains the logic for connecting to the ...
I have been developing full time in Silverlight 2 for a few months now. I must say, it is the most fun environment I have ever programmed in. It has been an enabling technology in our product, and I am rather excited to see what comes next. If the pattern continues as I expect it probably will, we will hear all about the features of Silverlight 3 in a few weeks at Mix 09. I will not be attending this conference, but I fully expect to be watching the important sessions virtually. I am hoping for a ...
I want to do .Net Remoting asyncronous call with "fire and forget" approach. MSDN statement in OneWayAttribute Class documentation is not clear "The method can execute synchronously or asynchronously with respect to the caller." Thanks to manish godse's blog : OneWay messages in remoting post: invoking a method with [OneWay] attribute the client will not wait for a response and the call will return immediately. In essence the call gets converted to an async call and the client doesnt wait for a server ...
[Source: http://geekswithblogs.net/E... BizTalk 2006 R2 ships with WCF adapters and pre-configured settings for common bindings - basicHttp and wsHttp being typically used for SOAP messaging. With a static port you can use the WCF-Custom adapter, select an existing binding and configure it further in the UI, with the full set of binding options available to you: Here I'm using basicHttp, but I've configured the maxReceivedMessageSize, sendTimeout and transferMode settings to allow us to ...
[Source: http://geekswithblogs.net/E... Following on from my post on Using the WCF SQL Adapter in .NET: Calling Stored Procedures (see that post for download and installation instructions for the WCF LOB adapter pack), this one looks at using the adapter to execute SQL statements on database objects. Walkthrough: Executing SQL Statements Add Adapter Service Reference generates separate entity and client classes for each table you select, and separate request and response classes for each ...
Recently I ran into the following error message in Web Application I was developing: Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota. '. After researching this issue, I was able to determine why the error was occuring. The problem has to do with the default serializatoin sizes that were being utilized by my WCF connection. Now typically with other such settings, you would customize the ...
Today I experienced what appears to be a small WSSF gotcha :) If you have a Data Contract which has a Data Member called Value (for example contract is ParameterInfo, so having a member called Value might make sense), the code that gets generated by WSSF looks like so: Normal 0 false false false EN-US X-NONE 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; ...
While consuming a WCF Service in BizTalk Server 2006 R2 using WCF adapter (WSHTTP binding), there is one thing that has to be kept in mind. By default, BizTalk expects response for every request goes out of the BizTalk server meaning two way communication except for adapter like NetMSMQ. So if the WCF service that you are consuming has contract which has been set to IsOneWay=true, when you consume this service BizTalk would throw error waiting for the response. public interface IOrderService { [OperationContract(IsOneWay ...
[Source: http://geekswithblogs.net/E... The Adapter Pack 2.0 for BizTalk has been released in public beta recently, and among the WCF Line Of Business adapters it contains the WCF SQL adapter. This exposes SQL Server connections as WCF service endpoints, and lets you connect to a SQL Server source using the standard ServiceModel stack. The adapter pack will be released under the BizTalk brand, but the adapters themselves are not limited to BizTalk – the WCF SQL adapter can be used natively ...
Pro BizTalk 2009 A compendium of best practices and implementation wisdom, Pro BizTalk 2009 is based upon real feedback from BizTalk developers. BizTalk experts and authors George Dunphy, Sergei Moukhnitski, Carmai Constant, and Nkishi Kayembe share their experiences and expertise to teach you the art of creating a BizTalk solution using the right tools from the BizTalk 2009 toolbox. by George Dunphy, Sergei Moukhnitski, Carmai Constant, Nkishi Kayembe | ISBN-13: 978-1-4302-1981-1 | Not Yet Published ...
What techniques can you use to get agile practices into a waterfall project/legacy code base? Approaches Small greenfield project smaller, greenfield project started with source control (moved from Source Safe to Subversion) once SVN was in place, other tools were able to be used starting to do CI (TeamCity is free for small teams; can target multiple build mechanisms) then the door for NANT (or other unit testing) is open; not only does the code compile, but nothing is broken integration tests can ...
I finally had an entire day of sitting at home where I did not have to pack. I put my slides and my demos on Sky Drive, including the Linq to XML information with the XML file databinding commented out and the webservice code (using WCF). Here is the slide link: http://cid-8e2654c5f01e6069... Here are the demos: http://cid-8e2654c5f01e6069... I am not ...
In this issue: Matt Watson, Bryant Likes, Tim Heuer, Radenko Zec, Matthias Shapiro(2), Terence Tsang, Justing Angel, and Lee. Shoutouts: Shawn Wildermuth made the announcement that he will be Speaking at DevTeach in June ... way to go, Shawn ... there were lots of contenders for those speaking slots! Joel Neubeck will be speaking in a breakout session at MIX09: Mix09 - Creating Web Applications on the Internet Explorer 8 Platform ... should be a good one, Joel! The SilverlightShow guys sent me this ...
I understand that Microsoft has been targeted by governments for including Windows Media Player and Internet Explorer in the operating system, but we are talking about an application framework when it comes to .Net! Where else would that go? Media Players are consumer-oriented software not related to the OS Web browsers, err, well, I guess that’s the notepad of today. Keep it in the OS. Code libraries, frameworks, run-time libraries, etc – This IS the operating system, for Pete’s sake! Microsoft ...
If you're working with Silverlight and you don't have a copy of John Papa's Data-Driven Services with Silverlight 2, you're spending too much time somewhere. When I finished Chapter 2 and thought I was done... wow what a bunch of stuff still remained! REST, WCF, JSON, LINQ, Entities, and on and on. Lots of detail, and lots of code on the pages (for those of us that think better that way). I'm thinking about buying the eBook version just so this one doesn't get as ragged as Petzold's "Programming ...
[Source: http://geekswithblogs.net/E... WCF bindings provide the MaxReceivedMessageSize property, which lets you block any incoming messages on the client side over a given size (defaulting to 64Kb). If you're using message-based itinerary processing with ESB Guidance, when a WCF service returns a message larger than this default, you'll get a System.ServiceModel.QuotaEx... and the response message will be suspended: System.ServiceModel.Communi... The maximum message ...
On March 10th, I’ll be presenting an ASP.NET control library for Facebook at the Phoenix ASP.NET Users Group. Among other things, we’ll be talking about how to create a Facebook application using ASP.NET, debugging aids, and the Facebook API. Along with that, Terralever will be releasing our library to the open-source community on Codeplex. (This post will be updated once we’ve done so). The library is currently in varying degrees of maturity. We’ve got about half of the FBML controls supported in ...
One of the biggest problems with using a WCF service in Silverlight is resolving the service itself in the correct place at all times. When moving code from your dev machine to staging and to production you may run in to issues. Using SSL and not using SSL can also be issues. So we came up with this simple solution to a complex problem. Credit goes to Jeff Wolfer on our team for creating this. Here is how the solution is actually used. It uses generics: private SLGlobalCustomer.SLGlobalCu... ...
[Source: http://geekswithblogs.net/E... We had an issue with one of our BizTalk estates with incoming messages being suspended if they were bigger than the large message threshold: A response message sent to adapter "WCF-BasicHttp" on Receive Location: "x" with URI:"y" is suspended. Error details: There was a failure executing the response(receive) pipeline: "z" Source: "Unknown " Send Port: "x" URI: "y" Reason: 0x8004d027 The error message wasn't particularly helpful but the reason code ...
One of my dreams is going to come true: Since the very first time I attended MIX in 2006, I have wanted to talk there. MIX has a very special meaning for me. It is in the Venetian conference rooms that I heard about Windows Presentation Foundation and what would later become Silverlight. It is there that me and my two colleagues Andreas and James decided that we wanted WPF for the project we had just started at Siemens. A decision that was definitely the right one, from a technical point of view ...
*Moved to: Windows Azure Training KitMicrosoft has just released a new Training Kit for Windows Azure that updates the one released at the PDC. Not since Windows Communication Foundation and WPF have I been so exited about a new technology, but Windows Azure is it. Read more...Follow my new blog on http://blog.hinshelwood.com ...
In this issue: Tim Greenfield, Adam Kinney, Shawn Wildermuth, Alex Knight, and Joel Neubeck. Shoutout: The Swiss MSDN Team Blog has a bonus for all you wanna-be WPF'ers out there: Windows Presentation Foundation – Line of Business Hands-On-Lab Material From SilverlightCream.com: Speed up your app by compressing WCF service responses Tim Greenfield shows how to setup IIS to get your WCF services compressed during transit. Just for drill, I checked my shared hosting and I don't have that sort of granular ...
The other day, I encountered a problem/feature in BizTalk 2006 R2 concerning calling a webservice, which methods only have primitive types, without using an orchestration. A webservice with a complextype as an argument, results in xsd being generated by the webservice proxy generator. With primitive types, no xsd is generated. As a result, no mapping can be used in sending messages out. Remember, the sample uses only CBR on send/receiveport names, every send/receive is done through the passthrough ...
Those of you who subscribed to my blog after the initial flurry of posts may be wondering where I’ve been for the last few months. I’ve had some major events in my family life which I won’t go into, and I’ve also changed jobs, so I’ve been preoccupied with other stuff. In my last job I was doing WPF / WCF development in .NET 3.5. In my new role, I’m doing some of that, but also supporting apps in VB6, ASP, ASP.NET and .NET 1.1 and 2.0. It’s quite an eye-opener and I’ll have a lot more to say in future ...
In a comment on a previous blog post Travis Spencer asked Can you explain more about how you implemented an STS that supports both active and passive scenarios? So here’s how - To start with – I’ve implemented my STS class with all the logic I needed; this was done as a class library with several classes – my STS implementation, my STS-Configuration class, an STS service factory, my custom WindowsUserNameSecurityToke... implementation and all the classes I needed to support my custom configuration ...
We have talked about the Location, Condition, Hit Count, and Filter modifiers for breakpoints which only leaves the When Hit modifier. Using the When Hit modifier allows you to change your breakpoint to a tracepoint. What is a tracepoint? Simply put, it is a breakpoint that continues execution. Why would this be interesting or even important? Tracepoints are great when you want to trace a particular path of execution, such as OnDeserialized events in your WCF DataContract classes. You are interested ...
Normal 0 false false false EN-US X-NONE 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:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-... ...
Cloud services that is. Windows Azure, .NET Services, Live Services…. If you looking for the spoon fed variety of information, a bunch of HOWTO vides have been released – see below. These are small little “nuggets” – like those MSDN Nuggets out of Microsoft UK. Get Started Developing on Windows Azure? If you’re a developer and you’re new to Windows Azure, start here! You’ll see what you need to download and install, and how to create a simple “Hello World” Windows Azure application. Deploy a Windows ...
Its been quite a while since I took a Microsoft Certification exam - June 2005 to be precise when I took the final exam to get my MCSD .Net certification. I have therefore resolved to get back on the technical horse, as it were, and take the 70-241 exam: "Developing Business Process and Integration Solutions by Using Microsoft BizTalk Server 2006 R2" Despite working with BizTalk since the introduction of BTS2004 back in, erm, 2004, I have never actually undertaken to get certified in it. Also, I ...
When you have the Schemas/Orchestration published as WCF Service, specifically during the development updating the metadata using the WCF Service publishing Wizard is a tedious task. Once the Service names and request-response of the service operations are finalized, you can use the Command line version of the BizTalk WCF Service publishing metadata for the updated schemas. The command line tool can be downloaded from http://go.microsoft.com/fwl... Syntax: BtsWcfServicePublishing ...
In this issue: Rob Houweling, Jonathan van de Veen, Peter Bromberg, Jeff Weber, Mike Snow, Jordan Knight, and Andrej Tozon. Shoutouts: Walt Ritscher has two Design reflections up: Reflecting on Design #7 ... dang hate to admit I remember ASCII art on wide-carriage green-bar paper :) Walt's second: Reflecting on Design #8 was just cool enough until he showed the anamorphic illusion view -- wow! I saw this on a couple other blogs, but Walt has some good info up about it: Win $5000 for best Silverlight ...
Read or watch ============ Read “What is Azure” web site http://www.microsoft.com/az... Read the white paper by David Chappell http://download.microsoft.c... Watch the PDC 2008 session “A Lap Around Windows Azure” by Manuvir Das http://channel9.msdn.com/pd... He has an alternative presentation (40 minutes) here http://channel9.msdn.com/po... Install ...