×

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: rest

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 11 entries for the tag rest

Make your Silverlight applications Speak to you with Microsoft Translator

One of the announcements that happened during the MIX10 conference was the availability of the V2 of the Microsoft Translator API.  This is the engine that powers the translation behind http://www.bing.com/translate and some other Bing-related properties as well.  A lot of research has gone into the engine from Microsoft Research and others.  Language translation isn’t an easy task especially taking into consideration cultural significance of words, etc.  I have heard that the most challenging in machine translation is to Asian languages.  I will admit to not speaking any of them, so I don’t know how well we are performing here...

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 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...

Accessing Amazon S3 with Silverlight

I ran into an interesting situation last week…the desire to access some of my Amazon S3 services from within a Silverlight application. Amazon Simple Storage Solution (S3) is a pay service provided Amazon for object storage ‘in the cloud.’  Although there is no UI tool provided by Amazon to navigate your account in S3, a SOAP and REST API are available for developers to integrate S3 information into their applications or other uses.  You can view more information about Amazon S3 on their site. What is S3? Since S3 is a pretty flexible service, it can be used for many different things including...

Learning ASP.NET MVC?

Are you poking around with the latest ASP.NET MVC (Model-View-Controller) bits?  If so, hopefully you are already aware of the resources available to you and the fact that Phil Haack is one of the program manager’s leading those efforts, and Scott Hanselman has been providing the community with some resources to jump start your learning. Well, another member has just joined the ranks on the team I work for.  Stephen Walther, pictured here in his best book-cover pose ;-), has joined the team.  He actually joined earlier this month, but I’m just now getting around to welcoming him to...

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...

Silverlight Flickr Badge

Taking another cue from some great stuff Joel is doing, I liked his implementation of the ‘Leopard Screen Saver’ but wanted to make it more ‘real’ for me.  So I wired it up to my Flickr account.  Result here (using Silverlight Streaming): I only had to change a few things. First, in the Page_Loaded event, I removed the timer start function.  This was because with interacting with Flickr it was going to be async.  I didn’t want the timer to start until I knew the image collection was built. My BuildCollection function now looks like this: private void BuildCollection() { // get...

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...

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...

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


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.