Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

ASP.NET Web API 2 – Web Services for Websites, Modern Apps, and Mobile Apps

Download

Right click “Save as…”

Slides (view online)
+ My Schedule- My Schedule
ASP.NET Web API 2 makes it even easier to build HTTP services for any client application, including websites and mobile applications. In this session you will see how to easily setup your Web API routes using integrated attribute routing. You will learn how to secure your Web APIs using OAuth 2.0, integrate with Windows Azure Active Directory and easily enable support for cross-origin requests using CORS. We will then discover how you can write portable Web API client code for Windows Phone and Windows Store applications and also how we have simplified writing unit tests for your Web APIs. Finally, you will learn how to write OData services that support $expand, $select and request batching and how you can now host your Web APIs on any OWIN-based host.
For more information, check out these courses on Microsoft Virtual Academy:

Follow the Discussion

  • Rob GibbensRob Gibbens

    Are there docs/examples of Oauth flow that you were showing? Specifically, authenticating on a mobile client (w/FB,Google,etc) and passing the token to a secured Web Api service?

    Also, can we secure only specific Web Api resources, or even Actions?

  • @Rob Gibbens:

    http://www.asp.net/web-api/overview/security/external-authentication-services

  • I have a question, what if my rest service is separate project and i have clients like MVC, desktop based that needs to consume the REST service (which is protected with OAuth of external providers). How to i send the bearer tokens from .NET application or from MVC 4 client application? Are there any utilities APIs that i can use to to fetch and construct the bearer token as part of HTTP auth headers?

  • Can we get the source code for the presentation?

     

    Also, I'd like to know the answer to what @sureshballa asked.

     

    Thanks!

  • is he drunk ? i really hate his talking style...

  • nassimnassim

    web service " REST or SOAP"?

  • Martin AndersenMartin Andersen

    This is excellent documentation http://www.asp.net/web-api/overview/security/external-authentication-services#COMBINE well written.

    But I have to say that security is a tough topic and what I am missing right now is this.

    How can I build my own security server and how is the user registration flow when you are using a security server?

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.