Service Endpoint:

WCF

May 9 2008   1:40AM GMT

Weekly microsoft oriented crumbs #3



Posted by: Dilip Krishnan
SOA, Development, LINQ, WCF, WebServices, REST

Still more “mesh” related news Microsoft Live Mesh to get more competition — from Sun and Scoble on why Microsoft Live Mesh will fail with early adopters and elsewhere Microsoft’s Oslo connections begin to bud and more interesting Mesh links at Alvin Ashcraft’s post

Daniel Cazzulino looks at Live Mesh FeedSync protocol under the hood and Steve Clayton points to Live Mesh - First Look whitepaper

Vitorrio Bertocci lays out a coarse taxonomy for claim types

Sam Gentile with New and Notable 236, 237 and 238, Part 2 (Identity Management) and Part 3 (Claims Links) of SAML and Federated Identity, and a High Level View of the Neuron ESB Architecture, the WCF and SOA Enabler

Nicholas Allen points to Updates to WCF Security Guidance, Messaging Additions in Orcas, Part 2, Part 3, Part 4
Serialization of private data members, and news that TIBCO Announces WCF Integration

Dominik Baier points to Some Resources for P2P and WCF
J.D. Meier : 6 New patterns & practices WCF Security How Tos

Scott Hanselman’s Computer Zen - The Weekly Source Code 25 - OpenID Edition

Udi links to a video of Messaging and Architecture Discussion at ALT.NET, speaking of which has an interesting post about making Spec# a Priority

April 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Silverlight - ScottGu’s Blog

Interoperability Happens - Channel 9 Interview with Yours Ted Neward

Immutability and tail recursion

Props to link blogs
Christopher Steen
Jason Haley
Chris Alcock
Alvin Ashcraft
Arjan Zuidhof

Technorati tags: , , , , , ,

Apr 30 2008   2:04AM GMT

Weekly microsoft oriented crumbs #2



Posted by: Dilip Krishnan
SOA, Architecture, Development, LINQ, WCF, WebServices, REST

Microsoft Says Yes With Mesh - Steve Gilmores take on Live Mesh and a with talks to David Treadwell, VP of the Live Platform Services in his podcast

Robert Scoble with the early scoop Ray Ozzie delivers with Live Mesh

Videos explaining various pieces of the mesh Ori Amiga: Programming the Mesh, FeedSync: Synchronizing the Mesh

Dino Chiesa on Varying Content-Type according to the URL in a WCF REST Service

BizTalk Server 2006 R3 Announced, New and Notable 235 from Sam Gentile also a primer on SAML and Federated Identity

Nicholas Allen on WCF, WF, and BizTalk Sessions at TechEd, and Messaging Additions in Orcas

Books: We need more So What, Now What and What For? and less just What - Scott Hanselman On the type of books we need

Simon guest on Why Architects should care about Robots

An InfoQ Interview with Krzysztof Cwalina on Framework Design Studio

Kirk Allen Evans with a list of useful links on WCF, WCF, ADO.NET SyncServices, and ClickOnce and the second installment of Calling Web Services via AJAX

Community Convergence XLIII - Charlie Calvers Links on LINQ

Matthew Podwysocki with a Recap of Day 2 of the ALT.NET Open Spaces in Seattle

Another fun read from Jeff Atwood “Everything I Needed to Know About Programming I Learned from BASIC

More fun? check out the video Marc Mercuri and Kyle Johns: Inside RoboChamps and Simon Guest on Why Architects should care about Robots

Props to link blogs
Christopher Steen
Jason Haley
Chris Alcock
Alvin Ashcraft
Arjan Zuidhof

Technorati tags: , , , , , ,


Apr 30 2008   1:44AM GMT

Weekly SOA crumbs #15: Have you seen the latest “mesh”up from Microsoft?



Posted by: Dilip Krishnan
SOA, WCF, WebServices, REST

Microsoft Says Yes With Mesh - Steve Gilmores take on Live Mesh and also talks to David Treadwell, VP of the Live Platform Services in his podcast

Robert Scoble with the early scoop Ray Ozzie delivers with Live Mesh

Videos explaining various pieces of the mesh Ori Amiga: Programming the Mesh, FeedSync: Synchronizing the Mesh,

BizTalk Server 2006 R3 Announced, New and Notable 235 from Sam Gentile, also a primer on SAML and Federated Identity

Visual Cobol, Enterprise Processes, and SOA - UAnemic Service Model

Other interesting links
Bob Ippolito on Erlang
Dino Chiesa on Varying Content-Type according to the URL in a WCF REST Service

Props to link blogs
Christopher Steen
Jason Haley
Chris Alcock
Alvin Ashcraft
Arjan Zuidhof

Technorati tags: , , , ,


Apr 22 2008   2:51AM GMT

Weekly Microsoft oriented Crumbs #1



Posted by: Dilip Krishnan
SOA, Development, WCF, Microsoft Windows

Custom Basic Authentication is now on Codeplex - Dominick Baier with an implementation of basic authentication for non-windows users in IIS

Fort Knox Business Objects ( yes / no ) - Karl Shifflett On data validation strategies

Alt.net conference summary from Oren Ini and Matthew Podwysocki

InfoCardSelector is now on Codeplex - ASP.net control for rendering the infocard selector

Singleton in .NET - Comments on what not to do!

Patterns & practices WCF Security Guidance - Updated Application Scenarios via

Unity Community Contributions and Interception - Matthew Podwysocki’s on Unity framework also in a related post CMAP Code Camp Wrap Up

New and Notable 233, 232 -Sam Gentile links to interesting stuff

The PDF of Chapter 2 is on MSDN - Understanding Cardspaces

Request/Reply vs. Pub/Sub - Oren Ini examines the two messaging patterns

Putting ASP.NET Dynamic Data into Context - Scott Hanselman

WCF, Smart Clients, and Deadlocks - Udi Dahan links to an article on UI and services

Oren Ini does an exercise in designing SOA systems, which causes a discussion on SOA Data Access

TechEd Israel Wrap Up - Udi Dahan on slides on

Writing Smart Clients and Peer to Peer Programming

Kirk Allen Evans examines Calling WebServices via AJAX Part 1 and Creating RESTful Services Using WCF

Weekly posts
Props to link blogs
Christopher Steen
Jason Haley
Chris Alcock
Alvin Ashcraft
Arjan Zuidhof

Technorati tags: , , , , ,


Apr 22 2008   2:50AM GMT

Weekly SOA Crumbs #14 - Trying a new format



Posted by: Dilip Krishnan
SOA, Development, WCF, WebServices, REST

Time Dimension Necessary For Successful SOA Data Strategy - Udi Dahan examines the time-sensitive nature of data in an SOA

Hosting Identity - Nicholas Allen on “How can I run a service operation hosted in IIS using a specific identity?”

REST Podcast - Martin Fowler

Detailed RESTful Yaws Service - Steve Vinoski links to a detailed example of a RESTful web service implemented using Erlang

Patterns & practices WCF Security Guidance - Updated Application Scenarios via

Subbu on Nouns and Resources - Stefan Tilkov links to an excellent “resource” on resource design :-)

Martin Fowler on Schools of software development

What Integration Competency Centers Do and How to Fund Them -

GET Requests Updating the Database - via Stefan Tilkov on why it might be ok to modify the system even if its a get operation

Podcast on “Understanding Windows CardSpace” at SearchWinDevelopment.com- Via Vitorio

New and Notable 233, 232 -Sam Gentile links to interesting stuff

Request/Reply vs. Pub/Sub - Oren Ini examines the two messaging patterns

Scalability Article up on InfoQ - Udi Dahan with ideas on service design for scalability

Big Blue sMashes into Web 2.0 - On IBM’s launch of mashup server

Interview with Dan Diephouse - Via Stefan Tilkov, Interview on benefits of Atom/AtomPub

Information Oblivion - data only counts where it works - Steve Jones on trying to look at information independently from its business context in an SOA

TechEd Israel Wrap Up - Udi Dahan on slides on

Interesting
Date & Time Parsing - Natural language parsing of dates in ruby

A conversation with Phil Libin about EverNote’s new memex - another great Jon Udell interview

Weekly posts
Props to link blogs
Christopher Steen
Jason Haley
Chris Alcock
Alvin Ashcraft
Arjan Zuidhof

Technorati tags: , , , ,


Apr 8 2008   9:03PM GMT

Weekly SOA crumbs #13: The big Google application platform push



Posted by: Dilip Krishnan
SOA, Architecture, Development, WCF

SOA
An exercise in designing SOA systems
Is SOA still of value if nothing gets reused? How about if everything gets reused?
Kitchen Sink Variability
SOA: Revisiting reuse

Architecture/Software development
Google jumps on Big Table of Web Services
Root Cause Analysis for Software Problems
Agile Architecture with Don Browning and Peter Provost
ALT.NET Thinking From The Outside
xUnit.net RC2 Released
Framework Design Studio Published

WCF
WCF and WF in the Framework Training Kit
New version of the Biztalk Services SDK available, now with support for managed cards
BizTalk Services “R11″ CTP Comes with a Surprise
WCF Security Guidance Project
Using FederatedIdentity.net managed cards with Biztalk Services SDK
Google Social Graph API via C#

Interesting
Community Convergence XLI & Community Convergence XLII - Useful posts on linq
Number of Types in the .NET Framework
AdventureWorks Security and webHttp endpoint behavior

Props to link blogs
Christopher Steen
Jason Haley
Chris Alcock
Alvin Ashcraft
Arjan Zuidhof

Technorati tags: , , , , ,


Mar 26 2008   6:30PM GMT

Weekly SOA crumbs #12



Posted by: Dilip Krishnan
SOA, REST, Architecture, Development, WCF, WebServices

SOA
Sundblad Mistaken on Services
Networked economies require Services not Processes
QCon London 2008 Recap
When three heads are better than one
Four Ways to Explain SOA
JaBoWS is the Enemy of Enterprise SOA

REST
Rest-client for Ruby
ThoughtWorks REST Podcast
Tilkov on doubting REST

WCF
How to Build a REST app in .NET (with WCF)
The WCF Samples have been updated
(via All About Interop)
http://en.wikipedia.org/wiki/Windows_Communication_Foundation (via All About Interop)
Perspectives.on10.net: podcast interview with Jon Udell on identity & “Understanding Windows CardSpace”
NServiceBus Review (via Sam Gentile)
NServiceBus Distributor Review (via Sam Gentile)
Getting Caught by Loopback
SAP Enterprise Services Explorer for .NET (Visual Studio) does WCF
Get Smart on WCF

.net
IoC and Unity - The Basics and Interception
John Lam and Martin Maly: Deep DLR (via Sam Gentile)

Architecture
The Problem with Process

Interesting
Revisiting The Facts and Fallacies of Software Engineering

Props to link blogs
Christopher Steen
Jason Haley
Chris Alcock
Alvin Ashcraft
Arjan Zuidhof

Technorati tags: , , , , , ,


Mar 2 2008   11:19PM GMT

Weekly crumbs #9



Posted by: Dilip Krishnan
SOA, Architecture, WebServices, WCF

WCF
Dominick Baier has a series on Using IdentityModels

Architecture
Video of Luke Hoban’s In-Depth Look at C# 3.0
Unity IOC screen cast
Understanding Viewstate in Asp.net
Service Oriented Architecture Infrastructure Datasheet
Versioning Issues With Abstract Base Classes and Interfaces

Misc
The Art of Currying

Props to other link blogs
Christopher Steen
Jason Haley
Chris Alcock
Alvin Ashcraft
Arjan Zuidhof

Technorati tags: , , , ,


Feb 29 2008   8:16PM GMT

Managed Services Engine



Posted by: Dilip Krishnan
SOA, WCF, Development, WebServices

I’ve been playing around with the Managed services engine
In addition to being a design time  governance tool, it also doubles up as a service virtualization engine. I only mention design-time governance because the run-time aspects are not comprehensive out of the box; but with the extensible architecture of WCF its only a matter of adding new policies to the deployed services.

The tool has a nice story around versioning aswell. So far I really like it.

Managed Services Engine


Feb 28 2008   3:46AM GMT

Creating generic contracts for RESTful endpoints Part 3



Posted by: Dilip Krishnan
SOA, Development, WebServices, WCF

We saw in the last couple of posts the problems with contract definitions for RESTful applications. Now for the big reveal!

Keep in mind this only applies to the GET based service contracts. The only way I figured was to use a contract thats open ended in terms of query string parameters with a return parameter as specific or open to suite the application need.

For e.g. If we want to have a URL (http://somehost/somepath/?api_key={api_key}&list_id={list_id}&filter={filter}&last_sync={last_sync}) with n query string parameters that returns a chunk of xml one might define the contract like the example below.

[OperationContract]

[WebGet(UriTemplate=”“)]

XElement SomeGETMethod();

This particular example uses LINQ To XML for the xml but it could be the regular xml dom thats manipulation or for that matter a message contract thats a strongly typed CLR object.

Now the way to call this method would be to build up a name value collection as shown

NameValueCollection queryParams = new NameValueCollection();

queryParams.Add(”api_key“, “XYZ“);

queryParams.Add(”auth_token“, “ABC“);

queryParams.Add(”method“, “rtm.tasks.getList“);

//Optional parameters 

if (!string.IsNullOrEmpty(listId))

 queryParams.Add(”list_id“, listId);

if (!string.IsNullOrEmpty(filter))

 queryParams.Add(”filter“,filter);

Use a url template and bind by name

UriTemplate uriTemplate = new UriTemplate("somepath/?api_key={api_key}&list_id={list_id}&filter={filter}&

last_sync={last_sync}");

Uri endpointAddress = uriTemplate.BindByName(new Uri(http://somehost/), queryParams)

And finally create the channel using the endpoint address and fire those requests away!!

public T GetServiceClient(Uri endpointUri)

{

WebChannelFactory<T> channelFactory = new WebChannelFactory<T>();

channelFactory.Endpoint.Binding = new WebHttpBinding();

channelFactory.Endpoint.Address = new EndpointAddress(endpointUri);

channelFactory.Endpoint.Behaviors.Add(new WebHttpBehavior());

return channelFactory.CreateChannel();

}

Where T represents the service contract that we defined with the the generic operation contract

Technorati tags: , , ,