×

First time here?

You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting!

Tagged: wcf

Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting! Below is a list of entries related to the tag listed above.. My site contains more than just the information below and I'd encourage you to visit the home page to view current information as well as other items/categories that might be of interest.



There are 22 entries for the tag wcf

Silverlight 4 Tools, WCF RIA Services and Themes Released

This morning we published the final release of the Silverlight 4 Tools for Visual Studio and WCF RIA Services.  In April, when Silverlight 4 was released, the tools were still in “RC” status.  Today, they are no longer and are officially released.  There is no new update to Silverlight itself, but these tools are the final bits of this version. Get the Tools If you have a clean machine you can get everything you need using the Web Platform Installer by clicking on the link at the Silverlight community site.  This will install Silverlight Tools, Silverlight, WCF RIA...

Managing service references and endpoint configurations for Silverlight applications

You’ve written your service.  You’ve written your Silverlight application.  You Add Service Reference to your application and got the client proxy code.  Your app ‘works on your machine’ and you push it out.  FAIL. NotFound. Crap.  You forgot that your service reference had your local URI endpoint in there and when you moved it to staging and/or production it failed.  You start cursing Microsoft and the Silverlight team and add to the threads in the forums or perhaps initiate a new wishlist item for the team and throw it out on Twitter and encourage votes. ...

Deploying your Silverlight and WCF RIA Services application

UPDATE: Please read the updated information on RIA Services deployment and troubleshooting on MSDN.. So you’ve been playing around with Silverlight and WCF RIA Services (the artist formerly known as .NET RIA Services) and you are ready to deploy.  You’ve been living in your happy Visual Studio environment, perhaps even relying on the built-in web server (a.k.a. Cassini) to serve up your pages/XAP to test.  All has been well, you’ve done your testing and you are ready to publish to your server.  You compile one last time and then right-click in Visual Studio on the web project and click Publish.  You...

RIA Services templates not showing in Visual Studio 2010?

Last week, the Silverlight 4 beta release included the Silverlight 4 Tools for Visual Studio 2010.  This single installer would perform the following (assuming you had either Visual Studio 2010 or Visual Web Developer Express 2010 already installed: Install a Visual Studio 2010 service pack (KB976272) Install Silverlight 4 Windows developer runtime (4.0.1108.0) Install Silverlight 4 SDK Install WCF RIA Services (November 2009) That is all you really needed.  But some may have had an experience afterwards of launching VS2010 and...

Microsoft PDC09 and Silverlight Round-up

Well, PDC09 is over and it was a blast.  What a relief it is to finally be able to show the world what the Silverlight team has been working on since Silverlight 3.  Based on the feedback at the conference, people are excited to dig into the new bits and start building solutions.  As a round-up of resources from PDC, I’m putting some of my favorites here. Video Content For some of the PDC09 key Silverlight sessions, these are what I recommend: CL01 – Microsoft Silverlight 4 Overview (Karen Corby) ...

Paste your REST API definition as strong types

If your a developer that spends any time with web services, you’ll basically probably end up working in one of two camps: REST- or SOAP-based services.  Now with SOAP services you’re likely used to having a WSDL document describing the service, providing type definitions, etc. – something you can use developer tools like Visual Studio to Add Service Reference and get a strongly-typed object model to work with. If you’ve been doing Silverlight or ASP.NET (or any other technology really) development with mashup services, you probably have been working with REST-based services.  These are services that don’t self-describe themselves in...

Silverlight and ADO.NET Data Service proxy generation

One of the nice little additions to the data client services in Silverlight 2 is the removal of the need to drop out of Visual Studio to do some proxy code generation.  Prior to Silverlight 2 release, if you wanted to consume an ADO.NET Data Service (the artist formerly known as Astoria), you had to drop into a command line and execute something like: 1: datasvcutil.exe /out:"MyDataService.cs" /uri:"http://foo.com/MyDataServiceEndpoint.svc" While that isn’t difficult, it just wasn’t convenient as a developer productivity workflow.  I mean who wants to have...

Silverlight and Web Service Errors

When working with data and Silverlight there has often been the questions of wondering why when a service call fails that Silverlight returns the HTTP 404 status code.  In fact I’ve written about troubleshooting those types of issues in the past and tools you can use to help investigate some problems. Still people mostly ask "if there is an exception, why is Silverlight telling me ‘not found’ instead of sending me the exception?'”  Eugene Osovetsky from the connected systems team aims to answer those questions in a recent post with a little more detail than has been provided in...

Troubleshooting data/service access in Silverlight

A while back I pondered doing a “live” debug session with people who were/are working with Silverlight 2 and data access via services, etc.  I really like a live concept because it allows people to ask real questions and feels more conversational than a one-way presentation.  After some consideration, I’m not sure I could quite guarantee the environment I was looking for to accomplish this type of style. So as a second best, I’ve set up a webcast: Troubleshooting Silverlight Data Access.  I hope to keep the question channel open during the webcast though and answer as many questions as possible. ...

Updates to Amazon S3 and Silverlight

After posting my sample implementation of accessing Amazon Simple Storage Solution (S3) via Silverlight, I reflected quickly and also chatted with some AWS engineers. Cross-domain Policy One thing that you should never do is just deploy a global clientaccesspolicy.xml file blindly.  Often times in samples, we (I) do this.  I need to be better about this guidance to be honest, so I’ll start here.  As an example, for the S3 cross domain policy file, we really should add some additional attributes to it to make it more secure.  Since we know it is a SOAP service, we can...

How about some LIVE Silverlight service debugging?

I’ve got a thought lately and curious if I’m thinking crazy.  You see, probably the most asked questions I get are around working with services within Silverlight.  Although I’ve got some helpful (at least I think they’re helpful) posts on the subject: Silverlight, 404 and some tool help Updates for Beta 2 Working with Syndicated Data Calling WCF/ASMX Services Calling REST Services Cross-domain policy files ...

Silverlight cross domain services and a helpful tool

I’ve been getting a few notes on issues relating to people trying Silverlight beta 2 and WCF or other services.  The most common issue I’m seeing reported is “my exception is showing a 404-not found error message, but the service is there and works!” Okay, there could be several things happening here, but let’s tackle the “make sure it is plugged in” type situations.  I don’t mean to make light of the error, because at first I, too, was banging my head against a wall.  Sometimes it helps to have a second set of eyes or a deeper understanding...

Silverlight 2 Beta 2 updates for web services

We were all jumping for joy when Silverlight 2 beta 1 was released and the ability to connect to services was more readily/easily available to us.  For discoverable services that provided a WSDL we were quickly able to implement them using the Add Service Reference capability in Visual Studio 2008.  Beta 2 brings a few changes to the world of services that you should know about.  I’ll do my best to recap some of them here. Generating a WCF Service In beta 1 when we created a WCF service for use in Silverlight, we used the “WCF Service” template...

Making use of your JSON data in Silverlight

Wait! Don’t throw out your JSON services! The Situation You’ve made an investment in exposing some services for client script consumption.  Most likely if you did it in the past 2 years, that involved exposing your data as JSON formatted objects. What is JSON? It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects) Perhaps a search service returns a list of people formatted using your custom “Person” object and you’ve been using this in your AJAX applications for a while now.  Maybe your JSON data looks something like this: [{"City":"Queen Creek","FirstName":"Tim","LastName":"Heuer", "Website":"http:\/\/timheuer.com\/blog\/"}, {"City":"Portland","FirstName":"Scott","LastName":"Hanselman", "Website":"http:\/\/hanselman.com\/blog\/"}, {"City":"Redmond","FirstName":"Scott","LastName":"Guthrie", "Website":"http:\/\/weblogs.asp.net\/scottgu"}, {"City":"New Hampshire","FirstName":"Joe","LastName":"Stagner", "Website":"http:\/\/joestagner.net"}, {"City":"Boston","FirstName":"Jesse","LastName":"Liberty", "Website":"http:\/\/silverlight.net\/blogs\/jesseliberty"}] If you squint long enough you can...

New Silverlight videos posted

The first of my Silverlight videos have posted which cover some networking stuff that I’ve been blogging about already.  If you want to see a walk through of things you might have already read, please take a look at them: Cross domain policy files with Silverlight 2 Using WCF and ASP.NET Web Services with Silverlight 2 There are more coming and I’m interested in hearing your comments so please give them.  If you have suggestions for things that...

My Silverlight application cannot access my service!

I’ve started a dialog with a few of you about getting Silverlight and service integration working, specifically with ASP.NET web services (and even WCF ones).  A few have downloaded some of my samples, but others have started from scratch.  A few have reported getting some interesting errors, ASYNC_blahblah and NotFound errors specifically.  While this was boggling my mind (as I wasn’t getting them), a reader’s comments pointed me along the lines of something…he mentioned “maybe it is because my web service is ASP.NET 2.0 and not 3.5” – of which that shouldn’t be the case, so I went to test...

Write code for a chance at an XBOX

One of The Code Trip sponsors, InnerWorkings, has teamed up to have a coding challenge for developers.  This is open to everyone to participate.  The winner gets an annual subscription to InnerWorkings as well as an XBOX 360 game console. If you aren't familiar with InnerWorkings, consider this a shameless plug.  I really do believe in their product as it is a unique learning experience from what we traditionally have (i.e., lab manuals with step-by-step instructions).  They have a wide catalog of topics including ASP.NET, WCF, WPF, Silverlight, CSS, etc. for organizations to choose from.  You really need to check them...

Calling services from Silverlight 2 part 2

In a previous post, I wrote about some samples of calling various types of services from Silverlight 2.  In the code, I was using constructors in my ASMX and WCF services with specifying a binding type and endpoint address. It was called out to me that in other demonstrations, people did not use this construct.  While the method I demonstrated works (explicitly specifying the binding and endpoint), in some cases it may not be necessary.  One such case would be if you only have one endpoint and it is basicHttpBinding. The error in my code/instructions was about changing the binding information in...

Calling web services with Silverlight 2

UPDATE: Source code posted here. Now that Silverlight 2 is out to the masses (even in beta form), there are likely a lot of developers looking to wire-up web services with their applications in .NET rather than the Silverlight 1.0 method of Javascript.  I thought I'd give you some quick examples of how to do this using some different methods: ASP.NET Web Services (ASMX), Windows Communication Foundation (WCF), REST service, and talk about cross-domain calls.  These are meant to be examples using very much 'hello world' style services, but demonstrating at least how to execute the call. If you are an ASP.NET...

calling services with ajax

recently i've been getting a few notes/questions about working with web services and asp.net ajax.  my colleague, rob bagby completed a series of great web casts last year covering the topic of the ajax libraries in detail, one of which deals with web services.  there are also two webcasts that deal with calling WCF services using the ajax libraries.  i highly recommend checking them out! tags: ajax, asp.net, asp.net ajax, atlas, aspnet, wcf, services, web services, bagby, silverlight

mixing silverlight and aol truveo content

my colleague kirk has been writing some articles for the AOL developer network.  his first articles are up and he talks about integrating with the truveo, aol's developer api for video.  kirk does some integration with truveo's ajax api and displays information back in silverlight. the first two parts are up, and the third is underway, planning on using wcf and managed code with REST services. go check it out on kirk's site. tags: aol , truveo , silverlight , kirk evans , ajax , wcf , rest , api

phoenix area event added

due to some feedback, microsoft has added an msdn/technet event to the phoenix area on 26 SEP 2007. for msdn, the topics covered in the half-day session are: LINQ (covered by Rob Bagby) WCF (covered by Rick Garibay) Silverlight (covered by me) please join us and register for both the technet and the msdn event!  they are both free events! register for technet register for msdn tags: msdn , technet , linq ,...


DISCLAIMER:

The opinions/content expressed on this blog are provided "ASIS" with no warranties and are my own personal opinions/content (unless otherwise noted) and do not represent my employer's view in any way.