WCF na Prática

No próximo sábado estarei no 3o União.NET para ministrar a palestra "WCF na Prática".

Apesar do nome da palestra, a idéia é dar uma direção para a escolha das diversas opções suportadas pelo WCF como:

  • Quando usar self-hosting vs. IIS ou WAS
  • Quando usar os bindings NamedPipes vs. TCP/IP vs. WS HTTP
  • Quando usar segurança no transporte vs. quando usar segurança na mensagem
  • Quando configurar no código vs. em arquivos de configuração

e por aí vai…

Se você já está familiarizado com a nova terminologia das certificações da Microsoft, vai ser uma palestra mais para MCPD (decisões técnicas) do que para MCTS (detalhes técnicos).

Inscreva-se em http://www.dotnetraptors.com.br/eventos/uniaodotnet3/default.aspx

SME for 70-503

A couple of weeks ago I was in Redmond helping to shape what will be the WCF certification exam.

It was very nice to work with those people.

 20070907Trip2Redmond2 001

Jennifer, Larissa, Rodrigo Freire, James Kovacs, Anto Nellissery, Ted Malone, Bob and Alfred Myers

Accessing a Web Service from within a browser’s client-side script

Have you already accessed a Web Service through the browser?
I’m not talking about that test page shown when you open the WSDL file in Internet Explorer.
I’m talking about accessing a Web Service through client-side script.
Imagine that you have a Web Forms application whose server does a Web Service operation on another server and passes the result back to the client. It serves only as a gateway between the client and the Web Service.
Using WebService Behavior there is no need to do this triangulation because the browser can access the Web Service directly using JavaScript or VBScript on Internet Explorer 5.0 or later.
The feature is exposed through an HTML component (*.htc) but unfortunately it isn’t supported (anymore?) by Microsoft.

Brazilian zip code Web Service

From Carlos Loth’s blog: Brazilian’s postal service publishes a web service to allow queries from Microsoft Office 2003.
It works like magic on Word.
I tried a quick and dirty approach to make it work from within a .NET application without success, but soon someone will figure out how to do it.
In my opinion, the postal service should open the zip code database since it’s a government owned company. For that reason it should publish the database as a web service instead of charging us for a CD-ROM subscription.