 <p>Have you ever look <a href="http://servicestack.net/" rel="nofollow">servicestack</a> ? It's awesome ,totally DTO based and very easy to create API for .net </p> <p>Please look out my <a href="http://www.arunrana.net/2011/11/introduction-of-servicestack.html" rel="nofollow">blog post</a> about that </p> <p>Check this thread for <strong>authentication</strong> options in ServiceStack.</p> <p><a href="https://groups.google.com/d/topic/servicestack/U3XH9h7T4K0/discussion" rel="nofollow">https://groups.google.com/d/topic/servicestack/U3XH9h7T4K0/discussion</a></p> <p>Look at example <a href="https://github.com/ServiceStack/ServiceStack/blob/master/tests/ServiceStack.WebHost.Endpoints.Tests/RequestFiltersTests.cs" rel="nofollow">here</a></p>