├── Backup
├── global.json
├── Tests
│ ├── Tests.xproj.user
│ ├── project.json
│ └── Tests.xproj
├── AspNetCore
│ ├── YOYO.Extensions.DI
│ │ ├── YOYO.Extensions.DI.xproj.user
│ │ ├── project.json
│ │ └── YOYO.Extensions.DI.xproj
│ ├── YOYO.AspNetCore.Mvc
│ │ ├── YOYO.AspNetCore.Mvc.xproj.user
│ │ ├── project.json
│ │ └── YOYO.AspNetCore.Mvc.xproj
│ ├── YOYO.AspNetCore.Owin
│ │ ├── YOYO.AspNetCore.Owin.xproj.user
│ │ ├── project.json
│ │ └── YOYO.AspNetCore.Owin.xproj
│ ├── YOYO.AspNetCore.Builder
│ │ ├── YOYO.AspNetCore.Builder.xproj.user
│ │ ├── project.json
│ │ └── YOYO.AspNetCore.Builder.xproj
│ └── YOYO.AspNetCore.ViewEngine.Razor
│ │ ├── YOYO.AspNetCore.ViewEngine.Razor.xproj.user
│ │ ├── project.json
│ │ └── YOYO.AspNetCore.ViewEngine.Razor.xproj
├── Native
│ └── LibCaptchaImageWarp
│ │ ├── LibCaptchaImageWarp.xproj.user
│ │ ├── project.json
│ │ └── LibCaptchaImageWarp.xproj
└── Hosts
│ ├── NET451OwinHost
│ ├── NET451_Core_OwinHost.xproj.user
│ ├── project.json
│ └── NET451_Core_OwinHost.xproj
│ └── CoreHost
│ ├── CoreAppHost.xproj.user
│ ├── project.json
│ └── CoreAppHost.xproj
├── XUnitTestProject1
├── obj
│ ├── Debug
│ │ └── netcoreapp2.0
│ │ │ ├── XUnitTestProject1.csproj.CopyComplete
│ │ │ ├── XUnitTestProject1.AssemblyInfoInputs.cache
│ │ │ ├── XUnitTestProject1.csproj.CoreCompileInputs.cache
│ │ │ ├── XUnitTestProject1.dll
│ │ │ ├── XUnitTestProject1.pdb
│ │ │ ├── XUnitTestProject1.Program.cs
│ │ │ ├── XUnitTestProject1.csprojResolveAssemblyReference.cache
│ │ │ ├── XUnitTestProject1.AssemblyInfo.cs
│ │ │ └── XUnitTestProject1.csproj.FileListAbsolute.txt
│ ├── XUnitTestProject1.csproj.nuget.cache
│ ├── XUnitTestProject1.csproj.nuget.g.targets
│ └── XUnitTestProject1.csproj.nuget.g.props
├── bin
│ └── Debug
│ │ └── netcoreapp2.0
│ │ ├── XUnitTestProject1.dll
│ │ ├── XUnitTestProject1.pdb
│ │ ├── xunit.runner.utility.netstandard15.dll
│ │ ├── YOYOFx.Extensions.DependencyInjection.dll
│ │ ├── YOYOFx.Extensions.DependencyInjection.pdb
│ │ ├── xunit.runner.reporters.netstandard15.dll
│ │ ├── xunit.runner.visualstudio.dotnetcore.testadapter.dll
│ │ ├── XUnitTestProject1.runtimeconfig.json
│ │ └── XUnitTestProject1.runtimeconfig.dev.json
├── UnitTest1.cs
└── XUnitTestProject1.csproj
├── AspNetCore
├── YOYOFx.Extensions.DependencyInjection
│ ├── obj
│ │ ├── Debug
│ │ │ ├── net451
│ │ │ │ ├── YOYO.Extensions.DI.csproj.CopyComplete
│ │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ │ │ ├── YOYO.Extensions.DI.AssemblyInfoInputs.cache
│ │ │ │ ├── YOYO.Extensions.DI.csproj.CoreCompileInputs.cache
│ │ │ │ ├── YOYO.Extensions.DI.dll
│ │ │ │ ├── YOYO.Extensions.DI.pdb
│ │ │ │ ├── YOYO.Extensions.DI.csprojResolveAssemblyReference.cache
│ │ │ │ ├── YOYO.Extensions.DI.AssemblyInfo.cs
│ │ │ │ └── YOYO.Extensions.DI.csproj.FileListAbsolute.txt
│ │ │ ├── netstandard2.0
│ │ │ │ ├── YOYOFx.Extensions.DependencyInjection.csproj.CopyComplete
│ │ │ │ ├── YOYO.Extensions.DI.AssemblyInfoInputs.cache
│ │ │ │ ├── YOYO.Extensions.DI.csproj.CoreCompileInputs.cache
│ │ │ │ ├── YOYOFx.Extensions.DI.AssemblyInfoInputs.cache
│ │ │ │ ├── YOYOFx.Extensions.DI.csproj.CoreCompileInputs.cache
│ │ │ │ ├── YOYOFx.Extensions.DependencyInjection.AssemblyInfoInputs.cache
│ │ │ │ ├── YOYOFx.Extensions.DependencyInjection.csproj.CoreCompileInputs.cache
│ │ │ │ ├── YOYOFx.Extensions.DependencyInjection.dll
│ │ │ │ ├── YOYOFx.Extensions.DependencyInjection.pdb
│ │ │ │ ├── YOYO.Extensions.DI.csproj.FileListAbsolute.txt
│ │ │ │ ├── YOYO.Extensions.DI.AssemblyInfo.cs
│ │ │ │ ├── YOYOFx.Extensions.DI.AssemblyInfo.cs
│ │ │ │ └── YOYOFx.Extensions.DependencyInjection.AssemblyInfo.cs
│ │ │ └── netstandard1.6
│ │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ │ │ ├── YOYO.Extensions.DI.AssemblyInfoInputs.cache
│ │ │ │ ├── YOYO.Extensions.DI.csproj.CoreCompileInputs.cache
│ │ │ │ ├── YOYO.Extensions.DI.dll
│ │ │ │ ├── YOYO.Extensions.DI.pdb
│ │ │ │ ├── YOYO.Extensions.DI.csprojResolveAssemblyReference.cache
│ │ │ │ ├── YOYO.Extensions.DI.AssemblyInfo.cs
│ │ │ │ └── YOYO.Extensions.DI.csproj.FileListAbsolute.txt
│ │ ├── YOYO.Extensions.DI.csproj.nuget.cache
│ │ ├── YOYOFx.Extensions.DI.csproj.nuget.cache
│ │ ├── YOYOFx.Extensions.DependencyInjection.csproj.nuget.cache
│ │ ├── YOYOFx.Extensions.DependencyInjection.csproj.nuget.g.targets
│ │ ├── YOYO.Extensions.DI.csproj.nuget.g.targets
│ │ ├── YOYOFx.Extensions.DI.csproj.nuget.g.targets
│ │ ├── YOYO.Extensions.DI.csproj.nuget.g.props
│ │ ├── YOYOFx.Extensions.DI.csproj.nuget.g.props
│ │ └── YOYOFx.Extensions.DependencyInjection.csproj.nuget.g.props
│ ├── Registration
│ │ ├── ISelector.cs
│ │ ├── IAssemblySelector.cs
│ │ ├── IImplementationTypeSelector.cs
│ │ ├── TypeMap.cs
│ │ ├── IFluentInterface.cs
│ │ └── ILifetimeSelector.cs
│ ├── bin
│ │ └── Debug
│ │ │ ├── net451
│ │ │ ├── YOYO.Extensions.DI.dll
│ │ │ ├── YOYO.Extensions.DI.pdb
│ │ │ ├── Microsoft.Extensions.DependencyInjection.dll
│ │ │ ├── System.Runtime.InteropServices.RuntimeInformation.dll
│ │ │ └── Microsoft.Extensions.DependencyInjection.Abstractions.dll
│ │ │ ├── netstandard1.6
│ │ │ ├── YOYO.Extensions.DI.dll
│ │ │ └── YOYO.Extensions.DI.pdb
│ │ │ └── netstandard2.0
│ │ │ ├── YOYOFx.Extensions.DependencyInjection.dll
│ │ │ └── YOYOFx.Extensions.DependencyInjection.pdb
│ ├── Attributes
│ │ ├── InjectAttribute.cs
│ │ └── ServiceDescriptorAttribute.cs
│ ├── YOYOFx.Extensions.DependencyInjection.csproj
│ ├── ServiceTypeMetadata.cs
│ ├── AOP
│ │ ├── IMethodInterceptor.cs
│ │ ├── MethodInterceptorAttribute.cs
│ │ ├── IInvocation.cs
│ │ ├── InvocationProxyFactory.cs
│ │ └── DynamicProxy.cs
│ ├── Internal
│ │ └── StructTuple.cs
│ ├── ServiceProviderExtensions.cs
│ └── ServiceTypesContext.cs
├── YOYOFx.Extensions.Utils
│ ├── obj
│ │ ├── Debug
│ │ │ └── netstandard2.0
│ │ │ │ ├── YOYOFx.Extensions.Utils.AssemblyInfoInputs.cache
│ │ │ │ ├── YOYOFx.Extensions.Utils.csproj.CoreCompileInputs.cache
│ │ │ │ ├── YOYOFx.Extensions.Utils.dll
│ │ │ │ ├── YOYOFx.Extensions.Utils.pdb
│ │ │ │ ├── YOYOFx.Extensions.Utils.csprojResolveAssemblyReference.cache
│ │ │ │ ├── YOYOFx.Extensions.Utils.AssemblyInfo.cs
│ │ │ │ └── YOYOFx.Extensions.Utils.csproj.FileListAbsolute.txt
│ │ ├── YOYOFx.Extensions.Utils.csproj.nuget.cache
│ │ ├── YOYOFx.Extensions.Utils.csproj.nuget.g.targets
│ │ └── YOYOFx.Extensions.Utils.csproj.nuget.g.props
│ ├── YOYOFx.Extensions.Utils.csproj
│ ├── bin
│ │ └── Debug
│ │ │ └── netstandard2.0
│ │ │ ├── YOYOFx.Extensions.Utils.dll
│ │ │ ├── YOYOFx.Extensions.Utils.pdb
│ │ │ └── YOYOFx.Extensions.Utils.deps.json
│ └── FastReflection
│ │ └── StructTuple.cs
├── YOYO.AspNetCore.Mvc
│ ├── Route
│ │ ├── HttpMethod.cs
│ │ ├── SegmentType.cs
│ │ ├── IRouteHandler.cs
│ │ ├── IRouteBuilder.cs
│ │ ├── HttpGet.cs
│ │ ├── HttpPost.cs
│ │ ├── HttpRoute.cs
│ │ ├── RouteHandler.cs
│ │ ├── RouteResolveResult.cs
│ │ ├── RouteHandlerFactory.cs
│ │ └── RouteSegment.cs
│ ├── YOYOFxOptions.cs
│ ├── Reflection
│ │ └── ReflectionUtils .cs
│ ├── ControllerLoader.cs
│ ├── IActionResult.cs
│ ├── Session
│ │ ├── ISession.cs
│ │ ├── ISessionProvider.cs
│ │ ├── CookieSession.cs
│ │ └── SessionsStore.cs
│ ├── ActionRuntime
│ │ ├── IControllerFacotry.cs
│ │ ├── IActionRuntimeProvider.cs
│ │ ├── DefaultControllerFactory.cs
│ │ ├── ActionRuntimeManager.cs
│ │ └── ActionRuntimeParameter.cs
│ ├── ResponseProcessor
│ │ ├── IResponseProcessor.cs
│ │ ├── ResponseProcessor.cs
│ │ ├── TextResponseProcessor.cs
│ │ ├── ResponseProcessorFactory.cs
│ │ ├── JsonResponseProcessor.cs
│ │ └── XmlResponseProcessor.cs
│ ├── IYOYOBootstrapper.cs
│ ├── ActionFilterAttribute.cs
│ ├── Extensions
│ │ ├── TypeExtensions.cs
│ │ ├── ParameterInfoExtensions.cs
│ │ └── StringExtensions.cs
│ ├── IViewEngine.cs
│ ├── Filters
│ │ ├── NoCacheAttribute.cs
│ │ └── TimeStampEncryptAttribute.cs
│ ├── View.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── DynamicDictionary.cs
│ ├── ActionExecuteContext.cs
│ ├── ViewEngineFactory.cs
│ ├── Application.cs
│ ├── DefaultBootstrapper.cs
│ ├── Controller.cs
│ ├── Owin
│ │ └── OwinMiddleware.cs
│ ├── YOYO.AspNetCore.Mvc.csproj
│ └── FileResult.cs
├── YOYO.AspNetCore.ViewEngine.Razor
│ ├── CodeGenerateResult.cs
│ ├── IRazorCompileService.cs
│ ├── ITemplateService.cs
│ ├── CompileResult.cs
│ ├── IRazorView.cs
│ ├── RazorViewTemplate'1.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── TemplateLocator.cs
│ ├── RenderTemplateContext.cs
│ ├── YOYO.AspNetCore.ViewEngine.Razor.csproj
│ ├── RazorViewEngine.cs
│ ├── CodeGenerateService.cs
│ └── RazorView.cs
├── YOYO.AspNetCore.Owin
│ ├── IFormData.cs
│ ├── IHttpHeaders.cs
│ ├── IOwinContext.cs
│ ├── Helper
│ │ └── UrlHelper.cs
│ ├── Pipeline
│ │ ├── IPipelineComponent.cs
│ │ ├── IPipeline.cs
│ │ ├── MiddleWareDelegateComponent.cs
│ │ ├── PipelineComponent.cs
│ │ └── Pipeline.cs
│ ├── OwinFunc.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── YOYO.AspNetCore.Owin.csproj
│ ├── IResponseHeaders.cs
│ ├── IOwinResponse.cs
│ ├── IRequestHeaders.cs
│ ├── IOwinRequest.cs
│ ├── IPostedFile.cs
│ ├── RequestCookieCollection.cs
│ ├── CookieOptions.cs
│ └── QueryString.cs
└── YOYO.AspNetCore.Builder
│ ├── Properties
│ └── AssemblyInfo.cs
│ └── YOYO.AspNetCore.Builder.csproj
├── Boot
└── YOYOFx.Boot
│ ├── obj
│ ├── Debug
│ │ └── netstandard2.0
│ │ │ ├── YOYOFx.Boot.AssemblyInfoInputs.cache
│ │ │ ├── YOYOFx.Boot.csproj.CoreCompileInputs.cache
│ │ │ ├── YOYOFx.Boot.dll
│ │ │ ├── YOYOFx.Boot.pdb
│ │ │ ├── YOYOFx.Boot.csproj.FileListAbsolute.txt
│ │ │ └── YOYOFx.Boot.AssemblyInfo.cs
│ ├── YOYOFx.Boot.csproj.nuget.cache
│ ├── YOYOFx.Boot.csproj.nuget.g.targets
│ └── YOYOFx.Boot.csproj.nuget.g.props
│ ├── bin
│ └── Debug
│ │ └── netstandard2.0
│ │ ├── YOYOFx.Boot.dll
│ │ ├── YOYOFx.Boot.pdb
│ │ └── YOYOFx.Boot.deps.json
│ ├── YOYOFx.Boot.csproj
│ ├── IApplication.cs
│ └── Application.cs
├── Native
├── LibCaptchaImageWarp
│ ├── libcaptchaimage.so
│ ├── libcaptchaimage.dll
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── LibCaptchaImageWarp.csproj
└── LibCaptchaImage
│ ├── LibCaptchaImage.vcxproj.user
│ ├── stdafx.cpp
│ ├── targetver.h
│ ├── ReadMe.txt
│ ├── dllmain.cpp
│ ├── stdafx.h
│ ├── CaptchaImage.h
│ └── LibCaptchaImage.vcxproj.filters
├── YOYOFx.ConsoleSample
├── Program.cs
└── YOYOFx.ConsoleSample.csproj
├── .vscode
├── tasks.json
└── launch.json
├── Tests
├── ServiceCollectionExtensions.cs
└── Tests.csproj
├── Notepad
└── ASP.NET Core 总结1.md
├── README.md
└── .gitignore
/Backup/global.json:
--------------------------------------------------------------------------------
1 | {
2 | "projects": [ "src", "AspNetCore" ]
3 | }
--------------------------------------------------------------------------------
/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.csproj.CopyComplete:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/YOYO.Extensions.DI.csproj.CopyComplete:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/obj/Debug/netstandard2.0/YOYOFx.Boot.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 668a5c0d0b018331b0d7e8b3f8ba52d9c356925c
2 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.csproj.CopyComplete:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/obj/Debug/netstandard2.0/YOYOFx.Boot.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 7065cecde0f7036415f956a3bdb4fe533162d34f
2 |
--------------------------------------------------------------------------------
/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 8b5bd1f6fc5fd804dd0bd3a027675b541cca84d1
2 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | e15d34b5596b89d3f724166abb959bfcbcfd5b36
2 |
--------------------------------------------------------------------------------
/Native/LibCaptchaImageWarp/libcaptchaimage.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/Native/LibCaptchaImageWarp/libcaptchaimage.so
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.Utils/obj/Debug/netstandard2.0/YOYOFx.Extensions.Utils.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 55c5235dbbd1391dcd257773471b114a0f3b29d2
2 |
--------------------------------------------------------------------------------
/Native/LibCaptchaImageWarp/libcaptchaimage.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/Native/LibCaptchaImageWarp/libcaptchaimage.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/YOYO.Extensions.DI.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 873c302a81d47c436a3de93c4106ba9e18a9e7cb
2 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Route/HttpMethod.cs:
--------------------------------------------------------------------------------
1 | namespace YOYO.Mvc.Route
2 | {
3 | public enum HttpMethod
4 | {
5 | Get,Post,Both
6 | }
7 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/YOYO.Extensions.DI.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 23e053be2d270745dada98045600decc3950cdcf
2 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/YOYO.Extensions.DI.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 873c302a81d47c436a3de93c4106ba9e18a9e7cb
2 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYO.Extensions.DI.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | ffc20d046f68ecbdbc46b30152661eb89dbf2aa1
2 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.Utils/obj/Debug/netstandard2.0/YOYOFx.Extensions.Utils.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | e613b1b6dec97d66562008b0fd6cab15e2f28d4b
2 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/YOYO.Extensions.DI.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 988ff73c6ee0f5572b9782fe2363c0bfff9b5526
2 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYO.Extensions.DI.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | f98de16572cbaa0eb7965d2df1f1fd800fdbd862
2 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYOFx.Extensions.DI.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 0698a714bc3e3b0a8434b7022d1d5000f8826329
2 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYOFx.Extensions.DI.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | f98de16572cbaa0eb7965d2df1f1fd800fdbd862
2 |
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/bin/Debug/netstandard2.0/YOYOFx.Boot.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/Boot/YOYOFx.Boot/bin/Debug/netstandard2.0/YOYOFx.Boot.dll
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/bin/Debug/netstandard2.0/YOYOFx.Boot.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/Boot/YOYOFx.Boot/bin/Debug/netstandard2.0/YOYOFx.Boot.pdb
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/obj/Debug/netstandard2.0/YOYOFx.Boot.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/Boot/YOYOFx.Boot/obj/Debug/netstandard2.0/YOYOFx.Boot.dll
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/obj/Debug/netstandard2.0/YOYOFx.Boot.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/Boot/YOYOFx.Boot/obj/Debug/netstandard2.0/YOYOFx.Boot.pdb
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | c1d51d1f16428ba7970aa38c142c3325ca763211
2 |
--------------------------------------------------------------------------------
/XUnitTestProject1/bin/Debug/netcoreapp2.0/XUnitTestProject1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/bin/Debug/netcoreapp2.0/XUnitTestProject1.dll
--------------------------------------------------------------------------------
/XUnitTestProject1/bin/Debug/netcoreapp2.0/XUnitTestProject1.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/bin/Debug/netcoreapp2.0/XUnitTestProject1.pdb
--------------------------------------------------------------------------------
/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.dll
--------------------------------------------------------------------------------
/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.pdb
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 580e7a72b4ccea1df13894896d2bc5ad5d175276
2 |
--------------------------------------------------------------------------------
/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.Program.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.Program.cs
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/YOYOFx.Boot.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/Registration/ISelector.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/Registration/ISelector.cs
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/obj/YOYOFx.Boot.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "VUIKpmI83LfiXbO7AM5rn9mmEiyLWUppXnqqyqpc6lC8lylI3YIw8y6qBhiECz0hYGUJnonijhRfThJmxMrM0g==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Route/SegmentType.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace YOYO.Mvc
4 | {
5 | public enum SegmentType
6 | {
7 | Role,
8 | Directory,
9 | Parameter
10 | }
11 | }
12 |
13 |
--------------------------------------------------------------------------------
/XUnitTestProject1/bin/Debug/netcoreapp2.0/xunit.runner.utility.netstandard15.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/bin/Debug/netcoreapp2.0/xunit.runner.utility.netstandard15.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/Registration/IAssemblySelector.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/Registration/IAssemblySelector.cs
--------------------------------------------------------------------------------
/Native/LibCaptchaImage/LibCaptchaImage.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/XUnitTestProject1/bin/Debug/netcoreapp2.0/YOYOFx.Extensions.DependencyInjection.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/bin/Debug/netcoreapp2.0/YOYOFx.Extensions.DependencyInjection.dll
--------------------------------------------------------------------------------
/XUnitTestProject1/bin/Debug/netcoreapp2.0/YOYOFx.Extensions.DependencyInjection.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/bin/Debug/netcoreapp2.0/YOYOFx.Extensions.DependencyInjection.pdb
--------------------------------------------------------------------------------
/XUnitTestProject1/bin/Debug/netcoreapp2.0/xunit.runner.reporters.netstandard15.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/bin/Debug/netcoreapp2.0/xunit.runner.reporters.netstandard15.dll
--------------------------------------------------------------------------------
/XUnitTestProject1/obj/XUnitTestProject1.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "GBgi6WFKPaFBoB7PKfcrnKvRJGye4DMESYaKeP81UafMPzxPBgVQkP4BvcQ+QM7NLFCpJtIYz+gbEDlHY43iWA==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/net451/YOYO.Extensions.DI.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/net451/YOYO.Extensions.DI.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/net451/YOYO.Extensions.DI.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/net451/YOYO.Extensions.DI.pdb
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/YOYO.Extensions.DI.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/YOYO.Extensions.DI.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/YOYO.Extensions.DI.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/YOYO.Extensions.DI.pdb
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.Utils/YOYOFx.Extensions.Utils.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.Utils/bin/Debug/netstandard2.0/YOYOFx.Extensions.Utils.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.Utils/bin/Debug/netstandard2.0/YOYOFx.Extensions.Utils.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.Utils/bin/Debug/netstandard2.0/YOYOFx.Extensions.Utils.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.Utils/bin/Debug/netstandard2.0/YOYOFx.Extensions.Utils.pdb
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.Utils/obj/Debug/netstandard2.0/YOYOFx.Extensions.Utils.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.Utils/obj/Debug/netstandard2.0/YOYOFx.Extensions.Utils.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.Utils/obj/Debug/netstandard2.0/YOYOFx.Extensions.Utils.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.Utils/obj/Debug/netstandard2.0/YOYOFx.Extensions.Utils.pdb
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/Registration/IImplementationTypeSelector.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/Registration/IImplementationTypeSelector.cs
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.Utils/obj/YOYOFx.Extensions.Utils.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "uVHY6AwVp3DzZCJcJ9olYLDX3bRVg1QnUZ0a7WEbhAvcxraI/k/vxof7nOCNu6S3FsLzJYllcjTI5VISzFeGPw==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/XUnitTestProject1/bin/Debug/netcoreapp2.0/xunit.runner.visualstudio.dotnetcore.testadapter.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/bin/Debug/netcoreapp2.0/xunit.runner.visualstudio.dotnetcore.testadapter.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/netstandard1.6/YOYO.Extensions.DI.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/netstandard1.6/YOYO.Extensions.DI.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/netstandard1.6/YOYO.Extensions.DI.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/netstandard1.6/YOYO.Extensions.DI.pdb
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/YOYO.Extensions.DI.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/YOYO.Extensions.DI.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/YOYO.Extensions.DI.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/YOYO.Extensions.DI.pdb
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/YOYO.Extensions.DI.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "wnHX16BKkQNu0zD8nvPzrFESh/qqG0Nlq1KHYaE+KZch2V+sF5x9foJOwavO9972DBdRwr9/AIonjm+ayPujSA==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/YOYOFx.Extensions.DI.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "92qdN6BMMzyBB7KyxVPZ5WeMfzHnr6yQOMcbOV2CAlbWBbhAbsLTlj2pmbX1rkcC47o5OqwDnpuXYehLFWRgyw==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/XUnitTestProject1/obj/Debug/netcoreapp2.0/XUnitTestProject1.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/XUnitTestProject1/bin/Debug/netcoreapp2.0/XUnitTestProject1.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "netcoreapp2.0",
4 | "framework": {
5 | "name": "Microsoft.NETCore.App",
6 | "version": "2.0.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/YOYOFx.Extensions.DependencyInjection.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "HseVIvWqe6KHLFChBUXTwOTI4QjdvwG+FocBB8qscTY0fMxGGwOJThrBna+Tykzcg72FFcvXE0/Ix71h4rpBdQ==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/IApplication.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace YOYOFx.Boot
4 | {
5 | public interface IApplication
6 | {
7 | IApplication Configure(string[] args);
8 | void Start(string[] args);
9 | void Stop();
10 | }
11 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/net451/Microsoft.Extensions.DependencyInjection.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/net451/Microsoft.Extensions.DependencyInjection.dll
--------------------------------------------------------------------------------
/Backup/Tests/Tests.xproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Start
5 |
6 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.pdb
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard2.0/YOYOFx.Extensions.DependencyInjection.pdb
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/net451/System.Runtime.InteropServices.RuntimeInformation.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/net451/System.Runtime.InteropServices.RuntimeInformation.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.Utils/obj/Debug/netstandard2.0/YOYOFx.Extensions.Utils.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.Utils/obj/Debug/netstandard2.0/YOYOFx.Extensions.Utils.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/YOYOFxOptions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Mvc
8 | {
9 | public class YOYOFxOptions
10 | {
11 |
12 |
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/net451/Microsoft.Extensions.DependencyInjection.Abstractions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/bin/Debug/net451/Microsoft.Extensions.DependencyInjection.Abstractions.dll
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/YOYO.Extensions.DI.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/YOYO.Extensions.DI.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/Backup/AspNetCore/YOYO.Extensions.DI/YOYO.Extensions.DI.xproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Start
5 |
6 |
--------------------------------------------------------------------------------
/Backup/Native/LibCaptchaImageWarp/LibCaptchaImageWarp.xproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Start
5 |
6 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/YOYO.Extensions.DI.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yoyofx/NetCore_YOYOFx/HEAD/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/YOYO.Extensions.DI.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/Backup/AspNetCore/YOYO.AspNetCore.Mvc/YOYO.AspNetCore.Mvc.xproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Start
5 |
6 |
--------------------------------------------------------------------------------
/Backup/AspNetCore/YOYO.AspNetCore.Owin/YOYO.AspNetCore.Owin.xproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Start
5 |
6 |
--------------------------------------------------------------------------------
/Backup/Hosts/NET451OwinHost/NET451_Core_OwinHost.xproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | NET451OwinHost
5 |
6 |
--------------------------------------------------------------------------------
/Backup/AspNetCore/YOYO.AspNetCore.Builder/YOYO.AspNetCore.Builder.xproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Start
5 |
6 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Reflection/ReflectionUtils .cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Mvc.Reflection
8 | {
9 | public class ReflectionUtils
10 | {
11 |
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.ViewEngine.Razor/CodeGenerateResult.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace YOYO.AspNetCore.ViewEngine.Razor
4 | {
5 | public class CodeGenerateResult
6 | {
7 | public bool Success { set; get; }
8 |
9 | public List Errors { set; get; }
10 |
11 | }
12 | }
--------------------------------------------------------------------------------
/Backup/AspNetCore/YOYO.AspNetCore.ViewEngine.Razor/YOYO.AspNetCore.ViewEngine.Razor.xproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Start
5 |
6 |
--------------------------------------------------------------------------------
/XUnitTestProject1/bin/Debug/netcoreapp2.0/XUnitTestProject1.runtimeconfig.dev.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "additionalProbingPaths": [
4 | "C:\\Users\\zlhxd\\.dotnet\\store\\|arch|\\|tfm|",
5 | "C:\\Users\\zlhxd\\.nuget\\packages",
6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
7 | ]
8 | }
9 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/ControllerLoader.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Mvc
8 | {
9 | public class ControllerLoader
10 | {
11 | //static IDictionary
12 |
13 |
14 |
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Native/LibCaptchaImage/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // Win32Project1.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/YOYOFx.ConsoleSample/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace YOYOFx.ConsoleSample
4 | {
5 | public class Application
6 | {
7 | static void Main(string[] args)
8 | {
9 | YOYOFx.Boot.Application.Run(typeof(Application),args);
10 |
11 | Console.ReadKey();
12 |
13 |
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Native/LibCaptchaImage/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // Including SDKDDKVer.h defines the highest available Windows platform.
4 |
5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7 |
8 | #include
9 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Route/IRouteHandler.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading;
3 | using System.Threading.Tasks;
4 | using YOYO.Mvc.Route;
5 | using YOYO.Owin;
6 |
7 | namespace YOYO.Mvc
8 | {
9 | public interface IRouteHandler
10 | {
11 | Task ProcessAsync(IOwinContext context,CancellationToken cancellationToken);
12 | }
13 | }
14 |
15 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/IActionResult.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Owin;
7 |
8 | namespace YOYO.Mvc
9 | {
10 | public interface IActionResult
11 | {
12 |
13 | Task ProcessAsync(IOwinContext context);
14 |
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.ViewEngine.Razor/IRazorCompileService.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 |
6 | namespace YOYO.AspNetCore.ViewEngine.Razor
7 | {
8 | public interface IRazorCompileService
9 | {
10 |
11 | Type Compile(string code);
12 |
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/YOYOFx.ConsoleSample/YOYOFx.ConsoleSample.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp2.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/IFormData.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace YOYO.Owin
4 | {
5 | public interface IFormData
6 | {
7 | IList Files { get; }
8 |
9 | bool IsValid { get; }
10 |
11 | string this[string name] { get; }
12 |
13 | IDictionary Values { get; }
14 | }
15 | }
--------------------------------------------------------------------------------
/Native/LibCaptchaImage/ReadMe.txt:
--------------------------------------------------------------------------------
1 | http://www.4byte.cn/question/411/compiling-cimg-with-c-0x-and-mingw.html
2 |
3 |
4 | https://github.com/DoubleSpout/ccap
5 |
6 |
7 | http://www.picb.ac.cn/~xiaohang/vimwiki/tools/librarys/cimg/CImg_reference_chinese.pdf
8 |
9 |
10 |
11 | g++ CaptchaImage.cpp -fPIC -shared -o libcaptchaimage.so
12 |
13 | sudo apt-get install libx11-dev
14 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Session/ISession.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Mvc.Session
8 | {
9 | public interface ISession
10 | {
11 | object this[string key] { set; get; }
12 | string ID { set; get; }
13 |
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.ViewEngine.Razor/ITemplateService.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 |
6 | namespace YOYO.AspNetCore.ViewEngine.Razor
7 | {
8 | public interface ITemplateService
9 | {
10 |
11 | IRazorView GetTemplate(RenderTemplateContext context);
12 |
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/Attributes/InjectAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace YOYOFx.Extensions.DependencyInjection.Attributes
6 | {
7 | [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
8 |
9 | public class InjectAttribute : Attribute
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Session/ISessionProvider.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Owin;
7 |
8 | namespace YOYO.Mvc.Session
9 | {
10 | public interface ISessionProvider
11 | {
12 | Task AccessAsync(IOwinContext context);
13 |
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.ViewEngine.Razor/CompileResult.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 |
6 | namespace YOYO.AspNetCore.ViewEngine.Razor
7 | {
8 | public class CompileResult
9 | {
10 | public bool Success { set; get; }
11 |
12 | public List Errors { set; get; }
13 |
14 |
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/ActionRuntime/IControllerFacotry.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Mvc.ActionRuntime
8 | {
9 | public interface IControllerFacotry
10 | {
11 | Controller CreateController(Type controllerType, IServiceProvider serverProvider);
12 |
13 |
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Backup/AspNetCore/YOYO.Extensions.DI/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "1.0.0-*",
3 | "buildOptions": {
4 | "debugType": "portable"
5 | },
6 | "dependencies": {
7 | "NETStandard.Library": "1.6.0",
8 | "Microsoft.Extensions.DependencyInjection": "1.0.0"
9 | },
10 |
11 | "frameworks": {
12 | "netstandard1.6": {
13 | "imports": "dnxcore50"
14 | },
15 | "net451": {}
16 |
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.ViewEngine.Razor/IRazorView.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 |
6 | namespace YOYO.AspNetCore.ViewEngine.Razor
7 | {
8 | public interface IRazorView
9 | {
10 | RazorViewTemplate Template { get; }
11 |
12 | void SetContext(RenderTemplateContext context);
13 |
14 | void Render();
15 |
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/ResponseProcessor/IResponseProcessor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Owin;
7 |
8 | namespace YOYO.Mvc.ResponseProcessor
9 | {
10 | internal interface IResponseProcessor
11 | {
12 | bool CanProcess();
13 |
14 | Task ProcessAsync(object model);
15 |
16 |
17 |
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/IHttpHeaders.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace YOYO.Owin
4 | {
5 | public interface IHttpHeaders
6 | {
7 | IDictionary Raw { get; }
8 |
9 | void Add(string key, string value);
10 |
11 | void Add(string key, IEnumerable values);
12 |
13 | IEnumerable Enumerate(string key);
14 |
15 | string GetValue(string key);
16 | }
17 | }
--------------------------------------------------------------------------------
/Native/LibCaptchaImage/dllmain.cpp:
--------------------------------------------------------------------------------
1 | // dllmain.cpp : Defines the entry point for the DLL application.
2 | #include "stdafx.h"
3 |
4 | BOOL APIENTRY DllMain( HMODULE hModule,
5 | DWORD ul_reason_for_call,
6 | LPVOID lpReserved
7 | )
8 | {
9 | switch (ul_reason_for_call)
10 | {
11 | case DLL_PROCESS_ATTACH:
12 | case DLL_THREAD_ATTACH:
13 | case DLL_THREAD_DETACH:
14 | case DLL_PROCESS_DETACH:
15 | break;
16 | }
17 | return TRUE;
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/IYOYOBootstrapper.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Mvc.ActionRuntime;
7 |
8 | namespace YOYO.Mvc
9 | {
10 | public interface IYOYOBootstrapper
11 | {
12 | ActionRuntimeManager RuntimeManager { get; }
13 | void Initialise();
14 |
15 | Task InitialiseAsync();
16 |
17 | IEnumerable ViewEngines { get; }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Backup/Hosts/CoreHost/CoreAppHost.xproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Hosts
5 | 11
6 |
7 |
8 | ProjectDebugger
9 |
10 |
--------------------------------------------------------------------------------
/XUnitTestProject1/UnitTest1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xunit;
3 |
4 | namespace XUnitTestProject1
5 | {
6 | public class UnitTest1
7 | {
8 | [Fact]
9 | public void Test1()
10 | {
11 |
12 | var t1= typeof(UserService).GetHashCode();
13 | var t2= typeof(MyService1).GetHashCode();
14 | var t3= typeof(MyService).GetHashCode();
15 |
16 |
17 | var t4 = typeof(UserService).GetHashCode();
18 |
19 |
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Route/IRouteBuilder.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Owin;
7 |
8 | namespace YOYO.Mvc.Route
9 | {
10 | public interface IRouteBuilder
11 | {
12 | IRouteBuilder Map(string role,string defaultControllerName = null, string defaultActionName = null);
13 | IRouteBuilder Map(RouteRole role);
14 | RouteResolveResult Resolve(IOwinRequest request);
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Backup/Native/LibCaptchaImageWarp/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "1.0.0-*",
3 |
4 | "dependencies": {
5 | "NETStandard.Library": "1.6.0",
6 | "Microsoft.Extensions.PlatformAbstractions": "1.0.0-*"
7 | },
8 |
9 | "buildOptions": {
10 | "copyToOutput": [
11 | "libcaptchaimage.so",
12 | "libcaptchaimage.dll"
13 | ] },
14 |
15 | "frameworks": {
16 | "netstandard1.6": {
17 | "imports": "dnxcore50"
18 | },
19 | "net451": {
20 |
21 | }
22 |
23 |
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/ActionFilterAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Owin;
7 |
8 | namespace YOYO.Mvc
9 | {
10 | public class ActionFilterAttribute : System.Attribute
11 | {
12 | public virtual bool OnActionExecuting(ActionExecuteContext context) { return true; }
13 |
14 | public virtual void OnActionExecuted(ActionExecuteContext context) { }
15 |
16 |
17 |
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Route/HttpGet.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading;
3 | using System.Threading.Tasks;
4 | using YOYO.Owin;
5 | using System.Reflection;
6 | using YOYO.Mvc.ResponseProcessor;
7 | using YOYO.Mvc.Session;
8 | using YOYO.Extensions.DI;
9 |
10 | namespace YOYO.Mvc.Route
11 | {
12 | [AttributeUsage(AttributeTargets.Method)]
13 | public class HttpGetAttribute : HttpRouteAttribute
14 | {
15 | public HttpGetAttribute(string urlRole) : base(urlRole) { }
16 |
17 |
18 | }
19 |
20 |
21 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Route/HttpPost.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading;
3 | using System.Threading.Tasks;
4 | using YOYO.Owin;
5 | using System.Reflection;
6 | using YOYO.Mvc.ResponseProcessor;
7 | using YOYO.Mvc.Session;
8 | using YOYO.Extensions.DI;
9 |
10 | namespace YOYO.Mvc.Route
11 | {
12 | [AttributeUsage(AttributeTargets.Method)]
13 | public class HttpPostAttribute : HttpRouteAttribute
14 | {
15 | public HttpPostAttribute(string urlRole): base(urlRole){}
16 |
17 |
18 | }
19 |
20 |
21 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/IOwinContext.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Threading;
3 |
4 | namespace YOYO.Owin
5 | {
6 | public interface IOwinContext
7 | {
8 | CancellationToken CancellationToken { get; }
9 |
10 | IDictionary Environment { get; }
11 |
12 | string OwinVersion { get; }
13 |
14 | IOwinRequest Request { get; }
15 |
16 | IOwinResponse Response { get; }
17 |
18 | IDictionary Items { get; }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Native/LibCaptchaImage/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 | #ifdef _MSC_VER //I'm in VS
8 |
9 | #include "targetver.h"
10 |
11 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
12 | // Windows Header Files:
13 | #include
14 |
15 | #endif
16 |
17 | // TODO: reference additional headers your program requires here
18 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Extensions/TypeExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Reflection;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Mvc.Extensions
8 | {
9 | public static class TypeExtensions
10 | {
11 | public static object GetTypeDefaultValue(this Type type)
12 | {
13 | if (type.GetTypeInfo().IsValueType)
14 | return Activator.CreateInstance(type);
15 |
16 | return null;
17 |
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/ActionRuntime/IActionRuntimeProvider.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Owin;
7 |
8 | namespace YOYO.Mvc.ActionRuntime
9 | {
10 | public interface IActionRuntimeProvider
11 | {
12 | string Name{ get; }
13 |
14 | string[] GetControllerNames ();
15 |
16 | void LoadRuntime(string path);
17 |
18 | object ExecuteAsync (string controllerName, string actionName, IOwinContext context);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/IViewEngine.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Owin;
7 |
8 | namespace YOYO.Mvc
9 | {
10 | public interface IViewEngine
11 | {
12 | string ExtensionName { get; }
13 | string RenderView(IOwinContext context, string viewName, object model , DynamicDictionary viewbag);
14 |
15 | Task RenderViewAsync(IOwinContext context, string viewName, object model, DynamicDictionary viewbag);
16 |
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/.vscode/tasks.json:
--------------------------------------------------------------------------------
1 | {
2 | // See https://go.microsoft.com/fwlink/?LinkId=733558
3 | // for the documentation about the tasks.json format
4 | "version": "0.1.0",
5 | "command": "dotnet",
6 | "isShellCommand": true,
7 | "args": [],
8 | "options": {
9 | "cwd": "${workspaceRoot}/Hosts/CoreHost/"
10 | },
11 | "tasks": [
12 | {
13 | "taskName": "build",
14 | "args": [ ],
15 | "isBuildCommand": true,
16 | "showOutput": "silent",
17 | "problemMatcher": "$msCompile"
18 | }
19 | ]
20 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/Registration/TypeMap.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace YOYOFx.Extensions.DependencyInjection.Registration
5 | {
6 | internal class TypeMap
7 | {
8 | public TypeMap(Type implementationType, IEnumerable serviceTypes)
9 | {
10 | ImplementationType = implementationType;
11 | ServiceTypes = serviceTypes;
12 | }
13 |
14 | public Type ImplementationType { get; }
15 |
16 | public IEnumerable ServiceTypes { get; }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/YOYOFx.Extensions.DependencyInjection.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 | 2.0.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/Helper/UrlHelper.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Owin.Helper
8 | {
9 | internal static class UrlHelper
10 | {
11 | public static string Decode(string value)
12 | {
13 | value = value.Replace("+", " ");
14 | return Uri.UnescapeDataString(value);
15 | }
16 |
17 | public static string Encode(string value)
18 | {
19 | return Uri.EscapeDataString(value);
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Route/HttpRoute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading;
3 | using System.Threading.Tasks;
4 | using YOYO.Owin;
5 | using System.Reflection;
6 | using YOYO.Mvc.ResponseProcessor;
7 | using YOYO.Mvc.Session;
8 | using YOYO.Extensions.DI;
9 |
10 | namespace YOYO.Mvc.Route
11 | {
12 | [AttributeUsage(AttributeTargets.Method)]
13 | public class HttpRouteAttribute : System.Attribute
14 | {
15 | public HttpRouteAttribute(string urlRole)
16 | {
17 | this.UrlRole = urlRole;
18 | }
19 |
20 | public string UrlRole{ set; get; }
21 | }
22 |
23 |
24 | }
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/obj/YOYOFx.Boot.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/ServiceTypeMetadata.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace YOYOFx.Extensions.DependencyInjection
6 | {
7 | public class ServiceTypeMetadata
8 | {
9 | public string Name { set; get; }
10 |
11 | public string NameSpace { set; get; }
12 |
13 | public Type ServiceType { set; get; }
14 |
15 | public string Description { set; get; }
16 |
17 | public object Configuration { set; get; }
18 |
19 | public TConfig GetConfig()
20 | {
21 | return (TConfig)Configuration;
22 | }
23 |
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/Pipeline/IPipelineComponent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Owin;
7 | namespace YOYO.Owin.Pipeline
8 | {
9 | using Env = IDictionary;
10 | //using AppFunc = Func< //
11 | // IDictionary, // owin request environment
12 | // Task // completion signal
13 | // >;
14 |
15 | public interface IPipelineComponent
16 | {
17 | void Connect(AppFunc next);
18 |
19 | Task Execute(Env requestEnvironment);
20 |
21 | void Setup(Env hostEnvironment);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.ViewEngine.Razor/RazorViewTemplate'1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using YOYO.AspNetCore.ViewEngine.Razor;
6 | using YOYO.Mvc;
7 |
8 | namespace YOYO.AspNetCore.ViewEngine.Razor
9 | {
10 |
11 | public abstract class RazorViewTemplate : RazorViewTemplate
12 | {
13 | public T Model { private set; get; }
14 |
15 |
16 |
17 |
18 | public override void SetModel(object model, DynamicDictionary viewbag = null)
19 | {
20 | this.Model = (T)model;
21 | base.SetModel(model, viewbag);
22 | }
23 |
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/Registration/IFluentInterface.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.ComponentModel;
3 |
4 | namespace YOYOFx.Extensions.DependencyInjection.Registration
5 | {
6 | [EditorBrowsable(EditorBrowsableState.Never)]
7 | public interface IFluentInterface
8 | {
9 | [EditorBrowsable(EditorBrowsableState.Never)]
10 | Type GetType();
11 |
12 | [EditorBrowsable(EditorBrowsableState.Never)]
13 | int GetHashCode();
14 |
15 | [EditorBrowsable(EditorBrowsableState.Never)]
16 | string ToString();
17 |
18 | [EditorBrowsable(EditorBrowsableState.Never)]
19 | bool Equals(object obj);
20 | }
21 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.Utils/obj/YOYOFx.Extensions.Utils.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/XUnitTestProject1/XUnitTestProject1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp2.0
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Route/RouteHandler.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading;
6 | using System.Threading.Tasks;
7 | using YOYO.Owin;
8 | using YOYO.Owin.Helper;
9 |
10 | namespace YOYO.Mvc.Route
11 | {
12 | internal abstract class RouteHandler : IRouteHandler
13 | {
14 | protected RouteResolveResult _resolveResult = null;
15 | public RouteHandler(RouteResolveResult resolveResult)
16 | {
17 | _resolveResult = resolveResult;
18 | }
19 |
20 |
21 | public abstract Task ProcessAsync(IOwinContext context, CancellationToken cancellationToken);
22 |
23 | }
24 | }
--------------------------------------------------------------------------------
/Backup/AspNetCore/YOYO.AspNetCore.Owin/project.json:
--------------------------------------------------------------------------------
1 | {
2 |
3 | "description": "",
4 |
5 | "version": "0.1.3-*",
6 |
7 | "dependencies": {
8 |
9 | },
10 |
11 | "buildOptions": {
12 |
13 | "compile": [
14 | "**.cs"
15 | ],
16 | "defines": [ ],
17 | "debugType": "portable"
18 | },
19 | "frameworks": {
20 | "net451": {
21 | "dependencies": {
22 | "System.Xml.XmlSerializer": "4.0.0"
23 | }
24 | },
25 |
26 | "netstandard1.6": {
27 | "dependencies": {
28 | "NETStandard.Library": "1.6.0",
29 | "System.Security.Principal": "4.0.1-*"
30 |
31 | },
32 |
33 | "imports": "dnxcore50"
34 | }
35 |
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Tests/ServiceCollectionExtensions.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.DependencyInjection;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Threading.Tasks;
6 |
7 | namespace Tests
8 | {
9 | internal static class ServiceCollectionExtensions
10 | {
11 | public static ServiceDescriptor GetDescriptor(this IServiceCollection services)
12 | {
13 | return services.GetDescriptors().Single();
14 | }
15 |
16 | public static ServiceDescriptor[] GetDescriptors(this IServiceCollection services)
17 | {
18 | return services.Where(x => x.ServiceType == typeof(T)).ToArray();
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/YOYOFx.Extensions.DependencyInjection.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Filters/NoCacheAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Mvc.Filters
8 | {
9 | public class NoCacheAttribute: ActionFilterAttribute
10 | {
11 | public override bool OnActionExecuting(ActionExecuteContext context)
12 | {
13 | context.HttpContext.Response.Headers.CacheControl = "no-cache, no-store, max-age=0";
14 | context.HttpContext.Response.Headers.Pragma = "no-cache";
15 | context.HttpContext.Response.Headers.Expires = "-1";
16 |
17 |
18 | return base.OnActionExecuting(context);
19 | }
20 |
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/AOP/IMethodInterceptor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Reflection;
4 | using System.Text;
5 |
6 | namespace YOYOFx.Extensions.DependencyInjection.AOP
7 | {
8 | public interface IMethodInterceptor
9 | {
10 | void OnBefore(Type targetType,object target, MethodInfo targetMethod, object[] args);
11 |
12 | object OnAfter(Type targetType, object target, object returnValue ,MethodInfo targetMethod, object[] args);
13 |
14 | void OnException(Type targetType, object target, MethodInfo targetMethod, object[] args ,Exception ex);
15 |
16 | }
17 |
18 | public interface IMethodInterceptor: IMethodInterceptor { }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/Backup/Hosts/NET451OwinHost/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "1.0.0-*",
3 | "buildOptions": {
4 | "emitEntryPoint": true,
5 | "copyToOutput": [
6 | "Views/*.*"
7 | ]
8 | },
9 |
10 |
11 |
12 | "frameworks": {
13 | "net451": {
14 | "dependencies": {
15 | "Owin": "1.0.0",
16 | "Microsoft.Owin": "3.0.1",
17 | "Microsoft.Owin.Hosting": "3.0.1",
18 | "Microsoft.Owin.Host.HttpListener": "3.0.1",
19 | "Microsoft.Owin.StaticFiles": "3.0.1",
20 | "YOYO.AspNetCore.Mvc": "0.1.3-*",
21 | "YOYO.AspNetCore.Owin": "0.1.3-*",
22 | "YOYO.AspNetCore.ViewEngine.Razor": "0.1.3-*",
23 | "YOYO.AspNetCore.Builder": "0.1.3-*"
24 | }
25 | }
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/OwinFunc.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Owin
8 | {
9 | ///
10 | /// owin app func 应用入口函数
11 | ///
12 | /// 环境字典
13 | /// 异步任务
14 | public delegate Task AppFunc(IDictionary env);
15 |
16 | ///
17 | /// Owin 中间件函数
18 | ///
19 | /// 环境字典
20 | /// 上一个应用或中间件函数
21 | /// 异步任务
22 | public delegate Task MiddlewareFunc(IDictionary env, AppFunc appfunc);
23 |
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Route/RouteResolveResult.cs:
--------------------------------------------------------------------------------
1 | namespace YOYO.Mvc.Route
2 | {
3 | using System.Collections;
4 | using System.Collections.Concurrent;
5 | using System.Collections.Generic;
6 |
7 | public class RouteResolveResult
8 | {
9 | public RouteResolveResult()
10 | {
11 | RouteValues = new ConcurrentDictionary();
12 | }
13 |
14 | public string Url { set; get; }
15 |
16 | public string ControllerName
17 | {
18 | set; get;
19 | }
20 |
21 |
22 | public string ActionName { set; get; }
23 |
24 |
25 | public IDictionary RouteValues
26 | {
27 | set; get;
28 | }
29 |
30 |
31 | }
32 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/Pipeline/IPipeline.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Owin.Pipeline
8 | {
9 | using Env = IDictionary;
10 |
11 | using SetupAction = Action< //
12 | IDictionary // owin host environment
13 | >;
14 |
15 | public interface IPipeline
16 | {
17 | AppFunc Build();
18 |
19 | void Setup(Env hostEnvironment);
20 |
21 | void Use(AppFunc app, SetupAction setup = null);
22 |
23 | IPipeline Use(MiddlewareFunc middleware, SetupAction setup = null);
24 |
25 | IPipeline Use(IPipelineComponent component);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/YOYO.Extensions.DI.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/YOYOFx.Extensions.DI.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/ActionRuntime/DefaultControllerFactory.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Reflection;
7 | using Microsoft.Extensions.DependencyInjection;
8 |
9 | namespace YOYO.Mvc.ActionRuntime
10 | {
11 | public class DefaultControllerFactory : IControllerFacotry
12 | {
13 |
14 | public Controller CreateController(Type controllerType , IServiceProvider serverProvider)
15 | {
16 | Controller activeController = null;
17 |
18 | activeController = (Controller)ActivatorUtilities.CreateInstance(serverProvider, controllerType);
19 |
20 | return activeController;
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Backup/Tests/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "1.0.0-*",
3 | "buildOptions": {
4 | "debugType": "portable"
5 | },
6 | "dependencies": {
7 | "System.Runtime.Serialization.Primitives": "4.1.1",
8 | "xunit": "2.1.0",
9 | "dotnet-test-xunit": "1.0.0-rc2-build10025",
10 | "YOYO.AspNetCore.Mvc": "0.1.3-*",
11 | "YOYO.AspNetCore.Owin": "0.1.3-*",
12 | "YOYO.Extensions.DI": "1.0.0-*"
13 | },
14 | "testRunner": "xunit",
15 | "frameworks": {
16 | "netcoreapp1.0": {
17 | "dependencies": {
18 | "Microsoft.NETCore.App": {
19 | "type": "platform",
20 | "version": "1.0.0"
21 | }
22 | },
23 | "imports": [
24 | "dotnet5.4",
25 | "portable-net451+win8"
26 | ]
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/View.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Mvc.ResponseProcessor;
7 | using YOYO.Owin;
8 |
9 | namespace YOYO.Mvc
10 | {
11 | public class View : IActionResult
12 | {
13 | public View(string path) { Path = path; }
14 |
15 | public string Path { set; get; }
16 |
17 | public string ControllerName { set; get; }
18 |
19 | public string ActionName { set; get; }
20 |
21 | public dynamic Model { set; get; }
22 |
23 | public DynamicDictionary ViewBag { set; get; }
24 |
25 | public Task ProcessAsync(IOwinContext context)
26 | {
27 | return new ViewResponseProcessor(context).ProcessAsync(this);
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Native/LibCaptchaImage/CaptchaImage.h:
--------------------------------------------------------------------------------
1 | // The following ifdef block is the standard way of creating macros which make exporting
2 | // from a DLL simpler. All files within this DLL are compiled with the WIN32PROJECT1_EXPORTS
3 | // symbol defined on the command line. This symbol should not be defined on any project
4 | // that uses this DLL. This way any other project whose source files include this file see
5 | // WIN32PROJECT1_API functions as being imported from a DLL, whereas this DLL sees symbols
6 | // defined with this macro as being exported.
7 | #ifdef PROJECT_EXPORTS
8 | #define Export_API extern "C" __declspec(dllexport)
9 | #else
10 | #define Export_API extern "C"
11 | #endif
12 |
13 |
14 |
15 | Export_API void GCaptcha(char* file_o, char *captcha_text, int count, int width, int height, int offset, int quality, int isjpeg, int fontSize);
16 |
--------------------------------------------------------------------------------
/Backup/AspNetCore/YOYO.AspNetCore.Builder/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.1.3-*",
3 | "buildOptions": {
4 | "debugType": "portable"
5 | },
6 | "dependencies": {
7 | "Microsoft.AspNetCore.Http.Abstractions": "1.0.0",
8 | "Microsoft.AspNetCore.Owin": "1.0.0",
9 | "NETStandard.Library": "1.6.0",
10 | "YOYO.AspNetCore.Mvc": {
11 | "version": "0.1.3-*",
12 | "target": "project",
13 | "type": "build"
14 | },
15 | "YOYO.AspNetCore.Owin": {
16 | "version": "0.1.3-*",
17 | "target": "project",
18 | "type": "build"
19 | },
20 | "YOYO.Extensions.DI": "1.0.0-*"
21 | },
22 |
23 | "frameworks": {
24 | "netstandard1.6": {
25 | "imports": "dnxcore50"
26 | },
27 | "net451": {
28 | "dependencies": {
29 | "Owin": "1.0.0"
30 | }
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/AOP/MethodInterceptorAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Reflection;
4 | using System.Text;
5 |
6 | namespace YOYOFx.Extensions.DependencyInjection.AOP
7 | {
8 | public class MethodInterceptorAttribute : Attribute, IMethodInterceptor
9 | {
10 | public virtual object OnAfter(Type targetType, object target, object returnValue, MethodInfo targetMethod, object[] args)
11 | {
12 | throw new NotSupportedException();
13 | }
14 |
15 | public virtual void OnBefore(Type targetType, object target, MethodInfo targetMethod, object[] args)
16 | {
17 | }
18 | public virtual void OnException(Type targetType, object target, MethodInfo targetMethod, object[] args, Exception ex)
19 | {
20 |
21 | }
22 |
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Extensions/ParameterInfoExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Reflection;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 | using YOYO.Mvc.ActionRuntime;
8 |
9 | namespace YOYO.Mvc.Extensions
10 | {
11 | public static class ParameterInfoExtensions
12 | {
13 | public static List ToActionParameters(this ParameterInfo[] pinfos)
14 | {
15 | return pinfos.Select(p => new ActionRuntimeParameter() { Name = p.Name , ParameterType = p.ParameterType }).ToList();
16 | }
17 |
18 |
19 | public static List ToActionParameters(this string[] pinfos)
20 | {
21 | return pinfos.Select(p => new ActionRuntimeParameter() { Name = p, ParameterType = null }).ToList();
22 | }
23 |
24 |
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Route/RouteHandlerFactory.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using YOYO.Mvc.Route;
3 | using YOYO.Owin;
4 |
5 | namespace YOYO.Mvc
6 | {
7 | public class RouteHandlerFactory
8 | {
9 | private static readonly object lockObject = new object();
10 | private static RouteHandlerFactory _factory;
11 | public static RouteHandlerFactory Default
12 | {
13 | get
14 | {
15 | lock (lockObject)
16 | {
17 | if (_factory == null)
18 | {
19 | _factory = new RouteHandlerFactory();
20 | }
21 |
22 | return _factory;
23 |
24 | }
25 | }
26 | }
27 |
28 | public IRouteHandler CreateRouteHandler(IOwinContext context,RouteResolveResult resolveResult)
29 | {
30 | context.Request.RouteValues = resolveResult.RouteValues;
31 | IRouteHandler handler = new MvcRouteHandler (resolveResult);
32 | return handler;
33 | }
34 |
35 |
36 |
37 | }
38 | }
39 |
40 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/net451/YOYO.Extensions.DI.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.AssemblyDescriptionAttribute("Package Description")]
15 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
16 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
17 | [assembly: System.Reflection.AssemblyTitleAttribute("YOYO.Extensions.DI")]
18 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
19 |
20 | // 由 MSBuild WriteCodeFragment 类生成。
21 |
22 |
--------------------------------------------------------------------------------
/AspNetCore/YOYOFx.Extensions.DependencyInjection/obj/Debug/netstandard1.6/YOYO.Extensions.DI.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.AssemblyDescriptionAttribute("Package Description")]
15 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
16 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
17 | [assembly: System.Reflection.AssemblyTitleAttribute("YOYO.Extensions.DI")]
18 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
19 |
20 | // 由 MSBuild WriteCodeFragment 类生成。
21 |
22 |
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/obj/Debug/netstandard2.0/YOYOFx.Boot.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | d:\Sources\YOYOFx\YOYOFx\Boot\YOYOFx.Boot\bin\Debug\netstandard2.0\YOYOFx.Boot.deps.json
2 | d:\Sources\YOYOFx\YOYOFx\Boot\YOYOFx.Boot\bin\Debug\netstandard2.0\YOYOFx.Boot.dll
3 | d:\Sources\YOYOFx\YOYOFx\Boot\YOYOFx.Boot\bin\Debug\netstandard2.0\YOYOFx.Boot.pdb
4 | d:\Sources\YOYOFx\YOYOFx\Boot\YOYOFx.Boot\obj\Debug\netstandard2.0\YOYOFx.Boot.csproj.CoreCompileInputs.cache
5 | d:\Sources\YOYOFx\YOYOFx\Boot\YOYOFx.Boot\obj\Debug\netstandard2.0\YOYOFx.Boot.AssemblyInfoInputs.cache
6 | d:\Sources\YOYOFx\YOYOFx\Boot\YOYOFx.Boot\obj\Debug\netstandard2.0\YOYOFx.Boot.AssemblyInfo.cs
7 | d:\Sources\YOYOFx\YOYOFx\Boot\YOYOFx.Boot\obj\Debug\netstandard2.0\YOYOFx.Boot.dll
8 | d:\Sources\YOYOFx\YOYOFx\Boot\YOYOFx.Boot\obj\Debug\netstandard2.0\YOYOFx.Boot.pdb
9 | D:\Sources\YOYOFx\YOYOFx\Boot\YOYOFx.Boot\obj\Debug\netstandard2.0\YOYOFx.Boot.csprojResolveAssemblyReference.cache
10 |
--------------------------------------------------------------------------------
/Backup/AspNetCore/YOYO.AspNetCore.ViewEngine.Razor/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "description": "",
3 |
4 | "version": "0.1.3-*",
5 | "buildOptions": {
6 | "debugType": "portable"
7 | },
8 | "dependencies": {
9 | "Microsoft.AspNetCore.Razor": "1.0.0",
10 | "NETStandard.Library": "1.6.0",
11 | "Microsoft.CodeAnalysis.CSharp": {
12 | "version": "1.3.0",
13 | "include": "all"
14 | },
15 | "Microsoft.Extensions.DependencyModel":"1.0.0",
16 | "System.Reflection.Metadata": "1.3.0",
17 | "YOYO.AspNetCore.Mvc": "0.1.3-*",
18 | "YOYO.AspNetCore.Owin": "0.1.3-*"
19 |
20 | },
21 |
22 | "frameworks": {
23 | "netstandard1.6": {
24 | "imports": "portable-net451+win8",
25 | "dependencies": {
26 | "System.Text.Encoding": "4.0.11",
27 | "System.Runtime.Loader": "4.0.0",
28 | "System.Runtime": "4.1.0"
29 | }
30 |
31 | },
32 |
33 | "net451": { }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Native/LibCaptchaImageWarp/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyConfiguration("")]
9 | [assembly: AssemblyCompany("Microsoft")]
10 | [assembly: AssemblyProduct("CaptchaImageCore")]
11 | [assembly: AssemblyTrademark("")]
12 |
13 | // Setting ComVisible to false makes the types in this assembly not visible
14 | // to COM components. If you need to access a type in this assembly from
15 | // COM, set the ComVisible attribute to true on that type.
16 | [assembly: ComVisible(false)]
17 |
18 | // The following GUID is for the ID of the typelib if this project is exposed to COM
19 | [assembly: Guid("12987f35-1810-48b4-afaa-d9990bc5b982")]
20 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyConfiguration("")]
9 | [assembly: AssemblyCompany("Microsoft")]
10 | [assembly: AssemblyProduct("YOYO.AspNetCore.Mvc")]
11 | [assembly: AssemblyTrademark("")]
12 |
13 | // Setting ComVisible to false makes the types in this assembly not visible
14 | // to COM components. If you need to access a type in this assembly from
15 | // COM, set the ComVisible attribute to true on that type.
16 | [assembly: ComVisible(false)]
17 |
18 | // The following GUID is for the ID of the typelib if this project is exposed to COM
19 | [assembly: Guid("217921f0-0dfc-42b1-90be-d29bc85998c9")]
20 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyConfiguration("")]
9 | [assembly: AssemblyCompany("Microsoft")]
10 | [assembly: AssemblyProduct("YOYO.AspNetCore.Owin")]
11 | [assembly: AssemblyTrademark("")]
12 |
13 | // Setting ComVisible to false makes the types in this assembly not visible
14 | // to COM components. If you need to access a type in this assembly from
15 | // COM, set the ComVisible attribute to true on that type.
16 | [assembly: ComVisible(false)]
17 |
18 | // The following GUID is for the ID of the typelib if this project is exposed to COM
19 | [assembly: Guid("68bce77c-b1b7-4c13-bdf6-30694d622572")]
20 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Builder/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyConfiguration("")]
9 | [assembly: AssemblyCompany("Microsoft")]
10 | [assembly: AssemblyProduct("YOYO.AspNetCore.Builder")]
11 | [assembly: AssemblyTrademark("")]
12 |
13 | // Setting ComVisible to false makes the types in this assembly not visible
14 | // to COM components. If you need to access a type in this assembly from
15 | // COM, set the ComVisible attribute to true on that type.
16 | [assembly: ComVisible(false)]
17 |
18 | // The following GUID is for the ID of the typelib if this project is exposed to COM
19 | [assembly: Guid("8c84e088-328b-484c-b558-b67ff612ef17")]
20 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Extensions/StringExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Mvc.Extensions
8 | {
9 | public static class StringExtensions
10 | {
11 | public static List GetUrlSegments(this string roleUri)
12 | {
13 | string[] nullorqueryString = roleUri.Split('?');
14 | string roleStr = nullorqueryString.Length > 1 ? nullorqueryString[0] : roleUri; //split querystring , such as "?name=1"
15 | string[] segmentArray = roleStr.Split('/');
16 |
17 | List segments = new List();
18 |
19 | for (int i = 0; i < segmentArray.Length; i++)
20 | if (!String.IsNullOrEmpty(segmentArray[i]))
21 | segments.Add(segmentArray[i]);
22 |
23 | return segments;
24 | }
25 |
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.ViewEngine.Razor/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyConfiguration("")]
9 | [assembly: AssemblyCompany("Microsoft")]
10 | [assembly: AssemblyProduct("YOYO.AspNetCore.ViewEngine.Razor")]
11 | [assembly: AssemblyTrademark("")]
12 |
13 | // Setting ComVisible to false makes the types in this assembly not visible
14 | // to COM components. If you need to access a type in this assembly from
15 | // COM, set the ComVisible attribute to true on that type.
16 | [assembly: ComVisible(false)]
17 |
18 | // The following GUID is for the ID of the typelib if this project is exposed to COM
19 | [assembly: Guid("286ac8a2-db3b-48b1-8bf3-b0066527520a")]
20 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.ViewEngine.Razor/TemplateLocator.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 | using YOYO.Mvc;
8 |
9 | namespace YOYO.AspNetCore.ViewEngine.Razor
10 | {
11 | public class TemplateLocator
12 | {
13 |
14 | public static string LoadTemplateContent(string viewName)
15 | {
16 | string templatePath = HostingEnvronment.GetMapPath(viewName);
17 |
18 | if (!File.Exists(templatePath)) throw new FileNotFoundException("view template file can't find.");
19 |
20 | string viewTemplate = null;
21 | using (StreamReader reader = new StreamReader(new FileStream(templatePath, FileMode.Open, FileAccess.Read), Encoding.UTF8))
22 | {
23 | viewTemplate = reader.ReadToEnd();
24 | }
25 |
26 | return viewTemplate;
27 | }
28 |
29 |
30 |
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/Session/CookieSession.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace YOYO.Mvc.Session
8 | {
9 | public class CookieSession : ISession
10 | {
11 | public object this[string key]
12 | {
13 | get
14 | {
15 | object obj = null;
16 | this._userData.TryGetValue(key, out obj);
17 | return obj;
18 | }
19 | set
20 | {
21 | this._userData[key] = value;
22 | }
23 | }
24 |
25 | private IDictionary _userData = new Dictionary();
26 |
27 | internal DateTime DeathTime { get; set; }
28 |
29 | public string ID { set; get; }
30 |
31 | public void RefreshSessionAccessTime()
32 | {
33 | DeathTime = DateTime.Now.AddMinutes(30);
34 | }
35 |
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/YOYO.AspNetCore.Owin.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 0.1.3
5 | net451;netstandard1.6
6 | portable
7 | YOYO.AspNetCore.Owin
8 | YOYO.AspNetCore.Owin
9 | false
10 | false
11 | false
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/IResponseHeaders.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 |
4 | namespace YOYO.Owin
5 | {
6 | public interface IResponseHeaders : IHttpHeaders
7 | {
8 | string AcceptRanges { get; set; }
9 |
10 | string Age { get; set; }
11 |
12 | string CacheControl { get; set; }
13 |
14 | string Connection { get; set; }
15 |
16 | long ContentLength { get; set; }
17 |
18 | string ContentType { get; set; }
19 |
20 | string ETag { get; set; }
21 |
22 | string Expires { get; set; }
23 |
24 | string LastModified { get; set; }
25 |
26 | string Location { get; set; }
27 |
28 | string Pragma { get; set; }
29 |
30 | string ProxyAuthenticate { get; set; }
31 |
32 | string RetryAfter { get; set; }
33 |
34 | string Server { get; set; }
35 |
36 | string Vary { get; set; }
37 |
38 | string WwwAuthenticate { get; set; }
39 |
40 | IDictionary ToDictionary();
41 | }
42 | }
--------------------------------------------------------------------------------
/Notepad/ASP.NET Core 总结1.md:
--------------------------------------------------------------------------------
1 | ### buildOptions:
2 | #### 编译设置
3 | 1. compile : 文件编译,是一个数组,确定一组要编译的文件进行定义, **.cs (默认) 表示 包含子目录下的所有.cs文件,如果要链接共用的代码进行编译的话
4 | 可以在这个地方设置。
5 |
6 | 2. defines : 编译变量的定义,用于条件编译,如多平台判断。
7 |
8 | 3. frameworks :用于定义平台(要编译平台集体)和定义某个平台的特定依赖。
9 | Dotnet Core与DNX在R2这个版本上进行了合并,合并之后以前的众多平台版本得到了统一;
10 | (1) netcoreapp1.0 平台,作为dotnet core平台上创建应用程序的基础库,统一了服务端应用程序的开发平台。
11 | 合并了DNX Core(ASP.NET 5)平台,新版本中Dotnet也对程序入口(Program.cs)进行了统一,,对所有应用程序提供统一的工具链进行支持;
12 | 如ASP.NET Core Web程序和Console(.NET Core)程序都可以使用 dotnet run 进行运行。
13 | (2) netstandard1.5平台,作为基础组件库,统一了库的开发平台。netcoreapp和netstandard都属于dotnet core的一部分。
14 | (3) NET4xy (NET451、NET452、NET461等),统一了Full Dotnet Framework的开发平台。
15 | (4) MONO? ,在之前的版本中Mono可以作为DNX的CLR版本之一,进行平台开发,目前MS好像没有提到过它了。可能在新的 DNVM(Dotnet的版本管理器)
16 | 开发完成后,可以对所有的CLR进行管理吧,那时候可能有MONO吧。。。
17 |
18 |
19 | #### 总结:
20 | >新的项目文件 project.json 主要用于统一管理dotnet的发布、编译、平台、程序集依赖等。
21 |
22 |
23 |
24 | MySQL CORE :https://coding.net/u/zlzforever/p/share/git/tree/master
25 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2.0",
3 | "configurations": [
4 | {
5 | "name": ".NET Core Launch (web)",
6 | "type": "coreclr",
7 | "request": "launch",
8 | "preLaunchTask": "build",
9 | "program": "${workspaceRoot}/Hosts/CoreHost/bin/Debug/netcoreapp1.0/CoreHost.dll",
10 | "args": [],
11 | "cwd": "${workspaceRoot}",
12 | "stopAtEntry": false,
13 | "launchBrowser": {
14 | "enabled": true,
15 | "args": "${auto-detect-url}",
16 | "windows": {
17 | "command": "cmd.exe",
18 | "args": "/C start ${auto-detect-url}"
19 | },
20 | "osx": {
21 | "command": "open"
22 | },
23 | "linux": {
24 | "command": "xdg-open"
25 | }
26 | },
27 | "env": {
28 | "ASPNETCORE_ENVIRONMENT": "Development"
29 | }
30 | }
31 | ]
32 | }
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Owin/IOwinResponse.cs:
--------------------------------------------------------------------------------
1 | using System.IO;
2 | using System.Threading.Tasks;
3 |
4 | namespace YOYO.Owin
5 | {
6 | ///
7 | /// Abstraction for an HTTP response, to be implemented by hosting.
8 | ///
9 | public interface IOwinResponse
10 | {
11 | Stream Body { get; }
12 |
13 | ///
14 | /// The response headers.
15 | ///
16 | IResponseHeaders Headers { get; }
17 |
18 | ResponseCookieCollection Cookies { get; }
19 |
20 | ///
21 | /// Gets or sets the status code and description.
22 | ///
23 | ///
24 | /// The status code.
25 | ///
26 | Status Status { get; set; }
27 |
28 |
29 | void Write(byte[] bytes);
30 |
31 | void Write(string text);
32 |
33 | Task WriteAsync(byte[] bytes);
34 |
35 | Task WriteAsync(byte[] bytes,int length);
36 |
37 | Task WriteAsync(string text);
38 |
39 | void Redirect(string location);
40 | }
41 | }
--------------------------------------------------------------------------------
/Tests/Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp2.0
5 | portable
6 | Tests
7 | Tests
8 | true
9 | $(PackageTargetFallback);dotnet5.4;portable-net451+win8
10 | 1.0.4
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/DynamicDictionary.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Dynamic;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace YOYO.Mvc
9 | {
10 | public class DynamicDictionary : DynamicObject
11 | {
12 | private IDictionary _dictionary = new Dictionary();
13 |
14 | public override bool TrySetMember(SetMemberBinder binder, object value)
15 | {
16 |
17 | if (_dictionary.ContainsKey(binder.Name))
18 | _dictionary[binder.Name] = value;
19 | else
20 | _dictionary.Add(binder.Name,value);
21 | return true;
22 | }
23 |
24 |
25 |
26 | public override bool TryGetMember(GetMemberBinder binder, out object result)
27 | {
28 | return _dictionary.TryGetValue(binder.Name, out result);
29 | }
30 |
31 | public IDictionary ToDictionary()
32 | {
33 | return _dictionary;
34 | }
35 |
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Boot/YOYOFx.Boot/obj/Debug/netstandard2.0/YOYOFx.Boot.AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | using System;
12 | using System.Reflection;
13 |
14 | [assembly: System.Reflection.AssemblyCompanyAttribute("YOYOFx.Boot")]
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("YOYOFx.Boot")]
19 | [assembly: System.Reflection.AssemblyTitleAttribute("YOYOFx.Boot")]
20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21 |
22 | // Generated by the MSBuild WriteCodeFragment class.
23 |
24 |
--------------------------------------------------------------------------------
/AspNetCore/YOYO.AspNetCore.Mvc/ActionExecuteContext.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using YOYO.Mvc.Reflection;
7 | using YOYO.Owin;
8 |
9 | namespace YOYO.Mvc
10 | {
11 | public class ActionExecuteContext
12 | {
13 | public IOwinContext HttpContext { private set; get; }
14 |
15 | public string ControllerName { private set; get; }
16 |
17 | public string ActionName { private set; get; }
18 |
19 | public IDynamicMethodInvoker ActionInvoker { private set; get; }
20 |
21 | public IList