• Justin Smith's Blog

    Setting HTTP Headers in WCF (.NET 3.5)

    • 5 Comments
    One of the cool parts of WCF in the .NET 3.5 is the simplified support of the REST architectural style. URIs, HTTP verbs, and HTTP headers are 1st class citizens in the programming model. Each of these citizens is interesting. I'll focus a bit on HTTP...
  • Justin Smith's Blog

    enableWebScript, UriTemplate, and HTTP methods

    • 4 Comments
    A little while ago I ran into an interesting set of errors that may be of interest to you. Consider the following service contract snippet: [OperationContract] [WebGet(UriTemplate= "foobar/{value}" )] String GetData(String value ); ...
  • Justin Smith's Blog

    ACS SAML / ADFS v2 Sample

    • 11 Comments
    The November 2009 CTP of ACS integrates with Active Directory Federation Server v2. ACS can act as a bridge between enterprise identity and REST web services. The runtime flow is pretty simple (shown below). At runtime, the client app requests a SAML...
  • Justin Smith's Blog

    WebServiceHost vs ServiceHost

    • 8 Comments
    WCF in .NET Fx 3.5 introduces several types that simplify the creation of services that use the protocols of the web (read REST/Syndication/JSON). Among these are two hosting types: WebServiceHost and WebScriptServiceHostFactory. These types serve the...
  • Justin Smith's Blog

    WCF, ASP.NET AJAX, and JavaScript Proxies

    • 6 Comments
    I spent this weekend tinkering around with the JSON messaging capabilities of WCF new in the .NET Framework 3.5 (Orcas). The object model is changing substantially between Beta1 and Beta2, and I think the changes make for an easier to use system. To...
  • Justin Smith's Blog

    Web and SOAP via WCF

    • 1 Comments
    WCF in Orcas introduces several new types that, among other things, dramatically simplify the work needed to write applications that adhere to the protocols of the web. These types of services are commonly described as having a REST-ful architectural...
  • Justin Smith's Blog

    ACS integration with Windows Live ID & Facebook Connect

    • 14 Comments
    I’ve received several requests regarding ACS and Windows Live ID integration for websites. This post describes what you can do with ACS and Windows Live ID today (with the new release of ACS). It takes a bit of code, but the integration is pretty straightforward...
  • Justin Smith's Blog

    Major update to ACS now available

    • 4 Comments
    Today I’m excited to announce a major update to ACS. It’s available in our labs environment: http://portal.appfabriclabs.com . Keep in mind that there is no SLA around this release, but accounts and usage of the service are free while it is in the labs...
  • Justin Smith's Blog

    ASP.NET, WCF, and Asynchronous Programming

    • 3 Comments
    Jeffrey Richter told me once that a CPU was a terrible thing to waste. I don't know if he was the one to coin the term - in fact, I think he told me someone else coined that term. Regardless of where it came from, the principle behind that phrase is solid...
  • Justin Smith's Blog

    Syndication - Beyond the News

    • 1 Comments
    The next version of the .NET Framework ( Orcas ) includes support for web programming via WCF. In this context, web programming is the inclusion of web-centric protocols and constructs into the WCF programming model. Specifically, the WCF-related parts...
  • Justin Smith's Blog

    Access Control Service - Common Interaction Model

    • 1 Comments
    In my previous post I described at a high level a simple scenario that leverages the Access Control Service. Now I'd like to describe the interactions between messaging participants and the .NET Access Control Service. Recall the scenario: a multi-tenant...
  • Justin Smith's Blog

    Life of a WCF Demo, Part 1

    • 4 Comments
    I thought it might be mildly interesting to document the lifecycle of a demo. Over the next week or so I have to design, build, and deploy a demo that shows off some of the web-centric features of WCF in the .NET Framework 3.5. First, let me state the...
  • Justin Smith's Blog

    Access Control Service – Roadmap for PDC and Beyond

    • 4 Comments
    We are in the process of making some key design changes to the Access Control Service (ACS) for our PDC release this fall. I think these changes will bring tremendous benefits to ACS customers in the near-term, but the changes break all ACS-related code...
  • Justin Smith's Blog

    New WCF Security Examples

    • 5 Comments
    A little while ago, HongMei Ge sent me around a dozen new security samples. After reviewing them, they are truly cool. Topics covered include: CredMan UI management AzMan integration Client credentials on a per channel basis Custom Algorithm Suites Custom...
  • Justin Smith's Blog

    Web Resource Authorization Protocol (WRAP) and Simple Web Token (SWT) on google groups

    • 2 Comments
    The Access Control Service uses a new community protocol and format that are now posted on google groups: http://groups.google.com/group/wrap-wg http://groups.google.com/group/oauth-wrap-wg Check em out. If you are a security geek, it’s worth the read...
  • Justin Smith's Blog

    TokenClient (Mix) introduction

    • 2 Comments
    This week at Mix I demonstrated a new experimental client API (TokenClient) for interacting with the Access Control Service (ACS). The purpose of this API is to simplify the developer interaction with the ACS Security Token Service. It still uses WS-Trust...
  • Justin Smith's Blog

    Mgmt Config sample for WLID / Facebook Connect sample

    • 2 Comments
    Now that we have a mgmt tool , I can provide you with a template so you can setup the ACS part of the WLID / Facebook Connect sample with less effort. Here’s the XML configuration: < ServiceNamespace xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance...
  • Justin Smith's Blog

    Client Certificate Credential Verification

    • 0 Comments
    Over the past few months, several people have asked me how to accept client certificates on a service. The scenario is something like the following: A web service owner wants to limit access to the service to authorized clients authorized clients identify...
  • Justin Smith's Blog

    BizTalk Services and "Add Service Reference"

    • 1 Comments
    One of the little known features of BizTalk Services is it's support for metadata. There's a sample in the SDK (default path: C:\Program Files\Microsoft BizTalk Services SDK\Samples\Communication\ExploringFeatures\Metadata\MetadataExchange\CS30) that...
  • Justin Smith's Blog

    Claims and the Calculator sample in the BizTalk Services SDK

    • 1 Comments
    The identity provider in BizTalk Services is a way for applications to delegate identity and access control to a hosted service. In other words, an application can use BizTalk Services to answer the all-important question "Who are you and what are...
  • Justin Smith's Blog

    XML namespace declarations in SyndicationFeed objects

    • 2 Comments
    Following on the heels of Steve Maine's post about namespaces in Syndication objects (Feeds, items, etc.), I thought it wise to plug the new stuff in PictureServices . At the moment, PictureServices implements SLE (Simple List Extensions), and does...
  • Justin Smith's Blog

    Check out Picture Services

    • 5 Comments
    A few days ago we released a new sample called Picture Services. As the name implies, this sample centers on pictures. More specifically, it demonstrates how to use the WCF API in the .NET Framework 3.5 to syndicate images from your local machine and...
  • Justin Smith's Blog

    Access Control Service - A Simple Scenario

    • 2 Comments
    To the already initiated claims disciples, the Access Control Service is a multi-tenant Resource STS. The behavior of each STS is determined by simple rules - the rules control how each STS transforms claims . To those not already initiated in the claims...
  • Justin Smith's Blog

    Inside Windows Communication Foundation Table of Contents

    • 7 Comments
    A recent commenter on this blog indicated that the TOC of Inside Windows Communication Foundation (my book) was not available online. I’m not sure why this is the case, but I’ve found that I don’t have much control over what Amazon (or other) book retailers...
  • Justin Smith's Blog

    Life at Microsoft

    • 1 Comments
    I'm not prone to publish non-techie topics on this blog, but I can't help this one :). I'm often asked what life is like at Microsoft, and this video pretty much sums it up... http://on10.net/blogs/tina/Life-At-Microsoft/
Page 1 of 3 (60 items) 123