This post originated from an RSS feed registered with .NET Buzz
by Sam Gentile.
Original Post: Indigo for Dummies
Feed Title: Sam Gentile's Blog
Feed URL: http://samgentile.com/blog/Rss.aspx
Feed Description: .NET and Software Development from an experienced perspective - .NET/CLR, Rotor, Interop, MC+/C++, COM+, ES, Mac OS X, Extreme Programming and More!
There are four simple steps to creating an Indigo Service:
Define the service contract.
Implement the contract.
Create an endpoint or endpoints.
Run the service. You can run the service either as a self-hosted service or as an IIS-hosted service.
So simple right? Well with the RC1 WinFx SDK Tool integration into Whidbey, even your mother can do it! Just select File | New Web Site | Indigo Service, select your language flavor (why is there J# and no C++/CLI???) and location and presto! You now have a full Indigo service with wsProfileBinding which means HTTP endpoint and WSI-I compliant. Not a single line of code or config!! No angle brackets!
using
System;
using System.ServiceModel;
// An Indigo service consists of a contract (defined below as IMyService),
// a class which implements that interface (see MyService),
// and configuration entries that specify behaviors associated with