GithubHelp home page GithubHelp logo

azure-samples / active-directory-javascript-singlepageapp-dotnet-webapi Goto Github PK

View Code? Open in Web Editor NEW
97.0 67.0 54.0 105 KB

A javascript based single page app with a .NET backend that authenticates Azure AD users and calls the backend web api using access tokens, without using any SPA frameworks.

CSS 0.03% JavaScript 80.84% HTML 4.01% C# 5.76% ASP 0.09% PowerShell 9.27%

active-directory-javascript-singlepageapp-dotnet-webapi's Introduction

active-directory-javascript-singlepageapp-dotnet-webapi's People

Contributors

acomsmpbot avatar allisonam avatar danieldobalian avatar dstrockis avatar irwinwilliams avatar navyasric avatar priyamohanram avatar salvatore-garrubba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

active-directory-javascript-singlepageapp-dotnet-webapi's Issues

This example does not work. Bad instructions

I followed the instructions to implement this example, but it does not work, something you do not put in the list. When I run the application I got this error: AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: 'a2782399-c844-4c0c-8be4-ac142f284135'.

I seems an error in the app registration in Azure, but your instructions does no cover this or give more information. If I followed your instructions I got this error. And the end this example is not working as your are explaning it here

IDX10214: Audience validation failed. Audiences: Did not match: validationParameters.ValidAudience or validationParameters.ValidAudiences: 'null'.

Hi I have a javascript client that generates access token issued by Azure AD B2C that i am using to access one of the api (application at my Azure AD B2C directory).
API is built in asp.net core.

But when i am using the token to access secure resources , it is throwing the error Invalid audience.

My API configuration is :

app.UseJwtBearerAuthentication(new JwtBearerOptions
{
//AutomaticAuthenticate = true,
//AutomaticChallenge = true,
//Authority = String.Format(Configuration["AzureAd:AadInstance"], Configuration["AzureAD:Tenant"]),
//Audience = Configuration["AzureAd:Audience"],

            MetadataAddress = string.Format("https://login.microsoftonline.com/{0}/v2.0/.well-known/openid-configuration?p={1}",
            Configuration["AzureAD:Tenant"], "B2C_1_Signin"),
            AuthenticationScheme = "B2C_1_Signin",
            Audience = Configuration["AzureAd:Audience"],
            Events = new JwtBearerEvents
            {
                OnAuthenticationFailed = ctx =>
                {
                    ctx.SkipToNextMiddleware();
                    return Task.FromResult(0);
                }
            }
        });

I am not getting where to add audience in client side.

What should i do ?

And I am little confused about Audience. What it is all about and the fact that i am not able to find where to specify Audience in my JS app, how it should be handled ?

Solution doesn't work on linux

Hi
I have been trying to run this on "Ubuntu 16.04.5 LTS". The step 5 is pretty misleading when he says "Clean the solution, rebuild the solution, and run it."

I have tried to run the .sln file with the xbuild and run the code however i get the below warnings.

xbuild SinglePageApp-jQuery-DotNet.sln
XBuild Engine Version 12.0
Mono, Version 4.2.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 1/23/2019 12:12:59 AM.


Project "/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/SinglePageApp-jQuery-DotNet.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
Target Build:
Project "/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/TodoSPA.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target ResolveAssemblyReferences:
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Antlr.3.5.0.2/lib/Antlr3.Runtime.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'Antlr3.Runtime' not found.
For searchpath {PkgConfig}
Considered Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Antlr3.Runtime' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Antlr3.Runtime.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Antlr3.Runtime.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/EntityFramework.6.2.0/lib/net45/EntityFramework.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'EntityFramework' not found.
For searchpath {PkgConfig}
Considered EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/EntityFramework' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/EntityFramework.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/EntityFramework.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/EntityFramework.6.2.0/lib/net45/EntityFramework.SqlServer.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'EntityFramework.SqlServer' not found.
For searchpath {PkgConfig}
Considered EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/EntityFramework.SqlServer' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/EntityFramework.SqlServer.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/EntityFramework.SqlServer.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.Owin.3.1.0/lib/net45/Microsoft.Owin.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'Microsoft.Owin' not found.
For searchpath {PkgConfig}
Considered Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.Owin.Host.SystemWeb.3.1.0/lib/net45/Microsoft.Owin.Host.SystemWeb.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'Microsoft.Owin.Host.SystemWeb' not found.
For searchpath {PkgConfig}
Considered Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Host.SystemWeb' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Host.SystemWeb.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Host.SystemWeb.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.Owin.Security.3.1.0/lib/net45/Microsoft.Owin.Security.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'Microsoft.Owin.Security' not found.
For searchpath {PkgConfig}
Considered Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.Owin.Security.ActiveDirectory, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.Owin.Security.ActiveDirectory.3.1.0/lib/net45/Microsoft.Owin.Security.ActiveDirectory.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'Microsoft.Owin.Security.ActiveDirectory' not found.
For searchpath {PkgConfig}
Considered Microsoft.Owin.Security.ActiveDirectory, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Microsoft.Owin.Security.ActiveDirectory, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Microsoft.Owin.Security.ActiveDirectory, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.ActiveDirectory' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.ActiveDirectory.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.ActiveDirectory.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.Owin.Security.Jwt, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.Owin.Security.Jwt.3.1.0/lib/net45/Microsoft.Owin.Security.Jwt.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'Microsoft.Owin.Security.Jwt' not found.
For searchpath {PkgConfig}
Considered Microsoft.Owin.Security.Jwt, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Microsoft.Owin.Security.Jwt, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Microsoft.Owin.Security.Jwt, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.Jwt' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.Jwt.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.Jwt.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.Owin.Security.OAuth.3.1.0/lib/net45/Microsoft.Owin.Security.OAuth.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'Microsoft.Owin.Security.OAuth' not found.
For searchpath {PkgConfig}
Considered Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.OAuth' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.OAuth.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Owin.Security.OAuth.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Newtonsoft.Json.11.0.2/lib/net45/Newtonsoft.Json.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'Newtonsoft.Json' not found.
For searchpath {PkgConfig}
Considered Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Newtonsoft.Json' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Newtonsoft.Json.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Newtonsoft.Json.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'Owin' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Owin.1.0/lib/net40/Owin.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'Owin' not found.
For searchpath {PkgConfig}
Considered Owin, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Owin, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Owin' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Owin' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Owin.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Owin.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.IdentityModel.Tokens.Jwt, Version=4.0.40306.1554, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/System.IdentityModel.Tokens.Jwt.4.0.4.403061554/lib/net45/System.IdentityModel.Tokens.Jwt.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.IdentityModel.Tokens.Jwt' not found.
For searchpath {PkgConfig}
Considered System.IdentityModel.Tokens.Jwt, Version=4.0.40306.1554, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.IdentityModel.Tokens.Jwt, Version=4.0.40306.1554, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.IdentityModel.Tokens.Jwt, Version=4.0.40306.1554, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.IdentityModel.Tokens.Jwt' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.IdentityModel.Tokens.Jwt.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.IdentityModel.Tokens.Jwt.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Net.Http.Formatting, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.AspNet.WebApi.Client.5.2.6/lib/net45/System.Net.Http.Formatting.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Net.Http.Formatting' not found.
For searchpath {PkgConfig}
Considered System.Net.Http.Formatting, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Net.Http.Formatting, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Net.Http.Formatting, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Net.Http.Formatting' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Net.Http.Formatting.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Net.Http.Formatting.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.Entity' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.Entity' not found.
For searchpath {PkgConfig}
Considered System.Web.Entity, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.Entity, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.Entity' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Entity' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Entity.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Entity.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Data.DataSetExtensions' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Data.DataSetExtensions' not found.
For searchpath {PkgConfig}
Considered System.Data.DataSetExtensions, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Data.DataSetExtensions, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Data.DataSetExtensions' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Data.DataSetExtensions' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Data.DataSetExtensions.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Data.DataSetExtensions.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.AspNet.WebPages.3.2.6/lib/net45/System.Web.Helpers.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.Helpers' not found.
For searchpath {PkgConfig}
Considered System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Helpers' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Helpers.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Helpers.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.Http, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.AspNet.WebApi.Core.5.2.6/lib/net45/System.Web.Http.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.Http' not found.
For searchpath {PkgConfig}
Considered System.Web.Http, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.Http, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.Http, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Http' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Http.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Http.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.Http.WebHost, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.AspNet.WebApi.WebHost.5.2.6/lib/net45/System.Web.Http.WebHost.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.Http.WebHost' not found.
For searchpath {PkgConfig}
Considered System.Web.Http.WebHost, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.Http.WebHost, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.Http.WebHost, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Http.WebHost' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Http.WebHost.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Http.WebHost.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.AspNet.Mvc.5.2.6/lib/net45/System.Web.Mvc.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.Mvc' not found.
For searchpath {PkgConfig}
Considered System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Mvc' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Mvc.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Mvc.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.AspNet.Razor.3.2.6/lib/net45/System.Web.Razor.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.Razor' not found.
For searchpath {PkgConfig}
Considered System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Razor' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Razor.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Razor.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.AspNet.WebPages.3.2.6/lib/net45/System.Web.WebPages.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.WebPages' not found.
For searchpath {PkgConfig}
Considered System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.WebPages' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.WebPages.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.WebPages.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.AspNet.WebPages.3.2.6/lib/net45/System.Web.WebPages.Deployment.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.WebPages.Deployment' not found.
For searchpath {PkgConfig}
Considered System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.WebPages.Deployment' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.WebPages.Deployment.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.WebPages.Deployment.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.AspNet.WebPages.3.2.6/lib/net45/System.Web.WebPages.Razor.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.WebPages.Razor' not found.
For searchpath {PkgConfig}
Considered System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.WebPages.Razor' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.WebPages.Razor.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.WebPages.Razor.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.Abstractions' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.Abstractions' not found.
For searchpath {PkgConfig}
Considered System.Web.Abstractions, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.Abstractions, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.Abstractions' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Abstractions' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Abstractions.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Abstractions.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.Routing' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.Routing' not found.
For searchpath {PkgConfig}
Considered System.Web.Routing, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.Routing, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.Routing' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Routing' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Routing.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Routing.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'Microsoft.Web.Infrastructure' not found.
For searchpath {PkgConfig}
Considered Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Web.Infrastructure' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Web.Infrastructure.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/Microsoft.Web.Infrastructure.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Net.Http' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Net.Http' not found.
For searchpath {PkgConfig}
Considered System.Net.Http, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Net.Http, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Net.Http' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Net.Http' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Net.Http.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Net.Http.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Net.Http.WebRequest' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Net.Http.WebRequest' not found.
For searchpath {PkgConfig}
Considered System.Net.Http.WebRequest, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Net.Http.WebRequest, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Net.Http.WebRequest' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Net.Http.WebRequest' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Net.Http.WebRequest.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Net.Http.WebRequest.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'System.Web.Optimization' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/Microsoft.AspNet.Web.Optimization.1.1.3/lib/net40/System.Web.Optimization.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'System.Web.Optimization' not found.
For searchpath {PkgConfig}
Considered System.Web.Optimization, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Web.Optimization, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Web.Optimization' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Optimization' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Optimization.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/System.Web.Optimization.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets: warning : Reference 'WebGrease, Version=1.6.5135.21930, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/WebGrease.1.6.0/lib/WebGrease.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5, assembly named 'WebGrease' not found.
For searchpath {PkgConfig}
Considered WebGrease, Version=1.6.5135.21930, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in any pkg-config files.
For searchpath {GAC}
Considered WebGrease, Version=1.6.5135.21930, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'WebGrease, Version=1.6.5135.21930, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' as a file, but the file does not exist
For searchpath bin/
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/WebGrease' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/WebGrease.exe' as a file, but the file does not exist
Considered '/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/bin/WebGrease.dll' as a file, but the file does not exist
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Done building project "/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/TodoSPA.csproj".-- FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project "/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/SinglePageApp-jQuery-DotNet.sln".-- FAILED
Done building project "/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/SinglePageApp-jQuery-DotNet.sln".-- FAILED

Build FAILED.

Warnings:

/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/SinglePageApp-jQuery-DotNet.sln (default targets) ->
(Build target) ->
/home/apollo/active-directory-javascript-singlepageapp-dotnet-webapi/TodoSPA/TodoSPA.csproj (default targets) ->
/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'Microsoft.Owin.Security.ActiveDirectory, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'Microsoft.Owin.Security.Jwt, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'Owin' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.IdentityModel.Tokens.Jwt, Version=4.0.40306.1554, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Net.Http.Formatting, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.Entity' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Data.DataSetExtensions' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.Http, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.Http.WebHost, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.Abstractions' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.Routing' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Net.Http' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Net.Http.WebRequest' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Web.Optimization' not resolved
    /usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets:  warning : Reference 'WebGrease, Version=1.6.5135.21930, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL' not resolved

     30 Warning(s)
     0 Error(s)

Time Elapsed 00:00:00.7706930

Since I am new to this I am unable to understand why the Build has failed

Can you please tell me how this can be resolved and how this can start working !

Claims in Access token

Hi
I have a JavaScript app that makes call to my azure ad b2c account and gets access token that will be used to call another API.

In my sign in policies, i have added email to the claims to be returned.
When i use token to access secure resources of API, it works fine but i can not find email claim there.
There is name claim and some other as well.

Moreover i also want to return custom claims such as role. How do i assign roles to users there and return that in access token.

Please also let me know if i need to share anything related .
Thanks

Step 5 not quite right

I have been trying this sample and was unable to get it to work. In step 5 it says you can sign in by "either clicking on the sign in link on the top right corner, or by clicking directly on the Todo List tab".
I was clicking on the Todo tab and always got an error message saying the "The reply url specified in the request does not match the reply urls configured for the application". I later realised the Login link works as expected. I found I could get the Todo link to work by adding https://localhost:44302/#TodoList to the list of Reply URLs in the App Registration.
I'm new to this so don't want to make assumptions but should the instructions say to add this extra Redirect URL or remove the part that says click Todo?

Error when trying to upload the modified manifest

In step Step 3 while trying to upload the modified manifest I'm getting the following from azure.

ParameterValidationException=Invalid parameters provided; BadRequestException=One or more extension property values specified are invalid.;

Starting from scratch and trying to download and upload an unmodified manifest leads to the same result. Any hints how to proceed?

Great sample app, except I want to split my SPA from Web API

So glad I found this sample, as I don't want to learn angular just yet.

I was readily able to deploy to Azure, and successfully configured the AD tenant registration, per the instructions in your README.

But, is it typical to have a SPA and a Web API share the same AD tenant App Registration?

Now that I'm wanting to make a SPA on one domain, and have it talk to a CORS-enabled Web API, I'm struggling getting everything to work. I know, from other research, to register them separately, and that I need to specify in my SPA registration that it should be allowed access to my Web API.. and I've clicked 'Grant Permissions', etc. - but all I get is 401 Not Authorized.

I'm also using RBAC, fwiw, so my Web API middleware looks like this:

   new WindowsAzureActiveDirectoryBearerAuthenticationOptions
   {
       Tenant = ConfigurationManager.AppSettings["ida:Tenant"],
       TokenValidationParameters = new TokenValidationParameters
       {
           ValidAudience = ConfigurationManager.AppSettings["ida:Audience"],
           RoleClaimType = "roles"
       },
   });

When I decode my bearer token at jwt.io I can see the token I'm getting in ADAL.js is missing it's roles claim. I just don't know why.

Application not working as advertised

I get the an error that Graph permissions needed to be added, which I can't find anything in the code which is identifying for additional permissions.

More importantly, the .Configure and the .Cleanup powershell scripts create the app known as SinglePageApp but when attempting to access I get the error ..

AADSTS50011: The reply uri specified in the request has an invalid scheme.

Difficulty getting it to run

I had to change the web.config before this one would run for me. I'm running VS2013 Ultimate. It didn't like the mssqllocaldb parameter. I had to change it to v11.0, like below.

<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  <parameters>
    <parameter value="v11.0" />
  </parameters>
</defaultConnectionFactory>

Localstorage has the token, but user is null

I'm working on a Proof of concept using VueJS and Azure AD. After defining the settings, it's redirecting to the Azure AD login page, and back again to my page.

I can see that the key adal.login.request has a valid JWT token, but I can get the user from authContext.getCachedUser();

PS: the implicitFlow is set to true in the application manifest and the application has permission to read user's data. Is there something that I'm missing?

here's my code:

window.config = {
            instance: 'https://login.microsoftonline.com/',
            tenant: 'common',
            clientId: '832ec74a-cadc-4cad-9b61-0be3d0abe8e2',
            postLogoutRedirectUri: window.location.origin,
            cacheLocation: 'localStorage', // enable this for IE, as sessionStorage does not work for localhost.
        };
        var authContext = new AuthenticationContext(config);

        var user = authContext.getCachedUser();
        if (user) 
        {
            console.log(user.userName);
        } else {
            console.log("not logged");
        }

Mac OS, build warning

Visual Studio 2017 Community Mac Version
clone repo -> Build

Build: 0 errors 1 warning

/Library/Frameworks/Mono.framework/Versions/5.12.0/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5,5): Warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Entity". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. (MSB3245) (TodoSPA)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.