Posted on: 2/10/2014 9:23:46 AM | Views : 873

Hi all, 
I'm trying to learn WebAPI 2 and MVC 5, though a hobby project.
What i'm currently want to achieve is the following. I want to login into a webapi site from a .net forms application or a WPF application. And then access resources for which you should be logged in.
I started with the following example. http://www.asp.net/vnext/overview/authentication/individual-accounts-in-aspnet-web-api and I could login from fiddler. So that part worked then I found this page http://www.asp.net/web-api/overview/web-api-clients/calling-a-web-api-from-a-net-client when I first tried to convert this console application to a forms application I gotten problems with the async structure of the code. So then i thought of first trying to make a ...

Go to the complete details ...