├── AspNetCoreJwtDemo ├── AspNetCoreJwtDemo.sln └── AspNetCoreJwtDemo │ ├── AspNetCoreJwtDemo.csproj │ ├── AspNetCoreJwtDemo.csproj.user │ ├── Controllers │ ├── AuthenticationController.cs │ └── WeatherForecastController.cs │ ├── IAuthenticateService.cs │ ├── IUserService.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ ├── TokenManagement.cs │ ├── WeatherForecast.cs │ ├── appsettings.Development.json │ ├── appsettings.json │ ├── bin │ └── Debug │ │ └── netcoreapp3.1 │ │ ├── AspNetCoreJwtDemo.deps.json │ │ ├── AspNetCoreJwtDemo.dll │ │ ├── AspNetCoreJwtDemo.exe │ │ ├── AspNetCoreJwtDemo.pdb │ │ ├── AspNetCoreJwtDemo.runtimeconfig.dev.json │ │ ├── AspNetCoreJwtDemo.runtimeconfig.json │ │ ├── Microsoft.AspNetCore.Authentication.JwtBearer.dll │ │ ├── Microsoft.AspNetCore.Razor.Language.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.dll │ │ ├── Microsoft.CodeAnalysis.Razor.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.dll │ │ ├── Microsoft.CodeAnalysis.dll │ │ ├── Microsoft.IdentityModel.JsonWebTokens.dll │ │ ├── Microsoft.IdentityModel.Logging.dll │ │ ├── Microsoft.IdentityModel.Protocols.OpenIdConnect.dll │ │ ├── Microsoft.IdentityModel.Protocols.dll │ │ ├── Microsoft.IdentityModel.Tokens.dll │ │ ├── Microsoft.VisualStudio.Web.CodeGeneration.Contracts.dll │ │ ├── Microsoft.VisualStudio.Web.CodeGeneration.Core.dll │ │ ├── Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.dll │ │ ├── Microsoft.VisualStudio.Web.CodeGeneration.Templating.dll │ │ ├── Microsoft.VisualStudio.Web.CodeGeneration.Utils.dll │ │ ├── Microsoft.VisualStudio.Web.CodeGeneration.dll │ │ ├── Microsoft.VisualStudio.Web.CodeGenerators.Mvc.dll │ │ ├── Newtonsoft.Json.dll │ │ ├── NuGet.Frameworks.dll │ │ ├── Properties │ │ └── launchSettings.json │ │ ├── System.Composition.AttributedModel.dll │ │ ├── System.Composition.Convention.dll │ │ ├── System.Composition.Hosting.dll │ │ ├── System.Composition.Runtime.dll │ │ ├── System.Composition.TypedParts.dll │ │ ├── System.IdentityModel.Tokens.Jwt.dll │ │ ├── appsettings.Development.json │ │ ├── appsettings.json │ │ ├── cs │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── de │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── dotnet-aspnet-codegenerator-design.dll │ │ ├── es │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── fr │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── it │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── ja │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── ko │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── pl │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── pt-BR │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── ru │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── tr │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── zh-Hans │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ └── zh-Hant │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ └── obj │ ├── AspNetCoreJwtDemo.csproj.nuget.cache │ ├── AspNetCoreJwtDemo.csproj.nuget.dgspec.json │ ├── AspNetCoreJwtDemo.csproj.nuget.g.props │ ├── AspNetCoreJwtDemo.csproj.nuget.g.targets │ ├── Debug │ └── netcoreapp3.1 │ │ ├── AspNetCoreJwtDemo.AssemblyInfo.cs │ │ ├── AspNetCoreJwtDemo.AssemblyInfoInputs.cache │ │ ├── AspNetCoreJwtDemo.MvcApplicationPartsAssemblyInfo.cache │ │ ├── AspNetCoreJwtDemo.RazorTargetAssemblyInfo.cache │ │ ├── AspNetCoreJwtDemo.assets.cache │ │ ├── AspNetCoreJwtDemo.csproj.CopyComplete │ │ ├── AspNetCoreJwtDemo.csproj.FileListAbsolute.txt │ │ ├── AspNetCoreJwtDemo.csprojAssemblyReference.cache │ │ ├── AspNetCoreJwtDemo.dll │ │ ├── AspNetCoreJwtDemo.exe │ │ ├── AspNetCoreJwtDemo.pdb │ │ └── staticwebassets │ │ ├── AspNetCoreJwtDemo.StaticWebAssets.Manifest.cache │ │ └── AspNetCoreJwtDemo.StaticWebAssets.xml │ └── project.assets.json ├── HEAD ├── LICENSE ├── LiveChartSample ├── LiveChartApp │ ├── App.config │ ├── App.xaml │ ├── App.xaml.cs │ ├── LiveChartApp.csproj │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ ├── bin │ │ └── Debug │ │ │ ├── LiveChartApp.exe │ │ │ ├── LiveChartApp.exe.config │ │ │ ├── LiveChartApp.pdb │ │ │ ├── LiveCharts.Wpf.dll │ │ │ ├── LiveCharts.Wpf.pdb │ │ │ ├── LiveCharts.Wpf.xml │ │ │ ├── LiveCharts.dll │ │ │ ├── LiveCharts.pdb │ │ │ └── LiveCharts.xml │ ├── obj │ │ └── Debug │ │ │ ├── App.g.cs │ │ │ ├── App.g.i.cs │ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ │ ├── LiveChartApp.Properties.Resources.resources │ │ │ ├── LiveChartApp.csproj.CopyComplete │ │ │ ├── LiveChartApp.csproj.CoreCompileInputs.cache │ │ │ ├── LiveChartApp.csproj.FileListAbsolute.txt │ │ │ ├── LiveChartApp.csproj.GenerateResource.cache │ │ │ ├── LiveChartApp.csprojAssemblyReference.cache │ │ │ ├── LiveChartApp.exe │ │ │ ├── LiveChartApp.g.resources │ │ │ ├── LiveChartApp.pdb │ │ │ ├── LiveChartApp_MarkupCompile.cache │ │ │ ├── LiveChartApp_MarkupCompile.i.cache │ │ │ ├── LiveChartApp_MarkupCompile.i.lref │ │ │ ├── LiveChartApp_MarkupCompile.lref │ │ │ ├── MainWindow.baml │ │ │ ├── MainWindow.g.cs │ │ │ ├── MainWindow.g.i.cs │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ └── packages.config ├── LiveChartSample.sln └── packages │ ├── LiveCharts.0.9.7 │ ├── LiveCharts.0.9.7.nupkg │ ├── lib │ │ ├── net40 │ │ │ ├── LiveCharts.dll │ │ │ ├── LiveCharts.pdb │ │ │ └── LiveCharts.xml │ │ ├── net45 │ │ │ ├── LiveCharts.dll │ │ │ ├── LiveCharts.pdb │ │ │ └── LiveCharts.xml │ │ └── portable-net45+win8+wp8 │ │ │ ├── LiveCharts.XML │ │ │ ├── LiveCharts.dll │ │ │ └── LiveCharts.pdb │ └── readme.txt │ └── LiveCharts.Wpf.0.9.7 │ ├── LiveCharts.Wpf.0.9.7.nupkg │ ├── lib │ ├── net40 │ │ ├── LiveCharts.Wpf.XML │ │ ├── LiveCharts.Wpf.dll │ │ └── LiveCharts.Wpf.pdb │ └── net45 │ │ ├── LiveCharts.Wpf.XML │ │ ├── LiveCharts.Wpf.dll │ │ └── LiveCharts.Wpf.pdb │ └── tools │ └── install.ps1 ├── Npoi_Sample ├── Npoi_Sample.sln └── Npoi_Sample │ ├── App.config │ ├── App.xaml │ ├── App.xaml.cs │ ├── ExcelHelper.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── Npoi_Sample.csproj │ ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings │ ├── bin │ └── Debug │ │ ├── NPOI.dll │ │ ├── Npoi_Sample.exe │ │ ├── Npoi_Sample.exe.config │ │ └── Npoi_Sample.pdb │ └── obj │ └── Debug │ ├── App.g.cs │ ├── App.g.i.cs │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ ├── MainWindow.baml │ ├── MainWindow.g.cs │ ├── MainWindow.g.i.cs │ ├── Npoi_Sample.Properties.Resources.resources │ ├── Npoi_Sample.csproj.CopyComplete │ ├── Npoi_Sample.csproj.CoreCompileInputs.cache │ ├── Npoi_Sample.csproj.FileListAbsolute.txt │ ├── Npoi_Sample.csproj.GenerateResource.cache │ ├── Npoi_Sample.csprojAssemblyReference.cache │ ├── Npoi_Sample.exe │ ├── Npoi_Sample.g.resources │ ├── Npoi_Sample.pdb │ ├── Npoi_Sample_MarkupCompile.cache │ ├── Npoi_Sample_MarkupCompile.i.cache │ ├── Npoi_Sample_MarkupCompile.lref │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs ├── OutlookDemo ├── WpfApp4.sln └── WpfApp4 │ ├── App.config │ ├── App.xaml │ ├── App.xaml.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings │ ├── WpfApp4.csproj │ ├── bin │ └── Debug │ │ ├── WpfApp4.exe │ │ ├── WpfApp4.exe.config │ │ └── WpfApp4.pdb │ ├── iconfont.ttf │ └── obj │ └── Debug │ ├── App.g.cs │ ├── App.g.i.cs │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ ├── MainWindow.baml │ ├── MainWindow.g.cs │ ├── MainWindow.g.i.cs │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ ├── WpfApp4.Properties.Resources.resources │ ├── WpfApp4.csproj.CoreCompileInputs.cache │ ├── WpfApp4.csproj.FileListAbsolute.txt │ ├── WpfApp4.csproj.GenerateResource.cache │ ├── WpfApp4.csprojAssemblyReference.cache │ ├── WpfApp4.exe │ ├── WpfApp4.g.resources │ ├── WpfApp4.pdb │ ├── WpfApp4_MarkupCompile.cache │ ├── WpfApp4_MarkupCompile.i.cache │ └── WpfApp4_MarkupCompile.lref ├── README.md ├── Wpf.MqttNetTest ├── .vs │ └── Wpf.MqttNetTest │ │ ├── DesignTimeBuild │ │ └── .dtbcache │ │ ├── v15 │ │ └── .suo │ │ └── v16 │ │ ├── .suo │ │ └── Server │ │ └── sqlite3 │ │ ├── db.lock │ │ └── storage.ide ├── Wpf.MqttNetClient │ ├── App.xaml │ ├── App.xaml.cs │ ├── AssemblyInfo.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── Wpf.MqttNetClient.csproj │ ├── Wpf.MqttNetClient.csproj.user │ └── obj │ │ ├── Debug │ │ └── netcoreapp3.1 │ │ │ ├── App.g.i.cs │ │ │ ├── MainWindow.g.i.cs │ │ │ ├── Wpf.MqttNetClient.assets.cache │ │ │ ├── Wpf.MqttNetClient.csproj.FileListAbsolute.txt │ │ │ ├── Wpf.MqttNetClient.designer.deps.json │ │ │ ├── Wpf.MqttNetClient.designer.runtimeconfig.json │ │ │ ├── Wpf.MqttNetClient.exe │ │ │ └── Wpf.MqttNetClient_MarkupCompile.i.cache │ │ ├── Wpf.MqttNetClient.csproj.nuget.dgspec.json │ │ ├── Wpf.MqttNetClient.csproj.nuget.g.props │ │ ├── Wpf.MqttNetClient.csproj.nuget.g.targets │ │ └── project.assets.json ├── Wpf.MqttNetTest.sln └── Wpf.MqttNetTest │ ├── App.xaml │ ├── App.xaml.cs │ ├── AssemblyInfo.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── UserInstance.cs │ ├── Wpf.MqttNetTest.csproj │ ├── Wpf.MqttNetTest.csproj.user │ └── obj │ ├── Debug │ └── netcoreapp3.1 │ │ ├── App.g.i.cs │ │ ├── MainWindow.g.i.cs │ │ ├── Wpf.MqttNetTest.assets.cache │ │ ├── Wpf.MqttNetTest.csproj.FileListAbsolute.txt │ │ ├── Wpf.MqttNetTest.designer.deps.json │ │ ├── Wpf.MqttNetTest.designer.runtimeconfig.json │ │ ├── Wpf.MqttNetTest.exe │ │ └── Wpf.MqttNetTest_MarkupCompile.i.cache │ ├── Wpf.MqttNetTest.csproj.nuget.dgspec.json │ ├── Wpf.MqttNetTest.csproj.nuget.g.props │ ├── Wpf.MqttNetTest.csproj.nuget.g.targets │ └── project.assets.json └── WpfAnimationTest ├── WpfAnimationTest.sln └── WpfAnimationTest ├── App.config ├── App.xaml ├── App.xaml.cs ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── Properties ├── AssemblyInfo.cs ├── Resources.Designer.cs ├── Resources.resx ├── Settings.Designer.cs └── Settings.settings ├── WpfAnimationTest.csproj └── obj └── Debug ├── App.g.cs ├── App.g.i.cs ├── DesignTimeResolveAssemblyReferences.cache ├── DesignTimeResolveAssemblyReferencesInput.cache ├── MainWindow.g.cs ├── MainWindow.g.i.cs ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs ├── WpfAnimationTest.csproj.CoreCompileInputs.cache ├── WpfAnimationTest.csprojAssemblyReference.cache ├── WpfAnimationTest_MarkupCompile.cache ├── WpfAnimationTest_MarkupCompile.i.cache ├── WpfAnimationTest_MarkupCompile.i.lref └── WpfAnimationTest_MarkupCompile.lref /AspNetCoreJwtDemo/AspNetCoreJwtDemo.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29613.14 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspNetCoreJwtDemo", "AspNetCoreJwtDemo\AspNetCoreJwtDemo.csproj", "{A4E397C2-E31E-4D9F-86C5-C1498352567A}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {A4E397C2-E31E-4D9F-86C5-C1498352567A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {A4E397C2-E31E-4D9F-86C5-C1498352567A}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {A4E397C2-E31E-4D9F-86C5-C1498352567A}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {A4E397C2-E31E-4D9F-86C5-C1498352567A}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {466836A8-FB53-4FAC-BA43-6F820E1DDD09} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/AspNetCoreJwtDemo.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp3.1 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/AspNetCoreJwtDemo.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ApiControllerEmptyScaffolder 5 | root/Controller 6 | 600 7 | True 8 | False 9 | True 10 | 11 | False 12 | 13 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/Controllers/AuthenticationController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Authorization; 6 | using Microsoft.AspNetCore.Http; 7 | using Microsoft.AspNetCore.Mvc; 8 | 9 | namespace AspNetCoreJwtDemo.Controllers 10 | { 11 | [Route("api/[controller]")] 12 | [ApiController] 13 | public class AuthenticationController : ControllerBase 14 | { 15 | private readonly IAuthenticateService _authService; 16 | public AuthenticationController(IAuthenticateService authService) 17 | { 18 | this._authService = authService; 19 | } 20 | 21 | [AllowAnonymous] 22 | [HttpPost, Route("requestToken")] 23 | public ActionResult RequestToken([FromBody] LoginRequestDTO request) 24 | { 25 | if (!ModelState.IsValid) 26 | { 27 | return BadRequest("Invalid Request"); 28 | } 29 | 30 | string token; 31 | if (_authService.IsAuthenticated(request, out token)) 32 | { 33 | return Ok(token); 34 | } 35 | 36 | return BadRequest("Invalid Request"); 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/Controllers/WeatherForecastController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Authorization; 6 | using Microsoft.AspNetCore.Mvc; 7 | using Microsoft.Extensions.Logging; 8 | 9 | namespace AspNetCoreJwtDemo.Controllers 10 | { 11 | [ApiController] 12 | [Route("[controller]")] 13 | [Authorize] 14 | public class WeatherForecastController : ControllerBase 15 | { 16 | private static readonly string[] Summaries = new[] 17 | { 18 | "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" 19 | }; 20 | 21 | private readonly ILogger _logger; 22 | 23 | public WeatherForecastController(ILogger logger) 24 | { 25 | _logger = logger; 26 | } 27 | 28 | [HttpGet] 29 | public IEnumerable Get() 30 | { 31 | var rng = new Random(); 32 | return Enumerable.Range(1, 5).Select(index => new WeatherForecast 33 | { 34 | Date = DateTime.Now.AddDays(index), 35 | TemperatureC = rng.Next(-20, 55), 36 | Summary = Summaries[rng.Next(Summaries.Length)] 37 | }) 38 | .ToArray(); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/IAuthenticateService.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.Options; 2 | using Microsoft.IdentityModel.Tokens; 3 | using Newtonsoft.Json; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.ComponentModel.DataAnnotations; 7 | using System.IdentityModel.Tokens.Jwt; 8 | using System.Linq; 9 | using System.Security.Claims; 10 | using System.Text; 11 | using System.Threading.Tasks; 12 | 13 | namespace AspNetCoreJwtDemo 14 | { 15 | public class LoginRequestDTO 16 | { 17 | [Required] 18 | [JsonProperty("username")] 19 | public string Username { get; set; } 20 | 21 | 22 | [Required] 23 | [JsonProperty("password")] 24 | public string Password { get; set; } 25 | } 26 | 27 | public interface IAuthenticateService 28 | { 29 | bool IsAuthenticated(LoginRequestDTO request, out string token); 30 | } 31 | 32 | public class TokenAuthenticationService : IAuthenticateService 33 | { 34 | private readonly IUserService _userService; 35 | private readonly TokenManagement _tokenManagement; 36 | public TokenAuthenticationService(IUserService userService, IOptions tokenManagement) 37 | { 38 | _userService = userService; 39 | _tokenManagement = tokenManagement.Value; 40 | } 41 | public bool IsAuthenticated(LoginRequestDTO request, out string token) 42 | { 43 | token = string.Empty; 44 | if (!_userService.IsValid(request)) 45 | return false; 46 | var claims = new[] 47 | { 48 | new Claim(ClaimTypes.Name,request.Username) 49 | }; 50 | var key = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(_tokenManagement.Secret)); 51 | var credentials = new SigningCredentials(key, SecurityAlgorithms.HmacSha256); 52 | var jwtToken = new JwtSecurityToken(_tokenManagement.Issuer, _tokenManagement.Audience, claims, 53 | expires: DateTime.Now.AddMinutes(_tokenManagement.AccessExpiration), 54 | signingCredentials: credentials); 55 | token = new JwtSecurityTokenHandler().WriteToken(jwtToken); 56 | return true; 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/IUserService.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace AspNetCoreJwtDemo 7 | { 8 | public interface IUserService 9 | { 10 | bool IsValid(LoginRequestDTO req); 11 | } 12 | 13 | public class UserService : IUserService 14 | { 15 | //模拟测试,默认都是人为验证有效 16 | public bool IsValid(LoginRequestDTO req) 17 | { 18 | return true; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Hosting; 6 | using Microsoft.Extensions.Configuration; 7 | using Microsoft.Extensions.Hosting; 8 | using Microsoft.Extensions.Logging; 9 | 10 | namespace AspNetCoreJwtDemo 11 | { 12 | public class Program 13 | { 14 | public static void Main(string[] args) 15 | { 16 | CreateHostBuilder(args).Build().Run(); 17 | } 18 | 19 | public static IHostBuilder CreateHostBuilder(string[] args) => 20 | Host.CreateDefaultBuilder(args) 21 | .ConfigureWebHostDefaults(webBuilder => 22 | { 23 | webBuilder.UseStartup(); 24 | }); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/launchsettings.json", 3 | "iisSettings": { 4 | "windowsAuthentication": false, 5 | "anonymousAuthentication": true, 6 | "iisExpress": { 7 | "applicationUrl": "http://localhost:5181", 8 | "sslPort": 0 9 | } 10 | }, 11 | "profiles": { 12 | "IIS Express": { 13 | "commandName": "IISExpress", 14 | "launchBrowser": true, 15 | "launchUrl": "weatherforecast", 16 | "environmentVariables": { 17 | "ASPNETCORE_ENVIRONMENT": "Development" 18 | } 19 | }, 20 | "AspNetCoreJwtDemo": { 21 | "commandName": "Project", 22 | "launchBrowser": true, 23 | "launchUrl": "weatherforecast", 24 | "applicationUrl": "http://localhost:5000", 25 | "environmentVariables": { 26 | "ASPNETCORE_ENVIRONMENT": "Development" 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/Startup.cs -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/TokenManagement.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | 7 | namespace AspNetCoreJwtDemo 8 | { 9 | public class TokenManagement 10 | { 11 | [JsonProperty("secret")] 12 | public string Secret { get; set; } 13 | 14 | [JsonProperty("issuer")] 15 | public string Issuer { get; set; } 16 | 17 | [JsonProperty("audience")] 18 | public string Audience { get; set; } 19 | 20 | [JsonProperty("accessExpiration")] 21 | public int AccessExpiration { get; set; } 22 | 23 | [JsonProperty("refreshExpiration")] 24 | public int RefreshExpiration { get; set; } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace AspNetCoreJwtDemo 4 | { 5 | public class WeatherForecast 6 | { 7 | public DateTime Date { get; set; } 8 | 9 | public int TemperatureC { get; set; } 10 | 11 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 12 | 13 | public string Summary { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "tokenConfig": { 10 | "secret": "123456789123456789", 11 | "issuer": "test.cn", 12 | "audience": "test", 13 | "accessExpiration": 30, 14 | "refreshExpiration": 60 15 | }, 16 | "AllowedHosts": "*" 17 | } 18 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/AspNetCoreJwtDemo.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/AspNetCoreJwtDemo.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/AspNetCoreJwtDemo.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/AspNetCoreJwtDemo.exe -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/AspNetCoreJwtDemo.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/AspNetCoreJwtDemo.pdb -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/AspNetCoreJwtDemo.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\zhouh\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\zhouh\\.nuget\\packages", 6 | "C:\\Microsoft\\Xamarin\\NuGet", 7 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 8 | ] 9 | } 10 | } -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/AspNetCoreJwtDemo.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.AspNetCore.App", 6 | "version": "3.1.0" 7 | }, 8 | "configProperties": { 9 | "System.GC.Server": true 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.Authentication.JwtBearer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.Authentication.JwtBearer.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.Razor.Language.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.Razor.Language.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.CodeAnalysis.CSharp.Workspaces.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.CodeAnalysis.CSharp.Workspaces.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.CodeAnalysis.CSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.CodeAnalysis.CSharp.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.CodeAnalysis.Razor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.CodeAnalysis.Razor.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.CodeAnalysis.Workspaces.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.CodeAnalysis.Workspaces.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.CodeAnalysis.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.CodeAnalysis.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.JsonWebTokens.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.JsonWebTokens.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Logging.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Logging.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Tokens.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Tokens.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.Contracts.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.Contracts.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.Core.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.Templating.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.Templating.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.Utils.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.Utils.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGeneration.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGenerators.Mvc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Microsoft.VisualStudio.Web.CodeGenerators.Mvc.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/NuGet.Frameworks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/NuGet.Frameworks.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/launchsettings.json", 3 | "iisSettings": { 4 | "windowsAuthentication": false, 5 | "anonymousAuthentication": true, 6 | "iisExpress": { 7 | "applicationUrl": "http://localhost:5181", 8 | "sslPort": 0 9 | } 10 | }, 11 | "profiles": { 12 | "IIS Express": { 13 | "commandName": "IISExpress", 14 | "launchBrowser": true, 15 | "launchUrl": "weatherforecast", 16 | "environmentVariables": { 17 | "ASPNETCORE_ENVIRONMENT": "Development" 18 | } 19 | }, 20 | "AspNetCoreJwtDemo": { 21 | "commandName": "Project", 22 | "launchBrowser": true, 23 | "launchUrl": "weatherforecast", 24 | "applicationUrl": "http://localhost:5000", 25 | "environmentVariables": { 26 | "ASPNETCORE_ENVIRONMENT": "Development" 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.Composition.AttributedModel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.Composition.AttributedModel.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.Composition.Convention.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.Composition.Convention.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.Composition.Hosting.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.Composition.Hosting.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.Composition.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.Composition.Runtime.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.Composition.TypedParts.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.Composition.TypedParts.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.IdentityModel.Tokens.Jwt.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/System.IdentityModel.Tokens.Jwt.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "tokenConfig": { 10 | "secret": "123456789123456789", 11 | "issuer": "test.cn", 12 | "audience": "test", 13 | "accessExpiration": 30, 14 | "refreshExpiration": 60 15 | }, 16 | "AllowedHosts": "*" 17 | } 18 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/cs/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/cs/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/cs/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/cs/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/de/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/de/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/de/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/de/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/de/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/de/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/dotnet-aspnet-codegenerator-design.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/dotnet-aspnet-codegenerator-design.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/es/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/es/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/es/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/es/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/es/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/es/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/fr/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/fr/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/fr/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/fr/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/it/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/it/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/it/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/it/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/it/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/it/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ja/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ja/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ja/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ja/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ko/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ko/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ko/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ko/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pl/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pl/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pl/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pl/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ru/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ru/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ru/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/ru/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/tr/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/tr/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/tr/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/tr/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/bin/Debug/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/AspNetCoreJwtDemo.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "iPVSVes9i13BTk+iTdk7rdO0DHj5WorRH+rPWYh+3IHAr3Z+5ojfeb3YOyooyWIYOEls22eEFFundd9tUZI2mA==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/AspNetCoreJwtDemo.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "C:\\Users\\zhouh\\source\\repos\\AspNetCoreJwtDemo\\AspNetCoreJwtDemo\\AspNetCoreJwtDemo.csproj": {} 5 | }, 6 | "projects": { 7 | "C:\\Users\\zhouh\\source\\repos\\AspNetCoreJwtDemo\\AspNetCoreJwtDemo\\AspNetCoreJwtDemo.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "C:\\Users\\zhouh\\source\\repos\\AspNetCoreJwtDemo\\AspNetCoreJwtDemo\\AspNetCoreJwtDemo.csproj", 11 | "projectName": "AspNetCoreJwtDemo", 12 | "projectPath": "C:\\Users\\zhouh\\source\\repos\\AspNetCoreJwtDemo\\AspNetCoreJwtDemo\\AspNetCoreJwtDemo.csproj", 13 | "packagesPath": "C:\\Users\\zhouh\\.nuget\\packages\\", 14 | "outputPath": "C:\\Users\\zhouh\\source\\repos\\AspNetCoreJwtDemo\\AspNetCoreJwtDemo\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "fallbackFolders": [ 17 | "C:\\Microsoft\\Xamarin\\NuGet\\", 18 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 19 | ], 20 | "configFilePaths": [ 21 | "C:\\Users\\zhouh\\AppData\\Roaming\\NuGet\\NuGet.Config", 22 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", 23 | "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" 24 | ], 25 | "originalTargetFrameworks": [ 26 | "netcoreapp3.1" 27 | ], 28 | "sources": { 29 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 30 | "https://api.nuget.org/v3/index.json": {} 31 | }, 32 | "frameworks": { 33 | "netcoreapp3.1": { 34 | "projectReferences": {} 35 | } 36 | }, 37 | "warningProperties": { 38 | "warnAsError": [ 39 | "NU1605" 40 | ] 41 | } 42 | }, 43 | "frameworks": { 44 | "netcoreapp3.1": { 45 | "dependencies": { 46 | "Microsoft.AspNetCore.Authentication.JwtBearer": { 47 | "target": "Package", 48 | "version": "[3.1.1, )" 49 | }, 50 | "Microsoft.VisualStudio.Web.CodeGeneration.Design": { 51 | "target": "Package", 52 | "version": "[3.1.1, )" 53 | } 54 | }, 55 | "imports": [ 56 | "net461", 57 | "net462", 58 | "net47", 59 | "net471", 60 | "net472", 61 | "net48" 62 | ], 63 | "assetTargetFallback": true, 64 | "warn": true, 65 | "frameworkReferences": { 66 | "Microsoft.AspNetCore.App": { 67 | "privateAssets": "none" 68 | }, 69 | "Microsoft.NETCore.App": { 70 | "privateAssets": "all" 71 | } 72 | }, 73 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.100\\RuntimeIdentifierGraph.json" 74 | } 75 | } 76 | } 77 | } 78 | } -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/AspNetCoreJwtDemo.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\zhouh\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder 9 | PackageReference 10 | 5.4.0 11 | 12 | 13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 14 | 15 | 16 | C:\Users\zhouh\.nuget\packages\microsoft.codeanalysis.analyzers\2.9.4 17 | 18 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/AspNetCoreJwtDemo.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.42000 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("AspNetCoreJwtDemo")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("AspNetCoreJwtDemo")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("AspNetCoreJwtDemo")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // 由 MSBuild WriteCodeFragment 类生成。 23 | 24 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 612aee6aa29bb9e3dfca21978ff593dfccf3fc0e 2 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.MvcApplicationPartsAssemblyInfo.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.MvcApplicationPartsAssemblyInfo.cache -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.RazorTargetAssemblyInfo.cache: -------------------------------------------------------------------------------- 1 | a12a44b9ca41fbd520667c73efef057d12b8444e 2 | -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.assets.cache -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.csproj.CopyComplete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.csproj.CopyComplete -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.dll -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.exe -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/AspNetCoreJwtDemo.pdb -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/staticwebassets/AspNetCoreJwtDemo.StaticWebAssets.Manifest.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenJigg/C-_VideoCode/fdda6cb40b15ccf78defe3c40e7ca004ed125f45/AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/staticwebassets/AspNetCoreJwtDemo.StaticWebAssets.Manifest.cache -------------------------------------------------------------------------------- /AspNetCoreJwtDemo/AspNetCoreJwtDemo/obj/Debug/netcoreapp3.1/staticwebassets/AspNetCoreJwtDemo.StaticWebAssets.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 henjigg 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /LiveChartSample/LiveChartApp/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /LiveChartSample/LiveChartApp/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /LiveChartSample/LiveChartApp/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace LiveChartApp 10 | { 11 | /// 12 | /// App.xaml 的交互逻辑 13 | /// 14 | public partial class App : Application 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /LiveChartSample/LiveChartApp/MainWindow.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |