├── .gitattributes
├── .gitignore
├── .nuget
├── NuGet.Config
├── NuGet.exe
└── NuGet.targets
├── Img
├── glimpse_history_clientgrouping.jpg
├── glimpse_infotab_exception.jpg
├── glimpse_lightnode_timeline.jpg
├── glimpse_standalone_launch.jpg
├── lightnode_glimpse_infotab.jpg
└── swagger_support.jpg
├── LICENSE
├── LightNode.sln
├── NuGet
├── Glimpse.LightNode.nuspec
├── LightNode.Client.PCL.T4.nuspec
├── LightNode.Client.UniRx.T4.nuspec
├── LightNode.Client.Unity.T4.nuspec
├── LightNode.Core.nuspec
├── LightNode.Diagnostics.EventSource.nuspec
├── LightNode.Formatter.Jil.LZ4.nuspec
├── LightNode.Formatter.Jil.nuspec
├── LightNode.Formatter.JsonNet.nuspec
├── LightNode.Formatter.MsgPack.nuspec
├── LightNode.Formatter.ProtoBuf.nuspec
├── LightNode.Server.nuspec
├── LightNode.Swagger.nuspec
├── LightNode2.nuspec
├── NuGet.exe
├── ReadMe.txt
├── pack.bat
├── pack_LightNode2.bat
├── push.bat
└── push_LightNode2.bat
├── Performance
├── AspNetMVC
│ ├── AspNetMVC.csproj
│ ├── Controller
│ │ └── HomeController.cs
│ ├── Global.asax
│ ├── Global.asax.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ ├── Web.config.uninstall.xdt
│ └── packages.config
├── LightNode.Helios
│ ├── LightNode.Helios.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Startup.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ └── packages.config
├── LightNode.Performance
│ ├── LightNode.Performance.csproj
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ └── PublishProfiles
│ │ │ └── LocalIIS.pubxml
│ ├── Startup.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ └── packages.config
├── LightNode.SelfHost
│ ├── App.config
│ ├── LightNode.SelfHost.csproj
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── Nancy
│ ├── Nancy.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Startup.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ └── packages.config
├── PerfTest.ClientRunner
│ ├── App.config
│ ├── PerfTest.ClientRunner.csproj
│ ├── Program.cs
│ └── Properties
│ │ └── AssemblyInfo.cs
├── RawHttpHandler
│ ├── AsyncHandler.ashx
│ ├── AsyncHandler.ashx.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── RawHttpHandler.csproj
│ ├── SyncHandler.ashx
│ ├── SyncHandler.ashx.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ └── packages.config
├── RawOwinHandler
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── RawOwinHandler.csproj
│ ├── Startup.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ └── packages.config
├── ServiceStack
│ ├── Global.asax
│ ├── Global.asax.cs
│ ├── Hello.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── ServiceStack.csproj
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ └── packages.config
├── WcfService
│ ├── Global.asax
│ ├── Global.asax.cs
│ ├── IHome.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── WcfService.csproj
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ └── Web.config
├── WebAPI
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Startup.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ ├── WebAPI.csproj
│ └── packages.config
└── ab
│ ├── ab.exe
│ └── run.bat
├── README.md
├── Sample
├── AspNetCoreSample
│ ├── AspNetCoreSample.xproj
│ ├── Program.cs
│ ├── Project_Readme.html
│ ├── Properties
│ │ └── launchSettings.json
│ ├── Startup.cs
│ ├── project.json
│ ├── project.lock.json
│ └── web.config
├── LightNode.Sample.Client
│ ├── App.config
│ ├── LightNode.Sample.Client.csproj
│ ├── Program.cs
│ └── Properties
│ │ └── AssemblyInfo.cs
├── LightNode.Sample.GimpseUse
│ ├── LightNode.Sample.GlimpseUse.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Startup.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ └── packages.config
├── LightNode.Sample.Server.ForAngularClient
│ ├── App.config
│ ├── LightNode.Sample.Server.ForAngularClient.csproj
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
└── LightNode.Sample.Server.SelfHost
│ ├── App.config
│ ├── LightNode.Sample.Server.SelfHost.csproj
│ ├── Program.cs
│ ├── Properties
│ └── AssemblyInfo.cs
│ └── packages.config
├── Source
├── Glimpse.LightNode
│ ├── EnableGlimpseMiddleware.cs
│ ├── Glimpse.LightNode.csproj
│ ├── GlimpseProfilingOperationCoordinator.cs
│ ├── LightNodeTab.cs
│ ├── Messages.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── LightNode.Client.AngularJS.T4
│ ├── LightNode.Client.AngularJS.T4.csproj
│ ├── Scripts
│ │ └── typings
│ │ │ ├── angularjs
│ │ │ ├── angular-animate.d.ts
│ │ │ ├── angular-component-router.d.ts
│ │ │ ├── angular-cookies.d.ts
│ │ │ ├── angular-mocks.d.ts
│ │ │ ├── angular-resource.d.ts
│ │ │ ├── angular-route.d.ts
│ │ │ ├── angular-sanitize.d.ts
│ │ │ └── angular.d.ts
│ │ │ ├── es6-promise
│ │ │ └── es6-promise.d.ts
│ │ │ └── jquery
│ │ │ └── jquery.d.ts
│ ├── app.js
│ ├── app.js.map
│ ├── app.ts
│ ├── index.html
│ ├── light-node-client.js
│ ├── light-node-client.js.map
│ ├── light-node-client.ts
│ ├── light-node-client.tt
│ ├── packages.config
│ ├── web.Debug.config
│ ├── web.Release.config
│ └── web.config
├── LightNode.Client.PCL.T4
│ ├── LightNode.Client.PCL.T4.csproj
│ ├── LightNodeClient.tt
│ ├── LightNodeClient1.Generated.cs
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── app.config
├── LightNode.Client.UniRx.T4
│ ├── LightNode.Client.UniRx.T4.csproj
│ ├── LightNodeClient.Generated.cs
│ ├── LightNodeClient.tt
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── UniRx
│ │ └── Scripts
│ │ │ ├── Disposables
│ │ │ ├── BooleanDisposable.cs
│ │ │ ├── CompositeDisposable.cs
│ │ │ ├── Disposable.cs
│ │ │ ├── ICancelable.cs
│ │ │ ├── MultipleAssignmentDisposable.cs
│ │ │ ├── ScheduledDisposable.cs
│ │ │ ├── SerialDisposable.cs
│ │ │ └── SingleAssignmentDisposable.cs
│ │ │ ├── EventPattern.cs
│ │ │ ├── Notification.cs
│ │ │ ├── Notifiers
│ │ │ ├── BooleanNotifier.cs
│ │ │ ├── CountNotifier.cs
│ │ │ └── ScheduledNotifier.cs
│ │ │ ├── Observable.Aggregate.cs
│ │ │ ├── Observable.Binding.cs
│ │ │ ├── Observable.Blocking.cs
│ │ │ ├── Observable.Concatenate.cs
│ │ │ ├── Observable.Concurrency.cs
│ │ │ ├── Observable.Conversions.cs
│ │ │ ├── Observable.Creation.cs
│ │ │ ├── Observable.ErrorHandling.cs
│ │ │ ├── Observable.Events.cs
│ │ │ ├── Observable.Joins.cs
│ │ │ ├── Observable.Paging.cs
│ │ │ ├── Observable.Time.cs
│ │ │ ├── Observable.cs
│ │ │ ├── Observer.cs
│ │ │ ├── Schedulers
│ │ │ ├── CurrentThreadScheduler.cs
│ │ │ ├── ImmediateScheduler.cs
│ │ │ ├── Scheduler.cs
│ │ │ └── ThreadPoolScheduler.cs
│ │ │ ├── Subjects
│ │ │ ├── AsyncSubject.cs
│ │ │ ├── BehaviorSubject.cs
│ │ │ ├── ConnectableObservable.cs
│ │ │ ├── ISubject.cs
│ │ │ ├── ReplaySubject.cs
│ │ │ └── Subject.cs
│ │ │ ├── System
│ │ │ ├── IProgress.cs
│ │ │ ├── Tuple.cs
│ │ │ └── Unit.cs
│ │ │ ├── TimeInterval.cs
│ │ │ ├── Timestamped.cs
│ │ │ └── UnityEngineBridge
│ │ │ ├── CancellationToken.cs
│ │ │ ├── MainThreadDispatcher.cs
│ │ │ ├── MainThreadScheduler.cs
│ │ │ ├── Observable.Unity.cs
│ │ │ └── ObservableWWW.cs
│ ├── UnityEngine.dll
│ └── packages.config
├── LightNode.Client.Unity.T4
│ ├── LightNode.Client.Unity.T4.csproj
│ ├── LightNodeClient.Generated.cs
│ ├── LightNodeClient.tt
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── UnityEngine.dll
│ ├── bin
│ │ └── Debug
│ │ │ └── UnityEngine.dll
│ └── packages.config
├── LightNode.Core
│ ├── Formatter
│ │ ├── IContentFormatter.cs
│ │ └── StandardContentFormatters.cs
│ ├── LightNode.Core.csproj
│ └── Properties
│ │ └── AssemblyInfo.cs
├── LightNode.Diagnostics.EventSource
│ ├── LightNode.Diagnostics.EventSource.csproj
│ ├── LightNodeEventSource.cs
│ └── Properties
│ │ └── AssemblyInfo.cs
├── LightNode.Formatter.Jil.LZ4
│ ├── LZ4JilContentFormatter.cs
│ ├── LightNode.Formatter.Jil.LZ4.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── LightNode.Formatter.Jil
│ ├── JilContentFormatter.cs
│ ├── LightNode.Formatter.Jil.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── LightNode.Formatter.JsonNet
│ ├── JsonNetContentFormatter.cs
│ ├── LightNode.Formatter.JsonNet.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── LightNode.Formatter.MsgPack
│ ├── LightNode.Formatter.MsgPack.csproj
│ ├── MsgPackContentFormatter.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── LightNode.Formatter.ProtoBuf
│ ├── LightNode.Formatter.ProtoBuf.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── ProtoBufContentFormatter.cs
│ └── packages.config
├── LightNode.Server
│ ├── DebugOnlyClientGenerateAttribute.cs
│ ├── DefineTypeScriptGenerateAttribute.cs
│ ├── Diagnostics
│ │ └── ILightNodeLogger.cs
│ ├── Formatter
│ │ └── JavaScriptContentFormatter.cs
│ ├── IgnoreClientGenerateAttribute.cs
│ ├── IgnoreOperationAttribute.cs
│ ├── LightNode.Server.csproj
│ ├── LightNodeContract.cs
│ ├── LightNodeFilterAttribute.cs
│ ├── LightNodeOptions.cs
│ ├── LightNodeServer.cs
│ ├── LightNodeServerMiddleware.cs
│ ├── OperationContext.cs
│ ├── OperationCoordinator.cs
│ ├── OperationHandler.cs
│ ├── OperationOptionAttribute.cs
│ ├── ParameterBinder.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── RequestPath.cs
│ ├── ReturnStatusCodeException.cs
│ ├── TypeBinder.cs
│ ├── Utility
│ │ ├── MetaEnum.cs
│ │ ├── OwinConstants.cs
│ │ ├── OwinHelper.cs
│ │ ├── UnclosableStream.cs
│ │ └── Utils.cs
│ ├── ValueProvider.cs
│ └── packages.config
├── LightNode.Swagger
│ ├── LightNode.Swagger.csproj
│ ├── LightNodeSwaggerMiddleware.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Schema
│ │ └── SwaggerDocument.cs
│ ├── SwaggerOptions.cs
│ ├── SwaggerUI
│ │ ├── css
│ │ │ ├── print.css
│ │ │ ├── reset.css
│ │ │ ├── screen.css
│ │ │ ├── style.css
│ │ │ └── typography.css
│ │ ├── fonts
│ │ │ ├── droid-sans-v6-latin-700.eot
│ │ │ ├── droid-sans-v6-latin-700.svg
│ │ │ ├── droid-sans-v6-latin-700.ttf
│ │ │ ├── droid-sans-v6-latin-700.woff
│ │ │ ├── droid-sans-v6-latin-700.woff2
│ │ │ ├── droid-sans-v6-latin-regular.eot
│ │ │ ├── droid-sans-v6-latin-regular.svg
│ │ │ ├── droid-sans-v6-latin-regular.ttf
│ │ │ ├── droid-sans-v6-latin-regular.woff
│ │ │ └── droid-sans-v6-latin-regular.woff2
│ │ ├── images
│ │ │ ├── explorer_icons.png
│ │ │ ├── favicon-16x16.png
│ │ │ ├── favicon-32x32.png
│ │ │ ├── favicon.ico
│ │ │ ├── logo_small.png
│ │ │ ├── pet_store_api.png
│ │ │ ├── throbber.gif
│ │ │ └── wordnik_api.png
│ │ ├── index.html
│ │ ├── lang
│ │ │ ├── en.js
│ │ │ ├── es.js
│ │ │ ├── pt.js
│ │ │ ├── ru.js
│ │ │ ├── tr.js
│ │ │ ├── translator.js
│ │ │ └── zh-cn.js
│ │ ├── lib
│ │ │ ├── backbone-min.js
│ │ │ ├── handlebars-2.0.0.js
│ │ │ ├── highlight.7.3.pack.js
│ │ │ ├── jquery-1.8.0.min.js
│ │ │ ├── jquery.ba-bbq.min.js
│ │ │ ├── jquery.slideto.min.js
│ │ │ ├── jquery.wiggle.min.js
│ │ │ ├── marked.js
│ │ │ ├── swagger-oauth.js
│ │ │ ├── underscore-min.js
│ │ │ └── underscore-min.map
│ │ ├── o2c.html
│ │ ├── swagger-ui.js
│ │ └── swagger_schema.json
│ └── packages.config
└── LightNode2
│ ├── Diagnostics
│ └── ILightNodeLogger.cs
│ ├── Formatter
│ ├── IContentFormatter.cs
│ ├── JsonContentFormatter.cs
│ └── StandardContentFormatters.cs
│ ├── LightNode2.xproj
│ ├── Properties
│ └── AssemblyInfo.cs
│ ├── Server
│ ├── DebugOnlyClientGenerateAttribute.cs
│ ├── DefineTypeScriptGenerateAttribute.cs
│ ├── IgnoreClientGenerateAttribute.cs
│ ├── IgnoreOperationAttribute.cs
│ ├── LightNodeContract.cs
│ ├── LightNodeFilterAttribute.cs
│ ├── LightNodeOptions.cs
│ ├── LightNodeServer.cs
│ ├── LightNodeServerMiddleware.cs
│ ├── OperationContext.cs
│ ├── OperationCoordinator.cs
│ ├── OperationHandler.cs
│ ├── OperationOptionAttribute.cs
│ ├── ParameterBinder.cs
│ ├── RequestPath.cs
│ ├── ReturnStatusCodeException.cs
│ ├── TypeBinder.cs
│ ├── Utility
│ │ ├── HttpContextHelper.cs
│ │ ├── MetaEnum.cs
│ │ ├── TypeHelper.cs
│ │ ├── UnclosableStream.cs
│ │ └── Utils.cs
│ └── ValueProvider.cs
│ ├── Swagger
│ ├── LightNodeSwaggerMiddleware.cs
│ ├── Schema
│ │ └── SwaggerDocument.cs
│ ├── SwaggerOptions.cs
│ └── SwaggerUI
│ │ ├── css
│ │ ├── print.css
│ │ ├── reset.css
│ │ ├── screen.css
│ │ ├── style.css
│ │ └── typography.css
│ │ ├── fonts
│ │ ├── DroidSans-Bold.ttf
│ │ └── DroidSans.ttf
│ │ ├── images
│ │ ├── collapse.gif
│ │ ├── expand.gif
│ │ ├── explorer_icons.png
│ │ ├── favicon-16x16.png
│ │ ├── favicon-32x32.png
│ │ ├── favicon.ico
│ │ ├── logo_small.png
│ │ ├── pet_store_api.png
│ │ ├── throbber.gif
│ │ └── wordnik_api.png
│ │ ├── index.html
│ │ ├── lang
│ │ ├── en.js
│ │ ├── es.js
│ │ ├── fr.js
│ │ ├── geo.js
│ │ ├── it.js
│ │ ├── ja.js
│ │ ├── ko-kr.js
│ │ ├── pl.js
│ │ ├── pt.js
│ │ ├── ru.js
│ │ ├── tr.js
│ │ ├── translator.js
│ │ └── zh-cn.js
│ │ ├── lib
│ │ ├── backbone-min.js
│ │ ├── es5-shim.js
│ │ ├── handlebars-2.0.0.js
│ │ ├── highlight.9.1.0.pack.js
│ │ ├── highlight.9.1.0.pack_extended.js
│ │ ├── jquery-1.8.0.min.js
│ │ ├── jquery.ba-bbq.min.js
│ │ ├── jquery.slideto.min.js
│ │ ├── jquery.wiggle.min.js
│ │ ├── js-yaml.min.js
│ │ ├── jsoneditor.min.js
│ │ ├── lodash.min.js
│ │ ├── marked.js
│ │ ├── object-assign-pollyfill.js
│ │ └── swagger-oauth.js
│ │ ├── o2c.html
│ │ ├── swagger-ui.js
│ │ └── swagger-ui.min.js
│ ├── project.json
│ └── project.lock.json
├── Tests
├── LightNode.Client.Tests
│ ├── ChainingAssertion.MSTest.cs
│ ├── LightNode.Client.Tests.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
└── LightNode.Server.Tests
│ ├── BasicOperation.cs
│ ├── ChainingAssertion.MSTest.cs
│ ├── DiagnosticsTest.cs
│ ├── FilterTest.cs
│ ├── IgnoreOperationTest.cs
│ ├── LightNode.Server.Tests.csproj
│ ├── MetaEnumTest.cs
│ ├── MockEnv.cs
│ ├── NegotiateFormatterTest.cs
│ ├── ParameterCheckTest.cs
│ ├── Properties
│ └── AssemblyInfo.cs
│ ├── ReturnStatusCodeTest.cs
│ ├── ValueProviderTest.cs
│ └── packages.config
└── global.json
/.gitattributes:
--------------------------------------------------------------------------------
1 | Source/LightNode.Swagger/SwaggerUI/* linguist-vendored
2 | Source/LightNode2/Swagger/SwaggerUI/* linguist-vendored
3 |
--------------------------------------------------------------------------------
/.nuget/NuGet.Config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.nuget/NuGet.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neuecc/LightNode/61fa59623904515e37df5c59ca56a806c1506a27/.nuget/NuGet.exe
--------------------------------------------------------------------------------
/Img/glimpse_history_clientgrouping.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neuecc/LightNode/61fa59623904515e37df5c59ca56a806c1506a27/Img/glimpse_history_clientgrouping.jpg
--------------------------------------------------------------------------------
/Img/glimpse_infotab_exception.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neuecc/LightNode/61fa59623904515e37df5c59ca56a806c1506a27/Img/glimpse_infotab_exception.jpg
--------------------------------------------------------------------------------
/Img/glimpse_lightnode_timeline.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neuecc/LightNode/61fa59623904515e37df5c59ca56a806c1506a27/Img/glimpse_lightnode_timeline.jpg
--------------------------------------------------------------------------------
/Img/glimpse_standalone_launch.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neuecc/LightNode/61fa59623904515e37df5c59ca56a806c1506a27/Img/glimpse_standalone_launch.jpg
--------------------------------------------------------------------------------
/Img/lightnode_glimpse_infotab.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neuecc/LightNode/61fa59623904515e37df5c59ca56a806c1506a27/Img/lightnode_glimpse_infotab.jpg
--------------------------------------------------------------------------------
/Img/swagger_support.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neuecc/LightNode/61fa59623904515e37df5c59ca56a806c1506a27/Img/swagger_support.jpg
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2013 Yoshifumi Kawai
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/NuGet/Glimpse.LightNode.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Glimpse.LightNode
5 | 1.6.6.1
6 | Glimpse.LightNode
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Profiler for Glimpse.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC Glimpse
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Client.PCL.T4.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Client.PCL.T4
5 | 1.6.6.1
6 | LightNode.Client.PCL.T4
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Client for PCL and HttpClient.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Client.UniRx.T4.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Client.UniRx.T4
5 | 1.6.3
6 | LightNode.Client.UniRx.T4
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Client for Unity with UniRx.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC Unity
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Client.Unity.T4.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Client.Unity.T4
5 | 0.4.0
6 | LightNode.Client.Unity.T4
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Client for Unity.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC Unity
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Core.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Core
5 | 1.6.6.1
6 | LightNode.Core
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Common Core Interfaces.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Diagnostics.EventSource.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Diagnostics.EventSource
5 | 1.6.6.1
6 | LightNode.Diagnostics.EventSource
7 | neuecc
8 | neuecc
9 | false
10 | EventSource logging for LightNode(as Micro REST/RPC Framework).
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Formatter.Jil.LZ4.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Formatter.Jil.LZ4
5 | 1.6.6.1
6 | LightNode.Formatter.Jil.LZ4
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Formatter for JSON by Jil + LZ4.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Formatter.Jil.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Formatter.Jil
5 | 1.6.6.1
6 | LightNode.Formatter.Jil
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Formatter for JSON by Jil.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Formatter.JsonNet.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Formatter.JsonNet
5 | 1.6.6.1
6 | LightNode.Formatter.JsonNet
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Formatter by Json.NET.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Formatter.MsgPack.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Formatter.MsgPack
5 | 1.6.6.1
6 | LightNode.Formatter.MsgPack
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Formatter by MsgPack.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Formatter.ProtoBuf.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Formatter.ProtoBuf
5 | 1.6.6.1
6 | LightNode.Formatter.ProtoBuf
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Formatter by ProtoBuf.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Server.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Server
5 | 1.6.6.1
6 | LightNode.Server
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(as Micro REST/RPC Framework) Server.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/NuGet/LightNode.Swagger.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode.Swagger
5 | 1.6.6.1
6 | LightNode.Swagger
7 | neuecc
8 | neuecc
9 | false
10 | Swagger integration for LightNode(as Micro REST/RPC Framework).
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | Owin Rest RPC Swagger
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/NuGet/LightNode2.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LightNode
5 | 2.0.4-beta
6 | LightNode
7 | neuecc
8 | neuecc
9 | false
10 | LightNode(Micro REST/RPC Framework) for ASP.NET Core.
11 | en-US
12 | http://opensource.org/licenses/MIT
13 | https://github.com/neuecc/LightNode
14 | ASPNETCore Rest RPC
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/NuGet/NuGet.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neuecc/LightNode/61fa59623904515e37df5c59ca56a806c1506a27/NuGet/NuGet.exe
--------------------------------------------------------------------------------
/NuGet/pack.bat:
--------------------------------------------------------------------------------
1 | nuget pack LightNode.Core.nuspec
2 | nuget pack LightNode.Server.nuspec
3 | nuget pack LightNode.Client.PCL.T4.nuspec
4 | nuget pack LightNode.Client.UniRx.T4.nuspec
5 | nuget pack LightNode.Formatter.ProtoBuf.nuspec
6 | nuget pack LightNode.Formatter.MsgPack.nuspec
7 | nuget pack LightNode.Formatter.JsonNet.nuspec
8 | nuget pack LightNode.Formatter.Jil.nuspec
9 | nuget pack LightNode.Formatter.Jil.LZ4.nuspec
10 | nuget pack Glimpse.LightNode.nuspec
11 | nuget pack LightNode.Swagger.nuspec
12 | nuget pack LightNode.Diagnostics.EventSource.nuspec
--------------------------------------------------------------------------------
/NuGet/pack_LightNode2.bat:
--------------------------------------------------------------------------------
1 | nuget pack LightNode2.nuspec
--------------------------------------------------------------------------------
/NuGet/push.bat:
--------------------------------------------------------------------------------
1 | nuget push LightNode.Core.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
2 | nuget push LightNode.Server.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
3 | nuget push LightNode.Client.PCL.T4.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
4 | nuget push LightNode.Client.UniRx.T4.1.6.3.nupkg -Source https://www.nuget.org/api/v2/package
5 | nuget push LightNode.Formatter.ProtoBuf.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
6 | nuget push LightNode.Formatter.MsgPack.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
7 | nuget push LightNode.Formatter.JsonNet.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
8 | nuget push LightNode.Formatter.Jil.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
9 | nuget push LightNode.Formatter.Jil.LZ4.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
10 | nuget push Glimpse.LightNode.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
11 | nuget push LightNode.Swagger.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
12 | nuget push LightNode.Diagnostics.EventSource.1.6.6.1.nupkg -Source https://www.nuget.org/api/v2/package
--------------------------------------------------------------------------------
/NuGet/push_LightNode2.bat:
--------------------------------------------------------------------------------
1 | nuget push LightNode.2.0.4-beta.nupkg -Source https://www.nuget.org/api/v2/package
--------------------------------------------------------------------------------
/Performance/AspNetMVC/Controller/HomeController.cs:
--------------------------------------------------------------------------------
1 | using Newtonsoft.Json;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Web;
6 | using System.Web.Mvc;
7 |
8 | namespace AspNetMVC
9 | {
10 | public class HomeController : Controller
11 | {
12 | public JsonResult Get(string name, int x, int y, MyEnum e)
13 | {
14 | return new JsonNetResult(new MyClass { Name = name, Sum = (x + y) * (int)e });
15 | }
16 | }
17 |
18 | public class MyClass
19 | {
20 | public string Name { get; set; }
21 | public int Sum { get; set; }
22 | }
23 |
24 | public enum MyEnum
25 | {
26 | A = 2,
27 | B = 3,
28 | C = 4
29 | }
30 |
31 | public class JsonNetResult : JsonResult
32 | {
33 | private readonly object _data;
34 |
35 | public JsonNetResult(object data)
36 | {
37 | if (data == null)
38 | {
39 | throw new ArgumentNullException("data");
40 | }
41 |
42 | _data = data;
43 | }
44 |
45 | public override void ExecuteResult(ControllerContext context)
46 | {
47 | if (context == null)
48 | {
49 | throw new ArgumentNullException("context");
50 | }
51 |
52 | var response = context.HttpContext.Response;
53 | response.ContentType = "application/json";
54 | var writer = new JsonTextWriter(response.Output);
55 | var serializer = JsonSerializer.Create(new JsonSerializerSettings());
56 | serializer.Serialize(writer, _data);
57 | writer.Flush();
58 | }
59 | }
60 | }
--------------------------------------------------------------------------------
/Performance/AspNetMVC/Global.asax:
--------------------------------------------------------------------------------
1 | <%@ Application Codebehind="Global.asax.cs" Inherits="AspNetMVC.Global" Language="C#" %>
2 |
--------------------------------------------------------------------------------
/Performance/AspNetMVC/Global.asax.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Web.Mvc;
3 | using System.Web.Routing;
4 |
5 | namespace AspNetMVC
6 | {
7 | public class Global : System.Web.HttpApplication
8 | {
9 |
10 | protected void Application_Start(object sender, EventArgs e)
11 | {
12 | RouteConfig.RegisterRoutes(RouteTable.Routes);
13 | }
14 |
15 | protected void Session_Start(object sender, EventArgs e)
16 | {
17 |
18 | }
19 |
20 | protected void Application_BeginRequest(object sender, EventArgs e)
21 | {
22 |
23 | }
24 |
25 | protected void Application_AuthenticateRequest(object sender, EventArgs e)
26 | {
27 |
28 | }
29 |
30 | protected void Application_Error(object sender, EventArgs e)
31 | {
32 |
33 | }
34 |
35 | protected void Session_End(object sender, EventArgs e)
36 | {
37 |
38 | }
39 |
40 | protected void Application_End(object sender, EventArgs e)
41 | {
42 |
43 | }
44 | }
45 |
46 | public class RouteConfig
47 | {
48 | public static void RegisterRoutes(RouteCollection routes)
49 | {
50 | routes.MapRoute(
51 | name: "Default",
52 | url: "{controller}/{action}/{id}",
53 | defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
54 | );
55 | }
56 | }
57 | }
--------------------------------------------------------------------------------
/Performance/AspNetMVC/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // アセンブリに関する一般情報は、以下の属性セットによって
6 | // 制御されます。アセンブリに関連付けられている情報を変更するには、
7 | // これらの属性値を変更します。
8 | [assembly: AssemblyTitle("AspNetMVC")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("AspNetMVC")]
13 | [assembly: AssemblyCopyright("Copyright (C) 2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // ComVisible を false に設定すると、
18 | // COM コンポーネントがこのアセンブリ内のその型を認識できなくなります。
19 | // COM からこのアセンブリ内の型にアクセスする必要がある場合は、その型の ComVisible 属性を true に設定してください。
20 | [assembly: ComVisible(false)]
21 |
22 | // このプロジェクトが COM に公開される場合、次の GUID がタイプ ライブラリの ID になります。
23 | [assembly: Guid("6ac36ddc-811d-4dc3-90d2-f8b34f9d0a9f")]
24 |
25 | // アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
26 | //
27 | // メジャー バージョン
28 | // マイナー バージョン
29 | // ビルド番号
30 | // リビジョン
31 | //
32 | // すべての値を指定するか、下のように "*" を使ってリビジョンおよびビルド番号を
33 | // 既定値にすることができます:
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/Performance/AspNetMVC/Web.Debug.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
31 |
32 |
--------------------------------------------------------------------------------
/Performance/AspNetMVC/Web.Release.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
32 |
33 |
--------------------------------------------------------------------------------
/Performance/AspNetMVC/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/Performance/AspNetMVC/Web.config.uninstall.xdt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Performance/AspNetMVC/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Performance/LightNode.Helios/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // アセンブリに関する一般情報は、以下の属性セットによって
6 | // 制御されます。アセンブリに関連付けられている情報を変更するには、
7 | // これらの属性値を変更します。
8 | [assembly: AssemblyTitle("LightNode.Helios")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("LightNode.Helios")]
13 | [assembly: AssemblyCopyright("Copyright (C) 2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // ComVisible を false に設定すると、
18 | // COM コンポーネントがこのアセンブリ内のその型を認識できなくなります。
19 | // COM からこのアセンブリ内の型にアクセスする必要がある場合は、その型の ComVisible 属性を true に設定してください。
20 | [assembly: ComVisible(false)]
21 |
22 | // このプロジェクトが COM に公開される場合、次の GUID がタイプ ライブラリの ID になります。
23 | [assembly: Guid("54768dc3-0d05-49ae-a7dd-3ce633aa2952")]
24 |
25 | // アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
26 | //
27 | // メジャー バージョン
28 | // マイナー バージョン
29 | // ビルド番号
30 | // リビジョン
31 | //
32 | // すべての値を指定するか、下のように "*" を使ってリビジョンおよびビルド番号を
33 | // 既定値にすることができます:
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/Performance/LightNode.Helios/Startup.cs:
--------------------------------------------------------------------------------
1 | using Owin;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Web;
6 |
7 | namespace LightNode.Helios
8 | {
9 | public class Startup
10 | {
11 | public void Configuration(IAppBuilder app)
12 | {
13 | app.UseLightNode(new LightNode.Server.LightNodeOptions(Server.AcceptVerbs.Get | Server.AcceptVerbs.Post,
14 | new LightNode.Formatter.JsonNetContentFormatter()));
15 | }
16 | }
17 |
18 | public class Perf : LightNode.Server.LightNodeContract
19 | {
20 | public MyClass Echo(string name, int x, int y, MyEnum e)
21 | {
22 | return new MyClass { Name = name, Sum = (x + y) * (int)e };
23 | }
24 | }
25 |
26 | public class MyClass
27 | {
28 | public string Name { get; set; }
29 | public int Sum { get; set; }
30 | }
31 |
32 | public enum MyEnum
33 | {
34 | A = 2,
35 | B = 3,
36 | C = 4
37 | }
38 | }
--------------------------------------------------------------------------------
/Performance/LightNode.Helios/Web.Debug.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
31 |
32 |
--------------------------------------------------------------------------------
/Performance/LightNode.Helios/Web.Release.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
32 |
33 |
--------------------------------------------------------------------------------
/Performance/LightNode.Helios/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Performance/LightNode.Helios/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Performance/LightNode.Performance/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // アセンブリに関する一般情報は、以下の属性セットによって
6 | // 制御されます。アセンブリに関連付けられている情報を変更するには、
7 | // これらの属性値を変更します。
8 | [assembly: AssemblyTitle("LightNode.Performance")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("LightNode.Performance")]
13 | [assembly: AssemblyCopyright("Copyright (C) 2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // ComVisible を false に設定すると、
18 | // COM コンポーネントがこのアセンブリ内のその型を認識できなくなります。
19 | // COM からこのアセンブリ内の型にアクセスする必要がある場合は、その型の ComVisible 属性を true に設定してください。
20 | [assembly: ComVisible(false)]
21 |
22 | // このプロジェクトが COM に公開される場合、次の GUID がタイプ ライブラリの ID になります。
23 | [assembly: Guid("8ee50ce6-2ac4-4cd7-9324-6b0bc89db7e0")]
24 |
25 | // アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
26 | //
27 | // メジャー バージョン
28 | // マイナー バージョン
29 | // ビルド番号
30 | // リビジョン
31 | //
32 | // すべての値を指定するか、下のように "*" を使ってリビジョンおよびビルド番号を
33 | // 既定値にすることができます:
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/Performance/LightNode.Performance/Properties/PublishProfiles/LocalIIS.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | FileSystem
9 | Release
10 | Any CPU
11 |
12 | True
13 | False
14 | C:\inetpub\wwwroot
15 | False
16 |
17 |
--------------------------------------------------------------------------------
/Performance/LightNode.Performance/Web.Debug.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
31 |
32 |
--------------------------------------------------------------------------------
/Performance/LightNode.Performance/Web.Release.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
32 |
33 |
--------------------------------------------------------------------------------
/Performance/LightNode.Performance/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Performance/LightNode.Performance/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Performance/LightNode.SelfHost/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Performance/LightNode.SelfHost/Program.cs:
--------------------------------------------------------------------------------
1 | using LightNode.Server;
2 | using Microsoft.Owin.Hosting;
3 | using Owin;
4 | using System;
5 | using System.Collections.Generic;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 |
10 | namespace LightNode.SelfHost
11 | {
12 | class Program
13 | {
14 | static void Main(string[] args)
15 | {
16 | using (WebApp.Start("http://localhost:12345"))
17 | {
18 | Console.ReadLine();
19 | }
20 | }
21 | }
22 |
23 | public class Startup
24 | {
25 | public void Configuration(IAppBuilder appa)
26 | {
27 | appa.UseLightNode(new LightNode.Server.LightNodeOptions(Server.AcceptVerbs.Get | Server.AcceptVerbs.Post,
28 | new LightNode.Formatter.JsonNetContentFormatter()));
29 | }
30 | }
31 |
32 | public class Perf : LightNode.Server.LightNodeContract
33 | {
34 | public MyClass Echo(string name, int x, int y, MyEnum e)
35 | {
36 | return new MyClass { Name = name, Sum = (x + y) * (int)e };
37 | }
38 |
39 | public void Test(string a = null, int? x = null)
40 | {
41 | }
42 |
43 | public System.Threading.Tasks.Task Te()
44 | {
45 | return System.Threading.Tasks.Task.FromResult(1);
46 | }
47 |
48 | public void TestArray(string[] array, int[] array2)
49 | {
50 | }
51 |
52 | [Post]
53 | public string PostString(string hoge)
54 | {
55 | return hoge;
56 | }
57 | }
58 |
59 | public class MyClass
60 | {
61 | public string Name { get; set; }
62 | public int Sum { get; set; }
63 | }
64 |
65 | public enum MyEnum
66 | {
67 | A = 2,
68 | B = 3,
69 | C = 4
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/Performance/LightNode.SelfHost/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
6 | // アセンブリに関連付けられている情報を変更するには、
7 | // これらの属性値を変更してください。
8 | [assembly: AssemblyTitle("LightNode.SelfHost")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("LightNode.SelfHost")]
13 | [assembly: AssemblyCopyright("Copyright © 2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // ComVisible を false に設定すると、その型はこのアセンブリ内で COM コンポーネントから
18 | // 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、
19 | // その型の ComVisible 属性を true に設定してください。
20 | [assembly: ComVisible(false)]
21 |
22 | // 次の GUID は、このプロジェクトが COM に公開される場合の、typelib の ID です
23 | [assembly: Guid("29c81c1d-1dae-4d06-bbe1-926741f4e5de")]
24 |
25 | // アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
33 | // 既定値にすることができます:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Performance/LightNode.SelfHost/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Performance/Nancy/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // アセンブリに関する一般情報は、以下の属性セットによって
6 | // 制御されます。アセンブリに関連付けられている情報を変更するには、
7 | // これらの属性値を変更します。
8 | [assembly: AssemblyTitle("Nancy")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Nancy")]
13 | [assembly: AssemblyCopyright("Copyright (C) 2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // ComVisible を false に設定すると、
18 | // COM コンポーネントがこのアセンブリ内のその型を認識できなくなります。
19 | // COM からこのアセンブリ内の型にアクセスする必要がある場合は、その型の ComVisible 属性を true に設定してください。
20 | [assembly: ComVisible(false)]
21 |
22 | // このプロジェクトが COM に公開される場合、次の GUID がタイプ ライブラリの ID になります。
23 | [assembly: Guid("b7e2336a-d6d1-4934-ac30-37af030d54b1")]
24 |
25 | // アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
26 | //
27 | // メジャー バージョン
28 | // マイナー バージョン
29 | // ビルド番号
30 | // リビジョン
31 | //
32 | // すべての値を指定するか、下のように "*" を使ってリビジョンおよびビルド番号を
33 | // 既定値にすることができます:
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/Performance/Nancy/Startup.cs:
--------------------------------------------------------------------------------
1 | using Nancy;
2 | using Owin;
3 |
4 | namespace Nancyfx
5 | {
6 | public class Startup
7 | {
8 | public void Configuration(IAppBuilder app)
9 | {
10 | app.UseNancy(new Nancy.Owin.NancyOptions
11 | {
12 | Bootstrapper = new DefaultNancyBootstrapper()
13 | });
14 | }
15 | }
16 |
17 | public class HomeModule : NancyModule
18 | {
19 | public HomeModule()
20 | {
21 | Get["/{name}/{x}/{y}/{e}"] = (x) =>
22 | {
23 | return Response.AsJson(new MyClass { Name = x.name, Sum = ((int)x.x + (int)x.y) * (int)x.e });
24 | };
25 | }
26 | }
27 |
28 | public class MyClass
29 | {
30 | public string Name { get; set; }
31 | public int Sum { get; set; }
32 | }
33 |
34 | public enum MyEnum
35 | {
36 | A = 2,
37 | B = 3,
38 | C = 4
39 | }
40 | }
--------------------------------------------------------------------------------
/Performance/Nancy/Web.Debug.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
31 |
32 |
--------------------------------------------------------------------------------
/Performance/Nancy/Web.Release.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
32 |
33 |
--------------------------------------------------------------------------------
/Performance/Nancy/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Performance/Nancy/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Performance/PerfTest.ClientRunner/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Performance/PerfTest.ClientRunner/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
6 | // アセンブリに関連付けられている情報を変更するには、
7 | // これらの属性値を変更してください。
8 | [assembly: AssemblyTitle("PerfTest.ClientRunner")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("PerfTest.ClientRunner")]
13 | [assembly: AssemblyCopyright("Copyright © 2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // ComVisible を false に設定すると、その型はこのアセンブリ内で COM コンポーネントから
18 | // 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、
19 | // その型の ComVisible 属性を true に設定してください。
20 | [assembly: ComVisible(false)]
21 |
22 | // 次の GUID は、このプロジェクトが COM に公開される場合の、typelib の ID です
23 | [assembly: Guid("8a8ba86f-6f78-40ff-be5d-24e9b3add0d1")]
24 |
25 | // アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
33 | // 既定値にすることができます:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Performance/RawHttpHandler/AsyncHandler.ashx:
--------------------------------------------------------------------------------
1 | <%@ WebHandler Language="C#" CodeBehind="AsyncHandler.ashx.cs" Class="RawHttpHandler.AsyncHandler" %>
2 |
--------------------------------------------------------------------------------
/Performance/RawHttpHandler/AsyncHandler.ashx.cs:
--------------------------------------------------------------------------------
1 | using Newtonsoft.Json;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Web;
6 |
7 | namespace RawHttpHandler
8 | {
9 | public class AsyncHandler : HttpTaskAsyncHandler
10 | {
11 | public override System.Threading.Tasks.Task ProcessRequestAsync(HttpContext context)
12 | {
13 | var name = context.Request.QueryString.Get("name");
14 | var x = int.Parse(context.Request.QueryString.Get("x"));
15 | var y = int.Parse(context.Request.QueryString.Get("y"));
16 | var e = Enum.Parse(typeof(MyEnum), context.Request.QueryString.Get("e"));
17 |
18 | var mc = new MyClass { Name = name, Sum = (x + y) * (int)e };
19 |
20 | context.Response.ContentType = "application/json";
21 |
22 | var json = JsonConvert.SerializeObject(mc);
23 | var enc = System.Text.Encoding.UTF8.GetBytes(json);
24 | context.Response.ContentType = "application/json";
25 | return context.Response.OutputStream.WriteAsync(enc, 0, enc.Length);
26 | }
27 |
28 | public override bool IsReusable
29 | {
30 | get
31 | {
32 | return false;
33 | }
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/Performance/RawHttpHandler/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // アセンブリに関する一般情報は、以下の属性セットによって
6 | // 制御されます。アセンブリに関連付けられている情報を変更するには、
7 | // これらの属性値を変更します。
8 | [assembly: AssemblyTitle("RawHttpHandler")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("RawHttpHandler")]
13 | [assembly: AssemblyCopyright("Copyright (C) 2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // ComVisible を false に設定すると、
18 | // COM コンポーネントがこのアセンブリ内のその型を認識できなくなります。
19 | // COM からこのアセンブリ内の型にアクセスする必要がある場合は、その型の ComVisible 属性を true に設定してください。
20 | [assembly: ComVisible(false)]
21 |
22 | // このプロジェクトが COM に公開される場合、次の GUID がタイプ ライブラリの ID になります。
23 | [assembly: Guid("ef396eb3-89b0-4deb-bf4a-d9f683711779")]
24 |
25 | // アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
26 | //
27 | // メジャー バージョン
28 | // マイナー バージョン
29 | // ビルド番号
30 | // リビジョン
31 | //
32 | // すべての値を指定するか、下のように "*" を使ってリビジョンおよびビルド番号を
33 | // 既定値にすることができます:
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/Performance/RawHttpHandler/SyncHandler.ashx:
--------------------------------------------------------------------------------
1 | <%@ WebHandler Language="C#" CodeBehind="SyncHandler.ashx.cs" Class="RawHttpHandler.SyncHandler" %>
2 |
--------------------------------------------------------------------------------
/Performance/RawHttpHandler/SyncHandler.ashx.cs:
--------------------------------------------------------------------------------
1 | using Newtonsoft.Json;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.IO;
5 | using System.Linq;
6 | using System.Web;
7 |
8 | namespace RawHttpHandler
9 | {
10 | public class SyncHandler : IHttpHandler
11 | {
12 | public void ProcessRequest(HttpContext context)
13 | {
14 | var name = context.Request.QueryString.Get("name");
15 | var x = int.Parse(context.Request.QueryString.Get("x"));
16 | var y = int.Parse(context.Request.QueryString.Get("y"));
17 | var e = Enum.Parse(typeof(MyEnum), context.Request.QueryString.Get("e"));
18 |
19 | var mc = new MyClass { Name = name, Sum = (x + y) * (int)e };
20 |
21 | context.Response.ContentType = "application/json";
22 |
23 | var json = JsonConvert.SerializeObject(mc);
24 | var enc = System.Text.Encoding.UTF8.GetBytes(json);
25 | context.Response.ContentType = "application/json";
26 | context.Response.OutputStream.Write(enc, 0, enc.Length);
27 | }
28 |
29 | public bool IsReusable
30 | {
31 | get
32 | {
33 | return false;
34 | }
35 | }
36 | }
37 |
38 |
39 | public class MyClass
40 | {
41 | public string Name { get; set; }
42 | public int Sum { get; set; }
43 | }
44 |
45 | public enum MyEnum
46 | {
47 | A = 2,
48 | B = 3,
49 | C = 4
50 | }
51 |
52 | }
--------------------------------------------------------------------------------
/Performance/RawHttpHandler/Web.Debug.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
31 |
32 |
--------------------------------------------------------------------------------
/Performance/RawHttpHandler/Web.Release.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
32 |
33 |
--------------------------------------------------------------------------------
/Performance/RawHttpHandler/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Performance/RawHttpHandler/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Performance/RawOwinHandler/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // アセンブリに関する一般情報は、以下の属性セットによって
6 | // 制御されます。アセンブリに関連付けられている情報を変更するには、
7 | // これらの属性値を変更します。
8 | [assembly: AssemblyTitle("RawOwinHandler")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("RawOwinHandler")]
13 | [assembly: AssemblyCopyright("Copyright (C) 2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // ComVisible を false に設定すると、
18 | // COM コンポーネントがこのアセンブリ内のその型を認識できなくなります。
19 | // COM からこのアセンブリ内の型にアクセスする必要がある場合は、その型の ComVisible 属性を true に設定してください。
20 | [assembly: ComVisible(false)]
21 |
22 | // このプロジェクトが COM に公開される場合、次の GUID がタイプ ライブラリの ID になります。
23 | [assembly: Guid("8b9d05c6-4743-4a4f-a85c-11bb79b52fb2")]
24 |
25 | // アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
26 | //
27 | // メジャー バージョン
28 | // マイナー バージョン
29 | // ビルド番号
30 | // リビジョン
31 | //
32 | // すべての値を指定するか、下のように "*" を使ってリビジョンおよびビルド番号を
33 | // 既定値にすることができます:
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/Performance/RawOwinHandler/Startup.cs:
--------------------------------------------------------------------------------
1 | using Newtonsoft.Json;
2 | using Owin;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.IO;
6 | using System.Linq;
7 | using System.Threading.Tasks;
8 | using System.Web;
9 |
10 | namespace RawOwinHandler
11 | {
12 | public class Startup
13 | {
14 | readonly static Task EmptyTask = Task.FromResult