14 | Request ID: @Model.RequestId
15 |
20 | Swapping to the Development environment displays detailed information about the error that occurred. 21 |
22 |23 | The Development environment shouldn't be enabled for deployed applications. 24 | It can result in displaying sensitive information from exceptions to end users. 25 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 26 | and restarting the app. 27 |
28 | -------------------------------------------------------------------------------- /Client/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "http://localhost:42252", 7 | "sslPort": 44300 8 | } 9 | }, 10 | "profiles": { 11 | "IIS Express": { 12 | "commandName": "IISExpress", 13 | "launchBrowser": true, 14 | "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", 15 | "environmentVariables": { 16 | "ASPNETCORE_ENVIRONMENT": "Development" 17 | } 18 | }, 19 | "CarChecker": { 20 | "commandName": "Project", 21 | "launchBrowser": true, 22 | "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", 23 | "applicationUrl": "https://localhost:5001;http://localhost:5000", 24 | "environmentVariables": { 25 | "ASPNETCORE_ENVIRONMENT": "Development" 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Server/ApplicationUserClaimsPrincipalFactory.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Identity; 2 | using CarChecker.Server.Models; 3 | using Microsoft.Extensions.Options; 4 | using System.Threading.Tasks; 5 | using System.Security.Claims; 6 | 7 | namespace CarChecker.Server 8 | { 9 | public class ApplicationUserClaimsPrincipalFactory : UserClaimsPrincipalFactoryYou are not authorized to access this resource.
19 |Sorry, there's nothing at this address.
27 |@Localize["Enter license number:"]
25 |53 | There are no external authentication services configured. See this article 54 | for details on setting up this ASP.NET application to support logging in via external services. 55 |
56 |