First time here? You are looking at the most recent posts. You may also want to check out older archives or the tag cloud. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS. Thank you for visiting! (hide this)

Web Services

WS, SOAP, REST, Web2.0 and other web communication

Slides and demos for the Owin and Katana talk from NCrafts conf in Paris

Last Friday Ugo and me were in Paris for the NCrafts Conference organized by the ALT.NET France and our friend Rui Carvalho. We talked about “Owin and Katana”: at the beginning I saw many question marks on the head of people, but while going through the talk I saw those question marks becoming light bulbs, and at the end of the talk a very vibrant questions and answers session happened, something that I hoped, but frankly didn’t expect. We published the slides on Slideshare: Owin and Katana from Ugo Lattanzi and Simone Chiaretta We also put on Github...

Why is a 32bit Windows Azure WebSite running as 64bit?

Yesterday I updated my Ghost installation on Azure Websites and my test blog stopped working: I enabled error logging and the error I got was: [31m ERROR:[39m [31m Cannot find module './binding\Release\node-v11-win32-x64\node_sqlite3.node' [39m Error: Cannot find module './binding\Release\node-v11-win32-x64\node_sqlite3.node' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (D:\home\site\wwwroot\node_modules\sqlite3\lib\sqlite3.js:7:15) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) ...

Web API preview 6 is out: how to get a RESTful mind

As you may or may not have heard, yesterday WCF Web API preview 6 has been released. If you never heard about it I recommend you read the quick introduction on CodePlex, but basically it is a facility that helps you expose your services over the web, taking advantage of the richness of the HTTP protocol, in a RESTful way (vs using SOAP or other abstraction layers). Getting started resources on Web API To quickly get started with it you can download the code and samples, and download the compiled CHM for a more conceptual and step...

How to replace Delicious, aka Do not trust the cloud and always have an escape plan.

UPDATE: Actually Yahoo is not really going to shut it down, just trying to sell it to another company, but all the warnings about hosting in the cloud are still valid. I just read that Yahoo is shutting down Delicious. Despite the fact that now I have to find another way to keep all my bookmarks online this raises another interest question: Do you trust the Cloud? Everyday there are services that are shut down, like it happened with Geocities and is probably going to happen with Google Wave, but when it happens with popular services the disappointment is even higher. Everybody is...

HTTP request flow diagram

Alan Dean published a flow diagram of the process of an HTTP request inside a webserver, and all the possible status code outcomes. Down here is a sample of the diagram, the part that shows how the If-Match header works.     The diagram is available in different graphic formats (gif, jpg, png, svg) and is available in the original Visio format as well. Technorati Tags: http

Ready to MIX?

Today is MIX07 start day: if you are like me, and you are not lucky enough to live in the US (or to have your company pay for you the trip to Las Vegas) here is the visit MIX from Home blog. It should be a continuously updated report of what is going at the MIX. What are they going to announce at MIX? Here are some speculations: Expression Blend Express, Zune phone, Office and Visual Studio will be in .NET A dynamic language runtime, Silverlight for Linux, Silverlight with a micro-CLR ...

How to enable an ASP.NET WebService to listen to HTTP POST calls

Imagine you developed an ASP.NET WebService, but the client that needs to use it wants to call it using HTTP POST instead of SOAP. As default, when accessed from the localhost, all webservices listen both to SOAP and HTTP POST calls, but if accessed from another host they listen only to SOAP. My friend Google found a page on the MSDN site that explains how to change the protocols accepted by the ASP.NET runtime to listen to web services calls. As all configuration settings it can be changed both at machine level (machine.config) and per single application inside the web.config. The...

ASP.NET AJAX RC is out

Just released ATLAS ASP.NET AJAX RC. This brings all the ASP.NET development community One Step Closer to the official release. Since I just quit my job, and I'll be flying to Wellington on Jan 2nd,  I could have some spare time next week to download it and make some experiments. And, maybe, we can even start thinking about migrating the ajax stuff inside Subtext from Magic Ajax to ASP.NET Ajax.

Want to change the encoding for a webservice? You can't!

Probably you never had that need, but just in case you want to change the text encoding for a web service response, the one that is inside the XML declaration at the top, from UTF-8 to anything else... well... you cannot do it: that string is hard coded inside the web service runtime. This post, "Encoding limitations in ASMX", has a comment written by a member of the MS team that worked on that feature: We decided not to do this feature for 3 reasons: UTF-8 can represent all Unicode characters ...