├── .gitignore ├── .swp ├── ConsoleApp ├── AotuPlugin │ ├── PluginControl.cs │ └── PluginLoadContext.cs ├── CatFramework │ ├── Attributes.cs │ ├── Cat.cs │ ├── CatExtension.cs │ ├── Demo.cs │ └── ServiceRegistry.cs ├── ConsoleApp.csproj ├── MiniAspNet │ ├── ApplicationBuilder.cs │ ├── Extensions.cs │ ├── HttpContext.cs │ ├── HttpFeature.cs │ ├── HttpListenerServer.cs │ ├── RequestDelegate.cs │ ├── Tester.cs │ ├── WebHost.cs │ └── WebHostBuilder.cs ├── MyDITestClass.cs ├── PerformanceCounter │ └── PerformanceCounterListener.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── README.md └── ScoreRank │ ├── RankBinaryTree.cs │ └── TreeTester.cs ├── GrpcClient ├── AccountClientImpl.cs ├── GrpcClient.csproj ├── Program.cs └── Protos │ ├── account.proto │ └── greet.proto ├── GrpcServer ├── GrpcServer.csproj ├── Program.cs ├── Properties │ └── launchSettings.json ├── Protos │ ├── account.proto │ └── greet.proto ├── Services │ ├── AccountService.cs │ └── GreeterService.cs ├── Startup.cs ├── appsettings.Development.json └── appsettings.json ├── LibraryPlugin ├── LibraryPlugin.csproj ├── PluginTest.cs ├── app.config └── testsettings.json ├── LibraryTemplate ├── .template.config │ └── template.json ├── Class1.cs ├── LibraryTemplate.csproj └── LibraryTemplate.nuspec ├── MicroServiceDemo ├── ApiGateway │ ├── ApiGateway.csproj │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ └── ocelot.configuration.json ├── EurekaServer │ ├── .gitignore │ ├── .mvn │ │ └── wrapper │ │ │ ├── MavenWrapperDownloader.java │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── out │ │ └── production │ │ │ └── .mvn │ │ │ ├── MavenWrapperDownloader.class │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── hoho │ │ │ │ └── microservice │ │ │ │ └── EurekaServerApplication.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── hoho │ │ └── microservice │ │ └── EurekaServerApplicationTests.java ├── MicroServiceDemo.sln ├── WebApplication1 │ ├── ApiService1.csproj │ ├── Controllers │ │ ├── CalculationController.cs │ │ └── HealthController.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── WebApplication2 │ ├── ApiService2.csproj │ ├── Controllers │ │ ├── HealthController.cs │ │ └── WeatherController.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── appsettings.Development.json │ ├── appsettings.json │ └── weather_data.json └── global.json ├── MiniAspNetCoreMvc ├── MiniAspNetCoreMvc.csproj ├── MiniMvc │ ├── ActionDescriptor.cs │ ├── ActionEndpointDataSourceBase.cs │ ├── Controller.cs │ ├── ControllerActionDescriptorProvider.cs │ ├── ControllerActionEndpointDataSource.cs │ ├── DefaultActionDescriptorCollectionProvider.cs │ ├── IActionDescriptorCollectionProvider.cs │ ├── IActionDescriptorProvider.cs │ ├── IActionInvoker.cs │ ├── ServiceCollectionExtensions.cs │ └── Tester.cs ├── Program.cs └── Properties │ └── launchSettings.json ├── NetCoreDemo.sln ├── README.md └── WebApp ├── Areas └── Manage │ ├── Controllers │ └── DefaultController.cs │ └── Views │ └── Default │ └── Index.cshtml ├── BloggingContext.cs ├── ColorConsoleLogger.cs ├── Controllers ├── BlogController.cs ├── HomeController.cs ├── PluginsController.cs └── ValueController.cs ├── Filters ├── AddHeaderAttribute.cs └── GlobalExceptionFilter.cs ├── HostingSettingOption.cs ├── JwtTokenAuthMiddleWare.cs ├── Migrations ├── 20181016015328_mfm.Designer.cs ├── 20181016015328_mfm.cs ├── 20181016030527_mfm1.Designer.cs ├── 20181016030527_mfm1.cs └── BloggingContextModelSnapshot.cs ├── Models └── ErrorViewModel.cs ├── Plugins └── MyActionDescriptorChangeProvider.cs ├── Program.cs ├── Properties └── launchSettings.json ├── ProtobufFormatter.cs ├── README.md ├── RequstIPMiddleware.cs ├── RouteConstraint └── EmailRouterConstraint.cs ├── ScaffoldingReadMe.txt ├── Startup.cs ├── TagHelper └── EmailTagHelper.cs ├── Views ├── Blog │ └── Add.cshtml ├── Home │ ├── About.cshtml │ ├── Contact.cshtml │ ├── Index.cshtml │ ├── Privacy.cshtml │ └── Weather.cshtml ├── Shared │ ├── Error.cshtml │ ├── _Layout.cshtml │ └── _ValidationScriptsPartial.cshtml ├── _ViewImports.cshtml └── _ViewStart.cshtml ├── WebApp.csproj ├── WebApp.xml ├── appsettings.Development.json ├── appsettings.json ├── efcoredemo.db ├── hosting.json ├── logs ├── log20191017.txt ├── log20191025.txt └── log20191118.txt └── wwwroot ├── css ├── site.css └── site.min.css ├── favicon.ico ├── images ├── banner1.svg ├── banner2.svg ├── banner3.svg └── banner4.svg └── js ├── site.js └── site.min.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/.gitignore -------------------------------------------------------------------------------- /.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/.swp -------------------------------------------------------------------------------- /ConsoleApp/AotuPlugin/PluginControl.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/AotuPlugin/PluginControl.cs -------------------------------------------------------------------------------- /ConsoleApp/AotuPlugin/PluginLoadContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/AotuPlugin/PluginLoadContext.cs -------------------------------------------------------------------------------- /ConsoleApp/CatFramework/Attributes.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/CatFramework/Attributes.cs -------------------------------------------------------------------------------- /ConsoleApp/CatFramework/Cat.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/CatFramework/Cat.cs -------------------------------------------------------------------------------- /ConsoleApp/CatFramework/CatExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/CatFramework/CatExtension.cs -------------------------------------------------------------------------------- /ConsoleApp/CatFramework/Demo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/CatFramework/Demo.cs -------------------------------------------------------------------------------- /ConsoleApp/CatFramework/ServiceRegistry.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/CatFramework/ServiceRegistry.cs -------------------------------------------------------------------------------- /ConsoleApp/ConsoleApp.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/ConsoleApp.csproj -------------------------------------------------------------------------------- /ConsoleApp/MiniAspNet/ApplicationBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/MiniAspNet/ApplicationBuilder.cs -------------------------------------------------------------------------------- /ConsoleApp/MiniAspNet/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/MiniAspNet/Extensions.cs -------------------------------------------------------------------------------- /ConsoleApp/MiniAspNet/HttpContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/MiniAspNet/HttpContext.cs -------------------------------------------------------------------------------- /ConsoleApp/MiniAspNet/HttpFeature.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/MiniAspNet/HttpFeature.cs -------------------------------------------------------------------------------- /ConsoleApp/MiniAspNet/HttpListenerServer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/MiniAspNet/HttpListenerServer.cs -------------------------------------------------------------------------------- /ConsoleApp/MiniAspNet/RequestDelegate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/MiniAspNet/RequestDelegate.cs -------------------------------------------------------------------------------- /ConsoleApp/MiniAspNet/Tester.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/MiniAspNet/Tester.cs -------------------------------------------------------------------------------- /ConsoleApp/MiniAspNet/WebHost.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/MiniAspNet/WebHost.cs -------------------------------------------------------------------------------- /ConsoleApp/MiniAspNet/WebHostBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/MiniAspNet/WebHostBuilder.cs -------------------------------------------------------------------------------- /ConsoleApp/MyDITestClass.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/MyDITestClass.cs -------------------------------------------------------------------------------- /ConsoleApp/PerformanceCounter/PerformanceCounterListener.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/PerformanceCounter/PerformanceCounterListener.cs -------------------------------------------------------------------------------- /ConsoleApp/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/Program.cs -------------------------------------------------------------------------------- /ConsoleApp/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/Properties/launchSettings.json -------------------------------------------------------------------------------- /ConsoleApp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/README.md -------------------------------------------------------------------------------- /ConsoleApp/ScoreRank/RankBinaryTree.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/ScoreRank/RankBinaryTree.cs -------------------------------------------------------------------------------- /ConsoleApp/ScoreRank/TreeTester.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/ConsoleApp/ScoreRank/TreeTester.cs -------------------------------------------------------------------------------- /GrpcClient/AccountClientImpl.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcClient/AccountClientImpl.cs -------------------------------------------------------------------------------- /GrpcClient/GrpcClient.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcClient/GrpcClient.csproj -------------------------------------------------------------------------------- /GrpcClient/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcClient/Program.cs -------------------------------------------------------------------------------- /GrpcClient/Protos/account.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcClient/Protos/account.proto -------------------------------------------------------------------------------- /GrpcClient/Protos/greet.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcClient/Protos/greet.proto -------------------------------------------------------------------------------- /GrpcServer/GrpcServer.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcServer/GrpcServer.csproj -------------------------------------------------------------------------------- /GrpcServer/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcServer/Program.cs -------------------------------------------------------------------------------- /GrpcServer/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcServer/Properties/launchSettings.json -------------------------------------------------------------------------------- /GrpcServer/Protos/account.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcServer/Protos/account.proto -------------------------------------------------------------------------------- /GrpcServer/Protos/greet.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcServer/Protos/greet.proto -------------------------------------------------------------------------------- /GrpcServer/Services/AccountService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcServer/Services/AccountService.cs -------------------------------------------------------------------------------- /GrpcServer/Services/GreeterService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcServer/Services/GreeterService.cs -------------------------------------------------------------------------------- /GrpcServer/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcServer/Startup.cs -------------------------------------------------------------------------------- /GrpcServer/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcServer/appsettings.Development.json -------------------------------------------------------------------------------- /GrpcServer/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/GrpcServer/appsettings.json -------------------------------------------------------------------------------- /LibraryPlugin/LibraryPlugin.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/LibraryPlugin/LibraryPlugin.csproj -------------------------------------------------------------------------------- /LibraryPlugin/PluginTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/LibraryPlugin/PluginTest.cs -------------------------------------------------------------------------------- /LibraryPlugin/app.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/LibraryPlugin/app.config -------------------------------------------------------------------------------- /LibraryPlugin/testsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/LibraryPlugin/testsettings.json -------------------------------------------------------------------------------- /LibraryTemplate/.template.config/template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/LibraryTemplate/.template.config/template.json -------------------------------------------------------------------------------- /LibraryTemplate/Class1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/LibraryTemplate/Class1.cs -------------------------------------------------------------------------------- /LibraryTemplate/LibraryTemplate.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/LibraryTemplate/LibraryTemplate.csproj -------------------------------------------------------------------------------- /LibraryTemplate/LibraryTemplate.nuspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/LibraryTemplate/LibraryTemplate.nuspec -------------------------------------------------------------------------------- /MicroServiceDemo/ApiGateway/ApiGateway.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/ApiGateway/ApiGateway.csproj -------------------------------------------------------------------------------- /MicroServiceDemo/ApiGateway/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/ApiGateway/Program.cs -------------------------------------------------------------------------------- /MicroServiceDemo/ApiGateway/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/ApiGateway/Properties/launchSettings.json -------------------------------------------------------------------------------- /MicroServiceDemo/ApiGateway/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/ApiGateway/Startup.cs -------------------------------------------------------------------------------- /MicroServiceDemo/ApiGateway/ocelot.configuration.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/ApiGateway/ocelot.configuration.json -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/.gitignore -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/.mvn/wrapper/MavenWrapperDownloader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/.mvn/wrapper/MavenWrapperDownloader.java -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/mvnw -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/mvnw.cmd -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/out/production/.mvn/MavenWrapperDownloader.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/out/production/.mvn/MavenWrapperDownloader.class -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/out/production/.mvn/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/out/production/.mvn/maven-wrapper.jar -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/out/production/.mvn/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/out/production/.mvn/maven-wrapper.properties -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/pom.xml -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/src/main/java/com/hoho/microservice/EurekaServerApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/src/main/java/com/hoho/microservice/EurekaServerApplication.java -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/src/main/resources/application.properties -------------------------------------------------------------------------------- /MicroServiceDemo/EurekaServer/src/test/java/com/hoho/microservice/EurekaServerApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/EurekaServer/src/test/java/com/hoho/microservice/EurekaServerApplicationTests.java -------------------------------------------------------------------------------- /MicroServiceDemo/MicroServiceDemo.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/MicroServiceDemo.sln -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication1/ApiService1.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication1/ApiService1.csproj -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication1/Controllers/CalculationController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication1/Controllers/CalculationController.cs -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication1/Controllers/HealthController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication1/Controllers/HealthController.cs -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication1/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication1/Program.cs -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication1/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication1/Properties/launchSettings.json -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication1/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication1/Startup.cs -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication1/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication1/appsettings.Development.json -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication1/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication1/appsettings.json -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication2/ApiService2.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication2/ApiService2.csproj -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication2/Controllers/HealthController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication2/Controllers/HealthController.cs -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication2/Controllers/WeatherController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication2/Controllers/WeatherController.cs -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication2/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication2/Program.cs -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication2/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication2/Properties/launchSettings.json -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication2/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication2/Startup.cs -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication2/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication2/appsettings.Development.json -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication2/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication2/appsettings.json -------------------------------------------------------------------------------- /MicroServiceDemo/WebApplication2/weather_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/WebApplication2/weather_data.json -------------------------------------------------------------------------------- /MicroServiceDemo/global.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MicroServiceDemo/global.json -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniAspNetCoreMvc.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniAspNetCoreMvc.csproj -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/ActionDescriptor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/ActionDescriptor.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/ActionEndpointDataSourceBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/ActionEndpointDataSourceBase.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/Controller.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/Controller.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/ControllerActionDescriptorProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/ControllerActionDescriptorProvider.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/ControllerActionEndpointDataSource.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/ControllerActionEndpointDataSource.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/DefaultActionDescriptorCollectionProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/DefaultActionDescriptorCollectionProvider.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/IActionDescriptorCollectionProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/IActionDescriptorCollectionProvider.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/IActionDescriptorProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/IActionDescriptorProvider.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/IActionInvoker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/IActionInvoker.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/ServiceCollectionExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/ServiceCollectionExtensions.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/MiniMvc/Tester.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/MiniMvc/Tester.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/Program.cs -------------------------------------------------------------------------------- /MiniAspNetCoreMvc/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/MiniAspNetCoreMvc/Properties/launchSettings.json -------------------------------------------------------------------------------- /NetCoreDemo.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/NetCoreDemo.sln -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NetCoreDemo 2 | -------------------------------------------------------------------------------- /WebApp/Areas/Manage/Controllers/DefaultController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Areas/Manage/Controllers/DefaultController.cs -------------------------------------------------------------------------------- /WebApp/Areas/Manage/Views/Default/Index.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Areas/Manage/Views/Default/Index.cshtml -------------------------------------------------------------------------------- /WebApp/BloggingContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/BloggingContext.cs -------------------------------------------------------------------------------- /WebApp/ColorConsoleLogger.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/ColorConsoleLogger.cs -------------------------------------------------------------------------------- /WebApp/Controllers/BlogController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Controllers/BlogController.cs -------------------------------------------------------------------------------- /WebApp/Controllers/HomeController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Controllers/HomeController.cs -------------------------------------------------------------------------------- /WebApp/Controllers/PluginsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Controllers/PluginsController.cs -------------------------------------------------------------------------------- /WebApp/Controllers/ValueController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Controllers/ValueController.cs -------------------------------------------------------------------------------- /WebApp/Filters/AddHeaderAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Filters/AddHeaderAttribute.cs -------------------------------------------------------------------------------- /WebApp/Filters/GlobalExceptionFilter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Filters/GlobalExceptionFilter.cs -------------------------------------------------------------------------------- /WebApp/HostingSettingOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/HostingSettingOption.cs -------------------------------------------------------------------------------- /WebApp/JwtTokenAuthMiddleWare.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/JwtTokenAuthMiddleWare.cs -------------------------------------------------------------------------------- /WebApp/Migrations/20181016015328_mfm.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Migrations/20181016015328_mfm.Designer.cs -------------------------------------------------------------------------------- /WebApp/Migrations/20181016015328_mfm.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Migrations/20181016015328_mfm.cs -------------------------------------------------------------------------------- /WebApp/Migrations/20181016030527_mfm1.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Migrations/20181016030527_mfm1.Designer.cs -------------------------------------------------------------------------------- /WebApp/Migrations/20181016030527_mfm1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Migrations/20181016030527_mfm1.cs -------------------------------------------------------------------------------- /WebApp/Migrations/BloggingContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Migrations/BloggingContextModelSnapshot.cs -------------------------------------------------------------------------------- /WebApp/Models/ErrorViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Models/ErrorViewModel.cs -------------------------------------------------------------------------------- /WebApp/Plugins/MyActionDescriptorChangeProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Plugins/MyActionDescriptorChangeProvider.cs -------------------------------------------------------------------------------- /WebApp/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Program.cs -------------------------------------------------------------------------------- /WebApp/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Properties/launchSettings.json -------------------------------------------------------------------------------- /WebApp/ProtobufFormatter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/ProtobufFormatter.cs -------------------------------------------------------------------------------- /WebApp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/README.md -------------------------------------------------------------------------------- /WebApp/RequstIPMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/RequstIPMiddleware.cs -------------------------------------------------------------------------------- /WebApp/RouteConstraint/EmailRouterConstraint.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/RouteConstraint/EmailRouterConstraint.cs -------------------------------------------------------------------------------- /WebApp/ScaffoldingReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/ScaffoldingReadMe.txt -------------------------------------------------------------------------------- /WebApp/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Startup.cs -------------------------------------------------------------------------------- /WebApp/TagHelper/EmailTagHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/TagHelper/EmailTagHelper.cs -------------------------------------------------------------------------------- /WebApp/Views/Blog/Add.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/Blog/Add.cshtml -------------------------------------------------------------------------------- /WebApp/Views/Home/About.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/Home/About.cshtml -------------------------------------------------------------------------------- /WebApp/Views/Home/Contact.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/Home/Contact.cshtml -------------------------------------------------------------------------------- /WebApp/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/Home/Index.cshtml -------------------------------------------------------------------------------- /WebApp/Views/Home/Privacy.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/Home/Privacy.cshtml -------------------------------------------------------------------------------- /WebApp/Views/Home/Weather.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/Home/Weather.cshtml -------------------------------------------------------------------------------- /WebApp/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/Shared/Error.cshtml -------------------------------------------------------------------------------- /WebApp/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/Shared/_Layout.cshtml -------------------------------------------------------------------------------- /WebApp/Views/Shared/_ValidationScriptsPartial.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/Shared/_ValidationScriptsPartial.cshtml -------------------------------------------------------------------------------- /WebApp/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/_ViewImports.cshtml -------------------------------------------------------------------------------- /WebApp/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/Views/_ViewStart.cshtml -------------------------------------------------------------------------------- /WebApp/WebApp.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/WebApp.csproj -------------------------------------------------------------------------------- /WebApp/WebApp.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/WebApp.xml -------------------------------------------------------------------------------- /WebApp/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/appsettings.Development.json -------------------------------------------------------------------------------- /WebApp/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/appsettings.json -------------------------------------------------------------------------------- /WebApp/efcoredemo.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/efcoredemo.db -------------------------------------------------------------------------------- /WebApp/hosting.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/hosting.json -------------------------------------------------------------------------------- /WebApp/logs/log20191017.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/logs/log20191017.txt -------------------------------------------------------------------------------- /WebApp/logs/log20191025.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/logs/log20191025.txt -------------------------------------------------------------------------------- /WebApp/logs/log20191118.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/logs/log20191118.txt -------------------------------------------------------------------------------- /WebApp/wwwroot/css/site.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/wwwroot/css/site.css -------------------------------------------------------------------------------- /WebApp/wwwroot/css/site.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/wwwroot/css/site.min.css -------------------------------------------------------------------------------- /WebApp/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/wwwroot/favicon.ico -------------------------------------------------------------------------------- /WebApp/wwwroot/images/banner1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/wwwroot/images/banner1.svg -------------------------------------------------------------------------------- /WebApp/wwwroot/images/banner2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/wwwroot/images/banner2.svg -------------------------------------------------------------------------------- /WebApp/wwwroot/images/banner3.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/wwwroot/images/banner3.svg -------------------------------------------------------------------------------- /WebApp/wwwroot/images/banner4.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/wwwroot/images/banner4.svg -------------------------------------------------------------------------------- /WebApp/wwwroot/js/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hey-hoho/NetCoreDemo/HEAD/WebApp/wwwroot/js/site.js -------------------------------------------------------------------------------- /WebApp/wwwroot/js/site.min.js: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------