Azure-Samples / active-directory-dotnet-graphapi-web

A .NET 4.5 MVC web app that demonstrates how to query the Azure AD Graph API using the Azure AD Graph Client Library
82 stars 68 forks source link

Stuck on step 12 to build my own custom webappgraphapi #8

Open jeffpatton1971 opened 9 years ago

jeffpatton1971 commented 9 years ago

The type or namespace name tokencache could not be found tokencacheitem tokencachenotificationargs

theses all appear to be missing even after I've added Install-Package System.IdentityModel.Tokens.Jwt -Pre here are my usings using Microsoft.IdentityModel.Clients.ActiveDirectory; using Microsoft.IdentityModel.SecurityTokenService; using Microsoft.IdentityModel.Tokens; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Web;

I also have this issue when I just clone the existing repo to my workstation.

wadewegner commented 9 years ago

As of today, I see the TokenCache in version 2.9.10826.1824 of the Microsoft.IdentityModel.Clients.ActiveDirectory NuGet for targetFramework net451. What is your target framework and the version of your NuGet package?

jeffpatton1971 commented 9 years ago

Sorry I've been so slow getting back, it's been crazy. Let me see if there are updates, i'm sure there are, that resolve this. At the time there was not, and it wouldn't build on my laptop, windows 8.1 .net 4.5

dkershaw10 commented 8 years ago

Is your issue resolved? This looks like a problem using ADAL?