Enable .NET 3.5 goodies in IIS vdir

Some of you may be oddballs like me:  you like .NET, you program in .NET, but you don’t always use Visual Studio.   You hand-code everything for some applications.  You often open up a text editor and just start writing a source module, with no wizards, no project templates, etc.  You hand-code your MSbuild files.  You…

2

Geneva supports OASIS WS-Trust, SAML

Last week at the PDC 2008, Microsoft released the public beta of “Geneva”.    “Geneva” is three things: Geneva Server.  This is a security token service (STS), as defined in the OASIS WS-Trust specification.  This thing issues and transforms claims, manages user access, and enables automated federation. Geneva Framework.  This is a managed (.NET) Framework…

3

REST in WCF: Varying response content type based on HTTP Request Headers

Damian Mehers made a comment on my blog post from April, but I felt it was worth a full reblog. Damian’s used the same WCF extensibility points I used to produce some boilerplate that varies the response content type from JSON to XML, based on the Accept or Content-Type header of the GET request.  He extends WebHttpBehavior to…

7

It just got easier to build REST apps in .NET

The REST starter kit that we launched at PDC is now live! :: http://www.msdn.com/wcf/rest . The WCF REST Starter Kit is a set of features, Visual Studio templates, samples and guidance that help people build REST apps using WCF.  WCF, part of the .NET Framework, got some enhancements for REST support in the .NET 3.5 release.  This…

1

Interop sessions at Oracle Open World

Jesus and my collegue Kent Brown both spoke at Oracle Open World recently, on interop between WCF and WebLogic. http://weblogs.asp.net/gsusx/archive/2008/09/19/speaking-at-oracle-open-world.aspx But I found out after the fact! nice!  

0

WSDL-First in WCF, versus WSDL-First in ASMX

I wanted to point something out regarding the WSDL-First item I posted yesterday.  This is a look at the interface generated by the SvcUtil.exe tool for WCF.     [System.CodeDom.Compiler.GeneratedCodeAttribute(“System.ServiceModel”, “3.0.0.0”)]     [System.ServiceModel.ServiceContractAttribute(Namespace=”urn:Microsoft.Search”,         ConfigurationName=”Ionic.Samples.Webservices.Sep21.IResearchServiceSoap”)]     public interface IResearchServiceSoap     {           [System.ServiceModel.OperationContractAttribute(Action=”urn:Microsoft.Search/Registration”,           ReplyAction=””)]         [System.ServiceModel.XmlSerializerFormatAttribute()]         string Registration(string registrationXml);          …

0

WSDL-First development with WCF

A couple weeks ago I mentioned that you could do WSDL-First development with WCF, but I didn’t go into detail as to how that would work.  Somebody asked, so I guess I’ll describe the specific steps. I want to use a real scenario, so for a WSDL, I will use the WSDL that Microsoft defines…

15

Flatten your WSDL with this Custom ServiceHost for WCF

Yesterday I mentioned using a custom service host to flatten the WSDL that is generated by a WCF service.  This is something Christian showed us all how to do a long while ago, to improve interoperability between WCF-implemented services and consumers written on other technology stacks.  Flattening WSDL is important for Interop purposes becausse many…

9

Custom Config file for a WCF Service hosted in IIS

I am constantly developing new WCF services to try out various techniques, ideas, scenarios. Many times for these quickie WCF applications I will just use a text editor to write the code.  As you know there are multiple options for hosting your WCF services.  For these quick apps, I will typically write a simple custom console…

4

Using the WSDL-First design approach with WCF services

Couple of helpful posts from the archives for you.  If you are care about interop, then you probably want to use a contract-first or WSDL-first design for your web services.  In other words, you will not simply decorate server-side code annotations (in Java) or attributes (in .NET) and generate WSDL dynamically from that running code. …

2