Showing preview only (5,150K chars total). Download the full file or copy to clipboard to get everything.
Repository: NancyFx/Nancy
Branch: master
Commit: e523defb12f5
Files: 1321
Total size: 4.7 MB
Directory structure:
gitextract_xv9v7nbg/
├── .editorconfig
├── .gitattributes
├── .github/
│ ├── CONTRIBUTING.md
│ ├── ISSUE_TEMPLATE.md
│ └── PULL_REQUEST_TEMPLATE.md
├── .gitignore
├── .mailmap
├── .travis.yml
├── Nancy.ruleset
├── Nancy.sln
├── Nancy.sln.DotSettings
├── NuGet.config
├── README.md
├── SharedAssemblyInfo.cs
├── appveyor.yml
├── build.cake
├── build.ps1
├── build.sh
├── favicon.license.txt
├── global.json
├── how_to_build.txt
├── license.txt
├── samples/
│ ├── Nancy.Demo.Async/
│ │ ├── App.config
│ │ ├── MainModule.cs
│ │ ├── Nancy.Demo.Async.csproj
│ │ └── Program.cs
│ ├── Nancy.Demo.Authentication/
│ │ ├── AnotherVerySecureModule.cs
│ │ ├── AuthenticationBootstrapper.cs
│ │ ├── MainModule.cs
│ │ ├── Models/
│ │ │ └── UserModel.cs
│ │ ├── Nancy.Demo.Authentication.csproj
│ │ ├── README.txt
│ │ ├── SecureModule.cs
│ │ ├── Views/
│ │ │ ├── Index.cshtml
│ │ │ ├── Login.cshtml
│ │ │ ├── secure.cshtml
│ │ │ └── superSecure.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Authentication.Basic/
│ │ ├── AuthenticationBootstrapper.cs
│ │ ├── MainModule.cs
│ │ ├── Nancy.Demo.Authentication.Basic.csproj
│ │ ├── SecureModule.cs
│ │ ├── UserValidator.cs
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Authentication.Forms/
│ │ ├── FormsAuthBootstrapper.cs
│ │ ├── MainModule.cs
│ │ ├── Models/
│ │ │ └── UserModel.cs
│ │ ├── Nancy.Demo.Authentication.Forms.csproj
│ │ ├── PartlySecureModule.cs
│ │ ├── README.txt
│ │ ├── SecureModule.cs
│ │ ├── UserDatabase.cs
│ │ ├── Views/
│ │ │ ├── index.cshtml
│ │ │ ├── login.cshtml
│ │ │ └── secure.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Authentication.Forms.TestingDemo/
│ │ ├── LoginFixture.cs
│ │ ├── Nancy.Demo.Authentication.Forms.TestingDemo.csproj
│ │ ├── TestBootstrapper.cs
│ │ ├── TestRootPathProvider.cs
│ │ └── packages.config
│ ├── Nancy.Demo.Authentication.Stateless/
│ │ ├── AuthModule.cs
│ │ ├── Models/
│ │ │ └── UserModel.cs
│ │ ├── Nancy.Demo.Authentication.Stateless.csproj
│ │ ├── RootModule.cs
│ │ ├── SecureModule.cs
│ │ ├── StatelessAuthBootstrapper.cs
│ │ ├── UserDatabase.cs
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Authentication.Stateless.Website/
│ │ ├── Nancy.Demo.Authentication.Stateless.Website.csproj
│ │ ├── Scripts/
│ │ │ ├── api.js
│ │ │ └── apiToken.js
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ ├── index.html
│ │ ├── login.html
│ │ └── secure.html
│ ├── Nancy.Demo.Bootstrapper.Aspnet/
│ │ ├── ApplicationDependencyClass.cs
│ │ ├── Bootstrapper.cs
│ │ ├── DependencyModule.cs
│ │ ├── IApplicationDependency.cs
│ │ ├── IRequestDependency.cs
│ │ ├── Models/
│ │ │ ├── RatPack.cs
│ │ │ └── RatPackWithDependencyText.cs
│ │ ├── Nancy.Demo.Bootstrapping.Aspnet.csproj
│ │ ├── README.txt
│ │ ├── RequestDependencyClass.cs
│ │ ├── Views/
│ │ │ └── razor-dependency.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Caching/
│ │ ├── CachedResponse.cs
│ │ ├── CachingBootstrapper.cs
│ │ ├── CachingExtensions/
│ │ │ └── ContextExtensions.cs
│ │ ├── MainModule.cs
│ │ ├── Nancy.Demo.Caching.csproj
│ │ ├── README.txt
│ │ ├── Views/
│ │ │ ├── Index.cshtml
│ │ │ └── Payload.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.ConstraintRouting/
│ │ ├── ConstraintRoutingModule.cs
│ │ ├── EmailRouteSegmentConstraint.cs
│ │ ├── Nancy.Demo.ConstraintRouting.csproj
│ │ ├── Views/
│ │ │ └── Index.html
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.CustomModule/
│ │ ├── DemoBootstrapper.cs
│ │ ├── MainModule.cs
│ │ ├── Nancy.Demo.CustomModule.csproj
│ │ ├── NancyRouteAttribute.cs
│ │ ├── UglifiedNancyModule.cs
│ │ ├── Views/
│ │ │ └── Index.html
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Hosting.Aspnet/
│ │ ├── ApplicationDependencyClass.cs
│ │ ├── Content/
│ │ │ ├── main.css
│ │ │ └── scripts.js
│ │ ├── CustomStatusHandler.cs
│ │ ├── DefaultRouteMetadataProvider.cs
│ │ ├── DemoBootstrapper.cs
│ │ ├── DependencyModule.cs
│ │ ├── HereBeAResponseYouScurvyDog.cs
│ │ ├── IApplicationDependency.cs
│ │ ├── IRequestDependency.cs
│ │ ├── MainModule.cs
│ │ ├── Metadata/
│ │ │ ├── MainMetadataModule.cs
│ │ │ └── MyUberRouteMetadata.cs
│ │ ├── Models/
│ │ │ ├── Payload.cs
│ │ │ ├── RatPack.cs
│ │ │ ├── RatPackWithDependencyText.cs
│ │ │ ├── Razor2.cs
│ │ │ └── SomeViewModel.cs
│ │ ├── MyConfig.cs
│ │ ├── MyConfigExtensions.cs
│ │ ├── Nancy.Demo.Hosting.Aspnet.csproj
│ │ ├── Piratizer4000.cs
│ │ ├── PngSerializer.cs
│ │ ├── README.txt
│ │ ├── RequestDependencyClass.cs
│ │ ├── Resources/
│ │ │ ├── Menu.Designer.cs
│ │ │ └── Menu.resx
│ │ ├── Views/
│ │ │ ├── FileUpload.sshtml
│ │ │ ├── anon.spark
│ │ │ ├── csrf.cshtml
│ │ │ ├── dot.liquid
│ │ │ ├── interactive-diags-methods.sshtml
│ │ │ ├── interactive-diags-results.sshtml
│ │ │ ├── interactive-diags.sshtml
│ │ │ ├── javascript.html
│ │ │ ├── meta.cshtml
│ │ │ ├── negotiatedview.cshtml
│ │ │ ├── nustache.nustache
│ │ │ ├── nustachePartial.nustache
│ │ │ ├── razor-dependency.cshtml
│ │ │ ├── razor-divzero.cshtml
│ │ │ ├── razor-error.cshtml
│ │ │ ├── razor-layout-error.cshtml
│ │ │ ├── razor-layout.cshtml
│ │ │ ├── razor-simple.cshtml
│ │ │ ├── razor-strong.cshtml
│ │ │ ├── razor-strong.vbhtml
│ │ │ ├── razor.cshtml
│ │ │ ├── razor2.cshtml
│ │ │ ├── routes.cshtml
│ │ │ ├── someview.cshtml
│ │ │ ├── spark.spark
│ │ │ ├── ssve.sshtml
│ │ │ ├── static.html
│ │ │ └── uber-meta.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ └── packages.config
│ ├── Nancy.Demo.Hosting.Kestrel/
│ │ ├── AppConfiguration.cs
│ │ ├── DemoBootstrapper.cs
│ │ ├── HomeModule.cs
│ │ ├── IAppConfiguration.cs
│ │ ├── Nancy.Demo.Hosting.Kestrel.csproj
│ │ ├── Person.cs
│ │ ├── PersonValidator.cs
│ │ ├── Program.cs
│ │ ├── Properties/
│ │ │ └── launchSettings.json
│ │ ├── Startup.cs
│ │ └── appsettings.json
│ ├── Nancy.Demo.Hosting.Owin/
│ │ ├── MainModule.cs
│ │ ├── Models/
│ │ │ └── Index.cs
│ │ ├── Nancy.Demo.Hosting.Owin.csproj
│ │ ├── Startup.cs
│ │ ├── Views/
│ │ │ └── Root.spark
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ └── packages.config
│ ├── Nancy.Demo.Hosting.Self/
│ │ ├── DemoBootstrapper.cs
│ │ ├── Models/
│ │ │ └── Index.cs
│ │ ├── Nancy.Demo.Hosting.Self.csproj
│ │ ├── Program.cs
│ │ ├── README.txt
│ │ ├── TestModule.cs
│ │ ├── Views/
│ │ │ ├── FileUpload.spark
│ │ │ └── staticview.html
│ │ └── app.config
│ ├── Nancy.Demo.MarkdownViewEngine/
│ │ ├── Content/
│ │ │ ├── blog.css
│ │ │ └── js/
│ │ │ └── jquery.spritely-0.6.js
│ │ ├── Model/
│ │ │ └── BlogModel.cs
│ │ ├── Modules/
│ │ │ └── HomeModule.cs
│ │ ├── Nancy.Demo.MarkdownViewEngine.csproj
│ │ ├── Views/
│ │ │ ├── Posts/
│ │ │ │ ├── future-post.md
│ │ │ │ ├── my-first-blog-post.md
│ │ │ │ ├── readme.md
│ │ │ │ └── why-use-nancy.md
│ │ │ ├── blogfooter.html
│ │ │ ├── blogheader.html
│ │ │ ├── blogindex.html
│ │ │ ├── master.html
│ │ │ └── popularposts.html
│ │ ├── packages.config
│ │ └── web.config
│ ├── Nancy.Demo.ModelBinding/
│ │ ├── CustomersModule.cs
│ │ ├── Database/
│ │ │ └── DB.cs
│ │ ├── EventsModule.cs
│ │ ├── JsonModule.cs
│ │ ├── MainModule.cs
│ │ ├── ModelBinders/
│ │ │ └── CustomerModelBinder.cs
│ │ ├── ModelBindingBootstrapper.cs
│ │ ├── Models/
│ │ │ ├── Customer.cs
│ │ │ ├── Event.cs
│ │ │ └── User.cs
│ │ ├── Nancy.Demo.ModelBinding.csproj
│ │ ├── Views/
│ │ │ ├── Customers.spark
│ │ │ ├── Events.spark
│ │ │ ├── PostJson.html
│ │ │ └── PostXml.html
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ └── XmlModule.cs
│ ├── Nancy.Demo.Razor.Localization/
│ │ ├── CustomResourceAssemblyProvider.cs
│ │ ├── DemoBootstrapper.cs
│ │ ├── Modules/
│ │ │ └── HomeModule.cs
│ │ ├── Nancy.Demo.Razor.Localization.csproj
│ │ ├── Resources/
│ │ │ ├── Text.Designer.cs
│ │ │ ├── Text.de-DE.resx
│ │ │ ├── Text.en-US.resx
│ │ │ └── Text.resx
│ │ ├── Views/
│ │ │ ├── CultureView-de-DE.cshtml
│ │ │ ├── CultureView.cshtml
│ │ │ ├── Index.cshtml
│ │ │ └── razor-layout.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.SparkViewEngine/
│ │ ├── FifthElement/
│ │ │ ├── Fifth.spark
│ │ │ └── FifthElementModule.cs
│ │ ├── MainModule.cs
│ │ ├── Nancy.Demo.SparkViewEngine.csproj
│ │ ├── Views/
│ │ │ ├── Index.spark
│ │ │ ├── Main/
│ │ │ │ ├── test.spark
│ │ │ │ └── test2.spark
│ │ │ ├── Shared/
│ │ │ │ ├── application.spark
│ │ │ │ └── html5.spark
│ │ │ └── _SmallBit.spark
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.SuperSimpleViewEngine/
│ │ ├── MainModule.cs
│ │ ├── Models/
│ │ │ └── MainModel.cs
│ │ ├── Nancy.Demo.SuperSimpleViewEngine.csproj
│ │ ├── Views/
│ │ │ ├── Index.sshtml
│ │ │ ├── Login.sshtml
│ │ │ ├── MasterPage.sshtml
│ │ │ └── User.sshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ └── Nancy.Demo.Validation/
│ ├── CustomersModule.cs
│ ├── Database/
│ │ └── DB.cs
│ ├── MainModule.cs
│ ├── Models/
│ │ ├── Customer.cs
│ │ ├── OddLengthStringAttribute.cs
│ │ ├── OddLengthStringAttributeAdapter.cs
│ │ └── Product.cs
│ ├── Nancy.Demo.Validation.csproj
│ ├── ProductsModule.cs
│ ├── ValidationBootstrapper.cs
│ ├── Views/
│ │ ├── CustomerError.spark
│ │ └── Customers.spark
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ └── packages.config
├── src/
│ ├── Directory.Build.props
│ ├── Nancy/
│ │ ├── AfterPipeline.cs
│ │ ├── AppDomainAssemblyCatalog.cs
│ │ ├── ArrayCache.cs
│ │ ├── AsyncNamedPipelineBase.cs
│ │ ├── BeforePipeline.cs
│ │ ├── Bootstrapper/
│ │ │ ├── BootstrapperException.cs
│ │ │ ├── CollectionTypeRegistration.cs
│ │ │ ├── ContainerRegistration.cs
│ │ │ ├── FavIconApplicationStartup.cs
│ │ │ ├── IApplicationStartup.cs
│ │ │ ├── INancyBootstrapper.cs
│ │ │ ├── IPipelines.cs
│ │ │ ├── IRegistrations.cs
│ │ │ ├── IRequestStartup.cs
│ │ │ ├── InstanceRegistration.cs
│ │ │ ├── Lifetime.cs
│ │ │ ├── ModuleRegistrationType.cs
│ │ │ ├── MultipleRootPathProvidersLocatedException.cs
│ │ │ ├── NancyBootstrapperBase.cs
│ │ │ ├── NancyBootstrapperLocator.cs
│ │ │ ├── NancyBootstrapperWithRequestContainerBase.cs
│ │ │ ├── NancyInternalConfiguration.cs
│ │ │ ├── Pipelines.cs
│ │ │ ├── Registrations.cs
│ │ │ └── TypeRegistration.cs
│ │ ├── Configuration/
│ │ │ ├── ConfigurationException.cs
│ │ │ ├── DefaultNancyEnvironment.cs
│ │ │ ├── DefaultNancyEnvironmentConfigurator.cs
│ │ │ ├── DefaultNancyEnvironmentFactory.cs
│ │ │ ├── INancyDefaultConfigurationProvider.cs
│ │ │ ├── INancyEnvironment.cs
│ │ │ ├── INancyEnvironmentConfigurator.cs
│ │ │ ├── INancyEnvironmentExtensions.cs
│ │ │ ├── INancyEnvironmentFactory.cs
│ │ │ └── NancyDefaultConfigurationProvider.cs
│ │ ├── Conventions/
│ │ │ ├── AcceptHeaderCoercionConventions.cs
│ │ │ ├── BuiltInAcceptHeaderCoercions.cs
│ │ │ ├── BuiltInCultureConventions.cs
│ │ │ ├── CultureConventions.cs
│ │ │ ├── DefaultAcceptHeaderCoercionConventions.cs
│ │ │ ├── DefaultCultureConventions.cs
│ │ │ ├── DefaultStaticContentsConventions.cs
│ │ │ ├── DefaultViewLocationConventions.cs
│ │ │ ├── IConvention.cs
│ │ │ ├── NancyConventions.cs
│ │ │ ├── StaticContentConventionBuilder.cs
│ │ │ ├── StaticContentHelper.cs
│ │ │ ├── StaticContentsConventions.cs
│ │ │ ├── StaticContentsConventionsExtensions.cs
│ │ │ ├── StaticDirectoryContent.cs
│ │ │ ├── StaticFileContent.cs
│ │ │ └── ViewLocationConventions.cs
│ │ ├── Cookies/
│ │ │ ├── INancyCookie.cs
│ │ │ └── NancyCookie.cs
│ │ ├── Cryptography/
│ │ │ ├── AesEncryptionProvider.cs
│ │ │ ├── Base64Helpers.cs
│ │ │ ├── CryptographyConfiguration.cs
│ │ │ ├── DefaultHmacProvider.cs
│ │ │ ├── HmacComparer.cs
│ │ │ ├── IEncryptionProvider.cs
│ │ │ ├── IHmacProvider.cs
│ │ │ ├── IKeyGenerator.cs
│ │ │ ├── NoEncryptionProvider.cs
│ │ │ ├── PassphraseKeyGenerator.cs
│ │ │ └── RandomKeyGenerator.cs
│ │ ├── Culture/
│ │ │ ├── DefaultCultureService.cs
│ │ │ └── ICultureService.cs
│ │ ├── DefaultGlobalizationConfigurationProvider.cs
│ │ ├── DefaultNancyBootstrapper.cs
│ │ ├── DefaultNancyContextFactory.cs
│ │ ├── DefaultObjectSerializer.cs
│ │ ├── DefaultResponseFormatter.cs
│ │ ├── DefaultResponseFormatterFactory.cs
│ │ ├── DefaultRootPathProvider.cs
│ │ ├── DefaultRouteConfigurationProvider.cs
│ │ ├── DefaultRuntimeEnvironmentInformation.cs
│ │ ├── DefaultSerializerFactory.cs
│ │ ├── DefaultStaticContentConfigurationProvider.cs
│ │ ├── DefaultStaticContentProvider.cs
│ │ ├── DefaultTraceConfigurationProvider.cs
│ │ ├── DefaultTypeCatalog.cs
│ │ ├── DefaultViewConfigurationProvider.cs
│ │ ├── DependencyContextAssemblyCatalog.cs
│ │ ├── Diagnostics/
│ │ │ ├── ConcurrentLimitedCollection.cs
│ │ │ ├── DefaultDiagnostics.cs
│ │ │ ├── DefaultDiagnosticsConfigurationProvider.cs
│ │ │ ├── DefaultRequestTrace.cs
│ │ │ ├── DefaultRequestTraceFactory.cs
│ │ │ ├── DefaultRequestTracing.cs
│ │ │ ├── DefaultTraceLog.cs
│ │ │ ├── DescriptionAttribute.cs
│ │ │ ├── DiagnosticModule.cs
│ │ │ ├── DiagnosticsConfiguration.cs
│ │ │ ├── DiagnosticsConfigurationExtensions.cs
│ │ │ ├── DiagnosticsHook.cs
│ │ │ ├── DiagnosticsModuleBuilder.cs
│ │ │ ├── DiagnosticsModuleCatalog.cs
│ │ │ ├── DiagnosticsSerializerFactory.cs
│ │ │ ├── DiagnosticsSession.cs
│ │ │ ├── DiagnosticsViewRenderer.cs
│ │ │ ├── DisabledDiagnostics.cs
│ │ │ ├── IDiagnostics.cs
│ │ │ ├── IDiagnosticsProvider.cs
│ │ │ ├── IInteractiveDiagnostics.cs
│ │ │ ├── IRequestTrace.cs
│ │ │ ├── IRequestTraceFactory.cs
│ │ │ ├── IRequestTracing.cs
│ │ │ ├── ITraceLog.cs
│ │ │ ├── InteractiveDiagnostic.cs
│ │ │ ├── InteractiveDiagnosticMethod.cs
│ │ │ ├── InteractiveDiagnostics.cs
│ │ │ ├── Modules/
│ │ │ │ ├── InfoModule.cs
│ │ │ │ ├── InteractiveModule.cs
│ │ │ │ ├── MainModule.cs
│ │ │ │ ├── SettingsModule.cs
│ │ │ │ └── TraceModule.cs
│ │ │ ├── NullLog.cs
│ │ │ ├── RequestData.cs
│ │ │ ├── RequestTraceSession.cs
│ │ │ ├── Resources/
│ │ │ │ ├── 960.css
│ │ │ │ ├── Modules/
│ │ │ │ │ ├── interactive/
│ │ │ │ │ │ ├── methods.js
│ │ │ │ │ │ ├── providers.js
│ │ │ │ │ │ └── results.js
│ │ │ │ │ └── tracing/
│ │ │ │ │ ├── sessions.js
│ │ │ │ │ └── traces.js
│ │ │ │ ├── backbone-min.js
│ │ │ │ ├── diagnostics.js
│ │ │ │ ├── handlebars.js
│ │ │ │ ├── interactive-diagnostics.js
│ │ │ │ ├── interactive.css
│ │ │ │ ├── jsonreport.js
│ │ │ │ ├── main.css
│ │ │ │ ├── nancy-common.js
│ │ │ │ ├── request-tracing.js
│ │ │ │ ├── reset.css
│ │ │ │ ├── text.css
│ │ │ │ └── underscore-min.js
│ │ │ ├── ResponseData.cs
│ │ │ ├── TemplateAttribute.cs
│ │ │ ├── TestingDiagnosticProvider.cs
│ │ │ └── Views/
│ │ │ ├── Dashboard.sshtml
│ │ │ ├── Info.sshtml
│ │ │ ├── InteractiveDiagnostics.sshtml
│ │ │ ├── RequestTracing.sshtml
│ │ │ ├── Settings.sshtml
│ │ │ ├── _DiagnosticsMaster.sshtml
│ │ │ ├── help.sshtml
│ │ │ └── login.sshtml
│ │ ├── DisabledStaticContentProvider.cs
│ │ ├── DynamicDictionary.cs
│ │ ├── DynamicDictionaryValue.cs
│ │ ├── ErrorHandling/
│ │ │ ├── DefaultStatusCodeHandler.cs
│ │ │ ├── Resources/
│ │ │ │ ├── 404.html
│ │ │ │ └── 500.html
│ │ │ └── RouteExecutionEarlyExitException.cs
│ │ ├── ErrorPipeline.cs
│ │ ├── Extensions/
│ │ │ ├── AssemblyExtensions.cs
│ │ │ ├── CollectionExtensions.cs
│ │ │ ├── ContextExtensions.cs
│ │ │ ├── MemoryStreamExtensions.cs
│ │ │ ├── ModelValidationErrorExtensions.cs
│ │ │ ├── ModuleExtensions.cs
│ │ │ ├── ObjectExtensions.cs
│ │ │ ├── RequestExtensions.cs
│ │ │ ├── StreamExtensions.cs
│ │ │ ├── StringExtensions.cs
│ │ │ └── TypeExtensions.cs
│ │ ├── FormatterExtensions.cs
│ │ ├── GlobalizationConfiguration.cs
│ │ ├── GlobalizationConfigurationExtensions.cs
│ │ ├── HeadResponse.cs
│ │ ├── Helpers/
│ │ │ ├── CacheHelpers.cs
│ │ │ ├── ExceptionExtensions.cs
│ │ │ ├── HttpEncoder.cs
│ │ │ ├── HttpUtility.cs
│ │ │ ├── ProxyNancyReferenceProber.cs
│ │ │ ├── ReflectionUtils.cs
│ │ │ └── TaskHelpers.cs
│ │ ├── HttpFile.cs
│ │ ├── HttpLink.cs
│ │ ├── HttpLinkBuilder.cs
│ │ ├── HttpLinkRelation.cs
│ │ ├── HttpMultipart.cs
│ │ ├── HttpMultipartBoundary.cs
│ │ ├── HttpMultipartBuffer.cs
│ │ ├── HttpMultipartSubStream.cs
│ │ ├── HttpStatusCode.cs
│ │ ├── IAssemblyCatalog.cs
│ │ ├── IHideObjectMembers.cs
│ │ ├── INancyContextFactory.cs
│ │ ├── INancyEngine.cs
│ │ ├── INancyModule.cs
│ │ ├── INancyModuleCatalog.cs
│ │ ├── IO/
│ │ │ ├── RequestStream.cs
│ │ │ └── UnclosableStreamWrapper.cs
│ │ ├── IObjectSerializer.cs
│ │ ├── IObjectSerializerSelector.cs
│ │ ├── IResourceAssemblyProvider.cs
│ │ ├── IResponseFormatter.cs
│ │ ├── IResponseFormatterFactory.cs
│ │ ├── IRootPathProvider.cs
│ │ ├── IRuntimeEnvironmentInformation.cs
│ │ ├── ISerializer.cs
│ │ ├── ISerializerFactory.cs
│ │ ├── IStaticContentProvider.cs
│ │ ├── IStatusCodeHandler.cs
│ │ ├── ITypeCatalog.cs
│ │ ├── IncludeInNancyAssemblyScanningAttribute.cs
│ │ ├── Json/
│ │ │ ├── Converters/
│ │ │ │ ├── TimeSpanConverter.cs
│ │ │ │ └── TupleConverter.cs
│ │ │ ├── DefaultJsonConfigurationProvider.cs
│ │ │ ├── JavaScriptConverter.cs
│ │ │ ├── JavaScriptPrimitiveConverter.cs
│ │ │ ├── JavaScriptSerializer.cs
│ │ │ ├── Json.cs
│ │ │ ├── JsonConfiguration.cs
│ │ │ ├── JsonConfigurationExtensions.cs
│ │ │ ├── ScriptIgnoreAttribute.cs
│ │ │ ├── Simple/
│ │ │ │ ├── NancySerializationStrategy.cs
│ │ │ │ └── SimpleJson.cs
│ │ │ └── SimpleJson.cs
│ │ ├── Jsonp.cs
│ │ ├── JsonpApplicationStartup.cs
│ │ ├── Localization/
│ │ │ ├── ITextResource.cs
│ │ │ ├── ResourceBasedTextResource.cs
│ │ │ └── TextResourceFinder.cs
│ │ ├── MimeTypes.cs
│ │ ├── ModelBinding/
│ │ │ ├── BindingConfig.cs
│ │ │ ├── BindingContext.cs
│ │ │ ├── BindingDefaults.cs
│ │ │ ├── BindingMemberInfo.cs
│ │ │ ├── DefaultBinder.cs
│ │ │ ├── DefaultBodyDeserializers/
│ │ │ │ ├── JsonBodyDeserializer.cs
│ │ │ │ └── XmlBodyDeserializer.cs
│ │ │ ├── DefaultConverters/
│ │ │ │ ├── CollectionConverter.cs
│ │ │ │ ├── DateTimeConverter.cs
│ │ │ │ ├── FallbackConverter.cs
│ │ │ │ └── NumericConverter.cs
│ │ │ ├── DefaultFieldNameConverter.cs
│ │ │ ├── DefaultModelBinderLocator.cs
│ │ │ ├── DynamicModelBinderAdapter.cs
│ │ │ ├── ExpressionExtensions.cs
│ │ │ ├── IBinder.cs
│ │ │ ├── IBodyDeserializer.cs
│ │ │ ├── IFieldNameConverter.cs
│ │ │ ├── IModelBinder.cs
│ │ │ ├── IModelBinderLocator.cs
│ │ │ ├── ITypeConverter.cs
│ │ │ ├── ModelBindingException.cs
│ │ │ ├── ModuleExtensions.cs
│ │ │ └── PropertyBindingException.cs
│ │ ├── NamedPipelineBase.cs
│ │ ├── Nancy.csproj
│ │ ├── NancyContext.cs
│ │ ├── NancyEngine.cs
│ │ ├── NancyEngineExtensions.cs
│ │ ├── NancyModule.cs
│ │ ├── NegotiatorExtensions.cs
│ │ ├── NotFoundResponse.cs
│ │ ├── Owin/
│ │ │ ├── DelegateExtensions.cs
│ │ │ ├── NancyContextExtensions.cs
│ │ │ ├── NancyMiddleware.cs
│ │ │ ├── NancyOptions.cs
│ │ │ └── NancyOptionsExtensions.cs
│ │ ├── PipelineItem.cs
│ │ ├── Properties/
│ │ │ └── InternalsVisibleTo.cs
│ │ ├── Request.cs
│ │ ├── RequestExecutionException.cs
│ │ ├── RequestHeaders.cs
│ │ ├── ResourceAssemblyProvider.cs
│ │ ├── Response.cs
│ │ ├── ResponseExtensions.cs
│ │ ├── Responses/
│ │ │ ├── DefaultJsonSerializer.cs
│ │ │ ├── DefaultXmlSerializer.cs
│ │ │ ├── EmbeddedFileResponse.cs
│ │ │ ├── GenericFileResponse.cs
│ │ │ ├── HtmlResponse.cs
│ │ │ ├── JsonResponse.cs
│ │ │ ├── MaterialisingResponse.cs
│ │ │ ├── NegotiatedResponse.cs
│ │ │ ├── Negotiation/
│ │ │ │ ├── DefaultResponseNegotiator.cs
│ │ │ │ ├── IResponseNegotiator.cs
│ │ │ │ ├── IResponseProcessor.cs
│ │ │ │ ├── JsonProcessor.cs
│ │ │ │ ├── MatchResult.cs
│ │ │ │ ├── MediaRange.cs
│ │ │ │ ├── MediaRangeParameters.cs
│ │ │ │ ├── MediaType.cs
│ │ │ │ ├── NegotiationContext.cs
│ │ │ │ ├── Negotiator.cs
│ │ │ │ ├── ProcessorMatch.cs
│ │ │ │ ├── ResponseProcessor.cs
│ │ │ │ ├── ViewProcessor.cs
│ │ │ │ └── XmlProcessor.cs
│ │ │ ├── NotAcceptableResponse.cs
│ │ │ ├── RedirectResponse.cs
│ │ │ ├── StreamResponse.cs
│ │ │ ├── TextResponse.cs
│ │ │ └── XmlResponse.cs
│ │ ├── RouteConfiguration.cs
│ │ ├── RouteConfigurationExtensions.cs
│ │ ├── Routing/
│ │ │ ├── Constraints/
│ │ │ │ ├── AlphaRouteSegmentConstraint.cs
│ │ │ │ ├── BoolRouteSegmentConstraint.cs
│ │ │ │ ├── CustomDateTimeRouteSegmentConstraint.cs
│ │ │ │ ├── DateTimeRouteSegmentConstraint.cs
│ │ │ │ ├── DecimalRouteSegmentConstraint.cs
│ │ │ │ ├── GuidRouteSegmentConstraint.cs
│ │ │ │ ├── IRouteSegmentConstraint.cs
│ │ │ │ ├── IntRouteSegmentConstraint.cs
│ │ │ │ ├── LengthRouteSegmentConstraint.cs
│ │ │ │ ├── LongRouteSegmentConstraint.cs
│ │ │ │ ├── MaxLengthRouteSegmentConstraint.cs
│ │ │ │ ├── MaxRouteSegmentConstraint.cs
│ │ │ │ ├── MinLengthRouteSegmentConstraint.cs
│ │ │ │ ├── MinRouteSegmentConstraint.cs
│ │ │ │ ├── ParameterizedRouteSegmentConstraintBase.cs
│ │ │ │ ├── RangeRouteSegmentConstraint.cs
│ │ │ │ ├── RouteSegmentConstraintBase.cs
│ │ │ │ └── VersionRouteSegmentConstraint.cs
│ │ │ ├── DefaultNancyModuleBuilder.cs
│ │ │ ├── DefaultRequestDispatcher.cs
│ │ │ ├── DefaultRouteCacheProvider.cs
│ │ │ ├── DefaultRouteDescriptionProvider.cs
│ │ │ ├── DefaultRouteInvoker.cs
│ │ │ ├── DefaultRouteResolver.cs
│ │ │ ├── DefaultRouteSegmentExtractor.cs
│ │ │ ├── INancyModuleBuilder.cs
│ │ │ ├── IRequestDispatcher.cs
│ │ │ ├── IRouteCache.cs
│ │ │ ├── IRouteCacheProvider.cs
│ │ │ ├── IRouteDescriptionProvider.cs
│ │ │ ├── IRouteInvoker.cs
│ │ │ ├── IRouteMetadataProvider.cs
│ │ │ ├── IRouteResolver.cs
│ │ │ ├── IRouteSegmentExtractor.cs
│ │ │ ├── MethodNotAllowedRoute.cs
│ │ │ ├── NotFoundRoute.cs
│ │ │ ├── OptionsRoute.cs
│ │ │ ├── ParameterSegmentInformation.cs
│ │ │ ├── ResolveResult.cs
│ │ │ ├── Route.cs
│ │ │ ├── RouteCache.cs
│ │ │ ├── RouteCacheExtensions.cs
│ │ │ ├── RouteDescription.cs
│ │ │ ├── RouteMetadata.cs
│ │ │ ├── RouteMetadataProvider.cs
│ │ │ └── Trie/
│ │ │ ├── IRouteResolverTrie.cs
│ │ │ ├── ITrieNodeFactory.cs
│ │ │ ├── MatchResult.cs
│ │ │ ├── NodeData.cs
│ │ │ ├── NodeDataExtensions.cs
│ │ │ ├── Nodes/
│ │ │ │ ├── CaptureNode.cs
│ │ │ │ ├── CaptureNodeWithConstraint.cs
│ │ │ │ ├── CaptureNodeWithDefaultValue.cs
│ │ │ │ ├── CaptureNodeWithMultipleParameters.cs
│ │ │ │ ├── GreedyCaptureNode.cs
│ │ │ │ ├── GreedyRegExCaptureNode.cs
│ │ │ │ ├── LiteralNode.cs
│ │ │ │ ├── OptionalCaptureNode.cs
│ │ │ │ ├── RegExNode.cs
│ │ │ │ ├── RootNode.cs
│ │ │ │ └── TrieNode.cs
│ │ │ ├── RouteResolverTrie.cs
│ │ │ ├── SegmentMatch.cs
│ │ │ └── TrieNodeFactory.cs
│ │ ├── Security/
│ │ │ ├── ClaimsPrincipalExtensions.cs
│ │ │ ├── Csrf.cs
│ │ │ ├── CsrfApplicationStartup.cs
│ │ │ ├── CsrfToken.cs
│ │ │ ├── CsrfTokenExtensions.cs
│ │ │ ├── CsrfTokenValidationResult.cs
│ │ │ ├── CsrfValidationException.cs
│ │ │ ├── DefaultCsrfTokenValidator.cs
│ │ │ ├── ICsrfTokenValidator.cs
│ │ │ ├── ModuleSecurity.cs
│ │ │ ├── SSLProxy.cs
│ │ │ └── SecurityHooks.cs
│ │ ├── Session/
│ │ │ ├── CookieBasedSessions.cs
│ │ │ ├── CookieBasedSessionsConfiguration.cs
│ │ │ ├── ISession.cs
│ │ │ ├── NullSessionProvider.cs
│ │ │ └── Session.cs
│ │ ├── StaticConfiguration.cs
│ │ ├── StaticContent.cs
│ │ ├── StaticContentConfiguration.cs
│ │ ├── StaticContentConfigurationExtensions.cs
│ │ ├── TinyIoc/
│ │ │ └── TinyIoC.cs
│ │ ├── TraceConfiguration.cs
│ │ ├── TraceConfigurationExtensions.cs
│ │ ├── TypeCatalogExtensions.cs
│ │ ├── TypeResolveStrategies.cs
│ │ ├── TypeResolveStrategy.cs
│ │ ├── Url.cs
│ │ ├── Validation/
│ │ │ ├── CompositeValidator.cs
│ │ │ ├── DefaultValidatorLocator.cs
│ │ │ ├── IModelValidator.cs
│ │ │ ├── IModelValidatorFactory.cs
│ │ │ ├── IModelValidatorLocator.cs
│ │ │ ├── ModelValidationDescriptor.cs
│ │ │ ├── ModelValidationError.cs
│ │ │ ├── ModelValidationException.cs
│ │ │ ├── ModelValidationResult.cs
│ │ │ ├── ModelValidationRule.cs
│ │ │ ├── ModuleExtensions.cs
│ │ │ └── Rules/
│ │ │ ├── ComparisonOperator.cs
│ │ │ ├── ComparisonValidationRule.cs
│ │ │ ├── NotEmptyValidationRule.cs
│ │ │ ├── NotNullValidationRule.cs
│ │ │ ├── RegexValidationRule.cs
│ │ │ └── StringLengthValidationRule.cs
│ │ ├── ViewConfiguration.cs
│ │ ├── ViewConfigurationExtensions.cs
│ │ ├── ViewEngines/
│ │ │ ├── AmbiguousViewsException.cs
│ │ │ ├── DefaultFileSystemReader.cs
│ │ │ ├── DefaultRenderContext.cs
│ │ │ ├── DefaultRenderContextFactory.cs
│ │ │ ├── DefaultResourceReader.cs
│ │ │ ├── DefaultViewCache.cs
│ │ │ ├── DefaultViewFactory.cs
│ │ │ ├── DefaultViewLocator.cs
│ │ │ ├── DefaultViewResolver.cs
│ │ │ ├── Extensions.cs
│ │ │ ├── FileSystemViewLocationProvider.cs
│ │ │ ├── FileSystemViewLocationResult.cs
│ │ │ ├── IFileSystemReader.cs
│ │ │ ├── IRenderContext.cs
│ │ │ ├── IRenderContextFactory.cs
│ │ │ ├── IResourceReader.cs
│ │ │ ├── IViewCache.cs
│ │ │ ├── IViewEngine.cs
│ │ │ ├── IViewFactory.cs
│ │ │ ├── IViewLocationProvider.cs
│ │ │ ├── IViewLocator.cs
│ │ │ ├── IViewResolver.cs
│ │ │ ├── ResourceViewLocationProvider.cs
│ │ │ ├── SuperSimpleViewEngine/
│ │ │ │ ├── ISuperSimpleViewEngineMatcher.cs
│ │ │ │ ├── IViewEngineHost.cs
│ │ │ │ ├── NancyViewEngineHost.cs
│ │ │ │ ├── SuperSimpleViewEngine.cs
│ │ │ │ ├── SuperSimpleViewEngineRegistrations.cs
│ │ │ │ └── SuperSimpleViewEngineWrapper.cs
│ │ │ ├── ViewEngineApplicationStartup.cs
│ │ │ ├── ViewEngineStartupContext.cs
│ │ │ ├── ViewLocationContext.cs
│ │ │ ├── ViewLocationResult.cs
│ │ │ ├── ViewNotFoundException.cs
│ │ │ └── ViewRenderException.cs
│ │ ├── ViewRenderer.cs
│ │ └── Xml/
│ │ ├── DefaultXmlConfigurationProvider.cs
│ │ ├── XmlConfiguration.cs
│ │ └── XmlConfigurationExtensions.cs
│ ├── Nancy.Authentication.Basic/
│ │ ├── BasicAuthentication.cs
│ │ ├── BasicAuthenticationConfiguration.cs
│ │ ├── BasicHttpExtensions.cs
│ │ ├── IUserValidator.cs
│ │ ├── Nancy.Authentication.Basic.csproj
│ │ └── UserPromptBehaviour.cs
│ ├── Nancy.Authentication.Forms/
│ │ ├── FormsAuthentication.cs
│ │ ├── FormsAuthenticationConfiguration.cs
│ │ ├── IUserMapper.cs
│ │ ├── ModuleExtensions.cs
│ │ └── Nancy.Authentication.Forms.csproj
│ ├── Nancy.Authentication.Stateless/
│ │ ├── Nancy.Authentication.Stateless.csproj
│ │ ├── StatelessAuthentication.cs
│ │ └── StatelessAuthenticationConfiguration.cs
│ ├── Nancy.Embedded/
│ │ ├── Conventions/
│ │ │ └── EmbeddedStaticContentConventionBuilder.cs
│ │ └── Nancy.Embedded.csproj
│ ├── Nancy.Encryption.MachineKey/
│ │ ├── MachineKeyCryptographyConfigurations.cs
│ │ ├── MachineKeyEncryptionProvider.cs
│ │ ├── MachineKeyHmacProvider.cs
│ │ └── Nancy.Encryption.MachineKey.csproj
│ ├── Nancy.Hosting.Aspnet/
│ │ ├── AspNetRootPathProvider.cs
│ │ ├── BootstrapperEntry.cs
│ │ ├── DefaultNancyAspNetBootstrapper.cs
│ │ ├── Nancy.Hosting.Aspnet.csproj
│ │ ├── NancyFxSection.cs
│ │ ├── NancyHandler.cs
│ │ ├── NancyHttpRequestHandler.cs
│ │ ├── NancyResponseStream.cs
│ │ ├── TinyIoCAspNetExtensions.cs
│ │ └── web.config.transform
│ ├── Nancy.Hosting.Self/
│ │ ├── AutomaticUrlReservationCreationFailureException.cs
│ │ ├── FileSystemRootPathProvider.cs
│ │ ├── HostConfiguration.cs
│ │ ├── IgnoredHeaders.cs
│ │ ├── Nancy.Hosting.Self.csproj
│ │ ├── NancyHost.cs
│ │ ├── NetSh.cs
│ │ ├── Properties/
│ │ │ └── InternalsVisibleTo.cs
│ │ ├── UacHelper.cs
│ │ ├── UriExtensions.cs
│ │ └── UrlReservations.cs
│ ├── Nancy.Metadata.Modules/
│ │ ├── DefaultMetadataModuleConventions.cs
│ │ ├── DefaultMetadataModuleResolver.cs
│ │ ├── IMetadataModule.cs
│ │ ├── IMetadataModuleResolver.cs
│ │ ├── MetadataModule.cs
│ │ ├── MetadataModuleRegistrations.cs
│ │ ├── MetadataModuleRouteMetadataProvider.cs
│ │ └── Nancy.Metadata.Modules.csproj
│ ├── Nancy.Owin/
│ │ ├── AppBuilderExtensions.cs
│ │ └── Nancy.Owin.csproj
│ ├── Nancy.Testing/
│ │ ├── Accept.cs
│ │ ├── AndConnector.cs
│ │ ├── AssertEqualityComparer.cs
│ │ ├── AssertException.cs
│ │ ├── AssertExtensions.cs
│ │ ├── Asserts.cs
│ │ ├── Browser.cs
│ │ ├── BrowserContext.cs
│ │ ├── BrowserContextExtensions.cs
│ │ ├── BrowserContextMultipartFormData.cs
│ │ ├── BrowserResponse.cs
│ │ ├── BrowserResponseBodyWrapper.cs
│ │ ├── BrowserResponseBodyWrapperExtensions.cs
│ │ ├── BrowserResponseExtensions.cs
│ │ ├── ConfigurableBootstrapper.cs
│ │ ├── ConfigurableNancyModule.cs
│ │ ├── DocumentWrapper.cs
│ │ ├── IBrowserContextValues.cs
│ │ ├── IndexHelper.cs
│ │ ├── Nancy.Testing.csproj
│ │ ├── NancyContextExtensions.cs
│ │ ├── NodeWrapper.cs
│ │ ├── PassThroughStatusHandler.cs
│ │ ├── PathHelper.cs
│ │ ├── QueryWrapper.cs
│ │ ├── Resources/
│ │ │ └── NancyTestingCert.pfx
│ │ ├── StaticConfigurationContext.cs
│ │ ├── TestingViewBrowserResponseExtensions.cs
│ │ ├── TestingViewContextKeys.cs
│ │ └── TestingViewFactory.cs
│ ├── Nancy.Validation.DataAnnotations/
│ │ ├── DataAnnotationsRegistrations.cs
│ │ ├── DataAnnotationsValidator.cs
│ │ ├── DataAnnotationsValidatorAdapter.cs
│ │ ├── DataAnnotationsValidatorFactory.cs
│ │ ├── DefaultPropertyValidatorFactory.cs
│ │ ├── DefaultValidatableObjectAdapter.cs
│ │ ├── IDataAnnotationsValidatorAdapter.cs
│ │ ├── IPropertyValidator.cs
│ │ ├── IPropertyValidatorFactory.cs
│ │ ├── IValidatableObjectAdapter.cs
│ │ ├── Nancy.Validation.DataAnnotations.csproj
│ │ ├── PropertyValidator.cs
│ │ ├── RangeValidatorAdapter.cs
│ │ ├── RegexValidatorAdapter.cs
│ │ ├── RequiredValidatorAdapter.cs
│ │ └── StringLengthValidatorAdapter.cs
│ ├── Nancy.Validation.FluentValidation/
│ │ ├── AdapterBase.cs
│ │ ├── DefaultFluentAdapterFactory.cs
│ │ ├── EmailAdapter.cs
│ │ ├── EqualAdapter.cs
│ │ ├── ExactLengthAdapater.cs
│ │ ├── ExclusiveBetweenAdapter.cs
│ │ ├── FallbackAdapter.cs
│ │ ├── FluentValidationRegistrations.cs
│ │ ├── FluentValidationValidator.cs
│ │ ├── FluentValidationValidatorFactory.cs
│ │ ├── GreaterThanAdapter.cs
│ │ ├── GreaterThanOrEqualAdapter.cs
│ │ ├── IFluentAdapter.cs
│ │ ├── IFluentAdapterFactory.cs
│ │ ├── InclusiveBetweenAdapter.cs
│ │ ├── LengthAdapter.cs
│ │ ├── LessThanAdapter.cs
│ │ ├── LessThanOrEqualAdapter.cs
│ │ ├── Nancy.Validation.FluentValidation.csproj
│ │ ├── NotEmptyAdapter.cs
│ │ ├── NotEqualAdapter.cs
│ │ ├── NotNullAdapter.cs
│ │ └── RegularExpressionAdapter.cs
│ ├── Nancy.ViewEngines.DotLiquid/
│ │ ├── DefaultFileSystemFactory.cs
│ │ ├── DotLiquidRegistrations.cs
│ │ ├── DotLiquidViewEngine.cs
│ │ ├── DynamicDrop.cs
│ │ ├── IFileSystemFactory.cs
│ │ ├── LiquidNancyFileSystem.cs
│ │ ├── Nancy.ViewEngines.DotLiquid.csproj
│ │ └── Resources/
│ │ └── 500.liquid
│ ├── Nancy.ViewEngines.Markdown/
│ │ ├── MarkDownViewEngine.cs
│ │ ├── MarkdownViewEngineHost.cs
│ │ ├── MarkdownViewengineRender.cs
│ │ └── Nancy.ViewEngines.Markdown.csproj
│ ├── Nancy.ViewEngines.Nustache/
│ │ ├── Nancy.ViewEngines.Nustache.csproj
│ │ └── NustacheViewEngine.cs
│ ├── Nancy.ViewEngines.Razor/
│ │ ├── AttributeValue.cs
│ │ ├── CSharp/
│ │ │ ├── CSharpClrTypeResolver.cs
│ │ │ ├── CSharpRazorViewRenderer.cs
│ │ │ └── NancyCSharpRazorCodeParser.cs
│ │ ├── ClrTypeResolver.cs
│ │ ├── CodeParserHelper.cs
│ │ ├── DefaultRazorConfiguration.cs
│ │ ├── EncodedHtmlString.cs
│ │ ├── HelperResult.cs
│ │ ├── HtmlHelpers.cs
│ │ ├── HtmlHelpersExtensions.cs
│ │ ├── IHtmlString.cs
│ │ ├── INancyRazorView.cs
│ │ ├── IRazorConfiguration.cs
│ │ ├── IRazorViewRenderer.cs
│ │ ├── ModelCodeGenerator.cs
│ │ ├── Nancy.ViewEngines.Razor.csproj
│ │ ├── NancyRazorEngineHost.cs
│ │ ├── NancyRazorErrorView.cs
│ │ ├── NancyRazorViewBase.cs
│ │ ├── NonEncodedHtmlString.cs
│ │ ├── RazorAssemblyProvider.cs
│ │ ├── RazorConfigurationSection.cs
│ │ ├── RazorViewEngine.cs
│ │ ├── RazorViewEngineApplicationStartupRegistrations.cs
│ │ ├── Resources/
│ │ │ └── CompilationError.html
│ │ ├── UrlHelpers.cs
│ │ ├── app.config.transform
│ │ ├── targets/
│ │ │ └── Nancy.ViewEngines.Razor.targets
│ │ └── web.config.transform
│ ├── Nancy.ViewEngines.Razor.BuildProviders/
│ │ ├── Nancy.ViewEngines.Razor.BuildProviders.csproj
│ │ └── NancyCSharpRazorBuildProvider.cs
│ └── Nancy.ViewEngines.Spark/
│ ├── Descriptors/
│ │ ├── BuildDescriptorParams.cs
│ │ ├── DefaultDescriptorBuilder.cs
│ │ ├── DescriptorFilterExtensions.cs
│ │ ├── IDescriptorBuilder.cs
│ │ └── IDescriptorFilter.cs
│ ├── Nancy.ViewEngines.Spark.csproj
│ ├── NancyBindingProvider.cs
│ ├── NancySparkView.cs
│ ├── NancyViewData.cs
│ ├── NancyViewFolder.cs
│ ├── SparkRenderContextWrapper.cs
│ ├── SparkViewEngine.cs
│ └── SparkViewEngineResult.cs
├── test/
│ ├── Directory.Build.props
│ ├── Nancy.Authentication.Basic.Tests/
│ │ ├── BasicAuthenticationConfigurationFixture.cs
│ │ ├── BasicAuthenticationFixture.cs
│ │ └── Nancy.Authentication.Basic.Tests.csproj
│ ├── Nancy.Authentication.Forms.Tests/
│ │ ├── FormsAuthenticationConfigurationFixture.cs
│ │ ├── FormsAuthenticationFixture.cs
│ │ └── Nancy.Authentication.Forms.Tests.csproj
│ ├── Nancy.Embedded.Tests/
│ │ ├── Nancy.Embedded.Tests.csproj
│ │ ├── Resources/
│ │ │ ├── Subfolder/
│ │ │ │ └── embedded2.txt
│ │ │ ├── Subfolder-with-hyphen/
│ │ │ │ └── embedded3.txt
│ │ │ └── embedded.txt
│ │ └── Unit/
│ │ └── EmbeddedStaticContentConventionBuilderFixture.cs
│ ├── Nancy.Encryption.MachineKey.Tests/
│ │ ├── MachineConfigEncryptionProviderFixture.cs
│ │ ├── MachineKeyHmacProviderFixture.cs
│ │ └── Nancy.Encryption.MachineKey.Tests.csproj
│ ├── Nancy.Hosting.Aspnet.Tests/
│ │ ├── Nancy.Hosting.Aspnet.Tests.csproj
│ │ └── NancyHandlerFixture.cs
│ ├── Nancy.Hosting.Self.Tests/
│ │ ├── IsCaseInstensitiveBaseOfFixture.cs
│ │ ├── MakeAppLocalPathFixture.cs
│ │ ├── Nancy.Hosting.Self.Tests.csproj
│ │ ├── NancySelfHostFixture.cs
│ │ └── TestModule.cs
│ ├── Nancy.Metadata.Modules.Tests/
│ │ ├── DefaultMetadataModuleConventionsFixture.cs
│ │ ├── FakeNancyMetadataModule.cs
│ │ ├── FakeNancyModule.cs
│ │ ├── Metadata/
│ │ │ └── FakeNancyMetadataModule.cs
│ │ ├── MetadataModuleFixture.cs
│ │ ├── MetadataModuleRouteMetadataProviderFixture.cs
│ │ ├── Modules/
│ │ │ └── FakeNancyModule.cs
│ │ └── Nancy.Metadata.Modules.Tests.csproj
│ ├── Nancy.Owin.Tests/
│ │ ├── AppBuilderExtensionsFixture.cs
│ │ └── Nancy.Owin.Tests.csproj
│ ├── Nancy.Testing.Tests/
│ │ ├── AndConnectorTests.cs
│ │ ├── AssertEqualityComparerFixture.cs
│ │ ├── AssertExtensionsTests.cs
│ │ ├── BrowserContextExtensionsFixture.cs
│ │ ├── BrowserDefaultsFixture.cs
│ │ ├── BrowserFixture.cs
│ │ ├── BrowserResponseBodyWrapperExtensionsFixture.cs
│ │ ├── BrowserResponseBodyWrapperFixture.cs
│ │ ├── BrowserResponseExtensionsTests.cs
│ │ ├── CaseSensitivityFixture.cs
│ │ ├── ConfigurableBootstrapperDependenciesTests.cs
│ │ ├── ConfigurableBootstrapperFixture.cs
│ │ ├── ContextExtensionsTests.cs
│ │ ├── DocumentWrapperTests.cs
│ │ ├── Nancy.Testing.Tests.csproj
│ │ ├── PathHelperTests.cs
│ │ ├── QueryWrapperTests.cs
│ │ └── TestingViewExtensions/
│ │ ├── GetModelExtententionsTests.cs
│ │ ├── GetModuleNameExtensionTests.cs
│ │ ├── GetModulePathExtensionMethodTests.cs
│ │ ├── GetViewNameExtensionTests.cs
│ │ ├── TestingViewFactoryTestModule.cs
│ │ └── ViewFactoryTest.sshtml
│ ├── Nancy.Tests/
│ │ ├── Extensions/
│ │ │ └── ResponseExtensions.cs
│ │ ├── Fakes/
│ │ │ ├── FakeDefaultNancyBootstrapper.cs
│ │ │ ├── FakeHookedModule.cs
│ │ │ ├── FakeModuleCatalog.cs
│ │ │ ├── FakeNancyModule.cs
│ │ │ ├── FakeNancyModuleNoRoutes.cs
│ │ │ ├── FakeNancyModuleWithBasePath.cs
│ │ │ ├── FakeNancyModuleWithDependency.cs
│ │ │ ├── FakeNancyModuleWithPreAndPostHooks.cs
│ │ │ ├── FakeNancyModuleWithoutBasePath.cs
│ │ │ ├── FakeObjectSerializer.cs
│ │ │ ├── FakeRequest.cs
│ │ │ ├── FakeRoute.cs
│ │ │ ├── FakeRouteCache.cs
│ │ │ ├── FakeRouteResolver.cs
│ │ │ ├── FakeViewEngine.cs
│ │ │ ├── FakeViewEngineHost.cs
│ │ │ ├── MockPipelines.cs
│ │ │ ├── Person.cs
│ │ │ ├── PersonWithAgeField.cs
│ │ │ ├── StructModel.cs
│ │ │ └── ViewModel.cs
│ │ ├── Helpers/
│ │ │ ├── AssemblyHelpers.cs
│ │ │ ├── CacheHelpersFixture.cs
│ │ │ └── ExceptionExtensionsFixture.cs
│ │ ├── Nancy.Tests.csproj
│ │ ├── NoAppStartupsFixture.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── Resources/
│ │ │ ├── Assets/
│ │ │ │ └── Styles/
│ │ │ │ ├── Sub/
│ │ │ │ │ └── styles.css
│ │ │ │ ├── Sub.folder/
│ │ │ │ │ └── styles.css
│ │ │ │ ├── css/
│ │ │ │ │ └── styles.css
│ │ │ │ ├── dotted.filename.css
│ │ │ │ ├── space in name.css
│ │ │ │ ├── strange-css-filename.css
│ │ │ │ └── styles.css
│ │ │ ├── Link.Texts.Designer.cs
│ │ │ ├── Link.Texts.resx
│ │ │ ├── Menu.Designer.cs
│ │ │ ├── Menu.Texts.Designer.cs
│ │ │ ├── Menu.Texts.resx
│ │ │ ├── Menu.resx
│ │ │ ├── Views/
│ │ │ │ ├── SuperSimpleViewEngineSampleContent.cs
│ │ │ │ └── staticviewresource.html
│ │ │ └── test.txt
│ │ ├── Responses/
│ │ │ └── MaterialisingResponseFixture.cs
│ │ ├── ShouldExtensions.cs
│ │ ├── Unit/
│ │ │ ├── AfterPipelineFixture.cs
│ │ │ ├── AppDomainAssemblyCatalogFixture.cs
│ │ │ ├── BeforePipelineFixture.cs
│ │ │ ├── Bootstrapper/
│ │ │ │ ├── Base/
│ │ │ │ │ ├── BootstrapperBaseFixtureBase.cs
│ │ │ │ │ └── ModuleCatalogFixtureBase.cs
│ │ │ │ ├── BootstrapperLocatorFixture.cs
│ │ │ │ ├── CollectionTypeRegistrationFixture.cs
│ │ │ │ ├── InstanceRegistrationFixture.cs
│ │ │ │ ├── NancyBootstrapperBaseFixture.cs
│ │ │ │ ├── NancyBootstrapperWithRequestContainerBaseFixture.cs
│ │ │ │ ├── NancyInternalConfigurationFixture.cs
│ │ │ │ ├── PipelinesFixture.cs
│ │ │ │ └── TypeRegistrationFixture.cs
│ │ │ ├── Configuration/
│ │ │ │ ├── DefaultNancyEnvironmentConfiguratorFixture.cs
│ │ │ │ ├── DefaultNancyEnvironmentFactoryFixture.cs
│ │ │ │ ├── DefaultNancyEnvironmentFixture.cs
│ │ │ │ └── INancyEnvironmentExtensionsFixture.cs
│ │ │ ├── Conventions/
│ │ │ │ ├── DefaultAcceptHeaderCoercionConventionsFixture.cs
│ │ │ │ ├── DefaultCultureConventionsFixture.cs
│ │ │ │ ├── DefaultStaticContentsConventionsFixture.cs
│ │ │ │ └── DefaultViewLocationConventionsFixture.cs
│ │ │ ├── Cryptography/
│ │ │ │ ├── AesEncryptionProviderFixture.cs
│ │ │ │ ├── DefaultHmacProviderFixture.cs
│ │ │ │ ├── HmacComparerFixture.cs
│ │ │ │ └── NoEncryptionProviderFixture.cs
│ │ │ ├── Culture/
│ │ │ │ └── BuiltInCultureConventionFixture.cs
│ │ │ ├── DefaultNancyBootstrapperBootstrapperBaseFixture.cs
│ │ │ ├── DefaultNancyBootstrapperFixture.cs
│ │ │ ├── DefaultNancyBootstrapperModuleCatalogFixture.cs
│ │ │ ├── DefaultResponseFormatterFactoryFixture.cs
│ │ │ ├── DefaultResponseFormatterFixture.cs
│ │ │ ├── DefaultSerializerFactoryFixture.cs
│ │ │ ├── Diagnostics/
│ │ │ │ ├── ConcurrentLimitedCollectionFixture.cs
│ │ │ │ ├── CustomInteractiveDiagnosticsFixture.cs
│ │ │ │ ├── DefaultRequestTraceFactoryFixture.cs
│ │ │ │ ├── DiagnosticsHookFixture.cs
│ │ │ │ └── InteractiveDiagnosticsFixture.cs
│ │ │ ├── DynamicDictionaryFixture.cs
│ │ │ ├── DynamicDictionaryValueFixture.cs
│ │ │ ├── ErrorHandling/
│ │ │ │ └── DefaultStatusCodeHandlerFixture.cs
│ │ │ ├── ErrorPipelineFixture.cs
│ │ │ ├── Extensions/
│ │ │ │ ├── ContextExtensionsFixture.cs
│ │ │ │ ├── RequestExtensionsFixture.cs
│ │ │ │ ├── StreamExtensionsFixture.cs
│ │ │ │ ├── StringExtensionsFixture.cs
│ │ │ │ └── TypeExtensionsFixture.cs
│ │ │ ├── FormatterExtensionsFixture.cs
│ │ │ ├── HeadResponseFixture.cs
│ │ │ ├── Helpers/
│ │ │ │ └── HttpUtilityFixture.cs
│ │ │ ├── HttpLinkBuilderFixture.cs
│ │ │ ├── HttpLinkFixture.cs
│ │ │ ├── HttpLinkRelationFixture.cs
│ │ │ ├── HttpMultipartBoundaryFixture.cs
│ │ │ ├── HttpMultipartBufferFixture.cs
│ │ │ ├── HttpMultipartFixture.cs
│ │ │ ├── IO/
│ │ │ │ └── RequestStreamFixture.cs
│ │ │ ├── Json/
│ │ │ │ ├── JavaScriptSerializerFixture.cs
│ │ │ │ ├── Simple/
│ │ │ │ │ └── NancySerializationStrategyFixture.cs
│ │ │ │ ├── SimpleJsonFixture.cs
│ │ │ │ ├── TestConverter.cs
│ │ │ │ ├── TestConverterType.cs
│ │ │ │ ├── TestData.cs
│ │ │ │ ├── TestPrimitiveConverter.cs
│ │ │ │ ├── TestPrimitiveConverterType.cs
│ │ │ │ └── TypeWithTuple.cs
│ │ │ ├── JsonFormatterExtensionsFixtures.cs
│ │ │ ├── JsonSerializerFixture.cs
│ │ │ ├── Localization/
│ │ │ │ └── ResourceBasedTextResourceFixture.cs
│ │ │ ├── MimeTypesFixture.cs
│ │ │ ├── ModelBinding/
│ │ │ │ ├── BindingMemberInfoFixture.cs
│ │ │ │ ├── DefaultBinderFixture.cs
│ │ │ │ ├── DefaultBodyDeserializers/
│ │ │ │ │ ├── JsonBodyDeserializerFixture.cs
│ │ │ │ │ └── XmlBodyDeserializerfixture.cs
│ │ │ │ ├── DefaultConverters/
│ │ │ │ │ ├── CollectionConverterFixture.cs
│ │ │ │ │ └── FallbackConverterFixture.cs
│ │ │ │ ├── DefaultFieldNameConverterFixture.cs
│ │ │ │ ├── DefaultModelBinderLocatorFixture.cs
│ │ │ │ ├── DynamicModelBinderAdapterFixture.cs
│ │ │ │ ├── ModelBindingExceptionFixture.cs
│ │ │ │ └── PropertyBindingExceptionFixture.cs
│ │ │ ├── ModuleNameFixture.cs
│ │ │ ├── NamedPipelineBaseFixture.cs
│ │ │ ├── NancyContextFixture.cs
│ │ │ ├── NancyCookieFixture.cs
│ │ │ ├── NancyEngineFixture.cs
│ │ │ ├── NancyMiddlewareFixture.cs
│ │ │ ├── NancyModuleFixture.cs
│ │ │ ├── NancyOptionsExtensionsFixture.cs
│ │ │ ├── NancyOptionsFixture.cs
│ │ │ ├── RequestFixture.cs
│ │ │ ├── RequestHeadersFixture.cs
│ │ │ ├── ResponseExtensionsFixture.cs
│ │ │ ├── ResponseFixture.cs
│ │ │ ├── Responses/
│ │ │ │ ├── DefaultJsonSerializerFixture.cs
│ │ │ │ ├── EmbeddedFileResponseFixture.cs
│ │ │ │ ├── GenericFileResponseFixture.cs
│ │ │ │ ├── Negotiation/
│ │ │ │ │ ├── DefaultResponseNegotiatorFixture.cs
│ │ │ │ │ └── MediaRangeFixture.cs
│ │ │ │ ├── RedirectResponseFixture.cs
│ │ │ │ ├── StreamResponseFixture.cs
│ │ │ │ └── TextResponseFixture.cs
│ │ │ ├── Routing/
│ │ │ │ ├── ConstraintNodeRouteResolverFixture.cs
│ │ │ │ ├── ConstraintNodeRouteScoringFixture.cs
│ │ │ │ ├── DefaultNancyModuleBuilderFixture.cs
│ │ │ │ ├── DefaultRequestDispatcherFixture.cs
│ │ │ │ ├── DefaultRouteCacheProviderFixture.cs
│ │ │ │ ├── DefaultRouteInvokerFixture.cs
│ │ │ │ ├── DefaultRouteResolverFixture.cs
│ │ │ │ ├── DefaultRouteSegmentExtractorFixture.cs
│ │ │ │ ├── NotFoundRouteFixture.cs
│ │ │ │ ├── RouteCacheFixture.cs
│ │ │ │ ├── RouteDescriptionFixture.cs
│ │ │ │ └── RouteFixture.cs
│ │ │ ├── Security/
│ │ │ │ ├── ClaimsPrincipalExtensionsFixture.cs
│ │ │ │ ├── CsrfFixture.cs
│ │ │ │ ├── DefaultCsrfTokenValidatorFixture.cs
│ │ │ │ ├── ModuleSecurityFixture.cs
│ │ │ │ └── SSLProxyFixture.cs
│ │ │ ├── Sessions/
│ │ │ │ ├── CookieBasedSessionsConfigurationFixture.cs
│ │ │ │ ├── CookieBasedSessionsFixture.cs
│ │ │ │ ├── DefaultSessionObjectFormatterFixture.cs
│ │ │ │ ├── NullSessionProviderFixture.cs
│ │ │ │ └── SessionFixture.cs
│ │ │ ├── StaticContentConventionBuilderFixture.cs
│ │ │ ├── TextFormatterFixture.cs
│ │ │ ├── UrlFixture.cs
│ │ │ ├── Validation/
│ │ │ │ ├── CompositeValidatorFixture.cs
│ │ │ │ ├── DefaultValidatorLocatorFixture.cs
│ │ │ │ ├── ModuleExtensionsFixture.cs
│ │ │ │ └── ValidationResultFixture.cs
│ │ │ ├── ViewEngines/
│ │ │ │ ├── DefaultRenderContextFixture.cs
│ │ │ │ ├── DefaultViewFactoryFixture.cs
│ │ │ │ ├── DefaultViewLocatorFixture.cs
│ │ │ │ ├── DefaultViewResolverFixture.cs
│ │ │ │ ├── FileSystemViewLocationProviderFixture.cs
│ │ │ │ ├── FileSystemViewLocationResultFixture.cs
│ │ │ │ ├── ResourceViewLocationProviderFixture.cs
│ │ │ │ ├── SuperSimpleViewEngineTests.cs
│ │ │ │ ├── ViewEngineStartupFixture.cs
│ │ │ │ └── ViewNotFoundExceptionFixture.cs
│ │ │ └── XmlFormatterExtensionsFixtures.cs
│ │ └── xUnitExtensions/
│ │ ├── RecordAsync.cs
│ │ ├── Skip.cs
│ │ ├── SkipException.cs
│ │ ├── SkippableFactAttribute.cs
│ │ └── UsingCultureAttribute.cs
│ ├── Nancy.Tests.Functional/
│ │ ├── Hidden.txt
│ │ ├── Modules/
│ │ │ ├── AbsoluteUrlTestModule.cs
│ │ │ ├── CookieModule.cs
│ │ │ ├── JsonpTestModule.cs
│ │ │ ├── PerRouteAuthModule.cs
│ │ │ ├── RazorTestModule.cs
│ │ │ ├── RazorWithTracingTestModule.cs
│ │ │ ├── SerializeTestModule.cs
│ │ │ ├── SerializerTestModule.cs
│ │ │ └── ThrowingModule.cs
│ │ ├── Nancy.Tests.Functional.csproj
│ │ ├── Tests/
│ │ │ ├── AbsoluteUrlTests.cs
│ │ │ ├── AsyncExceptionTests.cs
│ │ │ ├── BasicRouteInvocationsFixture.cs
│ │ │ ├── ContentNegotiationFixture.cs
│ │ │ ├── CookieFixture.cs
│ │ │ ├── JsonLdProcessor.cs
│ │ │ ├── JsonpTests.cs
│ │ │ ├── ManualStaticContentTests.cs
│ │ │ ├── MethodRewriteFixture.cs
│ │ │ ├── ModelBindingTests.cs
│ │ │ ├── PartialViewTests.cs
│ │ │ ├── PerRouteAuthFixture.cs
│ │ │ ├── RouteConstraintTests.cs
│ │ │ ├── SerializeTests.cs
│ │ │ ├── SerializerTests.cs
│ │ │ ├── TracingSmokeTests.cs
│ │ │ └── ViewBagTests.cs
│ │ └── Views/
│ │ ├── RazorPage.cshtml
│ │ ├── RazorPageWithUnknownPartial.cshtml
│ │ ├── _LayoutPage.cshtml
│ │ ├── _PartialTest.cshtml
│ │ └── _ViewStart.cshtml
│ ├── Nancy.Validation.DataAnnotations.Tests/
│ │ ├── DataAnnotationsValidatorFactoryFixture.cs
│ │ ├── DataAnnotationsValidatorFixture.cs
│ │ ├── DefaultValidatableObjectAdapterFixture.cs
│ │ ├── Nancy.Validation.DataAnnotations.Tests.csproj
│ │ └── PropertyValidatorFixture.cs
│ ├── Nancy.Validation.FluentValidation.Tests/
│ │ ├── DefaultFluentAdapterFactoryFixture.cs
│ │ ├── EmailAdapterFixture.cs
│ │ ├── FluentValidationValidatorFactoryFixture.cs
│ │ └── Nancy.Validation.FluentValidation.Tests.csproj
│ ├── Nancy.ViewEngines.DotLiquid.Tests/
│ │ ├── DotLiquidViewEngineFixture.cs
│ │ ├── DynamicDropFixture.cs
│ │ ├── FakeModel.cs
│ │ ├── Functional/
│ │ │ └── PartialRenderingFixture.cs
│ │ ├── LiquidNancyFileSystemFixture.cs
│ │ ├── Nancy.ViewEngines.DotLiquid.Tests.csproj
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── Views/
│ │ ├── doublequotedpartial.liquid
│ │ ├── partial.liquid
│ │ ├── singlequotedpartial.liquid
│ │ └── unquotedpartial.liquid
│ ├── Nancy.ViewEngines.Markdown.Tests/
│ │ ├── Markdown/
│ │ │ ├── home.md
│ │ │ ├── htmlmaster.html
│ │ │ ├── master.md
│ │ │ ├── partial.markdown
│ │ │ ├── standalone.md
│ │ │ └── viewwithhtmlmaster.md
│ │ ├── MarkdownViewEngineFixture.cs
│ │ ├── MarkdownViewengineRenderFixture.cs
│ │ ├── Nancy.ViewEngines.Markdown.Tests.csproj
│ │ └── UserModel.cs
│ ├── Nancy.ViewEngines.Razor.Tests/
│ │ ├── GreetingViewBase.cs
│ │ ├── Nancy.ViewEngines.Razor.Tests.csproj
│ │ ├── RazorViewEngineFixture.cs
│ │ ├── TestModel.cs
│ │ ├── TestViews/
│ │ │ ├── Layouts/
│ │ │ │ ├── LayoutWithManySections.cshtml
│ │ │ │ ├── LayoutWithOptionalSection.cshtml
│ │ │ │ ├── LayoutWithOptionalSectionWithDefaults.cshtml
│ │ │ │ ├── LayoutWithSection.cshtml
│ │ │ │ └── SimplyLayout.cshtml
│ │ │ ├── ViewThatUsesAttributeWithCodeInside.cshtml
│ │ │ ├── ViewThatUsesAttributeWithDynamicNullInside.cshtml
│ │ │ ├── ViewThatUsesAttributeWithHtmlStringInside.cshtml
│ │ │ ├── ViewThatUsesAttributeWithNonEncodedHtmlStringInside.cshtml
│ │ │ ├── ViewThatUsesAttributeWithRawHtmlStringInside.cshtml
│ │ │ ├── ViewThatUsesHelper.cshtml
│ │ │ ├── ViewThatUsesLayout.cshtml
│ │ │ ├── ViewThatUsesLayoutAndManySection.cshtml
│ │ │ ├── ViewThatUsesLayoutAndModel.cshtml
│ │ │ ├── ViewThatUsesLayoutAndOptionalSection.cshtml
│ │ │ ├── ViewThatUsesLayoutAndOptionalSectionOverridingDefaults.cshtml
│ │ │ ├── ViewThatUsesLayoutAndOptionalSectionWithDefaults.cshtml
│ │ │ ├── ViewThatUsesLayoutAndSection.cshtml
│ │ │ ├── ViewThatUsesModelCSharp.cshtml
│ │ │ └── ViewThatUsesModelVB.vbhtml
│ │ └── TextResourceFinderFixture.cs
│ ├── Nancy.ViewEngines.Razor.Tests.Models/
│ │ ├── Hobby.cs
│ │ ├── Nancy.ViewEngines.Razor.Tests.Models.csproj
│ │ └── Person.cs
│ └── Nancy.ViewEngines.Spark.Tests/
│ ├── App.config
│ ├── Nancy.ViewEngines.Spark.Tests.csproj
│ ├── NancyViewFolderFixture.cs
│ ├── ShadeViews/
│ │ ├── Features/
│ │ │ ├── ShadeCodeMayBeDashOrAtBraced.shade
│ │ │ ├── ShadeElementsMayStackOnOneLine.shade
│ │ │ ├── ShadeEvaluatesExpressions.shade
│ │ │ ├── ShadeFileRenders.shade
│ │ │ ├── ShadeSupportsAttributesAndMayTreatSomeElementsAsSpecialNodes.shade
│ │ │ ├── ShadeTextMayContainExpressions.shade
│ │ │ └── ShadeThatUsesApplicationLayout.shade
│ │ └── Shared/
│ │ ├── Application.shade
│ │ └── _SimpleValue.spark
│ ├── SparkViewEngineFixture.cs
│ ├── TestViews/
│ │ ├── Layouts/
│ │ │ └── anotherLayout.spark
│ │ ├── Shared/
│ │ │ ├── Application.spark
│ │ │ ├── Partial.spark
│ │ │ ├── elementLayout.spark
│ │ │ └── layout.spark
│ │ └── Stub/
│ │ ├── Index.spark
│ │ ├── List.spark
│ │ ├── PartialTarget.spark
│ │ ├── Subfolder/
│ │ │ └── Subfolderview.spark
│ │ ├── ViewThatChangesGlobalSettings.spark
│ │ ├── ViewThatExpectsALayout.spark
│ │ ├── ViewThatRendersPartialsThatShareState.spark
│ │ ├── ViewThatUsesANullViewModel.spark
│ │ ├── ViewThatUsesAllNamedContentAreas.spark
│ │ ├── ViewThatUsesAnonymousViewModel.spark
│ │ ├── ViewThatUsesApplicationLayout.spark
│ │ ├── ViewThatUsesForeach.spark
│ │ ├── ViewThatUsesFormatting.spark
│ │ ├── ViewThatUsesHtmlEncoding.spark
│ │ ├── ViewThatUsesNamespaces.spark
│ │ ├── ViewThatUsesNullHtmlEncoding.spark
│ │ ├── ViewThatUsesPartial.spark
│ │ ├── ViewThatUsesPartialImplicitly.spark
│ │ ├── ViewThatUsesTildeSubstitution.spark
│ │ ├── ViewThatUsesTildeSubstitutionWithSparkReplace.spark
│ │ ├── ViewThatUsesViewDataForViewBag.spark
│ │ ├── ViewThatUsesViewModel.spark
│ │ └── _Row.spark
│ └── ViewModels/
│ └── FakeViewModel.cs
└── tools/
└── xunit/
├── HTML.xslt
├── NUnitXml.xslt
├── xUnit1.xslt
├── xunit.console.exe.config
├── xunit.console.x86.exe.config
└── xunitmono.sh
================================================
FILE CONTENTS
================================================
================================================
FILE: .editorconfig
================================================
# editorconfig.org
# top-most EditorConfig file
root = true
# Default settings:
# A newline ending every file
# Use 4 spaces as indentation
[*]
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
# Xml project files
[*.{csproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
indent_size = 2
# Xml files
[*.{xml,stylecop,resx,ruleset}]
indent_size = 2
# Xml config files
[*.{props,targets,config,nuspec}]
indent_size = 2
# Shell scripts
[*.sh]
end_of_line = lf
[*.{cmd,bat,ps1}]
end_of_line = crlf
================================================
FILE: .gitattributes
================================================
* -crlf
================================================
FILE: .github/CONTRIBUTING.md
================================================
# How to contribute
First of all, thank you for wanting to contribute to Nancy! We really appreciate all the awesome support we get from our community. We want to keep it as easy as possible to contribute changes that get things working in your environment. There are a few guidelines that we need contributors to follow so that we have a chance of keeping on top of things.
- [Making Changes](#making-changes)
- [Handling Updates from Upstream/Master](#handling-updates-from-upstreammaster)
- [Sending a Pull Request](#sending-a-pull-request)
- [Style Guidelines](#style-guidelines)
## Making Changes
1. [Fork](http://help.github.com/forking/) on GitHub
1. Clone your fork locally
1. Configure the upstream repo (`git remote add upstream git://github.com/NancyFx/Nancy`)
1. Create a local branch (`git checkout -b myBranch`)
1. Work on your feature
1. Rebase if required (see below)
1. Push the branch up to GitHub (`git push origin myBranch`)
1. Send a Pull Request on GitHub
You should **never** work on a clone of master, and you should **never** send a pull request from master - always from a branch. The reasons for this are detailed below.
### Handling Updates from Upstream/Master
While you're working away in your branch it's quite possible that your upstream master (most likely the canonical NancyFx version) may be updated. If this happens you should:
1. [Stash](http://git-scm.com/book/en/Git-Tools-Stashing) any un-committed changes you need to
1. `git checkout master`
1. `git pull upstream master`
1. `git checkout myBranch`
1. `git rebase master myBranch`
1. `git push origin master` - (optional) this makes sure your remote master is up to date
This ensures that your history is "clean" i.e. you have one branch off from master followed by your changes in a straight line. Failing to do this ends up with several "messy" merges in your history, which we don't want. This is the reason why you should always work in a branch and you should never be working in, or sending pull requests from, master.
If you're working on a long running feature then you may want to do this quite often, rather than run the risk of potential merge issues further down the line.
### Sending a Pull Request
While working on your feature you may well create several branches, which is fine, but before you send a pull request you should ensure that you have rebased back to a single "Feature branch". We care about your commits, and we care about your feature branch; but we don't care about how many or which branches you created while you were working on it :smile:.
When you're ready to go you should confirm that you are up to date and rebased with upstream/master (see "Handling Updates from Upstream/Master" above), and then:
1. `git push origin myBranch`
1. Send a descriptive [Pull Request](http://help.github.com/pull-requests/) on GitHub - making sure you have selected the correct branch in the GitHub UI!
1. Wait for @TheCodeJunkie to merge your changes in and reformat all of your code because he has StyleCop OCD :wink:.
And remember; **A pull-request with tests is a pull-request that's likely to be pulled in.** :grin: Bonus points if you document your feature in our [wiki](https://github.com/NancyFx/Nancy/wiki) once it has been pulled in
## Style Guidelines
- Indent with 4 spaces, **not** tabs.
- No underscore (`_`) prefix for member names.
- Use `this` when accessing instance members, e.g. `this.Name = "TheCodeJunkie";`.
- Use the `var` keyword unless the inferred type is not obvious.
- Use the C# type aliases for types that have them, e.g. `int` instead of `Int32`, `string` instead of `String` etc.
- Use meaningful names (no hungarian notation).
- Wrap `if`, `else` and `using` blocks (or blocks in general, really) in curly braces, even if it's a single line.
- Put `using` statements inside namespace.
- Pay attention to whitespace and extra blank lines
- Absolutely **no** regions
> If you are a ReSharper user, you can make use of our `.DotSettings` file to ensure you cover as many of our style guidelines as possible. There may be some style guidelines which are not covered by the file, so please pay attention to the style of existing code.
================================================
FILE: .github/ISSUE_TEMPLATE.md
================================================
### Prerequisites
- [ ] I have written a descriptive issue title
- [ ] I have verified that I am running the latest version of Nancy
- [ ] I have verified if the problem exist in both `DEBUG` and `RELEASE` mode
- [ ] I have searched [open](https://github.com/NancyFx/Nancy/issues) and [closed](https://github.com/NancyFx/Nancy/issues?q=is%3Aissue+is%3Aclosed) issues to ensure it has not already been reported
### Description
<!-- A description of the bug or feature -->
### Steps to Reproduce
<!-- List of steps, sample code, failing test or link to a project that reproduces the behavior -->
### System Configuration
<!-- Tell us about the environment where you are experiencing the bug -->
- Nancy version:
- Nancy host
- [ ] Nancy.Hosting.Aspnet
- [ ] Nancy.Hosting.Self
- [ ] Nancy.Owin (<!-- Name your OWIN server here, for example HttpListener, HttpSysServer, Kestrel, Nowin, System.Web -->)
- [ ] Other:
- Other Nancy packages and versions:
- Environment (Operating system, version and so on):
- .NET Framework version:
- Additional information:
<!-- Thanks for reporting the issue to Nancy! -->
================================================
FILE: .github/PULL_REQUEST_TEMPLATE.md
================================================
### Prerequisites
- [ ] I have written a descriptive pull-request title
- [ ] I have verified that there are no overlapping [pull-requests](https://github.com/NancyFx/Nancy/pulls) open
- [ ] I have verified that I am following the Nancy [code style guidelines](https://github.com/NancyFx/Nancy/blob/45238076ad0b7f6ecabd6bae8469e30458d02efe/CONTRIBUTING.md#style-guidelines)
- [ ] I have provided test coverage for my change (where applicable)
### Description
<!-- A description of the changes proposed in the pull-request -->
<!-- Thanks for contributing to Nancy! -->
================================================
FILE: .gitignore
================================================
*.[Cc]ache
*.csproj.user
*.[Rr]e[Ss]harper*
*.sln.cache
*.suo
*.user
*.orig
*.pidb
*.ide
*.userprefs
/AssemblyInfo.cs
.DS_Store
deploy/
/build/
[Bb]in/
[Dd]ebug/
[Oo]bj/
[Rr]elease/
_[Rr]e[Ss]harper*/
*.docstates
*.tss
*.ncrunchproject
*.ncrunchsolution
*.dotCover
src/_NCrunch_Nancy/
Thumbs.db
.idea
*.GhostDoc.xml
Gemfile.lock
.vs/
packages/
project.lock.json
TestAssembly.dll
[Tt]ools/Cake.*
.vscode/
.dotnet/
[Tt]ools/Addins/
TestResults/
================================================
FILE: .mailmap
================================================
Andreas Håkansson <andreas@thecodejunkie.com> <andreas@selfinflicted.org>
Andreas Håkansson <andreas@thecodejunkie.com> <andreas@thecodejunkie.com>
Andreas Håkansson <andreas@thecodejunkie.com> <thecodejunkie@users.noreply.github.com>
Andreas Håkansson <andreas@thecodejunkie.com> <andreas@selfinflicted.org>
Steven Robbins <grumpydev@users.noreply.github.com> <ste.robbins@gmail.com>
Steven Robbins <grumpydev@users.noreply.github.com> <steve@robbins.me.uk>
Steven Robbins <grumpydev@users.noreply.github.com> <grumpydev@users.noreply.github.com>
Brendan Forster <brendan@github.com> <shift.key@gmail.com>
Brendan Forster <brendan@github.com> <brendan@github.com>
Jonathan Channon <jonathan.channon@gmail.com> <jonathan.channon@gmail.com>
Jonathan Channon <jonathan.channon@gmail.com> <jonathan@jonathanchannon.com>
Brendan Tompkins <brendan.tompkins@gmail.com> <brendan.tompkins@gmail.com>
================================================
FILE: .travis.yml
================================================
language: csharp
os:
- linux
- osx
sudo: required
dist: trusty
mono:
- 4.4.2
dotnet: 2.1.4
script:
- ./build.sh --verbosity=minimal
notifications:
email:
- nancy@nancyfx.org
================================================
FILE: Nancy.ruleset
================================================
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Nancy" ToolsVersion="14.0">
<Include Path="allrules.ruleset" Action="Default" />
<Rules AnalyzerId="AsyncUsageAnalyzers" RuleNamespace="AsyncUsageAnalyzers">
<Rule Id="AvoidAsyncSuffix" Action="None" />
<Rule Id="AvoidAsyncVoid" Action="None" />
<Rule Id="UseAsyncSuffix" Action="None" />
<Rule Id="UseConfigureAwait" Action="Error" />
</Rules>
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
<Rule Id="CA1000" Action="None" />
<Rule Id="CA1001" Action="None" />
<Rule Id="CA1002" Action="None" />
<Rule Id="CA1003" Action="None" />
<Rule Id="CA1004" Action="None" />
<Rule Id="CA1005" Action="None" />
<Rule Id="CA1006" Action="None" />
<Rule Id="CA1007" Action="None" />
<Rule Id="CA1008" Action="None" />
<Rule Id="CA1009" Action="None" />
<Rule Id="CA1010" Action="None" />
<Rule Id="CA1011" Action="None" />
<Rule Id="CA1012" Action="None" />
<Rule Id="CA1013" Action="None" />
<Rule Id="CA1014" Action="None" />
<Rule Id="CA1016" Action="None" />
<Rule Id="CA1017" Action="None" />
<Rule Id="CA1018" Action="None" />
<Rule Id="CA1019" Action="None" />
<Rule Id="CA1020" Action="None" />
<Rule Id="CA1021" Action="None" />
<Rule Id="CA1023" Action="None" />
<Rule Id="CA1024" Action="None" />
<Rule Id="CA1025" Action="None" />
<Rule Id="CA1026" Action="None" />
<Rule Id="CA1027" Action="None" />
<Rule Id="CA1028" Action="None" />
<Rule Id="CA1030" Action="None" />
<Rule Id="CA1031" Action="None" />
<Rule Id="CA1032" Action="None" />
<Rule Id="CA1033" Action="None" />
<Rule Id="CA1034" Action="None" />
<Rule Id="CA1035" Action="None" />
<Rule Id="CA1036" Action="None" />
<Rule Id="CA1038" Action="None" />
<Rule Id="CA1039" Action="None" />
<Rule Id="CA1040" Action="None" />
<Rule Id="CA1041" Action="None" />
<Rule Id="CA1043" Action="None" />
<Rule Id="CA1044" Action="None" />
<Rule Id="CA1045" Action="None" />
<Rule Id="CA1046" Action="None" />
<Rule Id="CA1047" Action="None" />
<Rule Id="CA1048" Action="None" />
<Rule Id="CA1049" Action="None" />
<Rule Id="CA1050" Action="None" />
<Rule Id="CA1051" Action="None" />
<Rule Id="CA1052" Action="None" />
<Rule Id="CA1053" Action="None" />
<Rule Id="CA1054" Action="None" />
<Rule Id="CA1055" Action="None" />
<Rule Id="CA1056" Action="None" />
<Rule Id="CA1057" Action="None" />
<Rule Id="CA1058" Action="None" />
<Rule Id="CA1059" Action="None" />
<Rule Id="CA1060" Action="None" />
<Rule Id="CA1061" Action="None" />
<Rule Id="CA1062" Action="None" />
<Rule Id="CA1063" Action="None" />
<Rule Id="CA1064" Action="None" />
<Rule Id="CA1065" Action="None" />
<Rule Id="CA1300" Action="None" />
<Rule Id="CA1301" Action="None" />
<Rule Id="CA1302" Action="None" />
<Rule Id="CA1303" Action="None" />
<Rule Id="CA1304" Action="None" />
<Rule Id="CA1305" Action="None" />
<Rule Id="CA1306" Action="None" />
<Rule Id="CA1307" Action="None" />
<Rule Id="CA1308" Action="None" />
<Rule Id="CA1309" Action="None" />
<Rule Id="CA1400" Action="None" />
<Rule Id="CA1401" Action="None" />
<Rule Id="CA1402" Action="None" />
<Rule Id="CA1403" Action="None" />
<Rule Id="CA1404" Action="None" />
<Rule Id="CA1405" Action="None" />
<Rule Id="CA1406" Action="None" />
<Rule Id="CA1407" Action="None" />
<Rule Id="CA1408" Action="None" />
<Rule Id="CA1409" Action="None" />
<Rule Id="CA1410" Action="None" />
<Rule Id="CA1411" Action="None" />
<Rule Id="CA1412" Action="None" />
<Rule Id="CA1413" Action="None" />
<Rule Id="CA1414" Action="None" />
<Rule Id="CA1415" Action="None" />
<Rule Id="CA1500" Action="None" />
<Rule Id="CA1501" Action="None" />
<Rule Id="CA1502" Action="None" />
<Rule Id="CA1504" Action="None" />
<Rule Id="CA1505" Action="None" />
<Rule Id="CA1506" Action="None" />
<Rule Id="CA1600" Action="None" />
<Rule Id="CA1601" Action="None" />
<Rule Id="CA1700" Action="None" />
<Rule Id="CA1701" Action="None" />
<Rule Id="CA1702" Action="None" />
<Rule Id="CA1703" Action="None" />
<Rule Id="CA1704" Action="None" />
<Rule Id="CA1707" Action="None" />
<Rule Id="CA1708" Action="None" />
<Rule Id="CA1709" Action="None" />
<Rule Id="CA1710" Action="None" />
<Rule Id="CA1711" Action="None" />
<Rule Id="CA1712" Action="None" />
<Rule Id="CA1713" Action="None" />
<Rule Id="CA1714" Action="None" />
<Rule Id="CA1715" Action="None" />
<Rule Id="CA1716" Action="None" />
<Rule Id="CA1717" Action="None" />
<Rule Id="CA1719" Action="None" />
<Rule Id="CA1720" Action="None" />
<Rule Id="CA1721" Action="None" />
<Rule Id="CA1722" Action="None" />
<Rule Id="CA1724" Action="None" />
<Rule Id="CA1725" Action="None" />
<Rule Id="CA1726" Action="None" />
<Rule Id="CA1800" Action="None" />
<Rule Id="CA1801" Action="None" />
<Rule Id="CA1802" Action="None" />
<Rule Id="CA1804" Action="None" />
<Rule Id="CA1806" Action="None" />
<Rule Id="CA1809" Action="None" />
<Rule Id="CA1810" Action="None" />
<Rule Id="CA1811" Action="None" />
<Rule Id="CA1812" Action="None" />
<Rule Id="CA1813" Action="None" />
<Rule Id="CA1814" Action="None" />
<Rule Id="CA1815" Action="None" />
<Rule Id="CA1816" Action="None" />
<Rule Id="CA1819" Action="None" />
<Rule Id="CA1820" Action="None" />
<Rule Id="CA1821" Action="None" />
<Rule Id="CA1822" Action="None" />
<Rule Id="CA1823" Action="None" />
<Rule Id="CA1824" Action="None" />
<Rule Id="CA1900" Action="None" />
<Rule Id="CA1901" Action="None" />
<Rule Id="CA1903" Action="None" />
<Rule Id="CA2000" Action="None" />
<Rule Id="CA2001" Action="None" />
<Rule Id="CA2002" Action="None" />
<Rule Id="CA2003" Action="None" />
<Rule Id="CA2004" Action="None" />
<Rule Id="CA2006" Action="None" />
<Rule Id="CA2100" Action="None" />
<Rule Id="CA2101" Action="None" />
<Rule Id="CA2102" Action="None" />
<Rule Id="CA2103" Action="None" />
<Rule Id="CA2104" Action="None" />
<Rule Id="CA2105" Action="None" />
<Rule Id="CA2106" Action="None" />
<Rule Id="CA2107" Action="None" />
<Rule Id="CA2108" Action="None" />
<Rule Id="CA2109" Action="None" />
<Rule Id="CA2111" Action="None" />
<Rule Id="CA2112" Action="None" />
<Rule Id="CA2114" Action="None" />
<Rule Id="CA2115" Action="None" />
<Rule Id="CA2116" Action="None" />
<Rule Id="CA2117" Action="None" />
<Rule Id="CA2118" Action="None" />
<Rule Id="CA2119" Action="None" />
<Rule Id="CA2120" Action="None" />
<Rule Id="CA2121" Action="None" />
<Rule Id="CA2122" Action="None" />
<Rule Id="CA2123" Action="None" />
<Rule Id="CA2124" Action="None" />
<Rule Id="CA2126" Action="None" />
<Rule Id="CA2130" Action="None" />
<Rule Id="CA2131" Action="None" />
<Rule Id="CA2132" Action="None" />
<Rule Id="CA2133" Action="None" />
<Rule Id="CA2134" Action="None" />
<Rule Id="CA2135" Action="None" />
<Rule Id="CA2136" Action="None" />
<Rule Id="CA2137" Action="None" />
<Rule Id="CA2138" Action="None" />
<Rule Id="CA2139" Action="None" />
<Rule Id="CA2140" Action="None" />
<Rule Id="CA2141" Action="None" />
<Rule Id="CA2142" Action="None" />
<Rule Id="CA2143" Action="None" />
<Rule Id="CA2144" Action="None" />
<Rule Id="CA2145" Action="None" />
<Rule Id="CA2146" Action="None" />
<Rule Id="CA2147" Action="None" />
<Rule Id="CA2149" Action="None" />
<Rule Id="CA2151" Action="None" />
<Rule Id="CA2200" Action="None" />
<Rule Id="CA2201" Action="None" />
<Rule Id="CA2202" Action="None" />
<Rule Id="CA2204" Action="None" />
<Rule Id="CA2205" Action="None" />
<Rule Id="CA2207" Action="None" />
<Rule Id="CA2208" Action="None" />
<Rule Id="CA2210" Action="None" />
<Rule Id="CA2211" Action="None" />
<Rule Id="CA2212" Action="None" />
<Rule Id="CA2213" Action="None" />
<Rule Id="CA2214" Action="None" />
<Rule Id="CA2215" Action="None" />
<Rule Id="CA2216" Action="None" />
<Rule Id="CA2217" Action="None" />
<Rule Id="CA2218" Action="None" />
<Rule Id="CA2219" Action="None" />
<Rule Id="CA2220" Action="None" />
<Rule Id="CA2221" Action="None" />
<Rule Id="CA2222" Action="None" />
<Rule Id="CA2223" Action="None" />
<Rule Id="CA2224" Action="None" />
<Rule Id="CA2225" Action="None" />
<Rule Id="CA2226" Action="None" />
<Rule Id="CA2227" Action="None" />
<Rule Id="CA2228" Action="None" />
<Rule Id="CA2229" Action="None" />
<Rule Id="CA2230" Action="None" />
<Rule Id="CA2231" Action="None" />
<Rule Id="CA2232" Action="None" />
<Rule Id="CA2233" Action="None" />
<Rule Id="CA2234" Action="None" />
<Rule Id="CA2235" Action="None" />
<Rule Id="CA2236" Action="None" />
<Rule Id="CA2237" Action="None" />
<Rule Id="CA2238" Action="None" />
<Rule Id="CA2239" Action="None" />
<Rule Id="CA2240" Action="None" />
<Rule Id="CA2241" Action="None" />
<Rule Id="CA2242" Action="None" />
<Rule Id="CA2243" Action="None" />
<Rule Id="CA5122" Action="None" />
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp" RuleNamespace="Microsoft.CodeAnalysis.CSharp">
<Rule Id="AD0001" Action="None" />
<Rule Id="CS0028" Action="None" />
<Rule Id="CS0078" Action="None" />
<Rule Id="CS0105" Action="None" />
<Rule Id="CS0108" Action="None" />
<Rule Id="CS0109" Action="None" />
<Rule Id="CS0114" Action="None" />
<Rule Id="CS0162" Action="None" />
<Rule Id="CS0164" Action="None" />
<Rule Id="CS0168" Action="None" />
<Rule Id="CS0183" Action="None" />
<Rule Id="CS0184" Action="None" />
<Rule Id="CS0197" Action="None" />
<Rule Id="CS0219" Action="None" />
<Rule Id="CS0251" Action="None" />
<Rule Id="CS0252" Action="None" />
<Rule Id="CS0253" Action="None" />
<Rule Id="CS0278" Action="None" />
<Rule Id="CS0279" Action="None" />
<Rule Id="CS0280" Action="None" />
<Rule Id="CS0282" Action="None" />
<Rule Id="CS0402" Action="None" />
<Rule Id="CS0419" Action="None" />
<Rule Id="CS0420" Action="None" />
<Rule Id="CS0435" Action="None" />
<Rule Id="CS0436" Action="None" />
<Rule Id="CS0437" Action="None" />
<Rule Id="CS0440" Action="None" />
<Rule Id="CS0458" Action="None" />
<Rule Id="CS0464" Action="None" />
<Rule Id="CS0465" Action="None" />
<Rule Id="CS0469" Action="None" />
<Rule Id="CS0472" Action="None" />
<Rule Id="CS0473" Action="None" />
<Rule Id="CS0612" Action="None" />
<Rule Id="CS0618" Action="None" />
<Rule Id="CS0626" Action="None" />
<Rule Id="CS0628" Action="None" />
<Rule Id="CS0642" Action="None" />
<Rule Id="CS0652" Action="None" />
<Rule Id="CS0657" Action="None" />
<Rule Id="CS0658" Action="None" />
<Rule Id="CS0659" Action="None" />
<Rule Id="CS0660" Action="None" />
<Rule Id="CS0661" Action="None" />
<Rule Id="CS0665" Action="None" />
<Rule Id="CS0672" Action="None" />
<Rule Id="CS0675" Action="None" />
<Rule Id="CS0684" Action="None" />
<Rule Id="CS0693" Action="None" />
<Rule Id="CS0728" Action="None" />
<Rule Id="CS0809" Action="None" />
<Rule Id="CS0811" Action="None" />
<Rule Id="CS0824" Action="None" />
<Rule Id="CS1030" Action="None" />
<Rule Id="CS1058" Action="None" />
<Rule Id="CS1062" Action="None" />
<Rule Id="CS1064" Action="None" />
<Rule Id="CS1066" Action="None" />
<Rule Id="CS1072" Action="None" />
<Rule Id="CS1522" Action="None" />
<Rule Id="CS1570" Action="None" />
<Rule Id="CS1571" Action="None" />
<Rule Id="CS1572" Action="None" />
<Rule Id="CS1573" Action="None" />
<Rule Id="CS1574" Action="None" />
<Rule Id="CS1580" Action="None" />
<Rule Id="CS1581" Action="None" />
<Rule Id="CS1584" Action="None" />
<Rule Id="CS1587" Action="None" />
<Rule Id="CS1589" Action="None" />
<Rule Id="CS1590" Action="None" />
<Rule Id="CS1591" Action="None" />
<Rule Id="CS1592" Action="None" />
<Rule Id="CS1616" Action="None" />
<Rule Id="CS1633" Action="None" />
<Rule Id="CS1634" Action="None" />
<Rule Id="CS1635" Action="None" />
<Rule Id="CS1645" Action="None" />
<Rule Id="CS1658" Action="None" />
<Rule Id="CS1668" Action="None" />
<Rule Id="CS1685" Action="None" />
<Rule Id="CS1687" Action="None" />
<Rule Id="CS1690" Action="None" />
<Rule Id="CS1692" Action="None" />
<Rule Id="CS1695" Action="None" />
<Rule Id="CS1696" Action="None" />
<Rule Id="CS1697" Action="None" />
<Rule Id="CS1700" Action="None" />
<Rule Id="CS1701" Action="None" />
<Rule Id="CS1702" Action="None" />
<Rule Id="CS1710" Action="None" />
<Rule Id="CS1711" Action="None" />
<Rule Id="CS1712" Action="None" />
<Rule Id="CS1717" Action="None" />
<Rule Id="CS1718" Action="None" />
<Rule Id="CS1720" Action="None" />
<Rule Id="CS1723" Action="None" />
<Rule Id="CS1734" Action="None" />
<Rule Id="CS1735" Action="None" />
<Rule Id="CS1762" Action="None" />
<Rule Id="CS1927" Action="None" />
<Rule Id="CS1956" Action="None" />
<Rule Id="CS1957" Action="None" />
<Rule Id="CS1974" Action="None" />
<Rule Id="CS1981" Action="None" />
<Rule Id="CS1998" Action="None" />
<Rule Id="CS2002" Action="None" />
<Rule Id="CS2008" Action="None" />
<Rule Id="CS2023" Action="None" />
<Rule Id="CS2029" Action="None" />
<Rule Id="CS2038" Action="None" />
<Rule Id="CS3000" Action="None" />
<Rule Id="CS3001" Action="None" />
<Rule Id="CS3002" Action="None" />
<Rule Id="CS3003" Action="None" />
<Rule Id="CS3005" Action="None" />
<Rule Id="CS3006" Action="None" />
<Rule Id="CS3007" Action="None" />
<Rule Id="CS3008" Action="None" />
<Rule Id="CS3009" Action="None" />
<Rule Id="CS3010" Action="None" />
<Rule Id="CS3011" Action="None" />
<Rule Id="CS3012" Action="None" />
<Rule Id="CS3013" Action="None" />
<Rule Id="CS3014" Action="None" />
<Rule Id="CS3015" Action="None" />
<Rule Id="CS3016" Action="None" />
<Rule Id="CS3017" Action="None" />
<Rule Id="CS3018" Action="None" />
<Rule Id="CS3019" Action="None" />
<Rule Id="CS3021" Action="None" />
<Rule Id="CS3022" Action="None" />
<Rule Id="CS3023" Action="None" />
<Rule Id="CS3024" Action="None" />
<Rule Id="CS3026" Action="None" />
<Rule Id="CS3027" Action="None" />
<Rule Id="CS4014" Action="None" />
<Rule Id="CS4024" Action="None" />
<Rule Id="CS4025" Action="None" />
<Rule Id="CS4026" Action="None" />
<Rule Id="CS7022" Action="None" />
<Rule Id="CS7033" Action="None" />
<Rule Id="CS7035" Action="None" />
<Rule Id="CS7080" Action="None" />
<Rule Id="CS7081" Action="None" />
<Rule Id="CS7082" Action="None" />
<Rule Id="CS7090" Action="None" />
<Rule Id="CS7095" Action="None" />
<Rule Id="CS8001" Action="None" />
<Rule Id="CS8002" Action="None" />
<Rule Id="CS8009" Action="None" />
<Rule Id="CS8012" Action="None" />
<Rule Id="CS8018" Action="None" />
<Rule Id="CS8019" Action="None" />
<Rule Id="CS8020" Action="None" />
<Rule Id="CS8021" Action="None" />
<Rule Id="CS8029" Action="None" />
<Rule Id="CS8032" Action="None" />
<Rule Id="CS8033" Action="None" />
<Rule Id="CS8034" Action="None" />
<Rule Id="CS8040" Action="None" />
<Rule Id="CS8073" Action="None" />
<Rule Id="CS8094" Action="None" />
<Rule Id="CS8105" Action="None" />
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.EditorFeatures" RuleNamespace="Microsoft.CodeAnalysis.CSharp.EditorFeatures">
<Rule Id="UseAutoProperty" Action="None" />
<Rule Id="UseAutoPropertyFadedToken" Action="None" />
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.Features" RuleNamespace="Microsoft.CodeAnalysis.CSharp.Features">
<Rule Id="IDE0001" Action="None" />
<Rule Id="IDE0002" Action="None" />
<Rule Id="IDE0003" Action="None" />
<Rule Id="IDE0004" Action="None" />
<Rule Id="IDE0005" Action="None" />
<Rule Id="IDE1005" Action="None" />
</Rules>
</RuleSet>
================================================
FILE: Nancy.sln
================================================
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2010
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{5734E9DC-CF67-4337-B28E-695280598B88}"
ProjectSection(SolutionItems) = preProject
src\Directory.Build.props = src\Directory.Build.props
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{AAB0D92A-7B90-478A-8360-3E6A20BD0B71}"
ProjectSection(SolutionItems) = preProject
NuGet.config = NuGet.config
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{AA791E28-7914-439A-B59A-580B8D8FE95D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{058BCE2A-8F81-4404-83D3-844CE030E513}"
ProjectSection(SolutionItems) = preProject
test\Directory.Build.props = test\Directory.Build.props
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.Razor.Tests.Models", "test\Nancy.ViewEngines.Razor.Tests.Models\Nancy.ViewEngines.Razor.Tests.Models.csproj", "{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.Razor.Tests", "test\Nancy.ViewEngines.Razor.Tests\Nancy.ViewEngines.Razor.Tests.csproj", "{06B9857A-02A6-430D-B579-98A762C281D3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy", "src\Nancy\Nancy.csproj", "{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Testing", "src\Nancy.Testing\Nancy.Testing.csproj", "{66119997-5949-45D6-9175-F1C7C599A8F5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.Razor", "src\Nancy.ViewEngines.Razor\Nancy.ViewEngines.Razor.csproj", "{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Authentication.Forms", "src\Nancy.Authentication.Forms\Nancy.Authentication.Forms.csproj", "{09F5EB90-1063-4338-A146-25F7BE8BFF43}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.Markdown.Tests", "test\Nancy.ViewEngines.Markdown.Tests\Nancy.ViewEngines.Markdown.Tests.csproj", "{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.Markdown", "src\Nancy.ViewEngines.Markdown\Nancy.ViewEngines.Markdown.csproj", "{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.DotLiquid.Tests", "test\Nancy.ViewEngines.DotLiquid.Tests\Nancy.ViewEngines.DotLiquid.Tests.csproj", "{89C49FF5-9441-4DE8-A33F-1B2852401A54}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.DotLiquid", "src\Nancy.ViewEngines.DotLiquid\Nancy.ViewEngines.DotLiquid.csproj", "{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Validation.FluentValidation.Tests", "test\Nancy.Validation.FluentValidation.Tests\Nancy.Validation.FluentValidation.Tests.csproj", "{0E9B466C-1151-4AE9-A55A-6377A25F8235}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Validation.FluentValidation", "src\Nancy.Validation.FluentValidation\Nancy.Validation.FluentValidation.csproj", "{33D5FB92-074E-4C13-BFD6-21184DD0013A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Validation.DataAnnotations.Tests", "test\Nancy.Validation.DataAnnotations.Tests\Nancy.Validation.DataAnnotations.Tests.csproj", "{EF3149F4-59C1-4896-989E-59D9D5F9050A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Validation.DataAnnotations", "src\Nancy.Validation.DataAnnotations\Nancy.Validation.DataAnnotations.csproj", "{FA2462FE-A439-48C5-976D-491F73C25CE1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Tests.Functional", "test\Nancy.Tests.Functional\Nancy.Tests.Functional.csproj", "{7944AA31-16BA-43A8-A9CB-2ED758518C9E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Tests", "test\Nancy.Tests\Nancy.Tests.csproj", "{9C383F09-8936-42ED-B9A6-ED3300AECB1C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Testing.Tests", "test\Nancy.Testing.Tests\Nancy.Testing.Tests.csproj", "{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Owin.Tests", "test\Nancy.Owin.Tests\Nancy.Owin.Tests.csproj", "{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Owin", "src\Nancy.Owin\Nancy.Owin.csproj", "{23C68B10-36FD-41DE-AAA3-77BEDFD63945}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Metadata.Modules.Tests", "test\Nancy.Metadata.Modules.Tests\Nancy.Metadata.Modules.Tests.csproj", "{8302F65E-035F-45D7-B894-915B68B72711}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Metadata.Modules", "src\Nancy.Metadata.Modules\Nancy.Metadata.Modules.csproj", "{89DED7A5-7334-4852-A1FC-9266AD0EF388}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Hosting.Self.Tests", "test\Nancy.Hosting.Self.Tests\Nancy.Hosting.Self.Tests.csproj", "{8909AB97-EDD6-4AB2-B733-A543ACB957CA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Hosting.Self", "src\Nancy.Hosting.Self\Nancy.Hosting.Self.csproj", "{AA837BCA-A2D6-4F74-95BC-1F6A66146562}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Hosting.Aspnet.Tests", "test\Nancy.Hosting.Aspnet.Tests\Nancy.Hosting.Aspnet.Tests.csproj", "{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Hosting.Aspnet", "src\Nancy.Hosting.Aspnet\Nancy.Hosting.Aspnet.csproj", "{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Encryption.MachineKey.Tests", "test\Nancy.Encryption.MachineKey.Tests\Nancy.Encryption.MachineKey.Tests.csproj", "{C42C352E-F3E2-41F6-A446-0CACDA5096AF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Encryption.MachineKey", "src\Nancy.Encryption.MachineKey\Nancy.Encryption.MachineKey.csproj", "{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Embedded.Tests", "test\Nancy.Embedded.Tests\Nancy.Embedded.Tests.csproj", "{8A936050-5B84-4711-A235-2BA36A445B26}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Embedded", "src\Nancy.Embedded\Nancy.Embedded.csproj", "{8120B952-D9BC-450A-B691-C030177CD24D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Authentication.Forms.Tests", "test\Nancy.Authentication.Forms.Tests\Nancy.Authentication.Forms.Tests.csproj", "{E3C25A1C-2754-4134-8780-1F0A247D6850}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Authentication.Basic.Tests", "test\Nancy.Authentication.Basic.Tests\Nancy.Authentication.Basic.Tests.csproj", "{5323D32E-0CF2-41B6-AF91-37F744AC1554}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Authentication.Basic", "src\Nancy.Authentication.Basic\Nancy.Authentication.Basic.csproj", "{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.Spark", "src\Nancy.ViewEngines.Spark\Nancy.ViewEngines.Spark.csproj", "{0E546413-BBF8-40B3-8534-8D1D986AA888}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.Razor.BuildProviders", "src\Nancy.ViewEngines.Razor.BuildProviders\Nancy.ViewEngines.Razor.BuildProviders.csproj", "{D92ADA88-361B-480A-81D2-AE1F7B2E0660}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.Nustache", "src\Nancy.ViewEngines.Nustache\Nancy.ViewEngines.Nustache.csproj", "{4FB42026-81C2-47B3-99A4-751452E64814}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Authentication.Stateless", "src\Nancy.Authentication.Stateless\Nancy.Authentication.Stateless.csproj", "{EEEE504F-24AC-4932-9B28-F684AB20FB50}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.Demo.Hosting.Kestrel", "samples\Nancy.Demo.Hosting.Kestrel\Nancy.Demo.Hosting.Kestrel.csproj", "{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nancy.ViewEngines.Spark.Tests", "test\Nancy.ViewEngines.Spark.Tests\Nancy.ViewEngines.Spark.Tests.csproj", "{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Debug|x64.ActiveCfg = Debug|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Debug|x64.Build.0 = Debug|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Debug|x86.ActiveCfg = Debug|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Debug|x86.Build.0 = Debug|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Release|Any CPU.Build.0 = Release|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Release|x64.ActiveCfg = Release|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Release|x64.Build.0 = Release|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Release|x86.ActiveCfg = Release|Any CPU
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC}.Release|x86.Build.0 = Release|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Debug|x64.ActiveCfg = Debug|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Debug|x64.Build.0 = Debug|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Debug|x86.ActiveCfg = Debug|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Debug|x86.Build.0 = Debug|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Release|Any CPU.Build.0 = Release|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Release|x64.ActiveCfg = Release|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Release|x64.Build.0 = Release|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Release|x86.ActiveCfg = Release|Any CPU
{06B9857A-02A6-430D-B579-98A762C281D3}.Release|x86.Build.0 = Release|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Debug|x64.ActiveCfg = Debug|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Debug|x64.Build.0 = Debug|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Debug|x86.ActiveCfg = Debug|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Debug|x86.Build.0 = Debug|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Release|Any CPU.Build.0 = Release|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Release|x64.ActiveCfg = Release|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Release|x64.Build.0 = Release|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Release|x86.ActiveCfg = Release|Any CPU
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66}.Release|x86.Build.0 = Release|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Debug|x64.ActiveCfg = Debug|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Debug|x64.Build.0 = Debug|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Debug|x86.ActiveCfg = Debug|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Debug|x86.Build.0 = Debug|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Release|Any CPU.Build.0 = Release|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Release|x64.ActiveCfg = Release|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Release|x64.Build.0 = Release|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Release|x86.ActiveCfg = Release|Any CPU
{66119997-5949-45D6-9175-F1C7C599A8F5}.Release|x86.Build.0 = Release|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Debug|x64.ActiveCfg = Debug|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Debug|x64.Build.0 = Debug|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Debug|x86.ActiveCfg = Debug|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Debug|x86.Build.0 = Debug|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Release|Any CPU.Build.0 = Release|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Release|x64.ActiveCfg = Release|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Release|x64.Build.0 = Release|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Release|x86.ActiveCfg = Release|Any CPU
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5}.Release|x86.Build.0 = Release|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Debug|Any CPU.Build.0 = Debug|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Debug|x64.ActiveCfg = Debug|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Debug|x64.Build.0 = Debug|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Debug|x86.ActiveCfg = Debug|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Debug|x86.Build.0 = Debug|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Release|Any CPU.ActiveCfg = Release|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Release|Any CPU.Build.0 = Release|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Release|x64.ActiveCfg = Release|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Release|x64.Build.0 = Release|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Release|x86.ActiveCfg = Release|Any CPU
{09F5EB90-1063-4338-A146-25F7BE8BFF43}.Release|x86.Build.0 = Release|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Debug|x64.ActiveCfg = Debug|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Debug|x64.Build.0 = Debug|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Debug|x86.ActiveCfg = Debug|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Debug|x86.Build.0 = Debug|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Release|Any CPU.Build.0 = Release|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Release|x64.ActiveCfg = Release|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Release|x64.Build.0 = Release|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Release|x86.ActiveCfg = Release|Any CPU
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391}.Release|x86.Build.0 = Release|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Debug|x64.ActiveCfg = Debug|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Debug|x64.Build.0 = Debug|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Debug|x86.ActiveCfg = Debug|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Debug|x86.Build.0 = Debug|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Release|Any CPU.Build.0 = Release|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Release|x64.ActiveCfg = Release|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Release|x64.Build.0 = Release|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Release|x86.ActiveCfg = Release|Any CPU
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4}.Release|x86.Build.0 = Release|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Debug|Any CPU.Build.0 = Debug|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Debug|x64.ActiveCfg = Debug|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Debug|x64.Build.0 = Debug|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Debug|x86.ActiveCfg = Debug|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Debug|x86.Build.0 = Debug|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Release|Any CPU.ActiveCfg = Release|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Release|Any CPU.Build.0 = Release|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Release|x64.ActiveCfg = Release|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Release|x64.Build.0 = Release|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Release|x86.ActiveCfg = Release|Any CPU
{89C49FF5-9441-4DE8-A33F-1B2852401A54}.Release|x86.Build.0 = Release|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Debug|x64.ActiveCfg = Debug|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Debug|x64.Build.0 = Debug|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Debug|x86.ActiveCfg = Debug|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Debug|x86.Build.0 = Debug|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Release|Any CPU.Build.0 = Release|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Release|x64.ActiveCfg = Release|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Release|x64.Build.0 = Release|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Release|x86.ActiveCfg = Release|Any CPU
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89}.Release|x86.Build.0 = Release|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Debug|x64.ActiveCfg = Debug|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Debug|x64.Build.0 = Debug|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Debug|x86.ActiveCfg = Debug|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Debug|x86.Build.0 = Debug|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Release|Any CPU.Build.0 = Release|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Release|x64.ActiveCfg = Release|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Release|x64.Build.0 = Release|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Release|x86.ActiveCfg = Release|Any CPU
{0E9B466C-1151-4AE9-A55A-6377A25F8235}.Release|x86.Build.0 = Release|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Debug|x64.ActiveCfg = Debug|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Debug|x64.Build.0 = Debug|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Debug|x86.ActiveCfg = Debug|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Debug|x86.Build.0 = Debug|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Release|Any CPU.Build.0 = Release|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Release|x64.ActiveCfg = Release|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Release|x64.Build.0 = Release|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Release|x86.ActiveCfg = Release|Any CPU
{33D5FB92-074E-4C13-BFD6-21184DD0013A}.Release|x86.Build.0 = Release|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Debug|x64.ActiveCfg = Debug|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Debug|x64.Build.0 = Debug|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Debug|x86.ActiveCfg = Debug|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Debug|x86.Build.0 = Debug|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Release|Any CPU.Build.0 = Release|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Release|x64.ActiveCfg = Release|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Release|x64.Build.0 = Release|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Release|x86.ActiveCfg = Release|Any CPU
{EF3149F4-59C1-4896-989E-59D9D5F9050A}.Release|x86.Build.0 = Release|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Debug|x64.ActiveCfg = Debug|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Debug|x64.Build.0 = Debug|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Debug|x86.ActiveCfg = Debug|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Debug|x86.Build.0 = Debug|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Release|Any CPU.Build.0 = Release|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Release|x64.ActiveCfg = Release|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Release|x64.Build.0 = Release|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Release|x86.ActiveCfg = Release|Any CPU
{FA2462FE-A439-48C5-976D-491F73C25CE1}.Release|x86.Build.0 = Release|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Debug|x64.ActiveCfg = Debug|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Debug|x64.Build.0 = Debug|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Debug|x86.ActiveCfg = Debug|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Debug|x86.Build.0 = Debug|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Release|Any CPU.Build.0 = Release|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Release|x64.ActiveCfg = Release|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Release|x64.Build.0 = Release|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Release|x86.ActiveCfg = Release|Any CPU
{7944AA31-16BA-43A8-A9CB-2ED758518C9E}.Release|x86.Build.0 = Release|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Debug|x64.ActiveCfg = Debug|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Debug|x64.Build.0 = Debug|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Debug|x86.ActiveCfg = Debug|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Debug|x86.Build.0 = Debug|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Release|Any CPU.Build.0 = Release|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Release|x64.ActiveCfg = Release|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Release|x64.Build.0 = Release|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Release|x86.ActiveCfg = Release|Any CPU
{9C383F09-8936-42ED-B9A6-ED3300AECB1C}.Release|x86.Build.0 = Release|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Debug|x64.ActiveCfg = Debug|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Debug|x64.Build.0 = Debug|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Debug|x86.ActiveCfg = Debug|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Debug|x86.Build.0 = Debug|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Release|Any CPU.Build.0 = Release|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Release|x64.ActiveCfg = Release|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Release|x64.Build.0 = Release|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Release|x86.ActiveCfg = Release|Any CPU
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C}.Release|x86.Build.0 = Release|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Debug|x64.ActiveCfg = Debug|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Debug|x64.Build.0 = Debug|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Debug|x86.ActiveCfg = Debug|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Debug|x86.Build.0 = Debug|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Release|Any CPU.Build.0 = Release|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Release|x64.ActiveCfg = Release|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Release|x64.Build.0 = Release|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Release|x86.ActiveCfg = Release|Any CPU
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522}.Release|x86.Build.0 = Release|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Debug|Any CPU.Build.0 = Debug|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Debug|x64.ActiveCfg = Debug|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Debug|x64.Build.0 = Debug|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Debug|x86.ActiveCfg = Debug|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Debug|x86.Build.0 = Debug|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Release|Any CPU.ActiveCfg = Release|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Release|Any CPU.Build.0 = Release|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Release|x64.ActiveCfg = Release|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Release|x64.Build.0 = Release|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Release|x86.ActiveCfg = Release|Any CPU
{23C68B10-36FD-41DE-AAA3-77BEDFD63945}.Release|x86.Build.0 = Release|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Debug|x64.ActiveCfg = Debug|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Debug|x64.Build.0 = Debug|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Debug|x86.ActiveCfg = Debug|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Debug|x86.Build.0 = Debug|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Release|Any CPU.Build.0 = Release|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Release|x64.ActiveCfg = Release|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Release|x64.Build.0 = Release|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Release|x86.ActiveCfg = Release|Any CPU
{8302F65E-035F-45D7-B894-915B68B72711}.Release|x86.Build.0 = Release|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Debug|Any CPU.Build.0 = Debug|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Debug|x64.ActiveCfg = Debug|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Debug|x64.Build.0 = Debug|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Debug|x86.ActiveCfg = Debug|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Debug|x86.Build.0 = Debug|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Release|Any CPU.ActiveCfg = Release|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Release|Any CPU.Build.0 = Release|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Release|x64.ActiveCfg = Release|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Release|x64.Build.0 = Release|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Release|x86.ActiveCfg = Release|Any CPU
{89DED7A5-7334-4852-A1FC-9266AD0EF388}.Release|x86.Build.0 = Release|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Debug|x64.ActiveCfg = Debug|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Debug|x64.Build.0 = Debug|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Debug|x86.ActiveCfg = Debug|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Debug|x86.Build.0 = Debug|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Release|Any CPU.Build.0 = Release|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Release|x64.ActiveCfg = Release|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Release|x64.Build.0 = Release|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Release|x86.ActiveCfg = Release|Any CPU
{8909AB97-EDD6-4AB2-B733-A543ACB957CA}.Release|x86.Build.0 = Release|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Debug|x64.ActiveCfg = Debug|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Debug|x64.Build.0 = Debug|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Debug|x86.ActiveCfg = Debug|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Debug|x86.Build.0 = Debug|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Release|Any CPU.Build.0 = Release|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Release|x64.ActiveCfg = Release|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Release|x64.Build.0 = Release|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Release|x86.ActiveCfg = Release|Any CPU
{AA837BCA-A2D6-4F74-95BC-1F6A66146562}.Release|x86.Build.0 = Release|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Debug|Any CPU.Build.0 = Debug|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Debug|x64.ActiveCfg = Debug|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Debug|x64.Build.0 = Debug|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Debug|x86.ActiveCfg = Debug|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Debug|x86.Build.0 = Debug|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Release|Any CPU.ActiveCfg = Release|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Release|Any CPU.Build.0 = Release|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Release|x64.ActiveCfg = Release|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Release|x64.Build.0 = Release|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Release|x86.ActiveCfg = Release|Any CPU
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760}.Release|x86.Build.0 = Release|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Debug|x64.ActiveCfg = Debug|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Debug|x64.Build.0 = Debug|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Debug|x86.ActiveCfg = Debug|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Debug|x86.Build.0 = Debug|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Release|Any CPU.Build.0 = Release|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Release|x64.ActiveCfg = Release|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Release|x64.Build.0 = Release|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Release|x86.ActiveCfg = Release|Any CPU
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D}.Release|x86.Build.0 = Release|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Debug|x64.ActiveCfg = Debug|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Debug|x64.Build.0 = Debug|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Debug|x86.ActiveCfg = Debug|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Debug|x86.Build.0 = Debug|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Release|Any CPU.Build.0 = Release|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Release|x64.ActiveCfg = Release|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Release|x64.Build.0 = Release|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Release|x86.ActiveCfg = Release|Any CPU
{C42C352E-F3E2-41F6-A446-0CACDA5096AF}.Release|x86.Build.0 = Release|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Debug|x64.ActiveCfg = Debug|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Debug|x64.Build.0 = Debug|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Debug|x86.ActiveCfg = Debug|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Debug|x86.Build.0 = Debug|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Release|Any CPU.Build.0 = Release|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Release|x64.ActiveCfg = Release|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Release|x64.Build.0 = Release|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Release|x86.ActiveCfg = Release|Any CPU
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D}.Release|x86.Build.0 = Release|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Debug|x64.ActiveCfg = Debug|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Debug|x64.Build.0 = Debug|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Debug|x86.ActiveCfg = Debug|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Debug|x86.Build.0 = Debug|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Release|Any CPU.Build.0 = Release|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Release|x64.ActiveCfg = Release|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Release|x64.Build.0 = Release|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Release|x86.ActiveCfg = Release|Any CPU
{8A936050-5B84-4711-A235-2BA36A445B26}.Release|x86.Build.0 = Release|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Debug|x64.ActiveCfg = Debug|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Debug|x64.Build.0 = Debug|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Debug|x86.ActiveCfg = Debug|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Debug|x86.Build.0 = Debug|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Release|Any CPU.Build.0 = Release|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Release|x64.ActiveCfg = Release|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Release|x64.Build.0 = Release|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Release|x86.ActiveCfg = Release|Any CPU
{8120B952-D9BC-450A-B691-C030177CD24D}.Release|x86.Build.0 = Release|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Debug|x64.ActiveCfg = Debug|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Debug|x64.Build.0 = Debug|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Debug|x86.ActiveCfg = Debug|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Debug|x86.Build.0 = Debug|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Release|Any CPU.Build.0 = Release|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Release|x64.ActiveCfg = Release|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Release|x64.Build.0 = Release|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Release|x86.ActiveCfg = Release|Any CPU
{E3C25A1C-2754-4134-8780-1F0A247D6850}.Release|x86.Build.0 = Release|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Debug|x64.ActiveCfg = Debug|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Debug|x64.Build.0 = Debug|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Debug|x86.ActiveCfg = Debug|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Debug|x86.Build.0 = Debug|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Release|Any CPU.Build.0 = Release|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Release|x64.ActiveCfg = Release|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Release|x64.Build.0 = Release|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Release|x86.ActiveCfg = Release|Any CPU
{5323D32E-0CF2-41B6-AF91-37F744AC1554}.Release|x86.Build.0 = Release|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Debug|x64.ActiveCfg = Debug|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Debug|x64.Build.0 = Debug|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Debug|x86.ActiveCfg = Debug|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Debug|x86.Build.0 = Debug|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Release|Any CPU.Build.0 = Release|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Release|x64.ActiveCfg = Release|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Release|x64.Build.0 = Release|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Release|x86.ActiveCfg = Release|Any CPU
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD}.Release|x86.Build.0 = Release|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Debug|x64.ActiveCfg = Debug|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Debug|x64.Build.0 = Debug|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Debug|x86.ActiveCfg = Debug|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Debug|x86.Build.0 = Debug|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Release|Any CPU.Build.0 = Release|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Release|x64.ActiveCfg = Release|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Release|x64.Build.0 = Release|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Release|x86.ActiveCfg = Release|Any CPU
{0E546413-BBF8-40B3-8534-8D1D986AA888}.Release|x86.Build.0 = Release|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Debug|x64.ActiveCfg = Debug|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Debug|x64.Build.0 = Debug|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Debug|x86.ActiveCfg = Debug|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Debug|x86.Build.0 = Debug|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Release|Any CPU.Build.0 = Release|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Release|x64.ActiveCfg = Release|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Release|x64.Build.0 = Release|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Release|x86.ActiveCfg = Release|Any CPU
{D92ADA88-361B-480A-81D2-AE1F7B2E0660}.Release|x86.Build.0 = Release|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Debug|x64.ActiveCfg = Debug|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Debug|x64.Build.0 = Debug|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Debug|x86.ActiveCfg = Debug|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Debug|x86.Build.0 = Debug|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Release|Any CPU.Build.0 = Release|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Release|x64.ActiveCfg = Release|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Release|x64.Build.0 = Release|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Release|x86.ActiveCfg = Release|Any CPU
{4FB42026-81C2-47B3-99A4-751452E64814}.Release|x86.Build.0 = Release|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Debug|x64.ActiveCfg = Debug|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Debug|x64.Build.0 = Debug|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Debug|x86.ActiveCfg = Debug|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Debug|x86.Build.0 = Debug|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Release|Any CPU.Build.0 = Release|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Release|x64.ActiveCfg = Release|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Release|x64.Build.0 = Release|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Release|x86.ActiveCfg = Release|Any CPU
{EEEE504F-24AC-4932-9B28-F684AB20FB50}.Release|x86.Build.0 = Release|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Debug|x64.ActiveCfg = Debug|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Debug|x64.Build.0 = Debug|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Debug|x86.ActiveCfg = Debug|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Debug|x86.Build.0 = Debug|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Release|Any CPU.Build.0 = Release|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Release|x64.ActiveCfg = Release|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Release|x64.Build.0 = Release|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Release|x86.ActiveCfg = Release|Any CPU
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD}.Release|x86.Build.0 = Release|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Debug|x64.ActiveCfg = Debug|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Debug|x64.Build.0 = Debug|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Debug|x86.ActiveCfg = Debug|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Debug|x86.Build.0 = Debug|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Release|Any CPU.Build.0 = Release|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Release|x64.ActiveCfg = Release|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Release|x64.Build.0 = Release|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Release|x86.ActiveCfg = Release|Any CPU
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{0E7E06C1-C223-4975-A9DB-D338EBF0A9BC} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{06B9857A-02A6-430D-B579-98A762C281D3} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{ADAB2C6B-10FE-4B31-BCD2-E2EFA69D5A66} = {5734E9DC-CF67-4337-B28E-695280598B88}
{66119997-5949-45D6-9175-F1C7C599A8F5} = {5734E9DC-CF67-4337-B28E-695280598B88}
{D1D2622E-ACF7-479C-ABC8-E1B94E41D9D5} = {5734E9DC-CF67-4337-B28E-695280598B88}
{09F5EB90-1063-4338-A146-25F7BE8BFF43} = {5734E9DC-CF67-4337-B28E-695280598B88}
{1CA8D3D3-B6A6-4006-AA96-671CB41D6391} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{CCB5075B-C50A-4CD1-983A-2D51DC2430F4} = {5734E9DC-CF67-4337-B28E-695280598B88}
{89C49FF5-9441-4DE8-A33F-1B2852401A54} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{9F16EBDF-4546-43C2-82B8-7D698F7A1E89} = {5734E9DC-CF67-4337-B28E-695280598B88}
{0E9B466C-1151-4AE9-A55A-6377A25F8235} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{33D5FB92-074E-4C13-BFD6-21184DD0013A} = {5734E9DC-CF67-4337-B28E-695280598B88}
{EF3149F4-59C1-4896-989E-59D9D5F9050A} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{FA2462FE-A439-48C5-976D-491F73C25CE1} = {5734E9DC-CF67-4337-B28E-695280598B88}
{7944AA31-16BA-43A8-A9CB-2ED758518C9E} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{9C383F09-8936-42ED-B9A6-ED3300AECB1C} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{5E5AF23F-61F6-4B44-B682-2D141B54DF5C} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{C0A85A7D-9D7F-4A6C-BA33-9E79050CF522} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{23C68B10-36FD-41DE-AAA3-77BEDFD63945} = {5734E9DC-CF67-4337-B28E-695280598B88}
{8302F65E-035F-45D7-B894-915B68B72711} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{89DED7A5-7334-4852-A1FC-9266AD0EF388} = {5734E9DC-CF67-4337-B28E-695280598B88}
{8909AB97-EDD6-4AB2-B733-A543ACB957CA} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{AA837BCA-A2D6-4F74-95BC-1F6A66146562} = {5734E9DC-CF67-4337-B28E-695280598B88}
{53FB25E0-C8CB-4D65-8D94-6FA627BF9760} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{833A65BC-5B37-468D-8BB4-2343CEFDFA5D} = {5734E9DC-CF67-4337-B28E-695280598B88}
{C42C352E-F3E2-41F6-A446-0CACDA5096AF} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{EF313B39-68CF-45D1-9094-BDDCCAC9DB2D} = {5734E9DC-CF67-4337-B28E-695280598B88}
{8A936050-5B84-4711-A235-2BA36A445B26} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{8120B952-D9BC-450A-B691-C030177CD24D} = {5734E9DC-CF67-4337-B28E-695280598B88}
{E3C25A1C-2754-4134-8780-1F0A247D6850} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{5323D32E-0CF2-41B6-AF91-37F744AC1554} = {058BCE2A-8F81-4404-83D3-844CE030E513}
{22E99FEC-8DFC-4E87-90EE-BC7F6E988DAD} = {5734E9DC-CF67-4337-B28E-695280598B88}
{0E546413-BBF8-40B3-8534-8D1D986AA888} = {5734E9DC-CF67-4337-B28E-695280598B88}
{D92ADA88-361B-480A-81D2-AE1F7B2E0660} = {5734E9DC-CF67-4337-B28E-695280598B88}
{4FB42026-81C2-47B3-99A4-751452E64814} = {5734E9DC-CF67-4337-B28E-695280598B88}
{EEEE504F-24AC-4932-9B28-F684AB20FB50} = {5734E9DC-CF67-4337-B28E-695280598B88}
{3AF8D59E-D10A-46DE-97A6-0A6C156F22CD} = {AA791E28-7914-439A-B59A-580B8D8FE95D}
{08C1D823-E8E1-4D86-8F73-A9F3AE8FEFC7} = {058BCE2A-8F81-4404-83D3-844CE030E513}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {781C77FF-8818-4AF3-BCAF-C82B52FFF0C0}
EndGlobalSection
EndGlobal
================================================
FILE: Nancy.sln.DotSettings
================================================
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/CodeInspection/ExcludedFiles/FileMasksToSkip/=_002A_002Ecshtml/@EntryIndexedValue">True</s:Boolean>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ArrangeTypeMemberModifiers/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ArrangeTypeModifiers/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=BuiltInTypeReferenceStyle/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=SuggestVarOrType_005FBuiltInTypes/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=SuggestVarOrType_005FElsewhere/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=SuggestVarOrType_005FSimpleTypes/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeStyle/CodeCleanup/Profiles/=NancyStandard/@EntryIndexedValue"><?xml version="1.0" encoding="utf-16"?><Profile name="NancyStandard"><CSUseVar><BehavourStyle>CAN_CHANGE_TO_IMPLICIT</BehavourStyle><LocalVariableStyle>ALWAYS_IMPLICIT</LocalVariableStyle><ForeachVariableStyle>ALWAYS_IMPLICIT</ForeachVariableStyle></CSUseVar><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings><EmbraceInRegion>False</EmbraceInRegion><RegionName></RegionName></CSOptimizeUsings><CSReformatCode>True</CSReformatCode><CSShortenReferences>True</CSShortenReferences><CSReorderTypeMembers>True</CSReorderTypeMembers><CSMakeFieldReadonly>True</CSMakeFieldReadonly><CSCodeStyleAttributes ArrangeTypeAccessModifier="True" ArrangeTypeMemberAccessModifier="True" SortModifiers="True" RemoveRedundantParentheses="True" AddMissingParentheses="True" ArrangeBraces="True" ArrangeAttributes="False" ArrangeArgumentsStyle="False" /></Profile></s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_DOWHILE/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_FIXED/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_FOR/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_FOREACH/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_IFELSE/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_LOCK/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_USING/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_WHILE/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/ThisQualifier/INSTANCE_MEMBERS_QUALIFY_MEMBERS/@EntryValue">All</s:String>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTILINE_BINARY_EXPRESSIONS_CHAIN/@EntryValue">False</s:Boolean>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ANONYMOUS_METHOD_DECLARATION_BRACES/@EntryValue">NEXT_LINE</s:String>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/BLANK_LINES_AROUND_INVOCABLE/@EntryValue">1</s:Int64>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/BLANK_LINES_AROUND_SINGLE_LINE_AUTO_PROPERTY/@EntryValue">1</s:Int64>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/BLANK_LINES_AROUND_SINGLE_LINE_FIELD/@EntryValue">1</s:Int64>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/BLANK_LINES_AROUND_SINGLE_LINE_INVOCABLE/@EntryValue">1</s:Int64>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/BLANK_LINES_AROUND_SINGLE_LINE_PROPERTY/@EntryValue">1</s:Int64>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/BLANK_LINES_BETWEEN_USING_GROUPS/@EntryValue">0</s:Int64>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/FORCE_FIXED_BRACES_STYLE/@EntryValue">ALWAYS_ADD</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/FORCE_FOR_BRACES_STYLE/@EntryValue">ALWAYS_ADD</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/FORCE_FOREACH_BRACES_STYLE/@EntryValue">ALWAYS_ADD</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/FORCE_IFELSE_BRACES_STYLE/@EntryValue">ALWAYS_ADD</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/FORCE_USING_BRACES_STYLE/@EntryValue">ALWAYS_ADD</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/FORCE_WHILE_BRACES_STYLE/@EntryValue">ALWAYS_ADD</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/INITIALIZER_BRACES/@EntryValue">NEXT_LINE</s:String>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/KEEP_BLANK_LINES_IN_CODE/@EntryValue">1</s:Int64>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/KEEP_BLANK_LINES_IN_DECLARATIONS/@EntryValue">1</s:Int64>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/LINE_FEED_AT_FILE_END/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/REDUNDANT_THIS_QUALIFIER_STYLE/@EntryValue">ALWAYS_USE</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SIMPLE_EMBEDDED_STATEMENT_STYLE/@EntryValue">LINE_BREAK</s:String>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_AFTER_TYPECAST_PARENTHESES/@EntryValue">False</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_AROUND_MULTIPLICATIVE_OP/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_SIZEOF_PARENTHESES/@EntryValue">False</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_TYPEOF_PARENTHESES/@EntryValue">False</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_WITHIN_SINGLE_LINE_ARRAY_INITIALIZER_BRACES/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/STICK_COMMENT/@EntryValue">False</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CSharpUsing/AddImportsToDeepestScope/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CSharpUsing/QualifiedUsingAtNestedScope/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderRegionName/@EntryValue"></s:String>
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue"></s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=MethodPropertyEvent/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb"><ExtraRule Prefix="" Suffix="" Style="Aa_bb" /></Policy></s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticFields/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAddAccessorOwnerDeclarationBracesMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateThisQualifierSettings/@EntryIndexedValue">True</s:Boolean>
<s:String x:Key="/Default/FilterSettingsManager/CoverageFilterXml/@EntryValue"><data><IncludeFilters /><ExcludeFilters /></data></s:String>
<s:String x:Key="/Default/FilterSettingsManager/AttributeFilterXml/@EntryValue"><data /></s:String>
</wpf:ResourceDictionary>
================================================
FILE: NuGet.config
================================================
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
================================================
FILE: README.md
================================================
# ** Announcement ** - Nancy is no longer being maintained!
We would like to thank all the thousands of users of Nancy, all the people who wrote blog posts, conference speakers, video producers and those that spread the word of Nancy.
We would like to thank the 150+ contributors to Nancy that made it what it became, without you the work would have been much harder and opportunities missed.
We would like to thank [VQ](http://www.vqcomms.com) for financially sponsoring our open source efforts.
We would like to thank the core contributors to Nancy [@jchannon](https://github.com/jchannon), [@khellang](https://github.com/khellang), [@damianh](https://github.com/damianh), [@phillip-haydon](https://github.com/phillip-haydon), [@prabirshrestha](https://github.com/prabirshrestha), [@horsdal](https://github.com/horsdal) for working hard into the nights coding, testing and writing docs but most importantly the founders of Nancy itself [@thecodejunkie](https://github.com/thecodejunkie) and [@grumpydev](https://github.com/grumpydev) whose vision made Nancy what it was, a fun, performant and enjoyable web framework.
## Support
We understand that organisations may have services and products that still depend on Nancy in production. A couple of members of the team can offer a support, maintenance, migration services on commercial terms. Please reach out to [nancyfx.help@gmail.com](mailto:nancyfx.help@gmail.com) to discuss options.
## Forking
Nancy's licence is permissible so we encourage forking if you need to perform maintenance. However, the logos and name are copyright to Andreas Håkansson and Steven Robbins and are not for re-use or editing. Please see full licence information [here](https://github.com/NancyFx/Nancy.Portfolio/blob/master/license.txt)
------------------------------------------------------------------------------------------------------------------------------------------
# Meet Nancy [](https://www.nuget.org/packages/Nancy/) [](http://slack.nancyfx.org)
Nancy is a lightweight, low-ceremony, framework for building HTTP based services on .NET Framework/Core and [Mono](http://mono-project.com). The goal of the framework is to stay out of the way as much as possible and provide a super-duper-happy-path to all interactions.
Nancy is designed to handle `DELETE`, `GET`, `HEAD`, `OPTIONS`, `POST`, `PUT` and `PATCH` requests and provides a simple, elegant, [Domain Specific Language (DSL)](http://en.wikipedia.org/wiki/Domain-specific_language) for returning a response with just a couple of keystrokes, leaving you with more time to focus on the important bits..
**your** code and **your** application.
Write your application
```csharp
public class Module : NancyModule
{
public Module()
{
Get("/greet/{name}", x => {
return string.Concat("Hello ", x.name);
});
}
}
```
Compile, run and enjoy the simple, elegant design!
## Features
* Built from the bottom up, not simply a DSL on top of an existing framework. Removing limitations and feature hacks of an underlying framework, as well as the need to reference more assemblies than you need. _keep it light_
* Run anywhere. Nancy is not built on any specific hosting technology can be run anywhere. Out of the box, Nancy supports running on ASP.NET/IIS, WCF, Self-hosting and any [OWIN](http://owin.org)
* Ultra lightweight action declarations for GET, HEAD, PUT, POST, DELETE, OPTIONS and PATCH requests
* View engine integration (Razor, Spark, dotLiquid, our own SuperSimpleViewEngine and many more)
* Powerful request path matching that includes advanced parameter capabilities. The path matching strategy can be replaced with custom implementations to fit your exact needs
* Easy response syntax, enabling you to return things like int, string, HttpStatusCode and Action<Stream> elements without having to explicitly cast or wrap your response - you just return it and Nancy _will_ do the work for you
* A powerful, light-weight, testing framework to help you verify the behavior of your application
* Content negotiation
* And much, much more
## The super-duper-happy-path
The "super-duper-happy-path" (or SDHP if you’re ‘down with the kids’ ;-)) is a phrase we coined to describe the ethos of Nancy; and providing the “super-duper-happy-path” experience is something we strive for in all of our APIs.
While it’s hard to pin down exactly what it is, it’s a very emotive term after all, but the basic ideas behind it are:
* “It just works” - you should be able to pick things up and use them without any mucking about. Added a new module? That’s automatically discovered for you. Brought in a new View Engine? All wired up and ready to go without you having to do anything else. Even if you add a new dependency to your module, by default we’ll locate that and inject it for you - no configuration required.
* “Easily customisable” - even though “it just works”, there shouldn’t be any barriers that get in the way of customisation should you want to work the way you want to work with the components that you want to use. Want to use another container? No problem! Want to tweak the way routes are selected? Go ahead! Through our bootstrapper approach all of these things should be a piece of cake.
* “Low ceremony” - the amount of “Nancy code” you should need in your application should be minimal. The important part of any Nancy application is your code - our code should get out of your way and let you get on with building awesome applications. As a testament to this it’s actually possible to fit a functional Nancy application into a single Tweet :-)
* “Low friction” - when building software with Nancy the APIs should help you get where you want to go, rather than getting in your way. Naming should be obvious, required configuration should be minimal, but power and extensibility should still be there when you need it.
Above all, creating an application with Nancy should be a pleasure, and hopefully fun! But without sacrificing the power or extensibility that you may need as your application grows.
## Getting started
As a start several working samples are provided in the `/sample` directory. Simply run the build script `build.ps1` (for Windows PowerShell) or `build.sh` (for \*nix-Bash) first.
## Community
Nancy followers can be found on Slack [NancyFx team](http://nancyfx.slack.com). You can also find Nancy on Twitter using the #NancyFx hashtag.
## Help out
There are many ways you can contribute to Nancy. Like most open-source software projects, contributing code
is just one of many outlets where you can help improve. Some of the things that you could help out with in
Nancy are:
* Documentation (both code and features)
* Bug reports
* Bug fixes
* Feature requests
* Feature implementations
* Test coverage
* Code quality
* Sample applications
## Continuous integration builds
| Platform | Status |
|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
| AppVeyor (.NET & .NET Core) | [](https://ci.appveyor.com/project/NancyFx/nancy) |
| Travis (Mono) | [](https://travis-ci.org/NancyFx/Nancy) |
To get build artifacts of latest `master`, please use our [MyGet feed](https://www.myget.org/gallery/nancyfx)
## Contributors
Nancy is not a one man project and many of the features that are available would not have been possible without the awesome contributions from the community!
For a full list of contributors, please see [the website](http://www.nancyfx.org/contribs.html).
## Code of Conduct
This project has adopted the code of conduct defined by the [Contributor Covenant](http://contributor-covenant.org/) to clarify expected behavior in our community. For more information see the [.NET Foundation Code of Conduct](http://www.dotnetfoundation.org/code-of-conduct).
## Contribution License Agreement
Contributing to Nancy requires you to sign a [contribution license agreement](https://cla2.dotnetfoundation.org/) (CLA) for anything other than a trivial change. By signing the contribution license agreement, the community is free to use your contribution to .NET Foundation projects.
## .NET Foundation
This project is supported by the [.NET Foundation](http://www.dotnetfoundation.org).
## Copyright
Copyright © 2010 Andreas Håkansson, Steven Robbins and contributors
## License
Nancy is licensed under [MIT](http://www.opensource.org/licenses/mit-license.php "Read more about the MIT license form"). Refer to license.txt for more information.
================================================
FILE: SharedAssemblyInfo.cs
================================================
using System.Runtime.InteropServices;
using System.Reflection;
[assembly: AssemblyTitle("Nancy")]
[assembly: AssemblyDescription("A Sinatra inspired web framework for the .NET platform")]
[assembly: AssemblyCompany("Nancy")]
[assembly: AssemblyProduct("Nancy")]
[assembly: AssemblyCopyright("Copyright (C) Andreas Hakansson, Steven Robbins and contributors")]
[assembly: AssemblyVersion("2.0.0")]
[assembly: AssemblyInformationalVersion("2.0.0-alpha")]
================================================
FILE: appveyor.yml
================================================
image: Visual Studio 2017
version: 2.0.0-ci000{build}
configuration: Release
cache: C:\Users\appveyor\.nuget\packages
nuget:
disable_publish_on_pr: true
pull_requests:
do_not_increment_build_number: true
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
build_script:
- ps: .\build.ps1 -verbosity=minimal
artifacts:
- path: build\nuget\*.nupkg
name: NuGet
deploy:
- provider: NuGet
server: https://www.myget.org/F/nancyfx/api/v2/package
api_key:
secure: +D460p+eBTZg/1k7YpDwGp8G74VhOhjxp62EypsjVyul8DT/6B8o3taDbQCZCJ6+
skip_symbols: true
on:
branch: master
test: off
================================================
FILE: build.cake
================================================
// Usings
using System.Text.RegularExpressions;
// Arguments
var target = Argument<string>("target", "Default");
var source = Argument<string>("source", null);
var apiKey = Argument<string>("apikey", null);
var version = Argument<string>("targetversion", "2.0.0-pre" + (EnvironmentVariable("APPVEYOR_BUILD_NUMBER") ?? "0"));
var nogit = Argument<bool>("nogit", false);
// Variables
var configuration = "Release";
var fullFrameworkTarget = "net452";
var netStandardTarget = "netstandard2.0";
var netCoreTarget = "netcoreapp2.0";
// Directories
var output = Directory("build");
var outputBinaries = output + Directory("binaries");
var outputBinariesNet452 = outputBinaries + Directory(fullFrameworkTarget);
var outputBinariesNetstandard = outputBinaries + Directory(netStandardTarget);
var outputPackages = output + Directory("packages");
var outputNuGet = output + Directory("nuget");
/*
/ TASK DEFINITIONS
*/
Task("Default")
.IsDependentOn("Test")
.IsDependentOn("Update-Version")
.IsDependentOn("Package-NuGet");
Task("Clean")
.Does(() =>
{
CleanDirectories(new DirectoryPath[] {
output,
outputBinaries,
outputPackages,
outputNuGet,
outputBinariesNet452,
outputBinariesNetstandard
});
CleanDirectories("./src/**/" + configuration);
CleanDirectories("./test/**/" + configuration);
CleanDirectories("./samples/**/" + configuration);
});
Task("Compile")
.Description("Builds all the projects in the solution")
.IsDependentOn("Clean")
.IsDependentOn("Restore-NuGet-Packages")
.Does(() =>
{
var projects =
GetFiles("./**/*.csproj") -
GetFiles("./samples/**/*.csproj");
if (projects.Count == 0)
{
throw new CakeException("Unable to find any projects to build.");
}
foreach(var project in projects)
{
var content =
System.IO.File.ReadAllText(project.FullPath, Encoding.UTF8);
if (IsRunningOnUnix() && content.Contains(">" + fullFrameworkTarget + "<"))
{
Information(project.GetFilename() + " only supports " +fullFrameworkTarget + " and cannot be built on *nix. Skipping.");
continue;
}
DotNetCoreBuild(project.GetDirectory().FullPath, new DotNetCoreBuildSettings {
ArgumentCustomization = args => {
if (IsRunningOnUnix())
{
args.Append(string.Concat("-f ", project.GetDirectory().GetDirectoryName().Contains(".Tests") ? netCoreTarget : netStandardTarget));
}
return args;
},
Configuration = configuration
});
}
});
Task("Package")
.Description("Zips up the built binaries for easy distribution")
.IsDependentOn("Publish")
.Does(() =>
{
var package =
outputPackages + File("Nancy-Latest.zip");
var files =
GetFiles(outputBinaries.Path.FullPath + "/**/*");
Zip(outputBinaries, package, files);
});
Task("Package-NuGet")
.Description("Generates NuGet packages for each project")
.Does(() =>
{
foreach(var project in GetFiles("./src/**/*.csproj"))
{
Information("Packaging " + project.GetFilename().FullPath);
var content =
System.IO.File.ReadAllText(project.FullPath, Encoding.UTF8);
if (IsRunningOnUnix() && content.Contains(">" + fullFrameworkTarget + "<"))
{
Information(project.GetFilename() + " only supports " +fullFrameworkTarget + " and cannot be packaged on *nix. Skipping.");
continue;
}
DotNetCorePack(project.GetDirectory().FullPath, new DotNetCorePackSettings {
Configuration = configuration,
OutputDirectory = outputNuGet
});
}
});
Task("Publish")
.Description("Gathers output files and copies them to the output folder")
.IsDependentOn("Compile")
.Does(() =>
{
// Copy net452 binaries.
CopyFiles(GetFiles("./src/**/bin/" + configuration + "/" + fullFrameworkTarget + "/*.dll")
+ GetFiles("./src/**/bin/" + configuration + "/" + fullFrameworkTarget + "/*.xml")
+ GetFiles("./src/**/bin/" + configuration + "/" + fullFrameworkTarget + "/*.pdb")
+ GetFiles("./src/**/*.ps1"), outputBinariesNet452);
// Copy netstandard binaries.
CopyFiles(GetFiles("./src/**/bin/" + configuration + "/" + netStandardTarget + "/*.dll")
+ GetFiles("./src/**/bin/" + configuration + "/" + netStandardTarget + "/*.xml")
+ GetFiles("./src/**/bin/" + configuration + "/" + netStandardTarget + "/*.pdb")
+ GetFiles("./src/**/*.ps1"), outputBinariesNetstandard);
});
Task("Publish-NuGet")
.Description("Pushes the nuget packages in the nuget folder to a NuGet source. Also publishes the packages into the feeds.")
.Does(() =>
{
if(string.IsNullOrWhiteSpace(apiKey))
{
throw new CakeException("No NuGet API key provided. You need to pass in --apikey=\"xyz\"");
}
var packages =
GetFiles(outputNuGet.Path.FullPath + "/*.nupkg") -
GetFiles(outputNuGet.Path.FullPath + "/*.symbols.nupkg");
foreach(var package in packages)
{
NuGetPush(package, new NuGetPushSettings {
Source = source,
ApiKey = apiKey
});
}
});
Task("Prepare-Release")
.IsDependentOn("Update-Version")
.Does(() =>
{
// Add
foreach (var file in GetFiles("./src/**/*.csproj"))
{
if (nogit)
{
Information("git " + string.Format("add {0}", file.FullPath));
}
else
{
StartProcess("git", new ProcessSettings {
Arguments = string.Format("add {0}", file.FullPath)
});
}
}
// Commit
if (nogit)
{
Information("git " + string.Format("commit -m \"Updated version to {0}\"", version));
}
else
{
StartProcess("git", new ProcessSettings {
Arguments = string.Format("commit -m \"Updated version to {0}\"", version)
});
}
// Tag
if (nogit)
{
Information("git " + string.Format("tag \"v{0}\"", version));
}
else
{
StartProcess("git", new ProcessSettings {
Arguments = string.Format("tag \"v{0}\"", version)
});
}
//Push
if (nogit)
{
Information("git push origin master");
Information("git push --tags");
}
else
{
StartProcess("git", new ProcessSettings {
Arguments = "push origin master"
});
StartProcess("git", new ProcessSettings {
Arguments = "push --tags"
});
}
});
Task("Restore-NuGet-Packages")
.Description("Restores NuGet packages for all projects")
.Does(() =>
{
DotNetCoreRestore(new DotNetCoreRestoreSettings {
ArgumentCustomization = args => {
args.Append("--verbosity minimal");
return args;
}
});
});
Task("Tag")
.Description("Tags the current release")
.Does(() =>
{
StartProcess("git", new ProcessSettings {
Arguments = string.Format("tag \"v{0}\"", version)
});
});
Task("Test")
.Description("Executes unit tests for all projects")
.IsDependentOn("Compile")
.Does(() =>
{
/*
Exclude Nancy.ViewEngines.Spark.Tests from test execution until their problem
with duplicate assembly references (if the same assembly exists more than once
in the application domain, it fails to compile the views) has been fixed.
*/
var projects =
GetFiles("./test/**/*.csproj") -
GetFiles("./test/Nancy.ViewEngines.Spark.Tests/Nancy.ViewEngines.Spark.Tests.csproj");
if (projects.Count == 0)
{
throw new CakeException("Unable to find any projects to test.");
}
foreach(var project in projects)
{
var content =
System.IO.File.ReadAllText(project.FullPath, Encoding.UTF8);
if (IsRunningOnUnix() && content.Contains(">" + fullFrameworkTarget + "<"))
{
Information(project.GetFilename() + " only supports " +fullFrameworkTarget + " and tests cannot be executed on *nix. Skipping.");
continue;
}
var settings = new ProcessSettings {
Arguments = string.Concat("xunit -configuration ", configuration, " -nobuild"),
WorkingDirectory = project.GetDirectory()
};
if (IsRunningOnUnix())
{
settings.Arguments.Append(string.Concat("-framework ", netCoreTarget));
}
Information("Executing tests for " + project.GetFilename() + " with arguments: " + settings.Arguments.Render());
if (StartProcess("dotnet", settings) != 0)
{
throw new CakeException("One or more tests failed during execution of: " + project.GetFilename());
}
}
});
Task("Update-Version")
.Does(() =>
{
Information("Setting version to " + version);
if(string.IsNullOrWhiteSpace(version))
{
throw new CakeException("No version specified! You need to pass in --targetversion=\"x.y.z\"");
}
var file =
MakeAbsolute(File("./src/Directory.Build.props"));
Information(file.FullPath);
var project =
System.IO.File.ReadAllText(file.FullPath, Encoding.UTF8);
var projectVersion =
new Regex(@"<Version>.+<\/Version>");
project =
projectVersion.Replace(project, string.Concat("<Version>", version, "</Version>"));
System.IO.File.WriteAllText(file.FullPath, project, Encoding.UTF8);
});
/*
/ RUN BUILD TARGET
*/
RunTarget(target);
================================================
FILE: build.ps1
================================================
$CakeVersion = "0.24.0"
$DotNetVersion = select-string -Path .\global.json -Pattern '[\d]\.[\d]\.[\d]' | % {$_.Matches} | % {$_.Value };
$DotNetInstallerUri = "https://raw.githubusercontent.com/dotnet/cli/v$DotNetVersion/scripts/obtain/dotnet-install.ps1";
# Make sure tools folder exists
$PSScriptRoot = $pwd
$ToolPath = Join-Path $PSScriptRoot "tools"
if (!(Test-Path $ToolPath)) {
Write-Verbose "Creating tools directory..."
New-Item -Path $ToolPath -Type directory | out-null
}
###########################################################################
# INSTALL .NET CORE CLI
###########################################################################
Function Remove-PathVariable([string]$VariableToRemove)
{
$path = [Environment]::GetEnvironmentVariable("PATH", "User")
if ($path -ne $null)
{
$newItems = $path.Split(';', [StringSplitOptions]::RemoveEmptyEntries) | Where-Object { "$($_)" -inotlike $VariableToRemove }
[Environment]::SetEnvironmentVariable("PATH", [System.String]::Join(';', $newItems), "User")
}
$path = [Environment]::GetEnvironmentVariable("PATH", "Process")
if ($path -ne $null)
{
$newItems = $path.Split(';', [StringSplitOptions]::RemoveEmptyEntries) | Where-Object { "$($_)" -inotlike $VariableToRemove }
[Environment]::SetEnvironmentVariable("PATH", [System.String]::Join(';', $newItems), "Process")
}
}
# Get .NET Core CLI path if installed.
$FoundDotNetCliVersion = $null;
if (Get-Command dotnet -ErrorAction SilentlyContinue) {
$FoundDotNetCliVersion = dotnet --version;
}
if($FoundDotNetCliVersion -ne $DotNetVersion) {
$InstallPath = Join-Path $PSScriptRoot ".dotnet"
if (!(Test-Path $InstallPath)) {
mkdir -Force $InstallPath | Out-Null;
}
(New-Object System.Net.WebClient).DownloadFile($DotNetInstallerUri, "$InstallPath\dotnet-install.ps1");
& $InstallPath\dotnet-install.ps1 -Channel Current -Version $DotNetVersion -InstallDir $InstallPath;
Remove-PathVariable "$InstallPath"
$env:PATH = "$InstallPath;$env:PATH"
$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
$env:DOTNET_CLI_TELEMETRY_OPTOUT=1
& dotnet --info
}
###########################################################################
# INSTALL CAKE
###########################################################################
Add-Type -AssemblyName System.IO.Compression.FileSystem
Function Unzip
{
param([string]$zipfile, [string]$outpath)
[System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath)
}
# Make sure Cake has been installed.
$CakePath = Join-Path $ToolPath "Cake.$CakeVersion/Cake.exe"
if (!(Test-Path $CakePath)) {
Write-Host "Installing Cake..."
(New-Object System.Net.WebClient).DownloadFile("https://www.nuget.org/api/v2/package/Cake/$CakeVersion", "$ToolPath\Cake.zip")
Unzip "$ToolPath\Cake.zip" "$ToolPath/Cake.$CakeVersion"
Remove-Item "$ToolPath\Cake.zip"
}
###########################################################################
# RUN BUILD SCRIPT
###########################################################################
& "$CakePath" $args
exit $LASTEXITCODE
================================================
FILE: build.sh
================================================
#!/usr/bin/env bash
# Define directories.
SCRIPT_DIR=$PWD
TOOLS_DIR=$SCRIPT_DIR/tools
CAKE_VERSION=0.24.0
CAKE_DLL=$TOOLS_DIR/Cake.$CAKE_VERSION/Cake.exe
DOTNET_VERSION=$(cat "$SCRIPT_DIR/global.json" | grep -o '[0-9]\.[0-9]\.[0-9]')
DOTNET_INSTRALL_URI=https://raw.githubusercontent.com/dotnet/cli/v$DOTNET_VERSION/scripts/obtain/dotnet-install.sh
# Make sure the tools folder exist.
if [ ! -d "$TOOLS_DIR" ]; then
mkdir "$TOOLS_DIR"
fi
###########################################################################
# INSTALL .NET CORE CLI
###########################################################################
echo "Installing .NET CLI..."
if [ ! -d "$SCRIPT_DIR/.dotnet" ]; then
mkdir "$SCRIPT_DIR/.dotnet"
fi
curl -Lsfo "$SCRIPT_DIR/.dotnet/dotnet-install.sh" $DOTNET_INSTRALL_URI
sudo bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" -c current --version $DOTNET_VERSION --install-dir .dotnet --no-path
export PATH="$SCRIPT_DIR/.dotnet":$PATH
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
export DOTNET_CLI_TELEMETRY_OPTOUT=1
"$SCRIPT_DIR/.dotnet/dotnet" --info
###########################################################################
# INSTALL CAKE
###########################################################################
if [ ! -f "$CAKE_DLL" ]; then
curl -Lsfo Cake.zip "https://www.nuget.org/api/v2/package/Cake/$CAKE_VERSION" && unzip -q Cake.zip -d "$TOOLS_DIR/Cake.$CAKE_VERSION" && rm -f Cake.zip
if [ $? -ne 0 ]; then
echo "An error occured while installing Cake."
exit 1
fi
fi
# Make sure that Cake has been installed.
if [ ! -f "$CAKE_DLL" ]; then
echo "Could not find Cake.exe at '$CAKE_DLL'."
exit 1
fi
###########################################################################
# RUN BUILD SCRIPT
###########################################################################
# Point net452 to Mono assemblies
export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/
# Start Cake
exec mono "$CAKE_DLL" "$@"
================================================
FILE: favicon.license.txt
================================================
The Nancy logo is copyright ©2011 by Andreas Håkansson and Steven Robbins. Please consult the usage guidelines in the Nancy.Portfolio repository (https://github.com/NancyFx/Nancy.Portfolio) for information on how it may be used.
================================================
FILE: global.json
================================================
{
"sdk": {
"version": "2.1.4"
}
}
================================================
FILE: how_to_build.txt
================================================
How to build Nancy
==================
*NOTE* These instructions are *only* for building with Cake - if you just want to build Nancy manually you can do so just by loading the solution into Visual Studio 2017 and pressing build :-)
Building Nancy
--------------
1. At the command prompt, navigate to the Nancy root folder (should contain build.cake)
2. To run the default build (which will compile, test and package Nancy) type the following command:
* On Windows type:
./build.ps1
* On Linux/MacOS type:
./build.sh
*NOTE* On Linux/MacOS you need to have Mono >= 4.4 installed because Nancy targets .NET 4.5.2 for the full-framework build
After the build has completed, there will be a new folder in the root called "build". It contains the following folders:
* binaries -> All the Nancy assembilies and their dependencies
* packages -> Zip file containing the binaries (other configurations might be added in the future)
* nuget -> NuGet packages generated from this build
================================================
FILE: license.txt
================================================
The MIT License
Copyright (c) 2010 Andreas Hkansson, Steven Robbins and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
================================================
FILE: samples/Nancy.Demo.Async/App.config
================================================
<?xml version="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
</configuration>
================================================
FILE: samples/Nancy.Demo.Async/MainModule.cs
================================================
namespace Nancy.Demo.Async
{
using System;
using System.Net.Http;
using System.Threading.Tasks;
public class MainModule : NancyModule
{
public MainModule()
{
Before += async (ctx, ct) =>
{
this.AddToLog("Before Hook Delay\n");
await Task.Delay(5000);
return null;
};
After += async (ctx, ct) =>
{
this.AddToLog("After Hook Delay\n");
await Task.Delay(5000);
this.AddToLog("After Hook Complete\n");
ctx.Response = this.GetLog();
};
Get["/", true] = async (x, ct) =>
{
this.AddToLog("Delay 1\n");
await Task.Delay(1000);
this.AddToLog("Delay 2\n");
await Task.Delay(1000);
this.AddToLog("Executing async http client\n");
var client = new HttpClient();
var res = await client.GetAsync("http://nancyfx.org");
var content = await res.Content.ReadAsStringAsync();
this.AddToLog("Response: " + content.Split('\n')[0] + "\n");
return (Response)this.GetLog();
};
}
private void AddToLog(string logLine)
{
if (!this.Context.Items.ContainsKey("Log"))
{
this.Context.Items["Log"] = string.Empty;
}
this.Context.Items["Log"] = (string)this.Context.Items["Log"] + DateTime.Now.ToLongTimeString() + " : " + logLine;
}
private string GetLog()
{
if (!this.Context.Items.ContainsKey("Log"))
{
this.Context.Items["Log"] = string.Empty;
}
return (string)this.Context.Items["Log"];
}
}
}
================================================
FILE: samples/Nancy.Demo.Async/Nancy.Demo.Async.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B4A5FF43-DE97-48CF-A759-1A868824791B}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Nancy.Demo.Async</RootNamespace>
<AssemblyName>Nancy.Demo.Async</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoDebug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\MonoDebug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoRelease|AnyCPU'">
<OutputPath>bin\MonoRelease\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="MainModule.cs" />
<Compile Include="Program.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Nancy\Nancy.csproj">
<Project>{34576216-0DCA-4B0F-A0DC-9075E75A676F}</Project>
<Name>Nancy</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: samples/Nancy.Demo.Async/Program.cs
================================================
namespace Nancy.Demo.Async
{
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Nancy.Bootstrapper;
class Program
{
static void Main(string[] args)
{
ShowHeader();
var engine = GetEngine();
var request = GetRequest();
var tcs = new TaskCompletionSource<NancyContext>();
var completionTask = tcs.Task;
Console.Write("Running: ");
engine.HandleRequest(request, tcs.SetResult, tcs.SetException);
while (!completionTask.IsCompleted && !completionTask.IsFaulted)
{
Console.Write("*");
Thread.Sleep(100);
}
string result = "Unknown";
if (completionTask.IsFaulted && completionTask.Exception != null)
{
result = completionTask.Exception.GetType().ToString();
}
if (completionTask.IsCompleted && completionTask.Result != null)
{
result = GetBody(completionTask.Result);
}
Console.WriteLine("\nResult: \n\n{0}", result);
Console.WriteLine("\nPress any key to close.");
Console.ReadKey();
}
private static INancyEngine GetEngine()
{
var bootstrapper = NancyBootstrapperLocator.Bootstrapper;
bootstrapper.Initialise();
var engine = bootstrapper.GetEngine();
return engine;
}
private static void ShowHeader()
{
Console.WriteLine("Async Demo");
Console.WriteLine();
Console.WriteLine("A long running async request will be executed and until it is complete");
Console.WriteLine("a series of '*' characters should appear every 100 milliseconds. If this was");
Console.WriteLine("executed syncronously then the main thread would block and no characters");
Console.WriteLine("would appear.");
Console.WriteLine();
}
private static string GetBody(NancyContext result)
{
string output;
using (var memoryStream = new MemoryStream())
{
result.Response.Contents.Invoke(memoryStream);
output = Encoding.UTF8.GetString(memoryStream.GetBuffer());
}
return output;
}
private static Request GetRequest(string path = "/")
{
return new Request("GET", path, "http");
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication/AnotherVerySecureModule.cs
================================================
namespace Nancy.Demo.Authentication
{
using System.Security.Claims;
using Nancy.Demo.Authentication.Models;
using Nancy.Security;
/// <summary>
/// A module that only people with SuperSecure clearance are allowed to access
/// </summary>
public class AnotherVerySecureModule : NancyModule
{
public AnotherVerySecureModule() : base("/superSecure")
{
this.RequiresClaims(c => c.Type == ClaimTypes.Role && c.Value == "SuperSecure");
Get("/", args =>
{
var model = new UserModel(this.Context.CurrentUser.Identity.Name);
return View["superSecure.cshtml", model];
});
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication/AuthenticationBootstrapper.cs
================================================
namespace Nancy.Demo.Authentication
{
using System;
using System.Collections.Generic;
using System.Security.Claims;
using Nancy.Bootstrapper;
using Nancy.Responses;
using Nancy.TinyIoc;
public class AuthenticationBootstrapper : DefaultNancyBootstrapper
{
protected override void ApplicationStartup(TinyIoCContainer container, IPipelines pipelines)
{
base.ApplicationStartup(container, pipelines);
// In reality you would use a pre-built authentication/claims provider
pipelines.BeforeRequest += ctx =>
{
// World's-worse-authentication (TM)
// Pull the username out of the querystring if it exists
// and build claims from it
var username = ctx.Request.Query.username;
if (username.HasValue)
{
ctx.CurrentUser = new ClaimsPrincipal(new ClaimsIdentity(BuildClaims(username), "querystring"));
}
return null;
};
pipelines.AfterRequest += ctx =>
{
// If status code comes back as Unauthorized then
// forward the user to the login page
if (ctx.Response.StatusCode == HttpStatusCode.Unauthorized)
{
ctx.Response = new RedirectResponse("/login?returnUrl=" + Uri.EscapeDataString(ctx.Request.Path));
}
};
}
/// <summary>
/// Build claims based on username
/// </summary>
/// <param name="userName">Current username</param>
/// <returns>IEnumerable of claims</returns>
private static IEnumerable<Claim> BuildClaims(string userName)
{
var claims = new List<Claim>();
// Only bob can have access to SuperSecure
if (String.Equals(userName, "bob", StringComparison.OrdinalIgnoreCase))
{
claims.Add(new Claim(ClaimTypes.Role, "SuperSecure"));
}
return claims;
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication/MainModule.cs
================================================
namespace Nancy.Demo.Authentication
{
public class MainModule : NancyModule
{
public MainModule()
{
Get("/", args => {
return View["Index.cshtml"];
});
Get("/login", args => {
return View["Login.cshtml", this.Request.Query.returnUrl];
});
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication/Models/UserModel.cs
================================================
namespace Nancy.Demo.Authentication.Models
{
public class UserModel
{
public string Username { get; set; }
public UserModel(string username)
{
this.Username = username;
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication/Nancy.Demo.Authentication.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{5F2DD52D-471B-4946-8F7B-F050C88EFC52}</ProjectGuid>
<ProjectTypeGuids>{349C5851-65DF-11DA-9384-00065B846F21};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Nancy.Demo.Authentication</RootNamespace>
<AssemblyName>Nancy.Demo.Authentication</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<UseIISExpress>false</UseIISExpress>
<OldToolsVersion>4.0</OldToolsVersion>
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoDebug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\Nancy.Demo.Authentication.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
<WarningLevel>4</WarningLevel>
<Optimize>false</Optimize>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoRelease|AnyCPU'">
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\Nancy.Demo.Authentication.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Content Include="Web.config" />
<Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
<Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="AuthenticationBootstrapper.cs" />
<Compile Include="AnotherVerySecureModule.cs" />
<Compile Include="MainModule.cs" />
<Compile Include="Models\UserModel.cs" />
<Compile Include="SecureModule.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Nancy.Hosting.Aspnet.MSBuild\Nancy.Hosting.Aspnet.csproj">
<Project>{15B7F794-0BB2-4B66-AD78-4A951F1209B2}</Project>
<Name>Nancy.Hosting.Aspnet</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.ViewEngines.Razor.MSBuild\Nancy.ViewEngines.Razor.csproj">
<Project>{2C6F51DF-015C-4DB6-B44C-0E5E4F25E2A9}</Project>
<Name>Nancy.ViewEngines.Razor</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.MSBuild\Nancy.csproj">
<Project>{34576216-0DCA-4B0F-A0DC-9075E75A676F}</Project>
<Name>Nancy</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Views\Index.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\secure.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\Login.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\superSecure.cshtml" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349C5851-65DF-11DA-9384-00065B846F21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>1712</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
<MonoDevelop>
<Properties VerifyCodeBehindFields="true" VerifyCodeBehindEvents="true">
<XspParameters Port="8080" Address="127.0.0.1" SslMode="None" SslProtocol="Default" KeyType="None" CertFile="" KeyFile="" PasswordOptions="None" Password="" Verbose="true" />
</Properties>
</MonoDevelop>
</ProjectExtensions>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: samples/Nancy.Demo.Authentication/README.txt
================================================
================================================
FILE: samples/Nancy.Demo.Authentication/SecureModule.cs
================================================
namespace Nancy.Demo.Authentication
{
using Nancy.Demo.Authentication.Models;
using Nancy.Security;
public class SecureModule : NancyModule
{
public SecureModule() : base("/secure")
{
this.RequiresAuthentication();
Get("/", args => {
var model = new UserModel(this.Context.CurrentUser.Identity.Name);
return View["secure.cshtml", model];
});
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication/Views/Index.cshtml
================================================
<html>
<head>
<title>Index</title>
</head>
<body>
<h1>Nancy Authentication Demo</h1>
<a href="/secure">Secure Pages</a>
<a href="/superSecure">Super Secure Pages</a>
<a href="/superSecureToo">More Super Secure Pages</a>
</body>
</html>
================================================
FILE: samples/Nancy.Demo.Authentication/Views/Login.cshtml
================================================
<html>
<head>
<title>Login</title>
</head>
<body>
<h1>Super Secure Login Page 4000</h1>
<form action="@Model" method="get">
<input name="username" />
<input type="submit" value="Submit"/>
</form>
<a href="/">Home</a>
</body>
</html>
================================================
FILE: samples/Nancy.Demo.Authentication/Views/secure.cshtml
================================================
<html>
<head>
<title>Index</title>
</head>
<body>
<h1>Secure Page</h1>
Hello @Model.Username
<a href="/">Home</a>
</body>
</html>
================================================
FILE: samples/Nancy.Demo.Authentication/Views/superSecure.cshtml
================================================
<html>
<head>
<title>Index</title>
</head>
<body>
<h1>Super Secure Page</h1>
Hello @Model.Username
<a href="/">Home</a>
</body>
</html>
================================================
FILE: samples/Nancy.Demo.Authentication/Web.Debug.config
================================================
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.web>
</system.web>
</configuration>
================================================
FILE: samples/Nancy.Demo.Authentication/Web.Release.config
================================================
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
</system.web>
</configuration>
================================================
FILE: samples/Nancy.Demo.Authentication/Web.config
================================================
<?xml version="1.0"?>
<configuration>
<system.web>
<httpHandlers>
<add verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*" />
</httpHandlers>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="Nancy" verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*" />
</handlers>
</system.webServer>
</configuration>
================================================
FILE: samples/Nancy.Demo.Authentication.Basic/AuthenticationBootstrapper.cs
================================================
namespace Nancy.Demo.Authentication.Basic
{
using Nancy.Authentication.Basic;
using Nancy.Bootstrapper;
using Nancy.TinyIoc;
public class AuthenticationBootstrapper : DefaultNancyBootstrapper
{
protected override void ApplicationStartup(TinyIoCContainer container, IPipelines pipelines)
{
base.ApplicationStartup(container, pipelines);
pipelines.EnableBasicAuthentication(new BasicAuthenticationConfiguration(
container.Resolve<IUserValidator>(),
"MyRealm"));
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Basic/MainModule.cs
================================================
namespace Nancy.Demo.Authentication.Basic
{
public class MainModule : NancyModule
{
public MainModule()
{
Get("/", args => "<a href='/secure'>Enter</a>");
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Basic/Nancy.Demo.Authentication.Basic.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{911196F4-B88F-4940-B1FD-D30F5290D06D}</ProjectGuid>
<ProjectTypeGuids>{349C5851-65DF-11DA-9384-00065B846F21};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Nancy.Demo.Authentication.Basic</RootNamespace>
<AssemblyName>Nancy.Demo.Authentication.Basic</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<UseIISExpress>false</UseIISExpress>
<OldToolsVersion>4.0</OldToolsVersion>
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoDebug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\Nancy.Demo.Authentication.Basic.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
<WarningLevel>4</WarningLevel>
<Optimize>false</Optimize>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoRelease|AnyCPU'">
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\Nancy.Demo.Authentication.Basic.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Content Include="Web.config" />
<Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
<Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<Compile Include="AuthenticationBootstrapper.cs" />
<Compile Include="MainModule.cs" />
<Compile Include="SecureModule.cs" />
<Compile Include="UserValidator.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Nancy.Authentication.Basic.MSBuild\Nancy.Authentication.Basic.csproj">
<Project>{BD72B98D-C81A-4013-B606-94B4BA2273E5}</Project>
<Name>Nancy.Authentication.Basic</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.Hosting.Aspnet.MSBuild\Nancy.Hosting.Aspnet.csproj">
<Project>{15B7F794-0BB2-4B66-AD78-4A951F1209B2}</Project>
<Name>Nancy.Hosting.Aspnet</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.MSBuild\Nancy.csproj">
<Project>{34576216-0DCA-4B0F-A0DC-9075E75A676F}</Project>
<Name>Nancy</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349C5851-65DF-11DA-9384-00065B846F21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>12615</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
<MonoDevelop>
<Properties VerifyCodeBehindFields="true" VerifyCodeBehindEvents="true">
<XspParameters Port="8080" Address="127.0.0.1" SslMode="None" SslProtocol="Default" KeyType="None" CertFile="" KeyFile="" PasswordOptions="None" Password="" Verbose="true" />
</Properties>
</MonoDevelop>
</ProjectExtensions>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: samples/Nancy.Demo.Authentication.Basic/SecureModule.cs
================================================
namespace Nancy.Demo.Authentication.Basic
{
using Nancy.Security;
public class SecureModule : NancyModule
{
public SecureModule() : base("/secure")
{
this.RequiresAuthentication();
Get("/", args => "Hello " + this.Context.CurrentUser.Identity.Name);
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Basic/UserValidator.cs
================================================
namespace Nancy.Demo.Authentication.Basic
{
using System.Security.Claims;
using System.Security.Principal;
using Nancy.Authentication.Basic;
public class UserValidator : IUserValidator
{
public ClaimsPrincipal Validate(string username, string password)
{
if (username == "demo" && password == "demo")
{
return new ClaimsPrincipal(new GenericIdentity(username));
}
// Not recognised => anonymous.
return null;
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Basic/Web.Debug.config
================================================
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.web>
</system.web>
</configuration>
================================================
FILE: samples/Nancy.Demo.Authentication.Basic/Web.Release.config
================================================
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
</system.web>
</configuration>
================================================
FILE: samples/Nancy.Demo.Authentication.Basic/Web.config
================================================
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<httpHandlers>
<add verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*" />
</httpHandlers>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="Nancy" verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*" />
</handlers>
</system.webServer>
</configuration>
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/FormsAuthBootstrapper.cs
================================================
namespace Nancy.Demo.Authentication.Forms
{
using Nancy.Authentication.Forms;
using Nancy.Bootstrapper;
using Nancy.TinyIoc;
public class FormsAuthBootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureApplicationContainer(TinyIoCContainer container)
{
// We don't call "base" here to prevent auto-discovery of
// types/dependencies
}
protected override void ConfigureRequestContainer(TinyIoCContainer container, NancyContext context)
{
base.ConfigureRequestContainer(container, context);
// Here we register our user mapper as a per-request singleton.
// As this is now per-request we could inject a request scoped
// database "context" or other request scoped services.
container.Register<IUserMapper, UserDatabase>();
}
protected override void RequestStartup(TinyIoCContainer requestContainer, IPipelines pipelines, NancyContext context)
{
// At request startup we modify the request pipelines to
// include forms authentication - passing in our now request
// scoped user name mapper.
//
// The pipelines passed in here are specific to this request,
// so we can add/remove/update items in them as we please.
var formsAuthConfiguration =
new FormsAuthenticationConfiguration()
{
RedirectUrl = "~/login",
UserMapper = requestContainer.Resolve<IUserMapper>(),
};
FormsAuthentication.Enable(pipelines, formsAuthConfiguration);
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/MainModule.cs
================================================
namespace Nancy.Demo.Authentication.Forms
{
using System;
using System.Dynamic;
using Nancy.Authentication.Forms;
using Nancy.Extensions;
public class MainModule : NancyModule
{
public MainModule()
{
Get("/", args => {
return View["index"];
});
Get("/login", args =>
{
dynamic model = new ExpandoObject();
model.Errored = this.Request.Query.error.HasValue;
return View["login", model];
});
Post("/login", args => {
var userGuid = UserDatabase.ValidateUser((string)this.Request.Form.Username, (string)this.Request.Form.Password);
if (userGuid == null)
{
return this.Context.GetRedirect("~/login?error=true&username=" + (string)this.Request.Form.Username);
}
DateTime? expiry = null;
if (this.Request.Form.RememberMe.HasValue)
{
expiry = DateTime.Now.AddDays(7);
}
return this.LoginAndRedirect(userGuid.Value, expiry);
});
Get("/logout", args => {
return this.LogoutAndRedirect("~/");
});
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/Models/UserModel.cs
================================================
namespace Nancy.Demo.Authentication.Forms.Models
{
public class UserModel
{
public string Username { get; private set; }
public UserModel(string username)
{
Username = username;
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/Nancy.Demo.Authentication.Forms.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{98940A30-1B48-4F71-A6BA-85F0AAF31A2F}</ProjectGuid>
<ProjectTypeGuids>{349C5851-65DF-11DA-9384-00065B846F21};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Nancy.Demo.Authentication.Forms</RootNamespace>
<AssemblyName>Nancy.Demo.Authentication.Forms</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<UseIISExpress>false</UseIISExpress>
<OldToolsVersion>4.0</OldToolsVersion>
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoDebug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\Nancy.Demo.Authentication.Forms.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
<WarningLevel>4</WarningLevel>
<Optimize>false</Optimize>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoRelease|AnyCPU'">
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\Nancy.Demo.Authentication.Forms.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Content Include="Web.config" />
<Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
<Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="SecureModule.cs" />
<Compile Include="FormsAuthBootstrapper.cs" />
<Compile Include="MainModule.cs" />
<Compile Include="Models\UserModel.cs" />
<Compile Include="PartlySecureModule.cs" />
<Compile Include="UserDatabase.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Nancy.Authentication.Forms.MSBuild\Nancy.Authentication.Forms.csproj">
<Project>{E8B18958-7C8A-4FBA-AF00-3041C34A20CE}</Project>
<Name>Nancy.Authentication.Forms</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.Hosting.Aspnet.MSBuild\Nancy.Hosting.Aspnet.csproj">
<Project>{15B7F794-0BB2-4B66-AD78-4A951F1209B2}</Project>
<Name>Nancy.Hosting.Aspnet</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.ViewEngines.Razor.MSBuild\Nancy.ViewEngines.Razor.csproj">
<Project>{2C6F51DF-015C-4DB6-B44C-0E5E4F25E2A9}</Project>
<Name>Nancy.ViewEngines.Razor</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.MSBuild\Nancy.csproj">
<Project>{34576216-0DCA-4B0F-A0DC-9075E75A676F}</Project>
<Name>Nancy</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Views\login.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\index.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\secure.cshtml" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349C5851-65DF-11DA-9384-00065B846F21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>2146</DevelopmentServerPort>
<DevelopmentServerVPath>/forms</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
<MonoDevelop>
<Properties VerifyCodeBehindFields="true" VerifyCodeBehindEvents="true">
<XspParameters Port="8080" Address="127.0.0.1" SslMode="None" SslProtocol="Default" KeyType="None" CertFile="" KeyFile="" PasswordOptions="None" Password="" Verbose="true" />
</Properties>
</MonoDevelop>
</ProjectExtensions>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/PartlySecureModule.cs
================================================
namespace Nancy.Demo.Authentication.Forms
{
using Nancy.Demo.Authentication.Forms.Models;
using Nancy.Security;
public class PartlySecureModule : NancyModule
{
public PartlySecureModule()
: base("/partlysecure")
{
Get("/", args => "No auth needed! <a href='partlysecure/secured'>Enter the secure bit!</a>");
Get("/secured", args => {
this.RequiresAuthentication();
var model = new UserModel(this.Context.CurrentUser.Identity.Name);
return View["secure.cshtml", model];
});
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/README.txt
================================================
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/SecureModule.cs
================================================
namespace Nancy.Demo.Authentication.Forms
{
using Nancy.Demo.Authentication.Forms.Models;
using Nancy.Security;
public class SecureModule : NancyModule
{
public SecureModule() : base("/secure")
{
this.RequiresAuthentication();
Get("/", args => {
var model = new UserModel(this.Context.CurrentUser.Identity.Name);
return View["secure.cshtml", model];
});
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/UserDatabase.cs
================================================
namespace Nancy.Demo.Authentication.Forms
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Security.Principal;
using Nancy.Authentication.Forms;
public class UserDatabase : IUserMapper
{
private static List<Tuple<string, string, Guid>> users = new List<Tuple<string, string, Guid>>();
static UserDatabase()
{
users.Add(new Tuple<string, string, Guid>("admin", "password", new Guid("55E1E49E-B7E8-4EEA-8459-7A906AC4D4C0")));
users.Add(new Tuple<string, string, Guid>("user", "password", new Guid("56E1E49E-B7E8-4EEA-8459-7A906AC4D4C0")));
}
public ClaimsPrincipal GetUserFromIdentifier(Guid identifier, NancyContext context)
{
var userRecord = users.FirstOrDefault(u => u.Item3 == identifier);
return userRecord == null
? null
: new ClaimsPrincipal(new GenericIdentity(userRecord.Item1));
}
public static Guid? ValidateUser(string username, string password)
{
var userRecord = users.FirstOrDefault(u => u.Item1 == username && u.Item2 == password);
if (userRecord == null)
{
return null;
}
return userRecord.Item3;
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/Views/index.cshtml
================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Forms Authentication Demo</title>
</head>
<body>
<a href="secure">Enter the "Secure Zone"!</a><br/>
<a href="partlysecure">Enter the "Partly Secure Zone"!</a><br/>
</body>
</html>
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/Views/login.cshtml
================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Login</title>
</head>
<body>
<form method="POST">
Username <input type="text" name="Username" />
<br />
Password <input name="Password" type="password" />
<br />
Remember Me <input name="RememberMe" type="checkbox" value="True" />
<br />
<input type="submit" value="Login" />
</form>
@if (Model.Errored) {
<div id="errorBox" class="floatingError">Invalid Username or Password</div>
}
</body>
</html>
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/Views/secure.cshtml
================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Secure Page!</title>
</head>
<body>
Welcome to the secure area @Model.Username !
<br />
<br />
<a href="@Url.Content("~/logout")">Logout</a>
</body>
</html>
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/Web.Debug.config
================================================
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.web>
</system.web>
</configuration>
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/Web.Release.config
================================================
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
</system.web>
</configuration>
================================================
FILE: samples/Nancy.Demo.Authentication.Forms/Web.config
================================================
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.5"/>
<httpHandlers>
<add verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*" />
</httpHandlers>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="Nancy" verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*" />
</handlers>
</system.webServer>
</configuration>
================================================
FILE: samples/Nancy.Demo.Authentication.Forms.TestingDemo/LoginFixture.cs
================================================
namespace Nancy.Demo.Authentication.Forms.TestingDemo
{
using System;
using System.Threading.Tasks;
using Nancy.Testing;
using Xunit;
public class LoginFixture
{
private readonly Browser browser;
public LoginFixture()
{
var bootstrapper = new TestBootstrapper();
this.browser = new Browser(bootstrapper);
}
[Fact]
public async Task Should_redirect_to_login_with_error_querystring_if_username_or_password_incorrect()
{
// Given, When
var response = await browser.Post("/login/", (with) =>
{
with.HttpRequest();
with.FormValue("Username", "username");
with.FormValue("Password", "wrongpassword");
});
response.ShouldHaveRedirectedTo("/login?error=true&username=username");
}
[Fact]
public async Task Should_display_error_message_when_error_passed()
{
// Given, When
var response = await browser.Get("/login", (with) =>
{
with.HttpRequest();
with.Query("error", "true");
});
response.Body["#errorBox"]
.ShouldExistOnce()
.And.ShouldBeOfClass("floatingError")
.And.ShouldContain("invalid", StringComparison.OrdinalIgnoreCase);
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Forms.TestingDemo/Nancy.Demo.Authentication.Forms.TestingDemo.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{948A8EF6-D50C-45EA-9AFD-7A4723ADAB0B}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Nancy.Demo.Authentication.Forms.TestingDemo</RootNamespace>
<AssemblyName>Nancy.Demo.Authentication.Forms.TestingDemo</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoDebug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\MonoDebug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\Debug\Nancy.Demo.Authentication.Forms.TestingDemo.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<WarningLevel>4</WarningLevel>
<Optimize>false</Optimize>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoRelease|AnyCPU'">
<OutputPath>bin\MonoRelease\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\Release\Nancy.Demo.Authentication.Forms.TestingDemo.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="xunit.assert, Version=2.1.0.3179, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\..\packages\xunit.assert.2.1.0\lib\dotnet\xunit.assert.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="xunit.core, Version=2.1.0.3179, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\..\packages\xunit.extensibility.core.2.1.0\lib\dotnet\xunit.core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="xunit.execution.desktop, Version=2.1.0.3179, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\test\Nancy.Tests\ShouldExtensions.cs">
<Link>ShouldExtensions.cs</Link>
</Compile>
<Compile Include="..\..\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="LoginFixture.cs" />
<Compile Include="TestBootstrapper.cs" />
<Compile Include="TestRootPathProvider.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Nancy.Testing.MSBuild\Nancy.Testing.csproj">
<Project>{d79203c0-b672-4751-9c95-c3ab7d3fefbe}</Project>
<Name>Nancy.Testing</Name>
</ProjectReference>
<ProjectReference Include="..\Nancy.Demo.Authentication.Forms\Nancy.Demo.Authentication.Forms.csproj">
<Project>{98940A30-1B48-4F71-A6BA-85F0AAF31A2F}</Project>
<Name>Nancy.Demo.Authentication.Forms</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.Hosting.Aspnet.MSBuild\Nancy.Hosting.Aspnet.csproj">
<Project>{15B7F794-0BB2-4B66-AD78-4A951F1209B2}</Project>
<Name>Nancy.Hosting.Aspnet</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.ViewEngines.Razor.MSBuild\Nancy.ViewEngines.Razor.csproj">
<Project>{2C6F51DF-015C-4DB6-B44C-0E5E4F25E2A9}</Project>
<Name>Nancy.ViewEngines.Razor</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.MSBuild\Nancy.csproj">
<Project>{34576216-0DCA-4B0F-A0DC-9075E75A676F}</Project>
<Name>Nancy</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: samples/Nancy.Demo.Authentication.Forms.TestingDemo/TestBootstrapper.cs
================================================
namespace Nancy.Demo.Authentication.Forms.TestingDemo
{
public class TestBootstrapper : FormsAuthBootstrapper
{
protected override IRootPathProvider RootPathProvider
{
get { return new TestRootPathProvider(); }
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Forms.TestingDemo/TestRootPathProvider.cs
================================================
namespace Nancy.Demo.Authentication.Forms.TestingDemo
{
using System;
using System.IO;
using Nancy.Testing;
public class TestRootPathProvider : IRootPathProvider
{
public string GetRootPath()
{
var assemblyFilePath =
new Uri(typeof(FormsAuthBootstrapper).Assembly.CodeBase).LocalPath;
var assemblyPath =
Path.GetDirectoryName(assemblyFilePath);
var rootPath =
PathHelper.GetParent(assemblyPath, 3);
rootPath =
Path.Combine(rootPath, @"Nancy.Demo.Authentication.Forms");
return rootPath;
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Forms.TestingDemo/packages.config
================================================
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="xunit" version="2.1.0" targetFramework="net45" />
<package id="xunit.abstractions" version="2.0.0" targetFramework="net45" />
<package id="xunit.assert" version="2.1.0" targetFramework="net45" />
<package id="xunit.core" version="2.1.0" targetFramework="net45" />
<package id="xunit.extensibility.core" version="2.1.0" targetFramework="net45" />
<package id="xunit.extensibility.execution" version="2.1.0" targetFramework="net45" />
</packages>
================================================
FILE: samples/Nancy.Demo.Authentication.Stateless/AuthModule.cs
================================================
namespace Nancy.Demo.Authentication.Stateless
{
public class AuthModule : NancyModule
{
public AuthModule() : base("/auth/")
{
//the Post["/login"] method is used mainly to fetch the api key for subsequent calls
Post("/", args =>
{
var apiKey = UserDatabase.ValidateUser(
(string) this.Request.Form.Username,
(string) this.Request.Form.Password);
return string.IsNullOrEmpty(apiKey)
? new Response {StatusCode = HttpStatusCode.Unauthorized}
: this.Response.AsJson(new {ApiKey = apiKey});
});
//do something to destroy the api key, maybe?
Delete("/", args =>
{
var apiKey = (string) this.Request.Form.ApiKey;
UserDatabase.RemoveApiKey(apiKey);
return new Response {StatusCode = HttpStatusCode.OK};
});
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Stateless/Models/UserModel.cs
================================================
namespace Nancy.Demo.Authentication.Stateless.Models
{
public class UserModel
{
public string Username { get; private set; }
public UserModel(string username)
{
Username = username;
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Stateless/Nancy.Demo.Authentication.Stateless.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoDebug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\Nancy.Demo.Authentication.Stateless.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'MonoRelease|AnyCPU'">
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisLogFile>bin\Nancy.Demo.Authentication.Stateless.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{BAE74CD5-57C2-40E3-8F7A-EDE5721C2ACC}</ProjectGuid>
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Nancy.Demo.Authentication.Stateless</RootNamespace>
<AssemblyName>Nancy.Demo.Authentication.Stateless</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<UseIISExpress>false</UseIISExpress>
<OldToolsVersion>4.0</OldToolsVersion>
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Content Include="Web.config" />
<Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
<Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="AuthModule.cs" />
<Compile Include="Models\UserModel.cs" />
<Compile Include="RootModule.cs" />
<Compile Include="SecureModule.cs" />
<Compile Include="StatelessAuthBootstrapper.cs" />
<Compile Include="UserDatabase.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Nancy.Authentication.Stateless.MSBuild\Nancy.Authentication.Stateless.csproj">
<Project>{211560C3-FDDF-46D6-AB0C-F3BC04B173B5}</Project>
<Name>Nancy.Authentication.Stateless</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.Hosting.Aspnet.MSBuild\Nancy.Hosting.Aspnet.csproj">
<Project>{15B7F794-0BB2-4B66-AD78-4A951F1209B2}</Project>
<Name>Nancy.Hosting.Aspnet</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\Nancy.MSBuild\Nancy.csproj">
<Project>{34576216-0DCA-4B0F-A0DC-9075E75A676F}</Project>
<Name>Nancy</Name>
</ProjectReference>
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>False</AutoAssignPort>
<DevelopmentServerPort>55581</DevelopmentServerPort>
<DevelopmentServerVPath>/restApi</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
================================================
FILE: samples/Nancy.Demo.Authentication.Stateless/RootModule.cs
================================================
namespace Nancy.Demo.Authentication.Stateless
{
public class RootModule : NancyModule
{
public RootModule()
{
Get("/", args => this.Response.AsText("This is a REST API. It is in another VS project to " +
"demonstrate how a common REST API might behave when " +
"accessing it from another website or application. To " +
"see how a website can access this API, run the " +
"Nancy.Demo.Authentication.Stateless.Website project " +
"(in the same Nancy solution)."));
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Stateless/SecureModule.cs
================================================
namespace Nancy.Demo.Authentication.Stateless
{
using System;
using Nancy.Demo.Authentication.Stateless.Models;
using Nancy.Security;
public class SecureModule : NancyModule
{
//by this time, the api key should have already been pulled out of our querystring
//and, using the api key, an identity assigned to our NancyContext
public SecureModule()
{
this.RequiresAuthentication();
Get("secure", args =>
{
//Context.CurrentUser was set by StatelessAuthentication earlier in the pipeline
var identity = this.Context.CurrentUser;
//return the secure information in a json response
var userModel = new UserModel(identity.Identity.Name);
return this.Response.AsJson(new
{
SecureContent = "here's some secure content that you can only see if you provide a correct apiKey",
User = userModel
});
});
Post("secure/create_user", args =>
{
Tuple<string, string> user = UserDatabase.CreateUser(this.Context.Request.Form["username"], this.Context.Request.Form["password"]);
return this.Response.AsJson(new { username = user.Item1 });
});
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Stateless/StatelessAuthBootstrapper.cs
================================================
namespace Nancy.Demo.Authentication.Stateless
{
using Nancy.Authentication.Stateless;
using Nancy.Bootstrapper;
using Nancy.TinyIoc;
public class StatelessAuthBootstrapper : DefaultNancyBootstrapper
{
protected override void RequestStartup(TinyIoCContainer requestContainer, IPipelines pipelines, NancyContext context)
{
// At request startup we modify the request pipelines to
// include stateless authentication
//
// Configuring stateless authentication is simple. Just use the
// NancyContext to get the apiKey. Then, use the apiKey to get
// your user's identity.
var configuration =
new StatelessAuthenticationConfiguration(nancyContext =>
{
//for now, we will pull the apiKey from the querystring,
//but you can pull it from any part of the NancyContext
var apiKey = (string) nancyContext.Request.Query.ApiKey.Value;
//get the user identity however you choose to (for now, using a static class/method)
return UserDatabase.GetUserFromApiKey(apiKey);
});
AllowAccessToConsumingSite(pipelines);
StatelessAuthentication.Enable(pipelines, configuration);
}
static void AllowAccessToConsumingSite(IPipelines pipelines)
{
pipelines.AfterRequest.AddItemToEndOfPipeline(x =>
{
x.Response.Headers.Add("Access-Control-Allow-Origin", "*");
x.Response.Headers.Add("Access-Control-Allow-Methods", "POST,GET,DELETE,PUT,OPTIONS");
});
}
}
}
================================================
FILE: samples/Nancy.Demo.Authentication.Stateless/UserDatabase.cs
================================================
namespace Nancy.Demo.Authentication.Stateless
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Security.Principal;
public class UserDatabase
{
static
gitextract_xv9v7nbg/
├── .editorconfig
├── .gitattributes
├── .github/
│ ├── CONTRIBUTING.md
│ ├── ISSUE_TEMPLATE.md
│ └── PULL_REQUEST_TEMPLATE.md
├── .gitignore
├── .mailmap
├── .travis.yml
├── Nancy.ruleset
├── Nancy.sln
├── Nancy.sln.DotSettings
├── NuGet.config
├── README.md
├── SharedAssemblyInfo.cs
├── appveyor.yml
├── build.cake
├── build.ps1
├── build.sh
├── favicon.license.txt
├── global.json
├── how_to_build.txt
├── license.txt
├── samples/
│ ├── Nancy.Demo.Async/
│ │ ├── App.config
│ │ ├── MainModule.cs
│ │ ├── Nancy.Demo.Async.csproj
│ │ └── Program.cs
│ ├── Nancy.Demo.Authentication/
│ │ ├── AnotherVerySecureModule.cs
│ │ ├── AuthenticationBootstrapper.cs
│ │ ├── MainModule.cs
│ │ ├── Models/
│ │ │ └── UserModel.cs
│ │ ├── Nancy.Demo.Authentication.csproj
│ │ ├── README.txt
│ │ ├── SecureModule.cs
│ │ ├── Views/
│ │ │ ├── Index.cshtml
│ │ │ ├── Login.cshtml
│ │ │ ├── secure.cshtml
│ │ │ └── superSecure.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Authentication.Basic/
│ │ ├── AuthenticationBootstrapper.cs
│ │ ├── MainModule.cs
│ │ ├── Nancy.Demo.Authentication.Basic.csproj
│ │ ├── SecureModule.cs
│ │ ├── UserValidator.cs
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Authentication.Forms/
│ │ ├── FormsAuthBootstrapper.cs
│ │ ├── MainModule.cs
│ │ ├── Models/
│ │ │ └── UserModel.cs
│ │ ├── Nancy.Demo.Authentication.Forms.csproj
│ │ ├── PartlySecureModule.cs
│ │ ├── README.txt
│ │ ├── SecureModule.cs
│ │ ├── UserDatabase.cs
│ │ ├── Views/
│ │ │ ├── index.cshtml
│ │ │ ├── login.cshtml
│ │ │ └── secure.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Authentication.Forms.TestingDemo/
│ │ ├── LoginFixture.cs
│ │ ├── Nancy.Demo.Authentication.Forms.TestingDemo.csproj
│ │ ├── TestBootstrapper.cs
│ │ ├── TestRootPathProvider.cs
│ │ └── packages.config
│ ├── Nancy.Demo.Authentication.Stateless/
│ │ ├── AuthModule.cs
│ │ ├── Models/
│ │ │ └── UserModel.cs
│ │ ├── Nancy.Demo.Authentication.Stateless.csproj
│ │ ├── RootModule.cs
│ │ ├── SecureModule.cs
│ │ ├── StatelessAuthBootstrapper.cs
│ │ ├── UserDatabase.cs
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Authentication.Stateless.Website/
│ │ ├── Nancy.Demo.Authentication.Stateless.Website.csproj
│ │ ├── Scripts/
│ │ │ ├── api.js
│ │ │ └── apiToken.js
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ ├── index.html
│ │ ├── login.html
│ │ └── secure.html
│ ├── Nancy.Demo.Bootstrapper.Aspnet/
│ │ ├── ApplicationDependencyClass.cs
│ │ ├── Bootstrapper.cs
│ │ ├── DependencyModule.cs
│ │ ├── IApplicationDependency.cs
│ │ ├── IRequestDependency.cs
│ │ ├── Models/
│ │ │ ├── RatPack.cs
│ │ │ └── RatPackWithDependencyText.cs
│ │ ├── Nancy.Demo.Bootstrapping.Aspnet.csproj
│ │ ├── README.txt
│ │ ├── RequestDependencyClass.cs
│ │ ├── Views/
│ │ │ └── razor-dependency.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Caching/
│ │ ├── CachedResponse.cs
│ │ ├── CachingBootstrapper.cs
│ │ ├── CachingExtensions/
│ │ │ └── ContextExtensions.cs
│ │ ├── MainModule.cs
│ │ ├── Nancy.Demo.Caching.csproj
│ │ ├── README.txt
│ │ ├── Views/
│ │ │ ├── Index.cshtml
│ │ │ └── Payload.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.ConstraintRouting/
│ │ ├── ConstraintRoutingModule.cs
│ │ ├── EmailRouteSegmentConstraint.cs
│ │ ├── Nancy.Demo.ConstraintRouting.csproj
│ │ ├── Views/
│ │ │ └── Index.html
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.CustomModule/
│ │ ├── DemoBootstrapper.cs
│ │ ├── MainModule.cs
│ │ ├── Nancy.Demo.CustomModule.csproj
│ │ ├── NancyRouteAttribute.cs
│ │ ├── UglifiedNancyModule.cs
│ │ ├── Views/
│ │ │ └── Index.html
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.Hosting.Aspnet/
│ │ ├── ApplicationDependencyClass.cs
│ │ ├── Content/
│ │ │ ├── main.css
│ │ │ └── scripts.js
│ │ ├── CustomStatusHandler.cs
│ │ ├── DefaultRouteMetadataProvider.cs
│ │ ├── DemoBootstrapper.cs
│ │ ├── DependencyModule.cs
│ │ ├── HereBeAResponseYouScurvyDog.cs
│ │ ├── IApplicationDependency.cs
│ │ ├── IRequestDependency.cs
│ │ ├── MainModule.cs
│ │ ├── Metadata/
│ │ │ ├── MainMetadataModule.cs
│ │ │ └── MyUberRouteMetadata.cs
│ │ ├── Models/
│ │ │ ├── Payload.cs
│ │ │ ├── RatPack.cs
│ │ │ ├── RatPackWithDependencyText.cs
│ │ │ ├── Razor2.cs
│ │ │ └── SomeViewModel.cs
│ │ ├── MyConfig.cs
│ │ ├── MyConfigExtensions.cs
│ │ ├── Nancy.Demo.Hosting.Aspnet.csproj
│ │ ├── Piratizer4000.cs
│ │ ├── PngSerializer.cs
│ │ ├── README.txt
│ │ ├── RequestDependencyClass.cs
│ │ ├── Resources/
│ │ │ ├── Menu.Designer.cs
│ │ │ └── Menu.resx
│ │ ├── Views/
│ │ │ ├── FileUpload.sshtml
│ │ │ ├── anon.spark
│ │ │ ├── csrf.cshtml
│ │ │ ├── dot.liquid
│ │ │ ├── interactive-diags-methods.sshtml
│ │ │ ├── interactive-diags-results.sshtml
│ │ │ ├── interactive-diags.sshtml
│ │ │ ├── javascript.html
│ │ │ ├── meta.cshtml
│ │ │ ├── negotiatedview.cshtml
│ │ │ ├── nustache.nustache
│ │ │ ├── nustachePartial.nustache
│ │ │ ├── razor-dependency.cshtml
│ │ │ ├── razor-divzero.cshtml
│ │ │ ├── razor-error.cshtml
│ │ │ ├── razor-layout-error.cshtml
│ │ │ ├── razor-layout.cshtml
│ │ │ ├── razor-simple.cshtml
│ │ │ ├── razor-strong.cshtml
│ │ │ ├── razor-strong.vbhtml
│ │ │ ├── razor.cshtml
│ │ │ ├── razor2.cshtml
│ │ │ ├── routes.cshtml
│ │ │ ├── someview.cshtml
│ │ │ ├── spark.spark
│ │ │ ├── ssve.sshtml
│ │ │ ├── static.html
│ │ │ └── uber-meta.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ └── packages.config
│ ├── Nancy.Demo.Hosting.Kestrel/
│ │ ├── AppConfiguration.cs
│ │ ├── DemoBootstrapper.cs
│ │ ├── HomeModule.cs
│ │ ├── IAppConfiguration.cs
│ │ ├── Nancy.Demo.Hosting.Kestrel.csproj
│ │ ├── Person.cs
│ │ ├── PersonValidator.cs
│ │ ├── Program.cs
│ │ ├── Properties/
│ │ │ └── launchSettings.json
│ │ ├── Startup.cs
│ │ └── appsettings.json
│ ├── Nancy.Demo.Hosting.Owin/
│ │ ├── MainModule.cs
│ │ ├── Models/
│ │ │ └── Index.cs
│ │ ├── Nancy.Demo.Hosting.Owin.csproj
│ │ ├── Startup.cs
│ │ ├── Views/
│ │ │ └── Root.spark
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ └── packages.config
│ ├── Nancy.Demo.Hosting.Self/
│ │ ├── DemoBootstrapper.cs
│ │ ├── Models/
│ │ │ └── Index.cs
│ │ ├── Nancy.Demo.Hosting.Self.csproj
│ │ ├── Program.cs
│ │ ├── README.txt
│ │ ├── TestModule.cs
│ │ ├── Views/
│ │ │ ├── FileUpload.spark
│ │ │ └── staticview.html
│ │ └── app.config
│ ├── Nancy.Demo.MarkdownViewEngine/
│ │ ├── Content/
│ │ │ ├── blog.css
│ │ │ └── js/
│ │ │ └── jquery.spritely-0.6.js
│ │ ├── Model/
│ │ │ └── BlogModel.cs
│ │ ├── Modules/
│ │ │ └── HomeModule.cs
│ │ ├── Nancy.Demo.MarkdownViewEngine.csproj
│ │ ├── Views/
│ │ │ ├── Posts/
│ │ │ │ ├── future-post.md
│ │ │ │ ├── my-first-blog-post.md
│ │ │ │ ├── readme.md
│ │ │ │ └── why-use-nancy.md
│ │ │ ├── blogfooter.html
│ │ │ ├── blogheader.html
│ │ │ ├── blogindex.html
│ │ │ ├── master.html
│ │ │ └── popularposts.html
│ │ ├── packages.config
│ │ └── web.config
│ ├── Nancy.Demo.ModelBinding/
│ │ ├── CustomersModule.cs
│ │ ├── Database/
│ │ │ └── DB.cs
│ │ ├── EventsModule.cs
│ │ ├── JsonModule.cs
│ │ ├── MainModule.cs
│ │ ├── ModelBinders/
│ │ │ └── CustomerModelBinder.cs
│ │ ├── ModelBindingBootstrapper.cs
│ │ ├── Models/
│ │ │ ├── Customer.cs
│ │ │ ├── Event.cs
│ │ │ └── User.cs
│ │ ├── Nancy.Demo.ModelBinding.csproj
│ │ ├── Views/
│ │ │ ├── Customers.spark
│ │ │ ├── Events.spark
│ │ │ ├── PostJson.html
│ │ │ └── PostXml.html
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── Web.config
│ │ └── XmlModule.cs
│ ├── Nancy.Demo.Razor.Localization/
│ │ ├── CustomResourceAssemblyProvider.cs
│ │ ├── DemoBootstrapper.cs
│ │ ├── Modules/
│ │ │ └── HomeModule.cs
│ │ ├── Nancy.Demo.Razor.Localization.csproj
│ │ ├── Resources/
│ │ │ ├── Text.Designer.cs
│ │ │ ├── Text.de-DE.resx
│ │ │ ├── Text.en-US.resx
│ │ │ └── Text.resx
│ │ ├── Views/
│ │ │ ├── CultureView-de-DE.cshtml
│ │ │ ├── CultureView.cshtml
│ │ │ ├── Index.cshtml
│ │ │ └── razor-layout.cshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.SparkViewEngine/
│ │ ├── FifthElement/
│ │ │ ├── Fifth.spark
│ │ │ └── FifthElementModule.cs
│ │ ├── MainModule.cs
│ │ ├── Nancy.Demo.SparkViewEngine.csproj
│ │ ├── Views/
│ │ │ ├── Index.spark
│ │ │ ├── Main/
│ │ │ │ ├── test.spark
│ │ │ │ └── test2.spark
│ │ │ ├── Shared/
│ │ │ │ ├── application.spark
│ │ │ │ └── html5.spark
│ │ │ └── _SmallBit.spark
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ ├── Nancy.Demo.SuperSimpleViewEngine/
│ │ ├── MainModule.cs
│ │ ├── Models/
│ │ │ └── MainModel.cs
│ │ ├── Nancy.Demo.SuperSimpleViewEngine.csproj
│ │ ├── Views/
│ │ │ ├── Index.sshtml
│ │ │ ├── Login.sshtml
│ │ │ ├── MasterPage.sshtml
│ │ │ └── User.sshtml
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ └── Nancy.Demo.Validation/
│ ├── CustomersModule.cs
│ ├── Database/
│ │ └── DB.cs
│ ├── MainModule.cs
│ ├── Models/
│ │ ├── Customer.cs
│ │ ├── OddLengthStringAttribute.cs
│ │ ├── OddLengthStringAttributeAdapter.cs
│ │ └── Product.cs
│ ├── Nancy.Demo.Validation.csproj
│ ├── ProductsModule.cs
│ ├── ValidationBootstrapper.cs
│ ├── Views/
│ │ ├── CustomerError.spark
│ │ └── Customers.spark
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ └── packages.config
├── src/
│ ├── Directory.Build.props
│ ├── Nancy/
│ │ ├── AfterPipeline.cs
│ │ ├── AppDomainAssemblyCatalog.cs
│ │ ├── ArrayCache.cs
│ │ ├── AsyncNamedPipelineBase.cs
│ │ ├── BeforePipeline.cs
│ │ ├── Bootstrapper/
│ │ │ ├── BootstrapperException.cs
│ │ │ ├── CollectionTypeRegistration.cs
│ │ │ ├── ContainerRegistration.cs
│ │ │ ├── FavIconApplicationStartup.cs
│ │ │ ├── IApplicationStartup.cs
│ │ │ ├── INancyBootstrapper.cs
│ │ │ ├── IPipelines.cs
│ │ │ ├── IRegistrations.cs
│ │ │ ├── IRequestStartup.cs
│ │ │ ├── InstanceRegistration.cs
│ │ │ ├── Lifetime.cs
│ │ │ ├── ModuleRegistrationType.cs
│ │ │ ├── MultipleRootPathProvidersLocatedException.cs
│ │ │ ├── NancyBootstrapperBase.cs
│ │ │ ├── NancyBootstrapperLocator.cs
│ │ │ ├── NancyBootstrapperWithRequestContainerBase.cs
│ │ │ ├── NancyInternalConfiguration.cs
│ │ │ ├── Pipelines.cs
│ │ │ ├── Registrations.cs
│ │ │ └── TypeRegistration.cs
│ │ ├── Configuration/
│ │ │ ├── ConfigurationException.cs
│ │ │ ├── DefaultNancyEnvironment.cs
│ │ │ ├── DefaultNancyEnvironmentConfigurator.cs
│ │ │ ├── DefaultNancyEnvironmentFactory.cs
│ │ │ ├── INancyDefaultConfigurationProvider.cs
│ │ │ ├── INancyEnvironment.cs
│ │ │ ├── INancyEnvironmentConfigurator.cs
│ │ │ ├── INancyEnvironmentExtensions.cs
│ │ │ ├── INancyEnvironmentFactory.cs
│ │ │ └── NancyDefaultConfigurationProvider.cs
│ │ ├── Conventions/
│ │ │ ├── AcceptHeaderCoercionConventions.cs
│ │ │ ├── BuiltInAcceptHeaderCoercions.cs
│ │ │ ├── BuiltInCultureConventions.cs
│ │ │ ├── CultureConventions.cs
│ │ │ ├── DefaultAcceptHeaderCoercionConventions.cs
│ │ │ ├── DefaultCultureConventions.cs
│ │ │ ├── DefaultStaticContentsConventions.cs
│ │ │ ├── DefaultViewLocationConventions.cs
│ │ │ ├── IConvention.cs
│ │ │ ├── NancyConventions.cs
│ │ │ ├── StaticContentConventionBuilder.cs
│ │ │ ├── StaticContentHelper.cs
│ │ │ ├── StaticContentsConventions.cs
│ │ │ ├── StaticContentsConventionsExtensions.cs
│ │ │ ├── StaticDirectoryContent.cs
│ │ │ ├── StaticFileContent.cs
│ │ │ └── ViewLocationConventions.cs
│ │ ├── Cookies/
│ │ │ ├── INancyCookie.cs
│ │ │ └── NancyCookie.cs
│ │ ├── Cryptography/
│ │ │ ├── AesEncryptionProvider.cs
│ │ │ ├── Base64Helpers.cs
│ │ │ ├── CryptographyConfiguration.cs
│ │ │ ├── DefaultHmacProvider.cs
│ │ │ ├── HmacComparer.cs
│ │ │ ├── IEncryptionProvider.cs
│ │ │ ├── IHmacProvider.cs
│ │ │ ├── IKeyGenerator.cs
│ │ │ ├── NoEncryptionProvider.cs
│ │ │ ├── PassphraseKeyGenerator.cs
│ │ │ └── RandomKeyGenerator.cs
│ │ ├── Culture/
│ │ │ ├── DefaultCultureService.cs
│ │ │ └── ICultureService.cs
│ │ ├── DefaultGlobalizationConfigurationProvider.cs
│ │ ├── DefaultNancyBootstrapper.cs
│ │ ├── DefaultNancyContextFactory.cs
│ │ ├── DefaultObjectSerializer.cs
│ │ ├── DefaultResponseFormatter.cs
│ │ ├── DefaultResponseFormatterFactory.cs
│ │ ├── DefaultRootPathProvider.cs
│ │ ├── DefaultRouteConfigurationProvider.cs
│ │ ├── DefaultRuntimeEnvironmentInformation.cs
│ │ ├── DefaultSerializerFactory.cs
│ │ ├── DefaultStaticContentConfigurationProvider.cs
│ │ ├── DefaultStaticContentProvider.cs
│ │ ├── DefaultTraceConfigurationProvider.cs
│ │ ├── DefaultTypeCatalog.cs
│ │ ├── DefaultViewConfigurationProvider.cs
│ │ ├── DependencyContextAssemblyCatalog.cs
│ │ ├── Diagnostics/
│ │ │ ├── ConcurrentLimitedCollection.cs
│ │ │ ├── DefaultDiagnostics.cs
│ │ │ ├── DefaultDiagnosticsConfigurationProvider.cs
│ │ │ ├── DefaultRequestTrace.cs
│ │ │ ├── DefaultRequestTraceFactory.cs
│ │ │ ├── DefaultRequestTracing.cs
│ │ │ ├── DefaultTraceLog.cs
│ │ │ ├── DescriptionAttribute.cs
│ │ │ ├── DiagnosticModule.cs
│ │ │ ├── DiagnosticsConfiguration.cs
│ │ │ ├── DiagnosticsConfigurationExtensions.cs
│ │ │ ├── DiagnosticsHook.cs
│ │ │ ├── DiagnosticsModuleBuilder.cs
│ │ │ ├── DiagnosticsModuleCatalog.cs
│ │ │ ├── DiagnosticsSerializerFactory.cs
│ │ │ ├── DiagnosticsSession.cs
│ │ │ ├── DiagnosticsViewRenderer.cs
│ │ │ ├── DisabledDiagnostics.cs
│ │ │ ├── IDiagnostics.cs
│ │ │ ├── IDiagnosticsProvider.cs
│ │ │ ├── IInteractiveDiagnostics.cs
│ │ │ ├── IRequestTrace.cs
│ │ │ ├── IRequestTraceFactory.cs
│ │ │ ├── IRequestTracing.cs
│ │ │ ├── ITraceLog.cs
│ │ │ ├── InteractiveDiagnostic.cs
│ │ │ ├── InteractiveDiagnosticMethod.cs
│ │ │ ├── InteractiveDiagnostics.cs
│ │ │ ├── Modules/
│ │ │ │ ├── InfoModule.cs
│ │ │ │ ├── InteractiveModule.cs
│ │ │ │ ├── MainModule.cs
│ │ │ │ ├── SettingsModule.cs
│ │ │ │ └── TraceModule.cs
│ │ │ ├── NullLog.cs
│ │ │ ├── RequestData.cs
│ │ │ ├── RequestTraceSession.cs
│ │ │ ├── Resources/
│ │ │ │ ├── 960.css
│ │ │ │ ├── Modules/
│ │ │ │ │ ├── interactive/
│ │ │ │ │ │ ├── methods.js
│ │ │ │ │ │ ├── providers.js
│ │ │ │ │ │ └── results.js
│ │ │ │ │ └── tracing/
│ │ │ │ │ ├── sessions.js
│ │ │ │ │ └── traces.js
│ │ │ │ ├── backbone-min.js
│ │ │ │ ├── diagnostics.js
│ │ │ │ ├── handlebars.js
│ │ │ │ ├── interactive-diagnostics.js
│ │ │ │ ├── interactive.css
│ │ │ │ ├── jsonreport.js
│ │ │ │ ├── main.css
│ │ │ │ ├── nancy-common.js
│ │ │ │ ├── request-tracing.js
│ │ │ │ ├── reset.css
│ │ │ │ ├── text.css
│ │ │ │ └── underscore-min.js
│ │ │ ├── ResponseData.cs
│ │ │ ├── TemplateAttribute.cs
│ │ │ ├── TestingDiagnosticProvider.cs
│ │ │ └── Views/
│ │ │ ├── Dashboard.sshtml
│ │ │ ├── Info.sshtml
│ │ │ ├── InteractiveDiagnostics.sshtml
│ │ │ ├── RequestTracing.sshtml
│ │ │ ├── Settings.sshtml
│ │ │ ├── _DiagnosticsMaster.sshtml
│ │ │ ├── help.sshtml
│ │ │ └── login.sshtml
│ │ ├── DisabledStaticContentProvider.cs
│ │ ├── DynamicDictionary.cs
│ │ ├── DynamicDictionaryValue.cs
│ │ ├── ErrorHandling/
│ │ │ ├── DefaultStatusCodeHandler.cs
│ │ │ ├── Resources/
│ │ │ │ ├── 404.html
│ │ │ │ └── 500.html
│ │ │ └── RouteExecutionEarlyExitException.cs
│ │ ├── ErrorPipeline.cs
│ │ ├── Extensions/
│ │ │ ├── AssemblyExtensions.cs
│ │ │ ├── CollectionExtensions.cs
│ │ │ ├── ContextExtensions.cs
│ │ │ ├── MemoryStreamExtensions.cs
│ │ │ ├── ModelValidationErrorExtensions.cs
│ │ │ ├── ModuleExtensions.cs
│ │ │ ├── ObjectExtensions.cs
│ │ │ ├── RequestExtensions.cs
│ │ │ ├── StreamExtensions.cs
│ │ │ ├── StringExtensions.cs
│ │ │ └── TypeExtensions.cs
│ │ ├── FormatterExtensions.cs
│ │ ├── GlobalizationConfiguration.cs
│ │ ├── GlobalizationConfigurationExtensions.cs
│ │ ├── HeadResponse.cs
│ │ ├── Helpers/
│ │ │ ├── CacheHelpers.cs
│ │ │ ├── ExceptionExtensions.cs
│ │ │ ├── HttpEncoder.cs
│ │ │ ├── HttpUtility.cs
│ │ │ ├── ProxyNancyReferenceProber.cs
│ │ │ ├── ReflectionUtils.cs
│ │ │ └── TaskHelpers.cs
│ │ ├── HttpFile.cs
│ │ ├── HttpLink.cs
│ │ ├── HttpLinkBuilder.cs
│ │ ├── HttpLinkRelation.cs
│ │ ├── HttpMultipart.cs
│ │ ├── HttpMultipartBoundary.cs
│ │ ├── HttpMultipartBuffer.cs
│ │ ├── HttpMultipartSubStream.cs
│ │ ├── HttpStatusCode.cs
│ │ ├── IAssemblyCatalog.cs
│ │ ├── IHideObjectMembers.cs
│ │ ├── INancyContextFactory.cs
│ │ ├── INancyEngine.cs
│ │ ├── INancyModule.cs
│ │ ├── INancyModuleCatalog.cs
│ │ ├── IO/
│ │ │ ├── RequestStream.cs
│ │ │ └── UnclosableStreamWrapper.cs
│ │ ├── IObjectSerializer.cs
│ │ ├── IObjectSerializerSelector.cs
│ │ ├── IResourceAssemblyProvider.cs
│ │ ├── IResponseFormatter.cs
│ │ ├── IResponseFormatterFactory.cs
│ │ ├── IRootPathProvider.cs
│ │ ├── IRuntimeEnvironmentInformation.cs
│ │ ├── ISerializer.cs
│ │ ├── ISerializerFactory.cs
│ │ ├── IStaticContentProvider.cs
│ │ ├── IStatusCodeHandler.cs
│ │ ├── ITypeCatalog.cs
│ │ ├── IncludeInNancyAssemblyScanningAttribute.cs
│ │ ├── Json/
│ │ │ ├── Converters/
│ │ │ │ ├── TimeSpanConverter.cs
│ │ │ │ └── TupleConverter.cs
│ │ │ ├── DefaultJsonConfigurationProvider.cs
│ │ │ ├── JavaScriptConverter.cs
│ │ │ ├── JavaScriptPrimitiveConverter.cs
│ │ │ ├── JavaScriptSerializer.cs
│ │ │ ├── Json.cs
│ │ │ ├── JsonConfiguration.cs
│ │ │ ├── JsonConfigurationExtensions.cs
│ │ │ ├── ScriptIgnoreAttribute.cs
│ │ │ ├── Simple/
│ │ │ │ ├── NancySerializationStrategy.cs
│ │ │ │ └── SimpleJson.cs
│ │ │ └── SimpleJson.cs
│ │ ├── Jsonp.cs
│ │ ├── JsonpApplicationStartup.cs
│ │ ├── Localization/
│ │ │ ├── ITextResource.cs
│ │ │ ├── ResourceBasedTextResource.cs
│ │ │ └── TextResourceFinder.cs
│ │ ├── MimeTypes.cs
│ │ ├── ModelBinding/
│ │ │ ├── BindingConfig.cs
│ │ │ ├── BindingContext.cs
│ │ │ ├── BindingDefaults.cs
│ │ │ ├── BindingMemberInfo.cs
│ │ │ ├── DefaultBinder.cs
│ │ │ ├── DefaultBodyDeserializers/
│ │ │ │ ├── JsonBodyDeserializer.cs
│ │ │ │ └── XmlBodyDeserializer.cs
│ │ │ ├── DefaultConverters/
│ │ │ │ ├── CollectionConverter.cs
│ │ │ │ ├── DateTimeConverter.cs
│ │ │ │ ├── FallbackConverter.cs
│ │ │ │ └── NumericConverter.cs
│ │ │ ├── DefaultFieldNameConverter.cs
│ │ │ ├── DefaultModelBinderLocator.cs
│ │ │ ├── DynamicModelBinderAdapter.cs
│ │ │ ├── ExpressionExtensions.cs
│ │ │ ├── IBinder.cs
│ │ │ ├── IBodyDeserializer.cs
│ │ │ ├── IFieldNameConverter.cs
│ │ │ ├── IModelBinder.cs
│ │ │ ├── IModelBinderLocator.cs
│ │ │ ├── ITypeConverter.cs
│ │ │ ├── ModelBindingException.cs
│ │ │ ├── ModuleExtensions.cs
│ │ │ └── PropertyBindingException.cs
│ │ ├── NamedPipelineBase.cs
│ │ ├── Nancy.csproj
│ │ ├── NancyContext.cs
│ │ ├── NancyEngine.cs
│ │ ├── NancyEngineExtensions.cs
│ │ ├── NancyModule.cs
│ │ ├── NegotiatorExtensions.cs
│ │ ├── NotFoundResponse.cs
│ │ ├── Owin/
│ │ │ ├── DelegateExtensions.cs
│ │ │ ├── NancyContextExtensions.cs
│ │ │ ├── NancyMiddleware.cs
│ │ │ ├── NancyOptions.cs
│ │ │ └── NancyOptionsExtensions.cs
│ │ ├── PipelineItem.cs
│ │ ├── Properties/
│ │ │ └── InternalsVisibleTo.cs
│ │ ├── Request.cs
│ │ ├── RequestExecutionException.cs
│ │ ├── RequestHeaders.cs
│ │ ├── ResourceAssemblyProvider.cs
│ │ ├── Response.cs
│ │ ├── ResponseExtensions.cs
│ │ ├── Responses/
│ │ │ ├── DefaultJsonSerializer.cs
│ │ │ ├── DefaultXmlSerializer.cs
│ │ │ ├── EmbeddedFileResponse.cs
│ │ │ ├── GenericFileResponse.cs
│ │ │ ├── HtmlResponse.cs
│ │ │ ├── JsonResponse.cs
│ │ │ ├── MaterialisingResponse.cs
│ │ │ ├── NegotiatedResponse.cs
│ │ │ ├── Negotiation/
│ │ │ │ ├── DefaultResponseNegotiator.cs
│ │ │ │ ├── IResponseNegotiator.cs
│ │ │ │ ├── IResponseProcessor.cs
│ │ │ │ ├── JsonProcessor.cs
│ │ │ │ ├── MatchResult.cs
│ │ │ │ ├── MediaRange.cs
│ │ │ │ ├── MediaRangeParameters.cs
│ │ │ │ ├── MediaType.cs
│ │ │ │ ├── NegotiationContext.cs
│ │ │ │ ├── Negotiator.cs
│ │ │ │ ├── ProcessorMatch.cs
│ │ │ │ ├── ResponseProcessor.cs
│ │ │ │ ├── ViewProcessor.cs
│ │ │ │ └── XmlProcessor.cs
│ │ │ ├── NotAcceptableResponse.cs
│ │ │ ├── RedirectResponse.cs
│ │ │ ├── StreamResponse.cs
│ │ │ ├── TextResponse.cs
│ │ │ └── XmlResponse.cs
│ │ ├── RouteConfiguration.cs
│ │ ├── RouteConfigurationExtensions.cs
│ │ ├── Routing/
│ │ │ ├── Constraints/
│ │ │ │ ├── AlphaRouteSegmentConstraint.cs
│ │ │ │ ├── BoolRouteSegmentConstraint.cs
│ │ │ │ ├── CustomDateTimeRouteSegmentConstraint.cs
│ │ │ │ ├── DateTimeRouteSegmentConstraint.cs
│ │ │ │ ├── DecimalRouteSegmentConstraint.cs
│ │ │ │ ├── GuidRouteSegmentConstraint.cs
│ │ │ │ ├── IRouteSegmentConstraint.cs
│ │ │ │ ├── IntRouteSegmentConstraint.cs
│ │ │ │ ├── LengthRouteSegmentConstraint.cs
│ │ │ │ ├── LongRouteSegmentConstraint.cs
│ │ │ │ ├── MaxLengthRouteSegmentConstraint.cs
│ │ │ │ ├── MaxRouteSegmentConstraint.cs
│ │ │ │ ├── MinLengthRouteSegmentConstraint.cs
│ │ │ │ ├── MinRouteSegmentConstraint.cs
│ │ │ │ ├── ParameterizedRouteSegmentConstraintBase.cs
│ │ │ │ ├── RangeRouteSegmentConstraint.cs
│ │ │ │ ├── RouteSegmentConstraintBase.cs
│ │ │ │ └── VersionRouteSegmentConstraint.cs
│ │ │ ├── DefaultNancyModuleBuilder.cs
│ │ │ ├── DefaultRequestDispatcher.cs
│ │ │ ├── DefaultRouteCacheProvider.cs
│ │ │ ├── DefaultRouteDescriptionProvider.cs
│ │ │ ├── DefaultRouteInvoker.cs
│ │ │ ├── DefaultRouteResolver.cs
│ │ │ ├── DefaultRouteSegmentExtractor.cs
│ │ │ ├── INancyModuleBuilder.cs
│ │ │ ├── IRequestDispatcher.cs
│ │ │ ├── IRouteCache.cs
│ │ │ ├── IRouteCacheProvider.cs
│ │ │ ├── IRouteDescriptionProvider.cs
│ │ │ ├── IRouteInvoker.cs
│ │ │ ├── IRouteMetadataProvider.cs
│ │ │ ├── IRouteResolver.cs
│ │ │ ├── IRouteSegmentExtractor.cs
│ │ │ ├── MethodNotAllowedRoute.cs
│ │ │ ├── NotFoundRoute.cs
│ │ │ ├── OptionsRoute.cs
│ │ │ ├── ParameterSegmentInformation.cs
│ │ │ ├── ResolveResult.cs
│ │ │ ├── Route.cs
│ │ │ ├── RouteCache.cs
│ │ │ ├── RouteCacheExtensions.cs
│ │ │ ├── RouteDescription.cs
│ │ │ ├── RouteMetadata.cs
│ │ │ ├── RouteMetadataProvider.cs
│ │ │ └── Trie/
│ │ │ ├── IRouteResolverTrie.cs
│ │ │ ├── ITrieNodeFactory.cs
│ │ │ ├── MatchResult.cs
│ │ │ ├── NodeData.cs
│ │ │ ├── NodeDataExtensions.cs
│ │ │ ├── Nodes/
│ │ │ │ ├── CaptureNode.cs
│ │ │ │ ├── CaptureNodeWithConstraint.cs
│ │ │ │ ├── CaptureNodeWithDefaultValue.cs
│ │ │ │ ├── CaptureNodeWithMultipleParameters.cs
│ │ │ │ ├── GreedyCaptureNode.cs
│ │ │ │ ├── GreedyRegExCaptureNode.cs
│ │ │ │ ├── LiteralNode.cs
│ │ │ │ ├── OptionalCaptureNode.cs
│ │ │ │ ├── RegExNode.cs
│ │ │ │ ├── RootNode.cs
│ │ │ │ └── TrieNode.cs
│ │ │ ├── RouteResolverTrie.cs
│ │ │ ├── SegmentMatch.cs
│ │ │ └── TrieNodeFactory.cs
│ │ ├── Security/
│ │ │ ├── ClaimsPrincipalExtensions.cs
│ │ │ ├── Csrf.cs
│ │ │ ├── CsrfApplicationStartup.cs
│ │ │ ├── CsrfToken.cs
│ │ │ ├── CsrfTokenExtensions.cs
│ │ │ ├── CsrfTokenValidationResult.cs
│ │ │ ├── CsrfValidationException.cs
│ │ │ ├── DefaultCsrfTokenValidator.cs
│ │ │ ├── ICsrfTokenValidator.cs
│ │ │ ├── ModuleSecurity.cs
│ │ │ ├── SSLProxy.cs
│ │ │ └── SecurityHooks.cs
│ │ ├── Session/
│ │ │ ├── CookieBasedSessions.cs
│ │ │ ├── CookieBasedSessionsConfiguration.cs
│ │ │ ├── ISession.cs
│ │ │ ├── NullSessionProvider.cs
│ │ │ └── Session.cs
│ │ ├── StaticConfiguration.cs
│ │ ├── StaticContent.cs
│ │ ├── StaticContentConfiguration.cs
│ │ ├── StaticContentConfigurationExtensions.cs
│ │ ├── TinyIoc/
│ │ │ └── TinyIoC.cs
│ │ ├── TraceConfiguration.cs
│ │ ├── TraceConfigurationExtensions.cs
│ │ ├── TypeCatalogExtensions.cs
│ │ ├── TypeResolveStrategies.cs
│ │ ├── TypeResolveStrategy.cs
│ │ ├── Url.cs
│ │ ├── Validation/
│ │ │ ├── CompositeValidator.cs
│ │ │ ├── DefaultValidatorLocator.cs
│ │ │ ├── IModelValidator.cs
│ │ │ ├── IModelValidatorFactory.cs
│ │ │ ├── IModelValidatorLocator.cs
│ │ │ ├── ModelValidationDescriptor.cs
│ │ │ ├── ModelValidationError.cs
│ │ │ ├── ModelValidationException.cs
│ │ │ ├── ModelValidationResult.cs
│ │ │ ├── ModelValidationRule.cs
│ │ │ ├── ModuleExtensions.cs
│ │ │ └── Rules/
│ │ │ ├── ComparisonOperator.cs
│ │ │ ├── ComparisonValidationRule.cs
│ │ │ ├── NotEmptyValidationRule.cs
│ │ │ ├── NotNullValidationRule.cs
│ │ │ ├── RegexValidationRule.cs
│ │ │ └── StringLengthValidationRule.cs
│ │ ├── ViewConfiguration.cs
│ │ ├── ViewConfigurationExtensions.cs
│ │ ├── ViewEngines/
│ │ │ ├── AmbiguousViewsException.cs
│ │ │ ├── DefaultFileSystemReader.cs
│ │ │ ├── DefaultRenderContext.cs
│ │ │ ├── DefaultRenderContextFactory.cs
│ │ │ ├── DefaultResourceReader.cs
│ │ │ ├── DefaultViewCache.cs
│ │ │ ├── DefaultViewFactory.cs
│ │ │ ├── DefaultViewLocator.cs
│ │ │ ├── DefaultViewResolver.cs
│ │ │ ├── Extensions.cs
│ │ │ ├── FileSystemViewLocationProvider.cs
│ │ │ ├── FileSystemViewLocationResult.cs
│ │ │ ├── IFileSystemReader.cs
│ │ │ ├── IRenderContext.cs
│ │ │ ├── IRenderContextFactory.cs
│ │ │ ├── IResourceReader.cs
│ │ │ ├── IViewCache.cs
│ │ │ ├── IViewEngine.cs
│ │ │ ├── IViewFactory.cs
│ │ │ ├── IViewLocationProvider.cs
│ │ │ ├── IViewLocator.cs
│ │ │ ├── IViewResolver.cs
│ │ │ ├── ResourceViewLocationProvider.cs
│ │ │ ├── SuperSimpleViewEngine/
│ │ │ │ ├── ISuperSimpleViewEngineMatcher.cs
│ │ │ │ ├── IViewEngineHost.cs
│ │ │ │ ├── NancyViewEngineHost.cs
│ │ │ │ ├── SuperSimpleViewEngine.cs
│ │ │ │ ├── SuperSimpleViewEngineRegistrations.cs
│ │ │ │ └── SuperSimpleViewEngineWrapper.cs
│ │ │ ├── ViewEngineApplicationStartup.cs
│ │ │ ├── ViewEngineStartupContext.cs
│ │ │ ├── ViewLocationContext.cs
│ │ │ ├── ViewLocationResult.cs
│ │ │ ├── ViewNotFoundException.cs
│ │ │ └── ViewRenderException.cs
│ │ ├── ViewRenderer.cs
│ │ └── Xml/
│ │ ├── DefaultXmlConfigurationProvider.cs
│ │ ├── XmlConfiguration.cs
│ │ └── XmlConfigurationExtensions.cs
│ ├── Nancy.Authentication.Basic/
│ │ ├── BasicAuthentication.cs
│ │ ├── BasicAuthenticationConfiguration.cs
│ │ ├── BasicHttpExtensions.cs
│ │ ├── IUserValidator.cs
│ │ ├── Nancy.Authentication.Basic.csproj
│ │ └── UserPromptBehaviour.cs
│ ├── Nancy.Authentication.Forms/
│ │ ├── FormsAuthentication.cs
│ │ ├── FormsAuthenticationConfiguration.cs
│ │ ├── IUserMapper.cs
│ │ ├── ModuleExtensions.cs
│ │ └── Nancy.Authentication.Forms.csproj
│ ├── Nancy.Authentication.Stateless/
│ │ ├── Nancy.Authentication.Stateless.csproj
│ │ ├── StatelessAuthentication.cs
│ │ └── StatelessAuthenticationConfiguration.cs
│ ├── Nancy.Embedded/
│ │ ├── Conventions/
│ │ │ └── EmbeddedStaticContentConventionBuilder.cs
│ │ └── Nancy.Embedded.csproj
│ ├── Nancy.Encryption.MachineKey/
│ │ ├── MachineKeyCryptographyConfigurations.cs
│ │ ├── MachineKeyEncryptionProvider.cs
│ │ ├── MachineKeyHmacProvider.cs
│ │ └── Nancy.Encryption.MachineKey.csproj
│ ├── Nancy.Hosting.Aspnet/
│ │ ├── AspNetRootPathProvider.cs
│ │ ├── BootstrapperEntry.cs
│ │ ├── DefaultNancyAspNetBootstrapper.cs
│ │ ├── Nancy.Hosting.Aspnet.csproj
│ │ ├── NancyFxSection.cs
│ │ ├── NancyHandler.cs
│ │ ├── NancyHttpRequestHandler.cs
│ │ ├── NancyResponseStream.cs
│ │ ├── TinyIoCAspNetExtensions.cs
│ │ └── web.config.transform
│ ├── Nancy.Hosting.Self/
│ │ ├── AutomaticUrlReservationCreationFailureException.cs
│ │ ├── FileSystemRootPathProvider.cs
│ │ ├── HostConfiguration.cs
│ │ ├── IgnoredHeaders.cs
│ │ ├── Nancy.Hosting.Self.csproj
│ │ ├── NancyHost.cs
│ │ ├── NetSh.cs
│ │ ├── Properties/
│ │ │ └── InternalsVisibleTo.cs
│ │ ├── UacHelper.cs
│ │ ├── UriExtensions.cs
│ │ └── UrlReservations.cs
│ ├── Nancy.Metadata.Modules/
│ │ ├── DefaultMetadataModuleConventions.cs
│ │ ├── DefaultMetadataModuleResolver.cs
│ │ ├── IMetadataModule.cs
│ │ ├── IMetadataModuleResolver.cs
│ │ ├── MetadataModule.cs
│ │ ├── MetadataModuleRegistrations.cs
│ │ ├── MetadataModuleRouteMetadataProvider.cs
│ │ └── Nancy.Metadata.Modules.csproj
│ ├── Nancy.Owin/
│ │ ├── AppBuilderExtensions.cs
│ │ └── Nancy.Owin.csproj
│ ├── Nancy.Testing/
│ │ ├── Accept.cs
│ │ ├── AndConnector.cs
│ │ ├── AssertEqualityComparer.cs
│ │ ├── AssertException.cs
│ │ ├── AssertExtensions.cs
│ │ ├── Asserts.cs
│ │ ├── Browser.cs
│ │ ├── BrowserContext.cs
│ │ ├── BrowserContextExtensions.cs
│ │ ├── BrowserContextMultipartFormData.cs
│ │ ├── BrowserResponse.cs
│ │ ├── BrowserResponseBodyWrapper.cs
│ │ ├── BrowserResponseBodyWrapperExtensions.cs
│ │ ├── BrowserResponseExtensions.cs
│ │ ├── ConfigurableBootstrapper.cs
│ │ ├── ConfigurableNancyModule.cs
│ │ ├── DocumentWrapper.cs
│ │ ├── IBrowserContextValues.cs
│ │ ├── IndexHelper.cs
│ │ ├── Nancy.Testing.csproj
│ │ ├── NancyContextExtensions.cs
│ │ ├── NodeWrapper.cs
│ │ ├── PassThroughStatusHandler.cs
│ │ ├── PathHelper.cs
│ │ ├── QueryWrapper.cs
│ │ ├── Resources/
│ │ │ └── NancyTestingCert.pfx
│ │ ├── StaticConfigurationContext.cs
│ │ ├── TestingViewBrowserResponseExtensions.cs
│ │ ├── TestingViewContextKeys.cs
│ │ └── TestingViewFactory.cs
│ ├── Nancy.Validation.DataAnnotations/
│ │ ├── DataAnnotationsRegistrations.cs
│ │ ├── DataAnnotationsValidator.cs
│ │ ├── DataAnnotationsValidatorAdapter.cs
│ │ ├── DataAnnotationsValidatorFactory.cs
│ │ ├── DefaultPropertyValidatorFactory.cs
│ │ ├── DefaultValidatableObjectAdapter.cs
│ │ ├── IDataAnnotationsValidatorAdapter.cs
│ │ ├── IPropertyValidator.cs
│ │ ├── IPropertyValidatorFactory.cs
│ │ ├── IValidatableObjectAdapter.cs
│ │ ├── Nancy.Validation.DataAnnotations.csproj
│ │ ├── PropertyValidator.cs
│ │ ├── RangeValidatorAdapter.cs
│ │ ├── RegexValidatorAdapter.cs
│ │ ├── RequiredValidatorAdapter.cs
│ │ └── StringLengthValidatorAdapter.cs
│ ├── Nancy.Validation.FluentValidation/
│ │ ├── AdapterBase.cs
│ │ ├── DefaultFluentAdapterFactory.cs
│ │ ├── EmailAdapter.cs
│ │ ├── EqualAdapter.cs
│ │ ├── ExactLengthAdapater.cs
│ │ ├── ExclusiveBetweenAdapter.cs
│ │ ├── FallbackAdapter.cs
│ │ ├── FluentValidationRegistrations.cs
│ │ ├── FluentValidationValidator.cs
│ │ ├── FluentValidationValidatorFactory.cs
│ │ ├── GreaterThanAdapter.cs
│ │ ├── GreaterThanOrEqualAdapter.cs
│ │ ├── IFluentAdapter.cs
│ │ ├── IFluentAdapterFactory.cs
│ │ ├── InclusiveBetweenAdapter.cs
│ │ ├── LengthAdapter.cs
│ │ ├── LessThanAdapter.cs
│ │ ├── LessThanOrEqualAdapter.cs
│ │ ├── Nancy.Validation.FluentValidation.csproj
│ │ ├── NotEmptyAdapter.cs
│ │ ├── NotEqualAdapter.cs
│ │ ├── NotNullAdapter.cs
│ │ └── RegularExpressionAdapter.cs
│ ├── Nancy.ViewEngines.DotLiquid/
│ │ ├── DefaultFileSystemFactory.cs
│ │ ├── DotLiquidRegistrations.cs
│ │ ├── DotLiquidViewEngine.cs
│ │ ├── DynamicDrop.cs
│ │ ├── IFileSystemFactory.cs
│ │ ├── LiquidNancyFileSystem.cs
│ │ ├── Nancy.ViewEngines.DotLiquid.csproj
│ │ └── Resources/
│ │ └── 500.liquid
│ ├── Nancy.ViewEngines.Markdown/
│ │ ├── MarkDownViewEngine.cs
│ │ ├── MarkdownViewEngineHost.cs
│ │ ├── MarkdownViewengineRender.cs
│ │ └── Nancy.ViewEngines.Markdown.csproj
│ ├── Nancy.ViewEngines.Nustache/
│ │ ├── Nancy.ViewEngines.Nustache.csproj
│ │ └── NustacheViewEngine.cs
│ ├── Nancy.ViewEngines.Razor/
│ │ ├── AttributeValue.cs
│ │ ├── CSharp/
│ │ │ ├── CSharpClrTypeResolver.cs
│ │ │ ├── CSharpRazorViewRenderer.cs
│ │ │ └── NancyCSharpRazorCodeParser.cs
│ │ ├── ClrTypeResolver.cs
│ │ ├── CodeParserHelper.cs
│ │ ├── DefaultRazorConfiguration.cs
│ │ ├── EncodedHtmlString.cs
│ │ ├── HelperResult.cs
│ │ ├── HtmlHelpers.cs
│ │ ├── HtmlHelpersExtensions.cs
│ │ ├── IHtmlString.cs
│ │ ├── INancyRazorView.cs
│ │ ├── IRazorConfiguration.cs
│ │ ├── IRazorViewRenderer.cs
│ │ ├── ModelCodeGenerator.cs
│ │ ├── Nancy.ViewEngines.Razor.csproj
│ │ ├── NancyRazorEngineHost.cs
│ │ ├── NancyRazorErrorView.cs
│ │ ├── NancyRazorViewBase.cs
│ │ ├── NonEncodedHtmlString.cs
│ │ ├── RazorAssemblyProvider.cs
│ │ ├── RazorConfigurationSection.cs
│ │ ├── RazorViewEngine.cs
│ │ ├── RazorViewEngineApplicationStartupRegistrations.cs
│ │ ├── Resources/
│ │ │ └── CompilationError.html
│ │ ├── UrlHelpers.cs
│ │ ├── app.config.transform
│ │ ├── targets/
│ │ │ └── Nancy.ViewEngines.Razor.targets
│ │ └── web.config.transform
│ ├── Nancy.ViewEngines.Razor.BuildProviders/
│ │ ├── Nancy.ViewEngines.Razor.BuildProviders.csproj
│ │ └── NancyCSharpRazorBuildProvider.cs
│ └── Nancy.ViewEngines.Spark/
│ ├── Descriptors/
│ │ ├── BuildDescriptorParams.cs
│ │ ├── DefaultDescriptorBuilder.cs
│ │ ├── DescriptorFilterExtensions.cs
│ │ ├── IDescriptorBuilder.cs
│ │ └── IDescriptorFilter.cs
│ ├── Nancy.ViewEngines.Spark.csproj
│ ├── NancyBindingProvider.cs
│ ├── NancySparkView.cs
│ ├── NancyViewData.cs
│ ├── NancyViewFolder.cs
│ ├── SparkRenderContextWrapper.cs
│ ├── SparkViewEngine.cs
│ └── SparkViewEngineResult.cs
├── test/
│ ├── Directory.Build.props
│ ├── Nancy.Authentication.Basic.Tests/
│ │ ├── BasicAuthenticationConfigurationFixture.cs
│ │ ├── BasicAuthenticationFixture.cs
│ │ └── Nancy.Authentication.Basic.Tests.csproj
│ ├── Nancy.Authentication.Forms.Tests/
│ │ ├── FormsAuthenticationConfigurationFixture.cs
│ │ ├── FormsAuthenticationFixture.cs
│ │ └── Nancy.Authentication.Forms.Tests.csproj
│ ├── Nancy.Embedded.Tests/
│ │ ├── Nancy.Embedded.Tests.csproj
│ │ ├── Resources/
│ │ │ ├── Subfolder/
│ │ │ │ └── embedded2.txt
│ │ │ ├── Subfolder-with-hyphen/
│ │ │ │ └── embedded3.txt
│ │ │ └── embedded.txt
│ │ └── Unit/
│ │ └── EmbeddedStaticContentConventionBuilderFixture.cs
│ ├── Nancy.Encryption.MachineKey.Tests/
│ │ ├── MachineConfigEncryptionProviderFixture.cs
│ │ ├── MachineKeyHmacProviderFixture.cs
│ │ └── Nancy.Encryption.MachineKey.Tests.csproj
│ ├── Nancy.Hosting.Aspnet.Tests/
│ │ ├── Nancy.Hosting.Aspnet.Tests.csproj
│ │ └── NancyHandlerFixture.cs
│ ├── Nancy.Hosting.Self.Tests/
│ │ ├── IsCaseInstensitiveBaseOfFixture.cs
│ │ ├── MakeAppLocalPathFixture.cs
│ │ ├── Nancy.Hosting.Self.Tests.csproj
│ │ ├── NancySelfHostFixture.cs
│ │ └── TestModule.cs
│ ├── Nancy.Metadata.Modules.Tests/
│ │ ├── DefaultMetadataModuleConventionsFixture.cs
│ │ ├── FakeNancyMetadataModule.cs
│ │ ├── FakeNancyModule.cs
│ │ ├── Metadata/
│ │ │ └── FakeNancyMetadataModule.cs
│ │ ├── MetadataModuleFixture.cs
│ │ ├── MetadataModuleRouteMetadataProviderFixture.cs
│ │ ├── Modules/
│ │ │ └── FakeNancyModule.cs
│ │ └── Nancy.Metadata.Modules.Tests.csproj
│ ├── Nancy.Owin.Tests/
│ │ ├── AppBuilderExtensionsFixture.cs
│ │ └── Nancy.Owin.Tests.csproj
│ ├── Nancy.Testing.Tests/
│ │ ├── AndConnectorTests.cs
│ │ ├── AssertEqualityComparerFixture.cs
│ │ ├── AssertExtensionsTests.cs
│ │ ├── BrowserContextExtensionsFixture.cs
│ │ ├── BrowserDefaultsFixture.cs
│ │ ├── BrowserFixture.cs
│ │ ├── BrowserResponseBodyWrapperExtensionsFixture.cs
│ │ ├── BrowserResponseBodyWrapperFixture.cs
│ │ ├── BrowserResponseExtensionsTests.cs
│ │ ├── CaseSensitivityFixture.cs
│ │ ├── ConfigurableBootstrapperDependenciesTests.cs
│ │ ├── ConfigurableBootstrapperFixture.cs
│ │ ├── ContextExtensionsTests.cs
│ │ ├── DocumentWrapperTests.cs
│ │ ├── Nancy.Testing.Tests.csproj
│ │ ├── PathHelperTests.cs
│ │ ├── QueryWrapperTests.cs
│ │ └── TestingViewExtensions/
│ │ ├── GetModelExtententionsTests.cs
│ │ ├── GetModuleNameExtensionTests.cs
│ │ ├── GetModulePathExtensionMethodTests.cs
│ │ ├── GetViewNameExtensionTests.cs
│ │ ├── TestingViewFactoryTestModule.cs
│ │ └── ViewFactoryTest.sshtml
│ ├── Nancy.Tests/
│ │ ├── Extensions/
│ │ │ └── ResponseExtensions.cs
│ │ ├── Fakes/
│ │ │ ├── FakeDefaultNancyBootstrapper.cs
│ │ │ ├── FakeHookedModule.cs
│ │ │ ├── FakeModuleCatalog.cs
│ │ │ ├── FakeNancyModule.cs
│ │ │ ├── FakeNancyModuleNoRoutes.cs
│ │ │ ├── FakeNancyModuleWithBasePath.cs
│ │ │ ├── FakeNancyModuleWithDependency.cs
│ │ │ ├── FakeNancyModuleWithPreAndPostHooks.cs
│ │ │ ├── FakeNancyModuleWithoutBasePath.cs
│ │ │ ├── FakeObjectSerializer.cs
│ │ │ ├── FakeRequest.cs
│ │ │ ├── FakeRoute.cs
│ │ │ ├── FakeRouteCache.cs
│ │ │ ├── FakeRouteResolver.cs
│ │ │ ├── FakeViewEngine.cs
│ │ │ ├── FakeViewEngineHost.cs
│ │ │ ├── MockPipelines.cs
│ │ │ ├── Person.cs
│ │ │ ├── PersonWithAgeField.cs
│ │ │ ├── StructModel.cs
│ │ │ └── ViewModel.cs
│ │ ├── Helpers/
│ │ │ ├── AssemblyHelpers.cs
│ │ │ ├── CacheHelpersFixture.cs
│ │ │ └── ExceptionExtensionsFixture.cs
│ │ ├── Nancy.Tests.csproj
│ │ ├── NoAppStartupsFixture.cs
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ ├── Resources/
│ │ │ ├── Assets/
│ │ │ │ └── Styles/
│ │ │ │ ├── Sub/
│ │ │ │ │ └── styles.css
│ │ │ │ ├── Sub.folder/
│ │ │ │ │ └── styles.css
│ │ │ │ ├── css/
│ │ │ │ │ └── styles.css
│ │ │ │ ├── dotted.filename.css
│ │ │ │ ├── space in name.css
│ │ │ │ ├── strange-css-filename.css
│ │ │ │ └── styles.css
│ │ │ ├── Link.Texts.Designer.cs
│ │ │ ├── Link.Texts.resx
│ │ │ ├── Menu.Designer.cs
│ │ │ ├── Menu.Texts.Designer.cs
│ │ │ ├── Menu.Texts.resx
│ │ │ ├── Menu.resx
│ │ │ ├── Views/
│ │ │ │ ├── SuperSimpleViewEngineSampleContent.cs
│ │ │ │ └── staticviewresource.html
│ │ │ └── test.txt
│ │ ├── Responses/
│ │ │ └── MaterialisingResponseFixture.cs
│ │ ├── ShouldExtensions.cs
│ │ ├── Unit/
│ │ │ ├── AfterPipelineFixture.cs
│ │ │ ├── AppDomainAssemblyCatalogFixture.cs
│ │ │ ├── BeforePipelineFixture.cs
│ │ │ ├── Bootstrapper/
│ │ │ │ ├── Base/
│ │ │ │ │ ├── BootstrapperBaseFixtureBase.cs
│ │ │ │ │ └── ModuleCatalogFixtureBase.cs
│ │ │ │ ├── BootstrapperLocatorFixture.cs
│ │ │ │ ├── CollectionTypeRegistrationFixture.cs
│ │ │ │ ├── InstanceRegistrationFixture.cs
│ │ │ │ ├── NancyBootstrapperBaseFixture.cs
│ │ │ │ ├── NancyBootstrapperWithRequestContainerBaseFixture.cs
│ │ │ │ ├── NancyInternalConfigurationFixture.cs
│ │ │ │ ├── PipelinesFixture.cs
│ │ │ │ └── TypeRegistrationFixture.cs
│ │ │ ├── Configuration/
│ │ │ │ ├── DefaultNancyEnvironmentConfiguratorFixture.cs
│ │ │ │ ├── DefaultNancyEnvironmentFactoryFixture.cs
│ │ │ │ ├── DefaultNancyEnvironmentFixture.cs
│ │ │ │ └── INancyEnvironmentExtensionsFixture.cs
│ │ │ ├── Conventions/
│ │ │ │ ├── DefaultAcceptHeaderCoercionConventionsFixture.cs
│ │ │ │ ├── DefaultCultureConventionsFixture.cs
│ │ │ │ ├── DefaultStaticContentsConventionsFixture.cs
│ │ │ │ └── DefaultViewLocationConventionsFixture.cs
│ │ │ ├── Cryptography/
│ │ │ │ ├── AesEncryptionProviderFixture.cs
│ │ │ │ ├── DefaultHmacProviderFixture.cs
│ │ │ │ ├── HmacComparerFixture.cs
│ │ │ │ └── NoEncryptionProviderFixture.cs
│ │ │ ├── Culture/
│ │ │ │ └── BuiltInCultureConventionFixture.cs
│ │ │ ├── DefaultNancyBootstrapperBootstrapperBaseFixture.cs
│ │ │ ├── DefaultNancyBootstrapperFixture.cs
│ │ │ ├── DefaultNancyBootstrapperModuleCatalogFixture.cs
│ │ │ ├── DefaultResponseFormatterFactoryFixture.cs
│ │ │ ├── DefaultResponseFormatterFixture.cs
│ │ │ ├── DefaultSerializerFactoryFixture.cs
│ │ │ ├── Diagnostics/
│ │ │ │ ├── ConcurrentLimitedCollectionFixture.cs
│ │ │ │ ├── CustomInteractiveDiagnosticsFixture.cs
│ │ │ │ ├── DefaultRequestTraceFactoryFixture.cs
│ │ │ │ ├── DiagnosticsHookFixture.cs
│ │ │ │ └── InteractiveDiagnosticsFixture.cs
│ │ │ ├── DynamicDictionaryFixture.cs
│ │ │ ├── DynamicDictionaryValueFixture.cs
│ │ │ ├── ErrorHandling/
│ │ │ │ └── DefaultStatusCodeHandlerFixture.cs
│ │ │ ├── ErrorPipelineFixture.cs
│ │ │ ├── Extensions/
│ │ │ │ ├── ContextExtensionsFixture.cs
│ │ │ │ ├── RequestExtensionsFixture.cs
│ │ │ │ ├── StreamExtensionsFixture.cs
│ │ │ │ ├── StringExtensionsFixture.cs
│ │ │ │ └── TypeExtensionsFixture.cs
│ │ │ ├── FormatterExtensionsFixture.cs
│ │ │ ├── HeadResponseFixture.cs
│ │ │ ├── Helpers/
│ │ │ │ └── HttpUtilityFixture.cs
│ │ │ ├── HttpLinkBuilderFixture.cs
│ │ │ ├── HttpLinkFixture.cs
│ │ │ ├── HttpLinkRelationFixture.cs
│ │ │ ├── HttpMultipartBoundaryFixture.cs
│ │ │ ├── HttpMultipartBufferFixture.cs
│ │ │ ├── HttpMultipartFixture.cs
│ │ │ ├── IO/
│ │ │ │ └── RequestStreamFixture.cs
│ │ │ ├── Json/
│ │ │ │ ├── JavaScriptSerializerFixture.cs
│ │ │ │ ├── Simple/
│ │ │ │ │ └── NancySerializationStrategyFixture.cs
│ │ │ │ ├── SimpleJsonFixture.cs
│ │ │ │ ├── TestConverter.cs
│ │ │ │ ├── TestConverterType.cs
│ │ │ │ ├── TestData.cs
│ │ │ │ ├── TestPrimitiveConverter.cs
│ │ │ │ ├── TestPrimitiveConverterType.cs
│ │ │ │ └── TypeWithTuple.cs
│ │ │ ├── JsonFormatterExtensionsFixtures.cs
│ │ │ ├── JsonSerializerFixture.cs
│ │ │ ├── Localization/
│ │ │ │ └── ResourceBasedTextResourceFixture.cs
│ │ │ ├── MimeTypesFixture.cs
│ │ │ ├── ModelBinding/
│ │ │ │ ├── BindingMemberInfoFixture.cs
│ │ │ │ ├── DefaultBinderFixture.cs
│ │ │ │ ├── DefaultBodyDeserializers/
│ │ │ │ │ ├── JsonBodyDeserializerFixture.cs
│ │ │ │ │ └── XmlBodyDeserializerfixture.cs
│ │ │ │ ├── DefaultConverters/
│ │ │ │ │ ├── CollectionConverterFixture.cs
│ │ │ │ │ └── FallbackConverterFixture.cs
│ │ │ │ ├── DefaultFieldNameConverterFixture.cs
│ │ │ │ ├── DefaultModelBinderLocatorFixture.cs
│ │ │ │ ├── DynamicModelBinderAdapterFixture.cs
│ │ │ │ ├── ModelBindingExceptionFixture.cs
│ │ │ │ └── PropertyBindingExceptionFixture.cs
│ │ │ ├── ModuleNameFixture.cs
│ │ │ ├── NamedPipelineBaseFixture.cs
│ │ │ ├── NancyContextFixture.cs
│ │ │ ├── NancyCookieFixture.cs
│ │ │ ├── NancyEngineFixture.cs
│ │ │ ├── NancyMiddlewareFixture.cs
│ │ │ ├── NancyModuleFixture.cs
│ │ │ ├── NancyOptionsExtensionsFixture.cs
│ │ │ ├── NancyOptionsFixture.cs
│ │ │ ├── RequestFixture.cs
│ │ │ ├── RequestHeadersFixture.cs
│ │ │ ├── ResponseExtensionsFixture.cs
│ │ │ ├── ResponseFixture.cs
│ │ │ ├── Responses/
│ │ │ │ ├── DefaultJsonSerializerFixture.cs
│ │ │ │ ├── EmbeddedFileResponseFixture.cs
│ │ │ │ ├── GenericFileResponseFixture.cs
│ │ │ │ ├── Negotiation/
│ │ │ │ │ ├── DefaultResponseNegotiatorFixture.cs
│ │ │ │ │ └── MediaRangeFixture.cs
│ │ │ │ ├── RedirectResponseFixture.cs
│ │ │ │ ├── StreamResponseFixture.cs
│ │ │ │ └── TextResponseFixture.cs
│ │ │ ├── Routing/
│ │ │ │ ├── ConstraintNodeRouteResolverFixture.cs
│ │ │ │ ├── ConstraintNodeRouteScoringFixture.cs
│ │ │ │ ├── DefaultNancyModuleBuilderFixture.cs
│ │ │ │ ├── DefaultRequestDispatcherFixture.cs
│ │ │ │ ├── DefaultRouteCacheProviderFixture.cs
│ │ │ │ ├── DefaultRouteInvokerFixture.cs
│ │ │ │ ├── DefaultRouteResolverFixture.cs
│ │ │ │ ├── DefaultRouteSegmentExtractorFixture.cs
│ │ │ │ ├── NotFoundRouteFixture.cs
│ │ │ │ ├── RouteCacheFixture.cs
│ │ │ │ ├── RouteDescriptionFixture.cs
│ │ │ │ └── RouteFixture.cs
│ │ │ ├── Security/
│ │ │ │ ├── ClaimsPrincipalExtensionsFixture.cs
│ │ │ │ ├── CsrfFixture.cs
│ │ │ │ ├── DefaultCsrfTokenValidatorFixture.cs
│ │ │ │ ├── ModuleSecurityFixture.cs
│ │ │ │ └── SSLProxyFixture.cs
│ │ │ ├── Sessions/
│ │ │ │ ├── CookieBasedSessionsConfigurationFixture.cs
│ │ │ │ ├── CookieBasedSessionsFixture.cs
│ │ │ │ ├── DefaultSessionObjectFormatterFixture.cs
│ │ │ │ ├── NullSessionProviderFixture.cs
│ │ │ │ └── SessionFixture.cs
│ │ │ ├── StaticContentConventionBuilderFixture.cs
│ │ │ ├── TextFormatterFixture.cs
│ │ │ ├── UrlFixture.cs
│ │ │ ├── Validation/
│ │ │ │ ├── CompositeValidatorFixture.cs
│ │ │ │ ├── DefaultValidatorLocatorFixture.cs
│ │ │ │ ├── ModuleExtensionsFixture.cs
│ │ │ │ └── ValidationResultFixture.cs
│ │ │ ├── ViewEngines/
│ │ │ │ ├── DefaultRenderContextFixture.cs
│ │ │ │ ├── DefaultViewFactoryFixture.cs
│ │ │ │ ├── DefaultViewLocatorFixture.cs
│ │ │ │ ├── DefaultViewResolverFixture.cs
│ │ │ │ ├── FileSystemViewLocationProviderFixture.cs
│ │ │ │ ├── FileSystemViewLocationResultFixture.cs
│ │ │ │ ├── ResourceViewLocationProviderFixture.cs
│ │ │ │ ├── SuperSimpleViewEngineTests.cs
│ │ │ │ ├── ViewEngineStartupFixture.cs
│ │ │ │ └── ViewNotFoundExceptionFixture.cs
│ │ │ └── XmlFormatterExtensionsFixtures.cs
│ │ └── xUnitExtensions/
│ │ ├── RecordAsync.cs
│ │ ├── Skip.cs
│ │ ├── SkipException.cs
│ │ ├── SkippableFactAttribute.cs
│ │ └── UsingCultureAttribute.cs
│ ├── Nancy.Tests.Functional/
│ │ ├── Hidden.txt
│ │ ├── Modules/
│ │ │ ├── AbsoluteUrlTestModule.cs
│ │ │ ├── CookieModule.cs
│ │ │ ├── JsonpTestModule.cs
│ │ │ ├── PerRouteAuthModule.cs
│ │ │ ├── RazorTestModule.cs
│ │ │ ├── RazorWithTracingTestModule.cs
│ │ │ ├── SerializeTestModule.cs
│ │ │ ├── SerializerTestModule.cs
│ │ │ └── ThrowingModule.cs
│ │ ├── Nancy.Tests.Functional.csproj
│ │ ├── Tests/
│ │ │ ├── AbsoluteUrlTests.cs
│ │ │ ├── AsyncExceptionTests.cs
│ │ │ ├── BasicRouteInvocationsFixture.cs
│ │ │ ├── ContentNegotiationFixture.cs
│ │ │ ├── CookieFixture.cs
│ │ │ ├── JsonLdProcessor.cs
│ │ │ ├── JsonpTests.cs
│ │ │ ├── ManualStaticContentTests.cs
│ │ │ ├── MethodRewriteFixture.cs
│ │ │ ├── ModelBindingTests.cs
│ │ │ ├── PartialViewTests.cs
│ │ │ ├── PerRouteAuthFixture.cs
│ │ │ ├── RouteConstraintTests.cs
│ │ │ ├── SerializeTests.cs
│ │ │ ├── SerializerTests.cs
│ │ │ ├── TracingSmokeTests.cs
│ │ │ └── ViewBagTests.cs
│ │ └── Views/
│ │ ├── RazorPage.cshtml
│ │ ├── RazorPageWithUnknownPartial.cshtml
│ │ ├── _LayoutPage.cshtml
│ │ ├── _PartialTest.cshtml
│ │ └── _ViewStart.cshtml
│ ├── Nancy.Validation.DataAnnotations.Tests/
│ │ ├── DataAnnotationsValidatorFactoryFixture.cs
│ │ ├── DataAnnotationsValidatorFixture.cs
│ │ ├── DefaultValidatableObjectAdapterFixture.cs
│ │ ├── Nancy.Validation.DataAnnotations.Tests.csproj
│ │ └── PropertyValidatorFixture.cs
│ ├── Nancy.Validation.FluentValidation.Tests/
│ │ ├── DefaultFluentAdapterFactoryFixture.cs
│ │ ├── EmailAdapterFixture.cs
│ │ ├── FluentValidationValidatorFactoryFixture.cs
│ │ └── Nancy.Validation.FluentValidation.Tests.csproj
│ ├── Nancy.ViewEngines.DotLiquid.Tests/
│ │ ├── DotLiquidViewEngineFixture.cs
│ │ ├── DynamicDropFixture.cs
│ │ ├── FakeModel.cs
│ │ ├── Functional/
│ │ │ └── PartialRenderingFixture.cs
│ │ ├── LiquidNancyFileSystemFixture.cs
│ │ ├── Nancy.ViewEngines.DotLiquid.Tests.csproj
│ │ ├── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── Views/
│ │ ├── doublequotedpartial.liquid
│ │ ├── partial.liquid
│ │ ├── singlequotedpartial.liquid
│ │ └── unquotedpartial.liquid
│ ├── Nancy.ViewEngines.Markdown.Tests/
│ │ ├── Markdown/
│ │ │ ├── home.md
│ │ │ ├── htmlmaster.html
│ │ │ ├── master.md
│ │ │ ├── partial.markdown
│ │ │ ├── standalone.md
│ │ │ └── viewwithhtmlmaster.md
│ │ ├── MarkdownViewEngineFixture.cs
│ │ ├── MarkdownViewengineRenderFixture.cs
│ │ ├── Nancy.ViewEngines.Markdown.Tests.csproj
│ │ └── UserModel.cs
│ ├── Nancy.ViewEngines.Razor.Tests/
│ │ ├── GreetingViewBase.cs
│ │ ├── Nancy.ViewEngines.Razor.Tests.csproj
│ │ ├── RazorViewEngineFixture.cs
│ │ ├── TestModel.cs
│ │ ├── TestViews/
│ │ │ ├── Layouts/
│ │ │ │ ├── LayoutWithManySections.cshtml
│ │ │ │ ├── LayoutWithOptionalSection.cshtml
│ │ │ │ ├── LayoutWithOptionalSectionWithDefaults.cshtml
│ │ │ │ ├── LayoutWithSection.cshtml
│ │ │ │ └── SimplyLayout.cshtml
│ │ │ ├── ViewThatUsesAttributeWithCodeInside.cshtml
│ │ │ ├── ViewThatUsesAttributeWithDynamicNullInside.cshtml
│ │ │ ├── ViewThatUsesAttributeWithHtmlStringInside.cshtml
│ │ │ ├── ViewThatUsesAttributeWithNonEncodedHtmlStringInside.cshtml
│ │ │ ├── ViewThatUsesAttributeWithRawHtmlStringInside.cshtml
│ │ │ ├── ViewThatUsesHelper.cshtml
│ │ │ ├── ViewThatUsesLayout.cshtml
│ │ │ ├── ViewThatUsesLayoutAndManySection.cshtml
│ │ │ ├── ViewThatUsesLayoutAndModel.cshtml
│ │ │ ├── ViewThatUsesLayoutAndOptionalSection.cshtml
│ │ │ ├── ViewThatUsesLayoutAndOptionalSectionOverridingDefaults.cshtml
│ │ │ ├── ViewThatUsesLayoutAndOptionalSectionWithDefaults.cshtml
│ │ │ ├── ViewThatUsesLayoutAndSection.cshtml
│ │ │ ├── ViewThatUsesModelCSharp.cshtml
│ │ │ └── ViewThatUsesModelVB.vbhtml
│ │ └── TextResourceFinderFixture.cs
│ ├── Nancy.ViewEngines.Razor.Tests.Models/
│ │ ├── Hobby.cs
│ │ ├── Nancy.ViewEngines.Razor.Tests.Models.csproj
│ │ └── Person.cs
│ └── Nancy.ViewEngines.Spark.Tests/
│ ├── App.config
│ ├── Nancy.ViewEngines.Spark.Tests.csproj
│ ├── NancyViewFolderFixture.cs
│ ├── ShadeViews/
│ │ ├── Features/
│ │ │ ├── ShadeCodeMayBeDashOrAtBraced.shade
│ │ │ ├── ShadeElementsMayStackOnOneLine.shade
│ │ │ ├── ShadeEvaluatesExpressions.shade
│ │ │ ├── ShadeFileRenders.shade
│ │ │ ├── ShadeSupportsAttributesAndMayTreatSomeElementsAsSpecialNodes.shade
│ │ │ ├── ShadeTextMayContainExpressions.shade
│ │ │ └── ShadeThatUsesApplicationLayout.shade
│ │ └── Shared/
│ │ ├── Application.shade
│ │ └── _SimpleValue.spark
│ ├── SparkViewEngineFixture.cs
│ ├── TestViews/
│ │ ├── Layouts/
│ │ │ └── anotherLayout.spark
│ │ ├── Shared/
│ │ │ ├── Application.spark
│ │ │ ├── Partial.spark
│ │ │ ├── elementLayout.spark
│ │ │ └── layout.spark
│ │ └── Stub/
│ │ ├── Index.spark
│ │ ├── List.spark
│ │ ├── PartialTarget.spark
│ │ ├── Subfolder/
│ │ │ └── Subfolderview.spark
│ │ ├── ViewThatChangesGlobalSettings.spark
│ │ ├── ViewThatExpectsALayout.spark
│ │ ├── ViewThatRendersPartialsThatShareState.spark
│ │ ├── ViewThatUsesANullViewModel.spark
│ │ ├── ViewThatUsesAllNamedContentAreas.spark
│ │ ├── ViewThatUsesAnonymousViewModel.spark
│ │ ├── ViewThatUsesApplicationLayout.spark
│ │ ├── ViewThatUsesForeach.spark
│ │ ├── ViewThatUsesFormatting.spark
│ │ ├── ViewThatUsesHtmlEncoding.spark
│ │ ├── ViewThatUsesNamespaces.spark
│ │ ├── ViewThatUsesNullHtmlEncoding.spark
│ │ ├── ViewThatUsesPartial.spark
│ │ ├── ViewThatUsesPartialImplicitly.spark
│ │ ├── ViewThatUsesTildeSubstitution.spark
│ │ ├── ViewThatUsesTildeSubstitutionWithSparkReplace.spark
│ │ ├── ViewThatUsesViewDataForViewBag.spark
│ │ ├── ViewThatUsesViewModel.spark
│ │ └── _Row.spark
│ └── ViewModels/
│ └── FakeViewModel.cs
└── tools/
└── xunit/
├── HTML.xslt
├── NUnitXml.xslt
├── xUnit1.xslt
├── xunit.console.exe.config
├── xunit.console.x86.exe.config
└── xunitmono.sh
Showing preview only (717K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (6994 symbols across 955 files)
FILE: samples/Nancy.Demo.Async/MainModule.cs
class MainModule (line 7) | public class MainModule : NancyModule
method MainModule (line 9) | public MainModule()
method AddToLog (line 47) | private void AddToLog(string logLine)
method GetLog (line 57) | private string GetLog()
FILE: samples/Nancy.Demo.Async/Program.cs
class Program (line 11) | class Program
method Main (line 13) | static void Main(string[] args)
method GetEngine (line 49) | private static INancyEngine GetEngine()
method ShowHeader (line 58) | private static void ShowHeader()
method GetBody (line 69) | private static string GetBody(NancyContext result)
method GetRequest (line 82) | private static Request GetRequest(string path = "/")
FILE: samples/Nancy.Demo.Authentication.Basic/AuthenticationBootstrapper.cs
class AuthenticationBootstrapper (line 7) | public class AuthenticationBootstrapper : DefaultNancyBootstrapper
method ApplicationStartup (line 9) | protected override void ApplicationStartup(TinyIoCContainer container,...
FILE: samples/Nancy.Demo.Authentication.Basic/MainModule.cs
class MainModule (line 3) | public class MainModule : NancyModule
method MainModule (line 5) | public MainModule()
FILE: samples/Nancy.Demo.Authentication.Basic/SecureModule.cs
class SecureModule (line 5) | public class SecureModule : NancyModule
method SecureModule (line 7) | public SecureModule() : base("/secure")
FILE: samples/Nancy.Demo.Authentication.Basic/UserValidator.cs
class UserValidator (line 8) | public class UserValidator : IUserValidator
method Validate (line 10) | public ClaimsPrincipal Validate(string username, string password)
FILE: samples/Nancy.Demo.Authentication.Forms.TestingDemo/LoginFixture.cs
class LoginFixture (line 9) | public class LoginFixture
method LoginFixture (line 13) | public LoginFixture()
method Should_redirect_to_login_with_error_querystring_if_username_or_password_incorrect (line 19) | [Fact]
method Should_display_error_message_when_error_passed (line 33) | [Fact]
FILE: samples/Nancy.Demo.Authentication.Forms.TestingDemo/TestBootstrapper.cs
class TestBootstrapper (line 3) | public class TestBootstrapper : FormsAuthBootstrapper
FILE: samples/Nancy.Demo.Authentication.Forms.TestingDemo/TestRootPathProvider.cs
class TestRootPathProvider (line 7) | public class TestRootPathProvider : IRootPathProvider
method GetRootPath (line 9) | public string GetRootPath()
FILE: samples/Nancy.Demo.Authentication.Forms/FormsAuthBootstrapper.cs
class FormsAuthBootstrapper (line 7) | public class FormsAuthBootstrapper : DefaultNancyBootstrapper
method ConfigureApplicationContainer (line 9) | protected override void ConfigureApplicationContainer(TinyIoCContainer...
method ConfigureRequestContainer (line 15) | protected override void ConfigureRequestContainer(TinyIoCContainer con...
method RequestStartup (line 25) | protected override void RequestStartup(TinyIoCContainer requestContain...
FILE: samples/Nancy.Demo.Authentication.Forms/MainModule.cs
class MainModule (line 9) | public class MainModule : NancyModule
method MainModule (line 11) | public MainModule()
FILE: samples/Nancy.Demo.Authentication.Forms/Models/UserModel.cs
class UserModel (line 3) | public class UserModel
method UserModel (line 7) | public UserModel(string username)
FILE: samples/Nancy.Demo.Authentication.Forms/PartlySecureModule.cs
class PartlySecureModule (line 6) | public class PartlySecureModule : NancyModule
method PartlySecureModule (line 8) | public PartlySecureModule()
FILE: samples/Nancy.Demo.Authentication.Forms/SecureModule.cs
class SecureModule (line 6) | public class SecureModule : NancyModule
method SecureModule (line 8) | public SecureModule() : base("/secure")
FILE: samples/Nancy.Demo.Authentication.Forms/UserDatabase.cs
class UserDatabase (line 11) | public class UserDatabase : IUserMapper
method UserDatabase (line 15) | static UserDatabase()
method GetUserFromIdentifier (line 21) | public ClaimsPrincipal GetUserFromIdentifier(Guid identifier, NancyCon...
method ValidateUser (line 30) | public static Guid? ValidateUser(string username, string password)
FILE: samples/Nancy.Demo.Authentication.Stateless.Website/Scripts/apiToken.js
function createCookie (line 25) | function createCookie(name, value, days) {
function readCookie (line 35) | function readCookie(name) {
function eraseCookie (line 50) | function eraseCookie(name) {
FILE: samples/Nancy.Demo.Authentication.Stateless/AuthModule.cs
class AuthModule (line 3) | public class AuthModule : NancyModule
method AuthModule (line 5) | public AuthModule() : base("/auth/")
FILE: samples/Nancy.Demo.Authentication.Stateless/Models/UserModel.cs
class UserModel (line 3) | public class UserModel
method UserModel (line 7) | public UserModel(string username)
FILE: samples/Nancy.Demo.Authentication.Stateless/RootModule.cs
class RootModule (line 3) | public class RootModule : NancyModule
method RootModule (line 5) | public RootModule()
FILE: samples/Nancy.Demo.Authentication.Stateless/SecureModule.cs
class SecureModule (line 7) | public class SecureModule : NancyModule
method SecureModule (line 11) | public SecureModule()
FILE: samples/Nancy.Demo.Authentication.Stateless/StatelessAuthBootstrapper.cs
class StatelessAuthBootstrapper (line 7) | public class StatelessAuthBootstrapper : DefaultNancyBootstrapper
method RequestStartup (line 9) | protected override void RequestStartup(TinyIoCContainer requestContain...
method AllowAccessToConsumingSite (line 33) | static void AllowAccessToConsumingSite(IPipelines pipelines)
FILE: samples/Nancy.Demo.Authentication.Stateless/UserDatabase.cs
class UserDatabase (line 9) | public class UserDatabase
method UserDatabase (line 14) | static UserDatabase()
method GetUserFromApiKey (line 20) | public static ClaimsPrincipal GetUserFromApiKey(string apiKey)
method ValidateUser (line 33) | public static string ValidateUser(string username, string password)
method RemoveApiKey (line 49) | public static void RemoveApiKey(string apiKey)
method CreateUser (line 55) | public static Tuple<string, string> CreateUser(string username, string...
FILE: samples/Nancy.Demo.Authentication/AnotherVerySecureModule.cs
class AnotherVerySecureModule (line 10) | public class AnotherVerySecureModule : NancyModule
method AnotherVerySecureModule (line 12) | public AnotherVerySecureModule() : base("/superSecure")
FILE: samples/Nancy.Demo.Authentication/AuthenticationBootstrapper.cs
class AuthenticationBootstrapper (line 11) | public class AuthenticationBootstrapper : DefaultNancyBootstrapper
method ApplicationStartup (line 13) | protected override void ApplicationStartup(TinyIoCContainer container,...
method BuildClaims (line 49) | private static IEnumerable<Claim> BuildClaims(string userName)
FILE: samples/Nancy.Demo.Authentication/MainModule.cs
class MainModule (line 3) | public class MainModule : NancyModule
method MainModule (line 5) | public MainModule()
FILE: samples/Nancy.Demo.Authentication/Models/UserModel.cs
class UserModel (line 3) | public class UserModel
method UserModel (line 7) | public UserModel(string username)
FILE: samples/Nancy.Demo.Authentication/SecureModule.cs
class SecureModule (line 6) | public class SecureModule : NancyModule
method SecureModule (line 8) | public SecureModule() : base("/secure")
FILE: samples/Nancy.Demo.Bootstrapper.Aspnet/ApplicationDependencyClass.cs
class ApplicationDependencyClass (line 10) | public class ApplicationDependencyClass : IApplicationDependency
method ApplicationDependencyClass (line 17) | public ApplicationDependencyClass()
method GetContent (line 22) | public string GetContent()
FILE: samples/Nancy.Demo.Bootstrapper.Aspnet/Bootstrapper.cs
class Bootstrapper (line 7) | public class Bootstrapper : DefaultNancyAspNetBootstrapper
method ConfigureApplicationContainer (line 9) | protected override void ConfigureApplicationContainer(TinyIoCContainer...
FILE: samples/Nancy.Demo.Bootstrapper.Aspnet/DependencyModule.cs
class DependencyModule (line 5) | public class DependencyModule : NancyModule
method DependencyModule (line 10) | public DependencyModule(IApplicationDependency applicationDependency, ...
FILE: samples/Nancy.Demo.Bootstrapper.Aspnet/IApplicationDependency.cs
type IApplicationDependency (line 3) | public interface IApplicationDependency
method GetContent (line 5) | string GetContent();
FILE: samples/Nancy.Demo.Bootstrapper.Aspnet/IRequestDependency.cs
type IRequestDependency (line 3) | public interface IRequestDependency
method GetContent (line 5) | string GetContent();
FILE: samples/Nancy.Demo.Bootstrapper.Aspnet/Models/RatPack.cs
class RatPack (line 3) | public class RatPack
FILE: samples/Nancy.Demo.Bootstrapper.Aspnet/Models/RatPackWithDependencyText.cs
class RatPackWithDependencyText (line 3) | public class RatPackWithDependencyText : RatPack
FILE: samples/Nancy.Demo.Bootstrapper.Aspnet/RequestDependencyClass.cs
class RequestDependencyClass (line 8) | public class RequestDependencyClass : IRequestDependency
method RequestDependencyClass (line 15) | public RequestDependencyClass()
method GetContent (line 20) | public string GetContent()
FILE: samples/Nancy.Demo.Caching/CachedResponse.cs
class CachedResponse (line 15) | public class CachedResponse : Response
method CachedResponse (line 19) | public CachedResponse(Response response)
method PreExecute (line 29) | public override Task PreExecute(NancyContext context)
method GetContents (line 34) | private Action<Stream> GetContents()
FILE: samples/Nancy.Demo.Caching/CachingBootstrapper.cs
class CachingBootstrapper (line 10) | public class CachingBootstrapper : DefaultNancyBootstrapper
method ApplicationStartup (line 16) | protected override void ApplicationStartup(TinyIoCContainer container,...
method CheckCache (line 31) | public Response CheckCache(NancyContext context)
method SetCache (line 52) | public void SetCache(NancyContext context)
FILE: samples/Nancy.Demo.Caching/CachingExtensions/ContextExtensions.cs
class ContextExtensions (line 3) | public static class ContextExtensions
method EnableOutputCache (line 12) | public static void EnableOutputCache(this NancyContext context, int se...
method DisableOutputCache (line 21) | public static void DisableOutputCache(this NancyContext context)
FILE: samples/Nancy.Demo.Caching/MainModule.cs
class MainModule (line 6) | public class MainModule : NancyModule
method MainModule (line 8) | public MainModule()
FILE: samples/Nancy.Demo.ConstraintRouting/ConstraintRoutingModule.cs
class ConstraintRoutingModule (line 3) | public class ConstraintRoutingModule : NancyModule
method ConstraintRoutingModule (line 5) | public ConstraintRoutingModule()
FILE: samples/Nancy.Demo.ConstraintRouting/EmailRouteSegmentConstraint.cs
class EmailRouteSegmentConstraint (line 5) | public class EmailRouteSegmentConstraint : RouteSegmentConstraintBase<st...
method TryMatch (line 12) | protected override bool TryMatch(string constraint, string segment, ou...
FILE: samples/Nancy.Demo.CustomModule/DemoBootstrapper.cs
class DemoBootstrapper (line 6) | public class DemoBootstrapper : DefaultNancyBootstrapper
method Configure (line 8) | public override void Configure(INancyEnvironment environment)
FILE: samples/Nancy.Demo.CustomModule/MainModule.cs
class MainModule (line 3) | public class MainModule : UglifiedNancyModule
method Root (line 5) | [NancyRoute("GET", "/")]
method FilteredFilter (line 11) | public bool FilteredFilter(NancyContext context)
method Filtered (line 16) | [NancyRoute("GET", "/filtered")]
FILE: samples/Nancy.Demo.CustomModule/NancyRouteAttribute.cs
class NancyRouteAttribute (line 5) | public class NancyRouteAttribute : Attribute
method NancyRouteAttribute (line 17) | public NancyRouteAttribute(string method, string path)
FILE: samples/Nancy.Demo.CustomModule/UglifiedNancyModule.cs
class UglifiedNancyModule (line 21) | public abstract class UglifiedNancyModule : INancyModule
method UglifiedNancyModule (line 55) | public UglifiedNancyModule()
method UglifiedNancyModule (line 70) | private UglifiedNancyModule(string modulePath)
method GetRoutes (line 79) | private IEnumerable<Route> GetRoutes()
method GetFilter (line 111) | private Func<NancyContext, bool> GetFilter(string routeMethodName)
method WrapFunc (line 129) | private static Func<dynamic, CancellationToken, Task<dynamic>> WrapFun...
FILE: samples/Nancy.Demo.Hosting.Aspnet/ApplicationDependencyClass.cs
class ApplicationDependencyClass (line 8) | public class ApplicationDependencyClass : IApplicationDependency
method ApplicationDependencyClass (line 15) | public ApplicationDependencyClass()
method GetContent (line 20) | public string GetContent()
FILE: samples/Nancy.Demo.Hosting.Aspnet/CustomStatusHandler.cs
class CustomStatusCodeHandler (line 5) | public class CustomStatusCodeHandler : IStatusCodeHandler
method HandlesStatusCode (line 13) | public bool HandlesStatusCode(HttpStatusCode statusCode, NancyContext ...
method Handle (line 23) | public void Handle(HttpStatusCode statusCode, NancyContext context)
FILE: samples/Nancy.Demo.Hosting.Aspnet/DefaultRouteMetadataProvider.cs
class DefaultRouteMetadataProvider (line 7) | public class DefaultRouteMetadataProvider : RouteMetadataProvider<MyRout...
method GetRouteMetadata (line 11) | protected override MyRouteMetadata GetRouteMetadata(INancyModule modul...
class MyRouteMetadata (line 20) | public class MyRouteMetadata
method MyRouteMetadata (line 22) | public MyRouteMetadata(string method, string path)
FILE: samples/Nancy.Demo.Hosting.Aspnet/DemoBootstrapper.cs
class DemoBootstrapper (line 17) | public class DemoBootstrapper : DefaultNancyBootstrapper
method ConfigureApplicationContainer (line 21) | protected override void ConfigureApplicationContainer(TinyIoCContainer...
method Configure (line 30) | public override void Configure(INancyEnvironment environment)
method ConfigureRequestContainer (line 55) | protected override void ConfigureRequestContainer(TinyIoCContainer exi...
method ApplicationStartup (line 62) | protected override void ApplicationStartup(TinyIoCContainer container,...
class MyRazorConfiguration (line 84) | public class MyRazorConfiguration : IRazorConfiguration
method GetAssemblyNames (line 94) | public IEnumerable<string> GetAssemblyNames()
method GetDefaultNamespaces (line 99) | public IEnumerable<string> GetDefaultNamespaces()
class CustomResourceAssemblyProvider (line 105) | public class CustomResourceAssemblyProvider : IResourceAssemblyProvider
method CustomResourceAssemblyProvider (line 110) | public CustomResourceAssemblyProvider(IAssemblyCatalog assemblyCatalog)
method GetAssembliesToScan (line 115) | public IEnumerable<Assembly> GetAssembliesToScan()
FILE: samples/Nancy.Demo.Hosting.Aspnet/DependencyModule.cs
class DependencyModule (line 5) | public class DependencyModule : NancyModule
method DependencyModule (line 10) | public DependencyModule(IApplicationDependency applicationDependency, ...
FILE: samples/Nancy.Demo.Hosting.Aspnet/HereBeAResponseYouScurvyDog.cs
class HereBeAResponseYouScurvyDog (line 9) | public class HereBeAResponseYouScurvyDog : Response
method HereBeAResponseYouScurvyDog (line 13) | public HereBeAResponseYouScurvyDog(Response response)
method GetContents (line 28) | protected static Action<Stream> GetContents(string contents)
FILE: samples/Nancy.Demo.Hosting.Aspnet/IApplicationDependency.cs
type IApplicationDependency (line 3) | public interface IApplicationDependency
method GetContent (line 5) | string GetContent();
FILE: samples/Nancy.Demo.Hosting.Aspnet/IRequestDependency.cs
type IRequestDependency (line 3) | public interface IRequestDependency
method GetContent (line 5) | string GetContent();
FILE: samples/Nancy.Demo.Hosting.Aspnet/MainModule.cs
class MainModule (line 11) | public class MainModule : NancyModule
method MainModule (line 13) | public MainModule(IRouteCacheProvider routeCacheProvider, INancyEnviro...
FILE: samples/Nancy.Demo.Hosting.Aspnet/Metadata/MainMetadataModule.cs
class MainMetadataModule (line 5) | public class MainMetadataModule : MetadataModule<MyUberRouteMetadata>
method MainMetadataModule (line 7) | public MainMetadataModule()
FILE: samples/Nancy.Demo.Hosting.Aspnet/Metadata/MyUberRouteMetadata.cs
class MyUberRouteMetadata (line 3) | public class MyUberRouteMetadata : MyRouteMetadata
method MyUberRouteMetadata (line 5) | public MyUberRouteMetadata(string method, string path)
FILE: samples/Nancy.Demo.Hosting.Aspnet/Models/Payload.cs
class Payload (line 5) | [Serializable]
method Payload (line 17) | public Payload(int intValue, bool boolValue, string stringValue)
method Equals (line 24) | public bool Equals(Payload other)
method Equals (line 39) | public override bool Equals(object obj)
method GetHashCode (line 54) | public override int GetHashCode()
method ToString (line 75) | public override string ToString()
FILE: samples/Nancy.Demo.Hosting.Aspnet/Models/RatPack.cs
class RatPack (line 3) | public class RatPack
FILE: samples/Nancy.Demo.Hosting.Aspnet/Models/RatPackWithDependencyText.cs
class RatPackWithDependencyText (line 3) | public class RatPackWithDependencyText : RatPack
FILE: samples/Nancy.Demo.Hosting.Aspnet/Models/Razor2.cs
class Razor2 (line 3) | public class Razor2
method Razor2 (line 19) | public Razor2()
FILE: samples/Nancy.Demo.Hosting.Aspnet/Models/SomeViewModel.cs
class SomeViewModel (line 3) | public class SomeViewModel
FILE: samples/Nancy.Demo.Hosting.Aspnet/MyConfig.cs
class MyConfig (line 7) | public class MyConfig
method MyConfig (line 9) | public MyConfig(string value)
FILE: samples/Nancy.Demo.Hosting.Aspnet/MyConfigExtensions.cs
class MyConfigExtensions (line 10) | public static class MyConfigExtensions
method MyConfig (line 12) | public static void MyConfig(this INancyEnvironment environment, string...
FILE: samples/Nancy.Demo.Hosting.Aspnet/Piratizer4000.cs
class HereBePiratesYarrr (line 11) | public static class HereBePiratesYarrr
method ToSentenceCase (line 13) | public static string ToSentenceCase(this string input)
method HereBePiratesYarrr (line 21) | static HereBePiratesYarrr()
method Piratize (line 94) | public static string Piratize(this string boringEnglishString)
FILE: samples/Nancy.Demo.Hosting.Aspnet/PngSerializer.cs
class PngSerializer (line 13) | public class PngSerializer : ISerializer
method PngSerializer (line 17) | public PngSerializer(IRootPathProvider rootPathProvider)
method CanSerialize (line 27) | public bool CanSerialize(MediaRange mediaRange)
method Serialize (line 48) | public void Serialize<TModel>(MediaRange mediaRange, TModel model, Str...
FILE: samples/Nancy.Demo.Hosting.Aspnet/RequestDependencyClass.cs
class RequestDependencyClass (line 8) | public class RequestDependencyClass : IRequestDependency
method RequestDependencyClass (line 15) | public RequestDependencyClass()
method GetContent (line 20) | public string GetContent()
FILE: samples/Nancy.Demo.Hosting.Aspnet/Resources/Menu.Designer.cs
class Menu (line 27) | [GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "4...
method Menu (line 36) | [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivate...
FILE: samples/Nancy.Demo.Hosting.Kestrel/AppConfiguration.cs
class AppConfiguration (line 3) | public class AppConfiguration : IAppConfiguration
class LogLevel (line 9) | public class LogLevel
class Logging (line 16) | public class Logging
class Smtp (line 22) | public class Smtp
FILE: samples/Nancy.Demo.Hosting.Kestrel/DemoBootstrapper.cs
class DemoBootstrapper (line 6) | public class DemoBootstrapper : DefaultNancyBootstrapper
method DemoBootstrapper (line 10) | public DemoBootstrapper()
method DemoBootstrapper (line 14) | public DemoBootstrapper(IAppConfiguration appConfig)
method ConfigureApplicationContainer (line 19) | protected override void ConfigureApplicationContainer(TinyIoCContainer...
FILE: samples/Nancy.Demo.Hosting.Kestrel/HomeModule.cs
class HomeModule (line 5) | public class HomeModule : NancyModule
method HomeModule (line 7) | public HomeModule(IAppConfiguration appConfig)
FILE: samples/Nancy.Demo.Hosting.Kestrel/IAppConfiguration.cs
type IAppConfiguration (line 3) | public interface IAppConfiguration
FILE: samples/Nancy.Demo.Hosting.Kestrel/Person.cs
class Person (line 3) | public class Person
FILE: samples/Nancy.Demo.Hosting.Kestrel/PersonValidator.cs
class PersonValidator (line 5) | public class PersonValidator : AbstractValidator<Person>
method PersonValidator (line 7) | public PersonValidator()
FILE: samples/Nancy.Demo.Hosting.Kestrel/Program.cs
class Program (line 6) | public class Program
method Main (line 8) | public static void Main(string[] args)
FILE: samples/Nancy.Demo.Hosting.Kestrel/Startup.cs
class Startup (line 8) | public class Startup
method Startup (line 12) | public Startup(IHostingEnvironment env)
method Configure (line 21) | public void Configure(IApplicationBuilder app)
FILE: samples/Nancy.Demo.Hosting.Owin/MainModule.cs
class MainModule (line 6) | public class MainModule : NancyModule
method MainModule (line 8) | public MainModule()
method Root (line 13) | private object Root(dynamic o)
method GetOwinEnvironmentValue (line 30) | private static T GetOwinEnvironmentValue<T>(IDictionary<string, object...
FILE: samples/Nancy.Demo.Hosting.Owin/Models/Index.cs
class Index (line 3) | public class Index
FILE: samples/Nancy.Demo.Hosting.Owin/Startup.cs
class Startup (line 5) | public class Startup
method Configuration (line 7) | public void Configuration(IAppBuilder app)
FILE: samples/Nancy.Demo.Hosting.Self/DemoBootstrapper.cs
class DemoBootstrapper (line 6) | public class DemoBootstrapper : DefaultNancyBootstrapper
method Configure (line 8) | public override void Configure(Nancy.Configuration.INancyEnvironment e...
FILE: samples/Nancy.Demo.Hosting.Self/Models/Index.cs
class Index (line 3) | public class Index
method Index (line 9) | public Index()
FILE: samples/Nancy.Demo.Hosting.Self/Program.cs
class Program (line 8) | class Program
method Main (line 10) | static void Main()
FILE: samples/Nancy.Demo.Hosting.Self/TestModule.cs
class TestModule (line 6) | public class TestModule : NancyModule
method TestModule (line 8) | public TestModule()
FILE: samples/Nancy.Demo.MarkdownViewEngine/Model/BlogModel.cs
class BlogModel (line 12) | [Serializable]
method BlogModel (line 38) | public BlogModel(string markdown)
method GetTags (line 62) | private IEnumerable<string> GetTags()
method GetBlogDate (line 72) | private DateTime GetBlogDate()
method GetTitle (line 84) | private string GetTitle()
method GetAbstract (line 92) | private string GetAbstract(string content)
method GenerateSlug (line 109) | private string GenerateSlug(char spacer = '-', bool removeStopWords = ...
method RemoveAccent (line 127) | public string RemoveAccent(string txt)
FILE: samples/Nancy.Demo.MarkdownViewEngine/Modules/HomeModule.cs
class HomeModule (line 10) | public class HomeModule : NancyModule
method HomeModule (line 14) | public HomeModule(IViewLocationProvider viewLocationProvider)
method GetModel (line 42) | private IEnumerable<BlogModel> GetModel()
FILE: samples/Nancy.Demo.ModelBinding/CustomersModule.cs
class CustomersModule (line 9) | public class CustomersModule : NancyModule
method CustomersModule (line 11) | public CustomersModule()
FILE: samples/Nancy.Demo.ModelBinding/Database/DB.cs
class DB (line 7) | public static class DB
method DB (line 13) | static DB()
FILE: samples/Nancy.Demo.ModelBinding/EventsModule.cs
class EventsModule (line 9) | public class EventsModule : NancyModule
method EventsModule (line 11) | public EventsModule()
FILE: samples/Nancy.Demo.ModelBinding/JsonModule.cs
class JsonModule (line 7) | public class JsonModule : NancyModule
method JsonModule (line 9) | public JsonModule()
FILE: samples/Nancy.Demo.ModelBinding/MainModule.cs
class MainModule (line 3) | public class MainModule : NancyModule
method MainModule (line 5) | public MainModule()
FILE: samples/Nancy.Demo.ModelBinding/ModelBinders/CustomerModelBinder.cs
class CustomerModelBinder (line 11) | public class CustomerModelBinder : IModelBinder
method CanBind (line 18) | public bool CanBind(Type modelType)
method Bind (line 32) | public object Bind(NancyContext context, Type modelType, object instan...
FILE: samples/Nancy.Demo.ModelBinding/ModelBindingBootstrapper.cs
class ModelBindingBootstrapper (line 3) | public class ModelBindingBootstrapper : DefaultNancyBootstrapper
FILE: samples/Nancy.Demo.ModelBinding/Models/Customer.cs
class Customer (line 5) | public class Customer
FILE: samples/Nancy.Demo.ModelBinding/Models/Event.cs
class Event (line 6) | public class Event
method Event (line 18) | public Event()
FILE: samples/Nancy.Demo.ModelBinding/Models/User.cs
class User (line 3) | public class User
FILE: samples/Nancy.Demo.ModelBinding/XmlModule.cs
class XmlModule (line 8) | public class XmlModule : NancyModule
method XmlModule (line 10) | public XmlModule()
FILE: samples/Nancy.Demo.Razor.Localization/CustomResourceAssemblyProvider.cs
class CustomResourceAssemblyProvider (line 11) | public class CustomResourceAssemblyProvider : IResourceAssemblyProvider
method CustomResourceAssemblyProvider (line 16) | public CustomResourceAssemblyProvider(IAssemblyCatalog assemblyCatalog)
method GetAssembliesToScan (line 21) | public IEnumerable<Assembly> GetAssembliesToScan()
FILE: samples/Nancy.Demo.Razor.Localization/DemoBootstrapper.cs
class DemoBootstrapper (line 6) | public class DemoBootstrapper : DefaultNancyBootstrapper
FILE: samples/Nancy.Demo.Razor.Localization/Modules/HomeModule.cs
class HomeModule (line 5) | public class HomeModule : NancyModule
method HomeModule (line 7) | public HomeModule()
FILE: samples/Nancy.Demo.Razor.Localization/Resources/Text.Designer.cs
class Text (line 27) | [GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "4...
method Text (line 36) | [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivate...
FILE: samples/Nancy.Demo.SparkViewEngine/FifthElement/FifthElementModule.cs
class FifthElementModule (line 3) | public class FifthElementModule : NancyModule
method FifthElementModule (line 8) | public FifthElementModule()
FILE: samples/Nancy.Demo.SparkViewEngine/MainModule.cs
class MainModule (line 3) | public class MainModule : NancyModule
method MainModule (line 8) | public MainModule()
FILE: samples/Nancy.Demo.SuperSimpleViewEngine/MainModule.cs
class MainModule (line 5) | public class MainModule : NancyModule
method MainModule (line 10) | public MainModule()
FILE: samples/Nancy.Demo.SuperSimpleViewEngine/Models/MainModel.cs
class MainModel (line 5) | public class MainModel
method MainModel (line 16) | public MainModel(string name, IEnumerable<User> users, string naughtyS...
class User (line 24) | public class User
method User (line 33) | public User(string firstName, string lastName)
FILE: samples/Nancy.Demo.Validation/CustomersModule.cs
class CustomersModule (line 9) | public class CustomersModule : NancyModule
method CustomersModule (line 11) | public CustomersModule() : base("/customers")
FILE: samples/Nancy.Demo.Validation/Database/DB.cs
class DB (line 7) | public static class DB
method DB (line 11) | static DB()
FILE: samples/Nancy.Demo.Validation/MainModule.cs
class MainModule (line 3) | public class MainModule : NancyModule
method MainModule (line 5) | public MainModule()
FILE: samples/Nancy.Demo.Validation/Models/Customer.cs
class Customer (line 7) | public class Customer : IValidatableObject
method Validate (line 17) | public IEnumerable<ValidationResult> Validate(ValidationContext valida...
FILE: samples/Nancy.Demo.Validation/Models/OddLengthStringAttribute.cs
class OddLengthStringAttribute (line 5) | public class OddLengthStringAttribute : ValidationAttribute
method IsValid (line 7) | protected override ValidationResult IsValid(object value, ValidationCo...
FILE: samples/Nancy.Demo.Validation/Models/OddLengthStringAttributeAdapter.cs
class OddLengthStringAttributeAdapter (line 7) | public class OddLengthStringAttributeAdapter : DataAnnotationsValidatorA...
method OddLengthStringAttributeAdapter (line 9) | public OddLengthStringAttributeAdapter() : base("Compare")
method CanHandle (line 13) | public override bool CanHandle(ValidationAttribute attribute)
FILE: samples/Nancy.Demo.Validation/Models/Product.cs
class Product (line 13) | public class Product
class ProductValidator (line 20) | public class ProductValidator : AbstractValidator<Product>
method ProductValidator (line 22) | public ProductValidator()
class OddLengthStringValidator (line 35) | public class OddLengthStringValidator : PropertyValidator
method OddLengthStringValidator (line 37) | public OddLengthStringValidator()
method IsValid (line 42) | protected override bool IsValid(PropertyValidatorContext context)
class FluentValidationExtensions (line 56) | public static class FluentValidationExtensions
method OddLength (line 58) | public static IRuleBuilderOptions<T, string> OddLength<T>(this IRuleBu...
class OddLengthStringValidatorAdapter (line 64) | public class OddLengthStringValidatorAdapter : AdapterBase
method CanHandle (line 66) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 71) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
class OddLengthStringRule (line 79) | public class OddLengthStringRule : ModelValidationRule
method OddLengthStringRule (line 81) | public OddLengthStringRule(Func<string, string> errorMessageFormatter,...
FILE: samples/Nancy.Demo.Validation/ProductsModule.cs
class ProductsModule (line 7) | public class ProductsModule : NancyModule
method ProductsModule (line 9) | public ProductsModule() : base("/products")
FILE: samples/Nancy.Demo.Validation/ValidationBootstrapper.cs
class ValidationBootstrapper (line 5) | public class ValidationBootstrapper : DefaultNancyBootstrapper
method ConfigureApplicationContainer (line 7) | protected override void ConfigureApplicationContainer(TinyIoCContainer...
FILE: src/Nancy.Authentication.Basic/BasicAuthentication.cs
class BasicAuthentication (line 13) | public static class BasicAuthentication
method Enable (line 22) | public static void Enable(IPipelines pipelines, BasicAuthenticationCon...
method Enable (line 43) | public static void Enable(INancyModule module, BasicAuthenticationConf...
method GetCredentialRetrievalHook (line 66) | private static Func<NancyContext, Response> GetCredentialRetrievalHook...
method GetAuthenticationPromptHook (line 80) | private static Action<NancyContext> GetAuthenticationPromptHook(BasicA...
method RetrieveCredentials (line 91) | private static void RetrieveCredentials(NancyContext context, BasicAut...
method ExtractCredentialsFromHeaders (line 107) | private static string[] ExtractCredentialsFromHeaders(Request request)
method SendAuthenticateResponseHeader (line 135) | private static bool SendAuthenticateResponseHeader(NancyContext contex...
FILE: src/Nancy.Authentication.Basic/BasicAuthenticationConfiguration.cs
class BasicAuthenticationConfiguration (line 8) | public class BasicAuthenticationConfiguration
method BasicAuthenticationConfiguration (line 16) | public BasicAuthenticationConfiguration(IUserValidator userValidator, ...
FILE: src/Nancy.Authentication.Basic/BasicHttpExtensions.cs
class BasicHttpExtensions (line 8) | public static class BasicHttpExtensions
method EnableBasicAuthentication (line 15) | public static void EnableBasicAuthentication(this INancyModule module,...
method EnableBasicAuthentication (line 25) | public static void EnableBasicAuthentication(this IPipelines pipeline,...
FILE: src/Nancy.Authentication.Basic/IUserValidator.cs
type IUserValidator (line 8) | public interface IUserValidator
method Validate (line 16) | ClaimsPrincipal Validate(string username, string password);
FILE: src/Nancy.Authentication.Basic/UserPromptBehaviour.cs
type UserPromptBehaviour (line 6) | public enum UserPromptBehaviour
FILE: src/Nancy.Authentication.Forms/FormsAuthentication.cs
class FormsAuthentication (line 14) | public static class FormsAuthentication
method Enable (line 42) | public static void Enable(IPipelines pipelines, FormsAuthenticationCon...
method Enable (line 70) | public static void Enable(INancyModule module, FormsAuthenticationConf...
method UserLoggedInRedirectResponse (line 105) | public static Response UserLoggedInRedirectResponse(NancyContext conte...
method UserLoggedInResponse (line 144) | public static Response UserLoggedInResponse(Guid userIdentifier, DateT...
method LogOutAndRedirectResponse (line 163) | public static Response LogOutAndRedirectResponse(NancyContext context,...
method LogOutResponse (line 176) | public static Response LogOutResponse()
method GetLoadAuthenticationHook (line 195) | private static Func<NancyContext, Response> GetLoadAuthenticationHook(...
method GetRedirectToLoginHook (line 220) | private static Action<NancyContext> GetRedirectToLoginHook(FormsAuthen...
method GetAuthenticatedUserFromCookie (line 244) | private static Guid GetAuthenticatedUserFromCookie(NancyContext contex...
method BuildCookie (line 275) | private static INancyCookie BuildCookie(Guid userIdentifier, DateTime?...
method BuildLogoutCookie (line 299) | private static INancyCookie BuildLogoutCookie(FormsAuthenticationConfi...
method EncryptAndSignCookie (line 322) | private static string EncryptAndSignCookie(string cookieValue, FormsAu...
method GenerateHmac (line 337) | private static byte[] GenerateHmac(string encryptedCookie, FormsAuthen...
method DecryptAndValidateAuthenticationCookie (line 348) | public static string DecryptAndValidateAuthenticationCookie(string coo...
method GetRedirectQuerystringKey (line 373) | private static string GetRedirectQuerystringKey(FormsAuthenticationCon...
FILE: src/Nancy.Authentication.Forms/FormsAuthenticationConfiguration.cs
class FormsAuthenticationConfiguration (line 9) | public class FormsAuthenticationConfiguration
method FormsAuthenticationConfiguration (line 16) | public FormsAuthenticationConfiguration() : this(CryptographyConfigura...
method FormsAuthenticationConfiguration (line 24) | public FormsAuthenticationConfiguration(CryptographyConfiguration cryp...
method EnsureConfigurationIsValid (line 75) | public virtual void EnsureConfigurationIsValid()
FILE: src/Nancy.Authentication.Forms/IUserMapper.cs
type IUserMapper (line 10) | public interface IUserMapper
method GetUserFromIdentifier (line 18) | ClaimsPrincipal GetUserFromIdentifier(Guid identifier, NancyContext co...
FILE: src/Nancy.Authentication.Forms/ModuleExtensions.cs
class ModuleExtensions (line 10) | public static class ModuleExtensions
method Login (line 20) | public static Response Login(this INancyModule module, Guid userIdenti...
method LoginAndRedirect (line 35) | public static Response LoginAndRedirect(this INancyModule module, Guid...
method LoginWithoutRedirect (line 47) | public static Response LoginWithoutRedirect(this INancyModule module, ...
method Logout (line 58) | public static Response Logout(this INancyModule module, string redirec...
method LogoutAndRedirect (line 71) | public static Response LogoutAndRedirect(this INancyModule module, str...
method LogoutWithoutRedirect (line 81) | public static Response LogoutWithoutRedirect(this INancyModule module)
FILE: src/Nancy.Authentication.Stateless/StatelessAuthentication.cs
class StatelessAuthentication (line 10) | public static class StatelessAuthentication
method Enable (line 17) | public static void Enable(IPipelines pipelines, StatelessAuthenticatio...
method Enable (line 42) | public static void Enable(INancyModule module, StatelessAuthentication...
method GetLoadAuthenticationHook (line 68) | private static Func<NancyContext, Response> GetLoadAuthenticationHook(...
FILE: src/Nancy.Authentication.Stateless/StatelessAuthenticationConfiguration.cs
class StatelessAuthenticationConfiguration (line 9) | public class StatelessAuthenticationConfiguration
method StatelessAuthenticationConfiguration (line 16) | public StatelessAuthenticationConfiguration(Func<NancyContext, ClaimsP...
FILE: src/Nancy.Embedded/Conventions/EmbeddedStaticContentConventionBuilder.cs
class EmbeddedStaticContentConventionBuilder (line 13) | public class EmbeddedStaticContentConventionBuilder
method EmbeddedStaticContentConventionBuilder (line 18) | static EmbeddedStaticContentConventionBuilder()
method AddDirectory (line 30) | public static Func<NancyContext, string, Response> AddDirectory(string...
method BuildContentDelegate (line 69) | private static Func<string, Func<Response>> BuildContentDelegate(Nancy...
method ResolveRelativeFilePath (line 120) | private static string ResolveRelativeFilePath(string fullFilePath)
method GetEncodedPath (line 128) | private static string GetEncodedPath(string path)
method GetSafeRequestPath (line 133) | private static string GetSafeRequestPath(string requestPath, string re...
method GetContentPath (line 149) | private static string GetContentPath(string requestedPath, string cont...
method GetPathWithoutFilename (line 162) | private static string GetPathWithoutFilename(string fileName, string p...
method IsWithinContentFolder (line 178) | private static bool IsWithinContentFolder(string contentRootPath, stri...
FILE: src/Nancy.Encryption.MachineKey/MachineKeyCryptographyConfigurations.cs
class MachineKeyCryptographyConfigurations (line 10) | public static class MachineKeyCryptographyConfigurations
FILE: src/Nancy.Encryption.MachineKey/MachineKeyEncryptionProvider.cs
class MachineKeyEncryptionProvider (line 12) | public class MachineKeyEncryptionProvider : IEncryptionProvider
method Encrypt (line 19) | public string Encrypt(string data)
method Decrypt (line 31) | public string Decrypt(string data)
FILE: src/Nancy.Encryption.MachineKey/MachineKeyHmacProvider.cs
class MachineKeyHmacProvider (line 20) | public class MachineKeyHmacProvider : IHmacProvider
method MachineKeyHmacProvider (line 27) | public MachineKeyHmacProvider()
method GenerateHmac (line 37) | public byte[] GenerateHmac(string data)
method GenerateHmac (line 49) | public byte[] GenerateHmac(byte[] data)
method GetHmacLength (line 61) | private void GetHmacLength()
method HexStringToByteArray (line 85) | private static byte[] HexStringToByteArray(string data)
FILE: src/Nancy.Hosting.Aspnet/AspNetRootPathProvider.cs
class AspNetRootPathProvider (line 5) | public class AspNetRootPathProvider : IRootPathProvider
method GetRootPath (line 7) | public string GetRootPath()
FILE: src/Nancy.Hosting.Aspnet/BootstrapperEntry.cs
class BootstrapperEntry (line 3) | public sealed class BootstrapperEntry
method BootstrapperEntry (line 5) | public BootstrapperEntry(string assembly, string name)
FILE: src/Nancy.Hosting.Aspnet/DefaultNancyAspNetBootstrapper.cs
class DefaultNancyAspNetBootstrapper (line 16) | public abstract class DefaultNancyAspNetBootstrapper : NancyBootstrapper...
method GetDiagnostics (line 22) | protected override IDiagnostics GetDiagnostics()
method GetApplicationStartupTasks (line 46) | protected override IEnumerable<IApplicationStartup> GetApplicationStar...
method RegisterAndGetRequestStartupTasks (line 57) | protected override IEnumerable<IRequestStartup> RegisterAndGetRequestS...
method GetRegistrationTasks (line 66) | protected override IEnumerable<IRegistrations> GetRegistrationTasks()
method GetAllModules (line 76) | public sealed override IEnumerable<INancyModule> GetAllModules(NancyCo...
method GetModule (line 87) | public override INancyModule GetModule(Type moduleType, NancyContext c...
method InitializeRequestPipelines (line 97) | protected sealed override IPipelines InitializeRequestPipelines(NancyC...
method ConfigureApplicationContainer (line 107) | protected override void ConfigureApplicationContainer(TinyIoCContainer...
method GetEngineInternal (line 117) | protected sealed override INancyEngine GetEngineInternal()
method GetApplicationContainer (line 126) | protected override TinyIoCContainer GetApplicationContainer()
method RegisterBootstrapperTypes (line 137) | protected sealed override void RegisterBootstrapperTypes(TinyIoCContai...
method RegisterNancyEnvironment (line 147) | protected override void RegisterNancyEnvironment(TinyIoCContainer cont...
method GetEnvironmentConfigurator (line 156) | protected override INancyEnvironmentConfigurator GetEnvironmentConfigu...
method GetEnvironment (line 166) | public override INancyEnvironment GetEnvironment()
method RegisterTypes (line 176) | protected sealed override void RegisterTypes(TinyIoCContainer containe...
method RegisterCollectionTypes (line 203) | protected sealed override void RegisterCollectionTypes(TinyIoCContaine...
method RegisterModules (line 229) | protected sealed override void RegisterModules(TinyIoCContainer contai...
method RegisterInstances (line 242) | protected override void RegisterInstances(TinyIoCContainer container, ...
FILE: src/Nancy.Hosting.Aspnet/NancyFxSection.cs
class NancyFxSection (line 6) | public class NancyFxSection : ConfigurationSection
class DisableOutputBufferElement (line 22) | public class DisableOutputBufferElement : ConfigurationElement
class BootstrapperElement (line 32) | public class BootstrapperElement : ConfigurationElement
FILE: src/Nancy.Hosting.Aspnet/NancyHandler.cs
class NancyHandler (line 18) | public class NancyHandler
method NancyHandler (line 26) | public NancyHandler(INancyEngine engine)
method ProcessRequest (line 35) | public async Task ProcessRequest(HttpContextBase httpContext)
method CreateNancyRequest (line 45) | private static Request CreateNancyRequest(HttpContextBase context)
method GetExpectedRequestLength (line 93) | private static long GetExpectedRequestLength(IDictionary<string, IEnum...
method HasChunkedEncoding (line 122) | private static bool HasChunkedEncoding(IDictionary<string, IEnumerable...
method SetNancyResponseToHttpResponse (line 133) | public static void SetNancyResponseToHttpResponse(HttpContextBase cont...
method IsOutputBufferDisabled (line 157) | private static bool IsOutputBufferDisabled()
method SetHttpResponseHeaders (line 170) | private static void SetHttpResponseHeaders(HttpContextBase context, Re...
FILE: src/Nancy.Hosting.Aspnet/NancyHttpRequestHandler.cs
class NancyHttpRequestHandler (line 10) | public class NancyHttpRequestHandler : HttpTaskAsyncHandler
method NancyHttpRequestHandler (line 14) | static NancyHttpRequestHandler()
method GetBootstrapper (line 28) | private static INancyBootstrapper GetBootstrapper()
method GetConfigurationBootstrapper (line 33) | private static INancyBootstrapper GetConfigurationBootstrapper()
method GetConfiguredBootstrapperEntry (line 60) | private static BootstrapperEntry GetConfiguredBootstrapperEntry()
method ProcessRequestAsync (line 89) | public override Task ProcessRequestAsync(HttpContext context)
FILE: src/Nancy.Hosting.Aspnet/NancyResponseStream.cs
class NancyResponseStream (line 9) | public class NancyResponseStream : Stream
method NancyResponseStream (line 13) | public NancyResponseStream(HttpResponseBase response)
method Flush (line 35) | public override void Flush()
method Read (line 57) | public override int Read(byte[] buffer, int offset, int count)
method Seek (line 62) | public override long Seek(long offset, SeekOrigin origin)
method SetLength (line 67) | public override void SetLength(long value)
method Write (line 72) | public override void Write(byte[] buffer, int offset, int count)
FILE: src/Nancy.Hosting.Aspnet/TinyIoCAspNetExtensions.cs
class HttpContextLifetimeProvider (line 8) | public class HttpContextLifetimeProvider : TinyIoCContainer.ITinyIoCObje...
method GetObject (line 12) | public object GetObject()
method SetObject (line 17) | public void SetObject(object value)
method ReleaseObject (line 22) | public void ReleaseObject()
class TinyIoCAspNetExtensions (line 33) | public static class TinyIoCAspNetExtensions
method AsPerRequestSingleton (line 40) | public static TinyIoCContainer.RegisterOptions AsPerRequestSingleton(t...
method AsPerRequestSingleton (line 50) | public static TinyIoCContainer.MultiRegisterOptions AsPerRequestSingle...
FILE: src/Nancy.Hosting.Self/AutomaticUrlReservationCreationFailureException.cs
class AutomaticUrlReservationCreationFailureException (line 11) | public class AutomaticUrlReservationCreationFailureException : Exception
method AutomaticUrlReservationCreationFailureException (line 16) | public AutomaticUrlReservationCreationFailureException(IEnumerable<str...
FILE: src/Nancy.Hosting.Self/FileSystemRootPathProvider.cs
class FileSystemRootPathProvider (line 7) | public class FileSystemRootPathProvider : IRootPathProvider
method GetRootPath (line 11) | public string GetRootPath()
method ExtractRootPath (line 16) | private static string ExtractRootPath()
FILE: src/Nancy.Hosting.Self/HostConfiguration.cs
class HostConfiguration (line 9) | public sealed class HostConfiguration
method HostConfiguration (line 98) | public HostConfiguration()
FILE: src/Nancy.Hosting.Self/IgnoredHeaders.cs
class IgnoredHeaders (line 10) | public static class IgnoredHeaders
method IsIgnored (line 27) | public static bool IsIgnored(string headerName)
FILE: src/Nancy.Hosting.Self/NancyHost.cs
class NancyHost (line 26) | [Serializable]
method NancyHost (line 43) | public NancyHost(params Uri[] baseUris)
method NancyHost (line 52) | public NancyHost(HostConfiguration configuration, params Uri[] baseUris)
method NancyHost (line 62) | public NancyHost(INancyBootstrapper bootstrapper, params Uri[] baseUris)
method NancyHost (line 75) | public NancyHost(INancyBootstrapper bootstrapper, HostConfiguration co...
method NancyHost (line 92) | public NancyHost(Uri baseUri, INancyBootstrapper bootstrapper)
method NancyHost (line 105) | public NancyHost(Uri baseUri, INancyBootstrapper bootstrapper, HostCon...
method Dispose (line 113) | public void Dispose()
method Start (line 123) | public void Start()
method StartListener (line 152) | private void StartListener()
method TryStartListener (line 175) | private bool TryStartListener()
method TryAddUrlReservations (line 202) | private bool TryAddUrlReservations()
method GetUser (line 217) | private string GetUser()
method Stop (line 227) | public void Stop()
method GetPrefixes (line 236) | internal IEnumerable<string> GetPrefixes()
method ConvertRequestToNancyRequest (line 251) | private Request ConvertRequestToNancyRequest(HttpListenerRequest request)
method GetBaseUri (line 302) | private Uri GetBaseUri(HttpListenerRequest request)
method ConvertNancyResponseToResponse (line 319) | private void ConvertNancyResponseToResponse(Response nancyResponse, Ht...
method OutputWithDefaultTransferEncoding (line 356) | private static void OutputWithDefaultTransferEncoding(Response nancyRe...
method OutputWithContentLength (line 364) | private static void OutputWithContentLength(Response nancyResponse, Ht...
method GetExpectedRequestLength (line 391) | private static long GetExpectedRequestLength(IDictionary<string, IEnum...
method Process (line 418) | private async Task Process(HttpListenerContext ctx)
FILE: src/Nancy.Hosting.Self/NetSh.cs
class NetSh (line 8) | public static class NetSh
method AddUrlAcl (line 18) | public static bool AddUrlAcl(string url, string user)
method GetParameters (line 32) | internal static string GetParameters(string url, string user)
FILE: src/Nancy.Hosting.Self/UacHelper.cs
class UacHelper (line 8) | public static class UacHelper
method RunElevated (line 16) | public static bool RunElevated(string file, string args)
method CreateProcess (line 26) | private static Process CreateProcess(string args, string file)
FILE: src/Nancy.Hosting.Self/UriExtensions.cs
class UriExtensions (line 10) | public static class UriExtensions
method IsCaseInsensitiveBaseOf (line 12) | public static bool IsCaseInsensitiveBaseOf(this Uri source, Uri value)
method MakeAppLocalPath (line 26) | public static string MakeAppLocalPath(this Uri appBaseUri, Uri fullUri)
method AppendSlashIfNeeded (line 31) | private static string AppendSlashIfNeeded(string segment)
method SegmentEquals (line 41) | private static bool SegmentEquals(string segment1, string segment2)
method ZipCompare (line 46) | private static bool ZipCompare(this IEnumerable<string> source1, IEnum...
method ZipFill (line 82) | private static IEnumerable<string> ZipFill(this IEnumerable<string> so...
method Join (line 117) | private static string Join(this IEnumerable<string> source)
FILE: src/Nancy.Hosting.Self/UrlReservations.cs
class UrlReservations (line 9) | public class UrlReservations
method UrlReservations (line 16) | public UrlReservations()
method GetEveryoneAccountName (line 35) | private static string GetEveryoneAccountName()
FILE: src/Nancy.Metadata.Modules/DefaultMetadataModuleConventions.cs
class DefaultMetadataModuleConventions (line 14) | public class DefaultMetadataModuleConventions : IEnumerable<Func<INancyM...
method DefaultMetadataModuleConventions (line 21) | public DefaultMetadataModuleConventions()
method GetEnumerator (line 26) | public IEnumerator<Func<INancyModule, IEnumerable<IMetadataModule>, IM...
method GetEnumerator (line 31) | IEnumerator IEnumerable.GetEnumerator()
method ReplaceModuleWithMetadataModule (line 36) | private static string ReplaceModuleWithMetadataModule(string moduleName)
method ConfigureMetadataModuleConventions (line 42) | private IEnumerable<Func<INancyModule, IEnumerable<IMetadataModule>, I...
FILE: src/Nancy.Metadata.Modules/DefaultMetadataModuleResolver.cs
class DefaultMetadataModuleResolver (line 10) | public class DefaultMetadataModuleResolver : IMetadataModuleResolver
method DefaultMetadataModuleResolver (line 21) | public DefaultMetadataModuleResolver(DefaultMetadataModuleConventions ...
method GetMetadataModule (line 42) | public IMetadataModule GetMetadataModule(INancyModule module)
method SafeInvokeConvention (line 49) | private IMetadataModule SafeInvokeConvention(Func<INancyModule, IEnume...
FILE: src/Nancy.Metadata.Modules/IMetadataModule.cs
type IMetadataModule (line 10) | public interface IMetadataModule
method GetMetadata (line 22) | object GetMetadata(RouteDescription description);
FILE: src/Nancy.Metadata.Modules/IMetadataModuleResolver.cs
type IMetadataModuleResolver (line 6) | public interface IMetadataModuleResolver
method GetMetadataModule (line 13) | IMetadataModule GetMetadataModule(INancyModule module);
FILE: src/Nancy.Metadata.Modules/MetadataModule.cs
class MetadataModule (line 11) | public abstract class MetadataModule<TMetadata> : IMetadataModule where ...
method MetadataModule (line 15) | protected MetadataModule()
method GetMetadata (line 45) | public object GetMetadata(RouteDescription description)
class RouteMetadataBuilder (line 59) | public class RouteMetadataBuilder
method RouteMetadataBuilder (line 67) | public RouteMetadataBuilder(MetadataModule<TMetadata> metadataModule)
method AddRouteMetadata (line 81) | protected void AddRouteMetadata(string name, Func<RouteDescription, ...
FILE: src/Nancy.Metadata.Modules/MetadataModuleRegistrations.cs
class MetadataModuleRegistrations (line 8) | public class MetadataModuleRegistrations : Registrations
method MetadataModuleRegistrations (line 15) | public MetadataModuleRegistrations(ITypeCatalog typeCatalog) : base(ty...
FILE: src/Nancy.Metadata.Modules/MetadataModuleRouteMetadataProvider.cs
class MetadataModuleRouteMetadataProvider (line 10) | public class MetadataModuleRouteMetadataProvider : IRouteMetadataProvider
method MetadataModuleRouteMetadataProvider (line 18) | public MetadataModuleRouteMetadataProvider(IMetadataModuleResolver res...
method GetMetadataType (line 29) | public Type GetMetadataType(INancyModule module, RouteDescription rout...
method GetMetadata (line 42) | public object GetMetadata(INancyModule module, RouteDescription routeD...
FILE: src/Nancy.Owin/AppBuilderExtensions.cs
class AppBuilderExtensions (line 13) | public static class AppBuilderExtensions
method UseNancy (line 23) | public static IAppBuilder UseNancy(this IAppBuilder builder, NancyOpti...
method UseNancy (line 38) | public static IAppBuilder UseNancy(this IAppBuilder builder, Action<Na...
method HookDisposal (line 45) | private static void HookDisposal(IAppBuilder builder, NancyOptions nan...
FILE: src/Nancy.Testing/Accept.cs
class Accept (line 6) | public static class Accept
FILE: src/Nancy.Testing/AndConnector.cs
class AndConnector (line 3) | public class AndConnector<TSource> : IHideObjectMembers
method AndConnector (line 13) | public AndConnector(TSource source)
FILE: src/Nancy.Testing/AssertEqualityComparer.cs
class AssertEqualityComparer (line 7) | public class AssertEqualityComparer<T> : IEqualityComparer<T>
method IsTypeNullable (line 9) | private static bool IsTypeNullable(Type type)
method Equals (line 14) | public bool Equals(T expected, T actual)
method GetHashCode (line 54) | public int GetHashCode(T actual)
FILE: src/Nancy.Testing/AssertException.cs
class AssertException (line 9) | public class AssertException : Exception
method AssertException (line 14) | public AssertException()
method AssertException (line 22) | public AssertException(string message) : base(message)
method AssertException (line 31) | public AssertException(string message, Exception innerException) : bas...
method AssertException (line 43) | protected AssertException(SerializationInfo info, StreamingContext con...
FILE: src/Nancy.Testing/AssertExtensions.cs
class AssertExtensions (line 9) | public static class AssertExtensions
method ShouldExist (line 14) | public static AndConnector<NodeWrapper> ShouldExist(this NodeWrapper n...
method ShouldExist (line 24) | public static AndConnector<QueryWrapper> ShouldExist(this QueryWrapper...
method ShouldNotExist (line 37) | public static AndConnector<QueryWrapper> ShouldNotExist(this QueryWrap...
method ShouldExistOnce (line 51) | public static AndConnector<NodeWrapper> ShouldExistOnce(this QueryWrap...
method ShouldExistExactly (line 60) | public static AndConnector<QueryWrapper> ShouldExistExactly(this Query...
method ShouldBeOfClass (line 69) | public static AndConnector<NodeWrapper> ShouldBeOfClass(this NodeWrapp...
method ShouldBeOfClass (line 79) | public static AndConnector<QueryWrapper> ShouldBeOfClass(this QueryWra...
method ShouldContain (line 94) | public static AndConnector<NodeWrapper> ShouldContain(this NodeWrapper...
method AllShouldContain (line 104) | public static AndConnector<QueryWrapper> AllShouldContain(this QueryWr...
method AnyShouldContain (line 116) | public static AndConnector<QueryWrapper> AnyShouldContain(this QueryWr...
method ShouldContainAttribute (line 128) | public static AndConnector<NodeWrapper> ShouldContainAttribute(this No...
method ShouldContainAttribute (line 138) | public static AndConnector<NodeWrapper> ShouldContainAttribute(this No...
method ShouldContainAttribute (line 148) | public static AndConnector<QueryWrapper> ShouldContainAttribute(this Q...
method ShouldContainAttribute (line 163) | public static AndConnector<QueryWrapper> ShouldContainAttribute(this Q...
FILE: src/Nancy.Testing/Asserts.cs
class Asserts (line 10) | public static class Asserts
method Contains (line 12) | public static void Contains<T>(T expected, IEnumerable<T> actual, IEqu...
method Any (line 19) | public static void Any<T>(T expected, IEnumerable<T> actual, Func<T, b...
method All (line 32) | public static void All<T>(T expected, IEnumerable<T> actual, Func<T, b...
method Contains (line 45) | public static void Contains(string expected, string actual, StringComp...
method Equal (line 53) | public static void Equal<T>(T expected, T actual)
method Equal (line 64) | public static void Equal(string expected, string actual, StringCompari...
method False (line 72) | public static void False(bool condition)
method NotNull (line 80) | public static void NotNull(object actual)
method Null (line 88) | public static void Null(object actual)
method Same (line 96) | public static void Same<T>(T actual, T expected)
method Single (line 107) | public static T Single<T>(IEnumerable<T> values)
method Exactly (line 127) | public static IEnumerable<T> Exactly<T>(IEnumerable<T> values, int num...
method True (line 147) | public static void True(bool condition)
FILE: src/Nancy.Testing/Browser.cs
class Browser (line 17) | public class Browser : IHideObjectMembers
method Browser (line 31) | public Browser(Action<ConfigurableBootstrapper.ConfigurableBootstrappe...
method Browser (line 41) | public Browser(INancyBootstrapper bootstrapper, Action<BrowserContext>...
method Delete (line 55) | public Task<BrowserResponse> Delete(string path, Action<BrowserContext...
method Delete (line 66) | public Task<BrowserResponse> Delete(Url url, Action<BrowserContext> br...
method Get (line 77) | public Task<BrowserResponse> Get(string path, Action<BrowserContext> b...
method Get (line 88) | public Task<BrowserResponse> Get(Url url, Action<BrowserContext> brows...
method Head (line 99) | public Task<BrowserResponse> Head(string path, Action<BrowserContext> ...
method Head (line 110) | public Task<BrowserResponse> Head(Url url, Action<BrowserContext> brow...
method Options (line 121) | public Task<BrowserResponse> Options(string path, Action<BrowserContex...
method Options (line 132) | public Task<BrowserResponse> Options(Url url, Action<BrowserContext> b...
method Patch (line 143) | public Task<BrowserResponse> Patch(string path, Action<BrowserContext>...
method Patch (line 154) | public Task<BrowserResponse> Patch(Url url, Action<BrowserContext> bro...
method Post (line 165) | public Task<BrowserResponse> Post(string path, Action<BrowserContext> ...
method Post (line 176) | public Task<BrowserResponse> Post(Url url, Action<BrowserContext> brow...
method Put (line 187) | public Task<BrowserResponse> Put(string path, Action<BrowserContext> b...
method Put (line 198) | public Task<BrowserResponse> Put(Url url, Action<BrowserContext> brows...
method HandleRequest (line 211) | public async Task<BrowserResponse> HandleRequest(string method, Url ur...
method HandleRequest (line 236) | public Task<BrowserResponse> HandleRequest(string method, string path,...
method DefaultBrowserContext (line 245) | private static void DefaultBrowserContext(BrowserContext context)
method SetCookies (line 250) | private void SetCookies(BrowserContext context)
method CaptureCookies (line 262) | private void CaptureCookies(BrowserResponse response)
method BuildRequestBody (line 282) | private static void BuildRequestBody(IBrowserContextValues contextValues)
method BuildBrowserContextValues (line 301) | private IBrowserContextValues BuildBrowserContextValues(Action<Browser...
method CreateRequest (line 322) | private static Request CreateRequest(string method, Url url, IBrowserC...
FILE: src/Nancy.Testing/BrowserContext.cs
class BrowserContext (line 14) | public class BrowserContext : IBrowserContextValues
method BrowserContext (line 21) | public BrowserContext(INancyEnvironment environment)
method Body (line 90) | public void Body(string body)
method Body (line 100) | public void Body(string body, string contentType)
method Body (line 111) | public void Body(Stream body, string contentType = null)
method FormValue (line 122) | public void FormValue(string key, string value)
method Header (line 141) | public void Header(string name, string value)
method HttpRequest (line 157) | public void HttpRequest()
method HttpsRequest (line 165) | public void HttpsRequest()
method Query (line 173) | public void Query(string key, string value)
method UserHostAddress (line 185) | public void UserHostAddress(string userHostAddress)
method HostName (line 194) | public void HostName(string hostName)
method Certificate (line 203) | public void Certificate()
method Certificate (line 226) | public void Certificate(byte[] certificate)
method Certificate (line 235) | public void Certificate(X509Certificate2 certificate)
method Certificate (line 247) | public void Certificate(StoreLocation storeLocation, StoreName storeNa...
FILE: src/Nancy.Testing/BrowserContextExtensions.cs
class BrowserContextExtensions (line 21) | public static class BrowserContextExtensions
method MultiPartFormData (line 28) | public static void MultiPartFormData(this BrowserContext browserContex...
method MultiPartFormData (line 39) | public static void MultiPartFormData(this BrowserContext browserContex...
method JsonBody (line 54) | public static void JsonBody<TModel>(this BrowserContext browserContext...
method XMLBody (line 76) | public static void XMLBody<TModel>(this BrowserContext browserContext,...
method BasicAuth (line 98) | public static void BasicAuth(this BrowserContext browserContext, strin...
method Cookie (line 112) | public static void Cookie(this BrowserContext browserContext, IDiction...
method Cookie (line 131) | public static void Cookie(this BrowserContext browserContext, string k...
method AjaxRequest (line 150) | public static void AjaxRequest(this BrowserContext browserContext)
method FormsAuth (line 161) | public static void FormsAuth(this BrowserContext browserContext, Guid ...
method Accept (line 174) | public static void Accept(this BrowserContext browserContext, MediaRan...
method Accept (line 179) | public static void Accept(this BrowserContext browserContext, MediaRan...
FILE: src/Nancy.Testing/BrowserContextMultipartFormData.cs
class BrowserContextMultipartFormData (line 10) | public class BrowserContextMultipartFormData
method BrowserContextMultipartFormData (line 19) | public BrowserContextMultipartFormData(Action<BrowserContextMultipartF...
method BrowserContextMultipartFormData (line 29) | public BrowserContextMultipartFormData(Action<BrowserContextMultipartF...
method TerminateBoundary (line 48) | private void TerminateBoundary()
class BrowserContextMultipartFormDataConfigurator (line 61) | public class BrowserContextMultipartFormDataConfigurator
method BrowserContextMultipartFormDataConfigurator (line 72) | public BrowserContextMultipartFormDataConfigurator(Stream body, stri...
method AddFile (line 85) | public void AddFile(string name, string fileName, string contentType...
method AddFormField (line 91) | public void AddFormField(string name, string contentType, string data)
method AddFormField (line 96) | public void AddFormField(string name, string contentType, Stream data)
method AddContent (line 102) | private void AddContent(Stream data)
method AddFieldHeaders (line 108) | private void AddFieldHeaders(string name, string contentType, string...
FILE: src/Nancy.Testing/BrowserResponse.cs
class BrowserResponse (line 10) | public class BrowserResponse
method BrowserResponse (line 23) | public BrowserResponse(NancyContext context, Browser hostBrowser, Brow...
FILE: src/Nancy.Testing/BrowserResponseBodyWrapper.cs
class BrowserResponseBodyWrapper (line 11) | public class BrowserResponseBodyWrapper : IEnumerable<byte>
method BrowserResponseBodyWrapper (line 22) | public BrowserResponseBodyWrapper(Response response, BrowserContext br...
method GetContentStream (line 46) | private static MemoryStream GetContentStream(Response response)
method GetEnumerator (line 80) | public IEnumerator<byte> GetEnumerator()
method GetEnumerator (line 89) | IEnumerator IEnumerable.GetEnumerator()
FILE: src/Nancy.Testing/BrowserResponseBodyWrapperExtensions.cs
class BrowserResponseBodyWrapperExtensions (line 14) | public static class BrowserResponseBodyWrapperExtensions
method AsStream (line 21) | public static Stream AsStream(this BrowserResponseBodyWrapper bodyWrap...
method AsString (line 31) | public static string AsString(this BrowserResponseBodyWrapper bodyWrap...
method AsXmlDocument (line 41) | public static XmlDocument AsXmlDocument(this BrowserResponseBodyWrappe...
method DeserializeJson (line 56) | public static TModel DeserializeJson<TModel>(this BrowserResponseBodyW...
method DeserializeXml (line 69) | public static TModel DeserializeXml<TModel>(this BrowserResponseBodyWr...
method Deserialize (line 83) | public static TModel Deserialize<TModel>(this BrowserResponseBodyWrapp...
FILE: src/Nancy.Testing/BrowserResponseExtensions.cs
class BrowserResponseExtensions (line 12) | public static class BrowserResponseExtensions
method ShouldHaveRedirectedTo (line 20) | public static void ShouldHaveRedirectedTo(this BrowserResponse respons...
method BodyAsXml (line 41) | public static XDocument BodyAsXml(this BrowserResponse response)
FILE: src/Nancy.Testing/ConfigurableBootstrapper.cs
class ConfigurableBootstrapper (line 28) | public class ConfigurableBootstrapper : NancyBootstrapperWithRequestCont...
method ConfigurableBootstrapper (line 56) | public ConfigurableBootstrapper()
method ConfigurableBootstrapper (line 65) | public ConfigurableBootstrapper(Action<ConfigurableBootstrapperConfigu...
method Configure (line 94) | public override void Configure(INancyEnvironment environment)
method ApplicationStartup (line 108) | protected override void ApplicationStartup(TinyIoCContainer container,...
method RequestStartup (line 125) | protected override void RequestStartup(TinyIoCContainer container, IPi...
method GetAllModules (line 139) | public new IEnumerable<INancyModule> GetAllModules(NancyContext context)
method GetEnvironment (line 149) | public override INancyEnvironment GetEnvironment()
method GetModule (line 160) | protected override INancyModule GetModule(TinyIoCContainer container, ...
method GetModuleRegistrations (line 174) | private IEnumerable<ModuleRegistration> GetModuleRegistrations()
method GetTypeRegistrations (line 179) | private IEnumerable<TypeRegistration> GetTypeRegistrations()
method GetCollectionTypeRegistrations (line 184) | private IEnumerable<CollectionTypeRegistration> GetCollectionTypeRegis...
method GetSafePathExtension (line 189) | private static string GetSafePathExtension(string name)
method Resolve (line 194) | private IEnumerable<Type> Resolve<T>()
method ConfigureApplicationContainer (line 333) | protected override void ConfigureApplicationContainer(TinyIoCContainer...
method CreateRequestContainer (line 351) | protected override TinyIoCContainer CreateRequestContainer(NancyContex...
method GetAllModules (line 361) | protected override IEnumerable<INancyModule> GetAllModules(TinyIoCCont...
method GetApplicationContainer (line 370) | protected override TinyIoCContainer GetApplicationContainer()
method GetEngineInternal (line 379) | protected override INancyEngine GetEngineInternal()
method GetDiagnostics (line 398) | protected override IDiagnostics GetDiagnostics()
method GetApplicationStartupTasks (line 407) | protected override IEnumerable<IApplicationStartup> GetApplicationStar...
method RegisterAndGetRequestStartupTasks (line 416) | protected override IEnumerable<IRequestStartup> RegisterAndGetRequestS...
method GetRegistrationTasks (line 427) | protected override IEnumerable<IRegistrations> GetRegistrationTasks()
method RegisterBootstrapperTypes (line 444) | protected override void RegisterBootstrapperTypes(TinyIoCContainer app...
method RegisterTypes (line 460) | protected override void RegisterTypes(TinyIoCContainer container, IEnu...
method RegisterTypesInternal (line 472) | private static void RegisterTypesInternal(TinyIoCContainer container, ...
method RegisterCollectionTypes (line 486) | protected override void RegisterCollectionTypes(TinyIoCContainer conta...
method RegisterCollectionTypesInternal (line 497) | private static void RegisterCollectionTypesInternal(TinyIoCContainer c...
method RegisterInstances (line 511) | protected override void RegisterInstances(TinyIoCContainer container, ...
method RegisterInstancesInternal (line 523) | private static void RegisterInstancesInternal(TinyIoCContainer contain...
method RegisterRequestContainerModules (line 538) | protected override void RegisterRequestContainerModules(TinyIoCContain...
method GetEnvironmentConfigurator (line 554) | protected override INancyEnvironmentConfigurator GetEnvironmentConfigu...
method RegisterNancyEnvironment (line 564) | protected override void RegisterNancyEnvironment(TinyIoCContainer cont...
class ConfigurableBootstrapperConfigurator (line 618) | public class ConfigurableBootstrapperConfigurator
method ConfigurableBootstrapperConfigurator (line 626) | public ConfigurableBootstrapperConfigurator(ConfigurableBootstrapper...
method AllDiscoveredModules (line 632) | public ConfigurableBootstrapperConfigurator AllDiscoveredModules()
method Binder (line 639) | public ConfigurableBootstrapperConfigurator Binder(IBinder binder)
method Binder (line 652) | public ConfigurableBootstrapperConfigurator Binder<T>() where T : IB...
method Configure (line 663) | public ConfigurableBootstrapperConfigurator Configure(Action<INancyE...
method ContextFactory (line 675) | public ConfigurableBootstrapperConfigurator ContextFactory(INancyCon...
method ContextFactory (line 688) | public ConfigurableBootstrapperConfigurator ContextFactory<T>() wher...
method DefaultConfigurationProvider (line 699) | public ConfigurableBootstrapperConfigurator DefaultConfigurationProv...
method DefaultConfigurationProviders (line 711) | public ConfigurableBootstrapperConfigurator DefaultConfigurationProv...
method DefaultConfigurationProviders (line 722) | public ConfigurableBootstrapperConfigurator DefaultConfigurationProv...
method DefaultConfigurationProviders (line 735) | public ConfigurableBootstrapperConfigurator DefaultConfigurationProv...
method Dependency (line 751) | public ConfigurableBootstrapperConfigurator Dependency<T>(Type type)
method Dependency (line 764) | public ConfigurableBootstrapperConfigurator Dependency<T>()
method Dependency (line 782) | public ConfigurableBootstrapperConfigurator Dependency<T>(T instance)
method GetSafeInterfaces (line 795) | private static IEnumerable<Type> GetSafeInterfaces(Type type)
method MappedDependencies (line 805) | public ConfigurableBootstrapperConfigurator MappedDependencies<T, K>...
method Dependencies (line 824) | public ConfigurableBootstrapperConfigurator Dependencies<T>(params T...
method Dependencies (line 840) | public ConfigurableBootstrapperConfigurator Dependencies<T>(params T...
method EnableAutoRegistration (line 854) | public ConfigurableBootstrapperConfigurator EnableAutoRegistration()
method StatusCodeHandlers (line 865) | public ConfigurableBootstrapperConfigurator StatusCodeHandlers(param...
method StatusCodeHandler (line 877) | public ConfigurableBootstrapperConfigurator StatusCodeHandler<T>() w...
method EnvironmentConfigurator (line 888) | public ConfigurableBootstrapperConfigurator EnvironmentConfigurator<...
method EnvironmentConfigurator (line 899) | public ConfigurableBootstrapperConfigurator EnvironmentConfigurator(...
method EnvironmentFactory (line 912) | public ConfigurableBootstrapperConfigurator EnvironmentFactory(INanc...
method EnvironmentFactory (line 925) | public ConfigurableBootstrapperConfigurator EnvironmentFactory<T>() ...
method FieldNameConverter (line 936) | public ConfigurableBootstrapperConfigurator FieldNameConverter(IFiel...
method FieldNameConverter (line 949) | public ConfigurableBootstrapperConfigurator FieldNameConverter<T>() ...
method ModelBinderLocator (line 960) | public ConfigurableBootstrapperConfigurator ModelBinderLocator(IMode...
method ModelBinderLocator (line 973) | public ConfigurableBootstrapperConfigurator ModelBinderLocator<T>() ...
method Module (line 984) | public ConfigurableBootstrapperConfigurator Module<T>() where T : IN...
method Module (line 994) | public ConfigurableBootstrapperConfigurator Module(INancyModule module)
method Modules (line 1005) | public ConfigurableBootstrapperConfigurator Modules(params Type[] mo...
method NancyEngine (line 1021) | public ConfigurableBootstrapperConfigurator NancyEngine(INancyEngine...
method NancyEngine (line 1034) | public ConfigurableBootstrapperConfigurator NancyEngine<T>() where T...
method NancyModuleBuilder (line 1045) | public ConfigurableBootstrapperConfigurator NancyModuleBuilder(INanc...
method NancyModuleBuilder (line 1058) | public ConfigurableBootstrapperConfigurator NancyModuleBuilder<T>() ...
method RenderContextFactory (line 1069) | public ConfigurableBootstrapperConfigurator RenderContextFactory(IRe...
method RenderContextFactory (line 1082) | public ConfigurableBootstrapperConfigurator RenderContextFactory<T>(...
method RequestTraceFactory (line 1093) | public ConfigurableBootstrapperConfigurator RequestTraceFactory(IReq...
method RequestTraceFactory (line 1106) | public ConfigurableBootstrapperConfigurator RequestTraceFactory<T>()...
method ResponseFormatterFactory (line 1117) | public ConfigurableBootstrapperConfigurator ResponseFormatterFactory...
method ResponseFormatterFactory (line 1130) | public ConfigurableBootstrapperConfigurator ResponseFormatterFactory...
method RouteCache (line 1141) | public ConfigurableBootstrapperConfigurator RouteCache(IRouteCache r...
method RouteCache (line 1154) | public ConfigurableBootstrapperConfigurator RouteCache<T>() where T ...
method RouteCacheProvider (line 1165) | public ConfigurableBootstrapperConfigurator RouteCacheProvider(IRout...
method RouteCacheProvider (line 1178) | public ConfigurableBootstrapperConfigurator RouteCacheProvider<T>() ...
method RootPathProvider (line 1189) | public ConfigurableBootstrapperConfigurator RootPathProvider(IRootPa...
method RootPathProvider (line 1202) | public ConfigurableBootstrapperConfigurator RootPathProvider<T>() wh...
method RouteInvoker (line 1215) | public ConfigurableBootstrapperConfigurator RouteInvoker<T>() where ...
method RouteInvoker (line 1226) | public ConfigurableBootstrapperConfigurator RouteInvoker(IRouteInvok...
method RouteResolver (line 1239) | public ConfigurableBootstrapperConfigurator RouteResolver(IRouteReso...
method RouteResolver (line 1252) | public ConfigurableBootstrapperConfigurator RouteResolver<T>() where...
method ModelValidatorLocator (line 1263) | public ConfigurableBootstrapperConfigurator ModelValidatorLocator(IM...
method ModelValidatorLocator (line 1276) | public ConfigurableBootstrapperConfigurator ModelValidatorLocator<T>...
method RequestDispatcher (line 1287) | public ConfigurableBootstrapperConfigurator RequestDispatcher(IReque...
method RequestDispatcher (line 1300) | public ConfigurableBootstrapperConfigurator RequestDispatcher<T>() w...
method ResourceAssemblyProvider (line 1313) | public ConfigurableBootstrapperConfigurator ResourceAssemblyProvider...
method ResourceAssemblyProvider (line 1326) | public ConfigurableBootstrapperConfigurator ResourceAssemblyProvider...
method ResourceReader (line 1337) | public ConfigurableBootstrapperConfigurator ResourceReader(IResource...
method ResourceReader (line 1350) | public ConfigurableBootstrapperConfigurator ResourceReader<T>() wher...
method RouteDescriptionProvider (line 1361) | public ConfigurableBootstrapperConfigurator RouteDescriptionProvider...
method RouteDescriptionProvider (line 1374) | public ConfigurableBootstrapperConfigurator RouteDescriptionProvider...
method RouteMetadataProvider (line 1387) | public ConfigurableBootstrapperConfigurator RouteMetadataProvider(IR...
method RouteMetadataProvider (line 1400) | public ConfigurableBootstrapperConfigurator RouteMetadataProvider<T>...
method RouteMetadataProviders (line 1413) | public ConfigurableBootstrapperConfigurator RouteMetadataProviders(p...
method RouteMetadataProviders (line 1426) | public ConfigurableBootstrapperConfigurator RouteMetadataProviders(p...
method RouteSegmentExtractor (line 1442) | public ConfigurableBootstrapperConfigurator RouteSegmentExtractor<T>...
method RouteSegmentExtractor (line 1455) | public ConfigurableBootstrapperConfigurator RouteSegmentExtractor(IR...
method ResponseProcessor (line 1468) | public ConfigurableBootstrapperConfigurator ResponseProcessor<T>() w...
method ResponseProcessors (line 1481) | public ConfigurableBootstrapperConfigurator ResponseProcessors(param...
method RuntimeEnvironmentInformation (line 1494) | public ConfigurableBootstrapperConfigurator RuntimeEnvironmentInform...
method RuntimeEnvironmentInformation (line 1507) | public ConfigurableBootstrapperConfigurator RuntimeEnvironmentInform...
method TextResource (line 1518) | public ConfigurableBootstrapperConfigurator TextResource(ITextResour...
method TextResource (line 1531) | public ConfigurableBootstrapperConfigurator TextResource<T>() where ...
method ViewCache (line 1542) | public ConfigurableBootstrapperConfigurator ViewCache(IViewCache vie...
method ViewCache (line 1555) | public ConfigurableBootstrapperConfigurator ViewCache<T>() where T :...
method ViewEngine (line 1566) | public ConfigurableBootstrapperConfigurator ViewEngine(IViewEngine v...
method ViewEngine (line 1579) | public ConfigurableBootstrapperConfigurator ViewEngine<T>() where T ...
method ViewEngines (line 1592) | public ConfigurableBootstrapperConfigurator ViewEngines(params Type[...
method ViewFactory (line 1605) | public ConfigurableBootstrapperConfigurator ViewFactory(IViewFactory...
method ViewFactory (line 1618) | public ConfigurableBootstrapperConfigurator ViewFactory<T>() where T...
method ViewLocationProvider (line 1629) | public ConfigurableBootstrapperConfigurator ViewLocationProvider(IVi...
method ViewLocationProvider (line 1642) | public ConfigurableBootstrapperConfigurator ViewLocationProvider<T>(...
method ViewLocator (line 1653) | public ConfigurableBootstrapperConfigurator ViewLocator(IViewLocator...
method ViewLocator (line 1666) | public ConfigurableBootstrapperConfigurator ViewLocator<T>() where T...
method ViewResolver (line 1677) | public ConfigurableBootstrapperConfigurator ViewResolver(IViewResolv...
method ViewResolver (line 1690) | public ConfigurableBootstrapperConfigurator ViewResolver<T>() where ...
method CsrfTokenValidator (line 1701) | public ConfigurableBootstrapperConfigurator CsrfTokenValidator(ICsrf...
method CsrfTokenValidator (line 1714) | public ConfigurableBootstrapperConfigurator CsrfTokenValidator<T>() ...
method ObjectSerializer (line 1725) | public ConfigurableBootstrapperConfigurator ObjectSerializer(IObject...
method ObjectSerializer (line 1738) | public ConfigurableBootstrapperConfigurator ObjectSerializer<T>() wh...
method Serializer (line 1750) | public ConfigurableBootstrapperConfigurator Serializer<T>() where T ...
method Serializers (line 1761) | public ConfigurableBootstrapperConfigurator Serializers(params Type[...
method Diagnostics (line 1772) | public ConfigurableBootstrapperConfigurator Diagnostics(IDiagnostics...
method Diagnostics (line 1785) | public ConfigurableBootstrapperConfigurator Diagnostics<T>() where T...
method CultureService (line 1796) | public ConfigurableBootstrapperConfigurator CultureService(ICultureS...
method CultureService (line 1809) | public ConfigurableBootstrapperConfigurator CultureService<T>() wher...
method StaticContentProvider (line 1820) | public ConfigurableBootstrapperConfigurator StaticContentProvider(IS...
method StaticContentProvider (line 1833) | public ConfigurableBootstrapperConfigurator StaticContentProvider<T>...
method RouteResolverTrie (line 1844) | public ConfigurableBootstrapperConfigurator RouteResolverTrie(IRoute...
method RouteResolverTrie (line 1857) | public ConfigurableBootstrapperConfigurator RouteResolverTrie<T>() w...
method TrieNodeFactory (line 1868) | public ConfigurableBootstrapperConfigurator TrieNodeFactory(ITrieNod...
method TrieNodeFactory (line 1881) | public ConfigurableBootstrapperConfigurator TrieNodeFactory<T>() whe...
method RouteSegmentConstraint (line 1892) | public ConfigurableBootstrapperConfigurator RouteSegmentConstraint<T...
method RouteSegmentConstraints (line 1903) | public ConfigurableBootstrapperConfigurator RouteSegmentConstraints(...
method ResponseNegotiator (line 1914) | public ConfigurableBootstrapperConfigurator ResponseNegotiator(IResp...
method ResponseNegotiator (line 1927) | public ConfigurableBootstrapperConfigurator ResponseNegotiator<T>() ...
method SerializerFactory (line 1938) | public ConfigurableBootstrapperConfigurator SerializerFactory<T>() w...
method SerializerFactory (line 1949) | public ConfigurableBootstrapperConfigurator SerializerFactory(ISeria...
method ApplicationStartupTask (line 1962) | public ConfigurableBootstrapperConfigurator ApplicationStartupTask<T...
method ApplicationStartupTasks (line 1975) | public ConfigurableBootstrapperConfigurator ApplicationStartupTasks(...
method RequestStartupTask (line 1991) | public ConfigurableBootstrapperConfigurator RequestStartupTask<T>() ...
method RequestStartupTasks (line 2004) | public ConfigurableBootstrapperConfigurator RequestStartupTasks(para...
method DisableAutoApplicationStartupRegistration (line 2020) | public ConfigurableBootstrapperConfigurator DisableAutoApplicationSt...
method DisableAutoRequestStartupRegistration (line 2031) | public ConfigurableBootstrapperConfigurator DisableAutoRequestStartu...
method ApplicationStartup (line 2043) | public ConfigurableBootstrapperConfigurator ApplicationStartup(Actio...
method RequestStartup (line 2055) | public ConfigurableBootstrapperConfigurator RequestStartup(Action<Ti...
method DisableAutoRegistrations (line 2065) | public ConfigurableBootstrapperConfigurator DisableAutoRegistrations()
class ConfigurableModuleCatalog (line 2075) | public class ConfigurableModuleCatalog : INancyModuleCatalog
method ConfigurableModuleCatalog (line 2082) | public ConfigurableModuleCatalog()
method GetAllModules (line 2092) | public IEnumerable<INancyModule> GetAllModules(NancyContext context)
method GetModule (line 2103) | public INancyModule GetModule(Type moduleType, NancyContext context)
method RegisterModuleInstance (line 2113) | public void RegisterModuleInstance(INancyModule module)
FILE: src/Nancy.Testing/ConfigurableNancyModule.cs
class ConfigurableNancyModule (line 10) | public class ConfigurableNancyModule : NancyModule
method ConfigurableNancyModule (line 15) | public ConfigurableNancyModule()
method ConfigurableNancyModule (line 23) | public ConfigurableNancyModule(Action<ConfigurableNancyModuleConfigura...
method ConfigurableNancyModule (line 33) | public ConfigurableNancyModule(string modulePath, Action<ConfigurableN...
class ConfigurableNancyModuleConfigurator (line 45) | public class ConfigurableNancyModuleConfigurator : IHideObjectMembers
method ConfigurableNancyModuleConfigurator (line 53) | public ConfigurableNancyModuleConfigurator(ConfigurableNancyModule m...
method After (line 63) | public ConfigurableNancyModuleConfigurator After(AfterPipeline after)
method Before (line 75) | public ConfigurableNancyModuleConfigurator Before(BeforePipeline bef...
method Delete (line 90) | public ConfigurableNancyModuleConfigurator Delete(string path, Func<...
method Delete (line 103) | public ConfigurableNancyModuleConfigurator Delete(string path, Func<...
method Delete (line 117) | public ConfigurableNancyModuleConfigurator Delete<T>(string path, Fu...
method Delete (line 130) | public ConfigurableNancyModuleConfigurator Delete(string path, Func<...
method Delete (line 144) | public ConfigurableNancyModuleConfigurator Delete<T>(string path, Fu...
method Delete (line 157) | public ConfigurableNancyModuleConfigurator Delete(string path, Func<...
method Delete (line 171) | public ConfigurableNancyModuleConfigurator Delete<T>(string path, Fu...
method Get (line 185) | public ConfigurableNancyModuleConfigurator Get(string path, Func<Nan...
method Get (line 197) | public ConfigurableNancyModuleConfigurator Get(string path, Func<dyn...
method Get (line 211) | public ConfigurableNancyModuleConfigurator Get<T>(string path, Func<...
method Get (line 224) | public ConfigurableNancyModuleConfigurator Get(string path, Func<dyn...
method Get (line 238) | public ConfigurableNancyModuleConfigurator Get<T>(string path, Func<...
method Get (line 251) | public ConfigurableNancyModuleConfigurator Get(string path, Func<dyn...
method Get (line 265) | public ConfigurableNancyModuleConfigurator Get<T>(string path, Func<...
method Head (line 279) | public ConfigurableNancyModuleConfigurator Head(string path, Func<Na...
method Head (line 291) | public ConfigurableNancyModuleConfigurator Head(string path, Func<dy...
method Head (line 305) | public ConfigurableNancyModuleConfigurator Head<T>(string path, Func...
method Head (line 318) | public ConfigurableNancyModuleConfigurator Head(string path, Func<dy...
method Head (line 332) | public ConfigurableNancyModuleConfigurator Head<T>(string path, Func...
method Head (line 345) | public ConfigurableNancyModuleConfigurator Head(string path, Func<dy...
method Head (line 359) | public ConfigurableNancyModuleConfigurator Head<T>(string path, Func...
method Options (line 373) | public ConfigurableNancyModuleConfigurator Options(string path, Func...
method Options (line 385) | public ConfigurableNancyModuleConfigurator Options(string path, Func...
method Options (line 399) | public ConfigurableNancyModuleConfigurator Options<T>(string path, F...
method Options (line 412) | public ConfigurableNancyModuleConfigurator Options(string path, Func...
method Options (line 426) | public ConfigurableNancyModuleConfigurator Options<T>(string path, F...
method Options (line 439) | public ConfigurableNancyModuleConfigurator Options(string path, Func...
method Options (line 453) | public ConfigurableNancyModuleConfigurator Options<T>(string path, F...
method Patch (line 467) | public ConfigurableNancyModuleConfigurator Patch(string path, Func<N...
method Patch (line 479) | public ConfigurableNancyModuleConfigurator Patch(string path, Func<d...
method Patch (line 493) | public ConfigurableNancyModuleConfigurator Patch<T>(string path, Fun...
method Patch (line 506) | public ConfigurableNancyModuleConfigurator Patch(string path, Func<d...
method Patch (line 520) | public ConfigurableNancyModuleConfigurator Patch<T>(string path, Fun...
method Patch (line 533) | public ConfigurableNancyModuleConfigurator Patch(string path, Func<d...
method Patch (line 547) | public ConfigurableNancyModuleConfigurator Patch<T>(string path, Fun...
method Post (line 561) | public ConfigurableNancyModuleConfigurator Post(string path, Func<Na...
method Post (line 573) | public ConfigurableNancyModuleConfigurator Post(string path, Func<dy...
method Post (line 587) | public ConfigurableNancyModuleConfigurator Post<T>(string path, Func...
method Post (line 600) | public ConfigurableNancyModuleConfigurator Post(string path, Func<dy...
method Post (line 614) | public ConfigurableNancyModuleConfigurator Post<T>(string path, Func...
method Post (line 627) | public ConfigurableNancyModuleConfigurator Post(string path, Func<dy...
method Post (line 641) | public ConfigurableNancyModuleConfigurator Post<T>(string path, Func...
method Put (line 655) | public ConfigurableNancyModuleConfigurator Put(string path, Func<Nan...
method Put (line 667) | public ConfigurableNancyModuleConfigurator Put(string path, Func<dyn...
method Put (line 681) | public ConfigurableNancyModuleConfigurator Put<T>(string path, Func<...
method Put (line 694) | public ConfigurableNancyModuleConfigurator Put(string path, Func<dyn...
method Put (line 708) | public ConfigurableNancyModuleConfigurator Put<T>(string path, Func<...
method Put (line 721) | public ConfigurableNancyModuleConfigurator Put(string path, Func<dyn...
method Put (line 735) | public ConfigurableNancyModuleConfigurator Put<T>(string path, Func<...
FILE: src/Nancy.Testing/DocumentWrapper.cs
class DocumentWrapper (line 12) | public class DocumentWrapper
method DocumentWrapper (line 20) | public DocumentWrapper(IEnumerable<byte> buffer)
FILE: src/Nancy.Testing/IBrowserContextValues.cs
type IBrowserContextValues (line 10) | public interface IBrowserContextValues : IHideObjectMembers
FILE: src/Nancy.Testing/IndexHelper.cs
class IndexHelper (line 10) | public class IndexHelper<TKey, TValue>
method IndexHelper (line 18) | public IndexHelper(Func<TKey, TValue> indexDelegate)
FILE: src/Nancy.Testing/NancyContextExtensions.cs
class NancyContextExtensions (line 12) | public static class NancyContextExtensions
method Cache (line 18) | private static T Cache<T>(NancyContext context, string key, Func<T> ge...
method DocumentBody (line 39) | public static DocumentWrapper DocumentBody(this NancyContext context)
method JsonBody (line 52) | public static TModel JsonBody<TModel>(this NancyContext context)
method JsonBody (line 57) | public static TModel JsonBody<TModel>(this NancyContext context, JavaS...
method XmlBody (line 74) | public static TModel XmlBody<TModel>(this NancyContext context)
FILE: src/Nancy.Testing/NodeWrapper.cs
class NodeWrapper (line 8) | public class NodeWrapper
method NodeWrapper (line 17) | public NodeWrapper(IElement element)
method HasAttribute (line 27) | public bool HasAttribute(string name)
FILE: src/Nancy.Testing/PassThroughStatusHandler.cs
class PassThroughStatusCodeHandler (line 8) | public class PassThroughStatusCodeHandler : IStatusCodeHandler
method HandlesStatusCode (line 10) | public bool HandlesStatusCode(HttpStatusCode statusCode, NancyContext ...
method Handle (line 21) | public void Handle(HttpStatusCode statusCode, NancyContext context)
FILE: src/Nancy.Testing/PathHelper.cs
class PathHelper (line 7) | public static class PathHelper
method GetParent (line 15) | public static string GetParent(string path, int levels)
FILE: src/Nancy.Testing/QueryWrapper.cs
class QueryWrapper (line 11) | public class QueryWrapper : IEnumerable<NodeWrapper>
method QueryWrapper (line 20) | public QueryWrapper(IReadOnlyCollection<IElement> elements)
method GetEnumerator (line 42) | public IEnumerator<NodeWrapper> GetEnumerator()
method GetEnumerator (line 51) | IEnumerator IEnumerable.GetEnumerator()
FILE: src/Nancy.Testing/StaticConfigurationContext.cs
class StaticConfigurationContext (line 10) | public class StaticConfigurationContext : IDisposable
method StaticConfigurationContext (line 18) | public StaticConfigurationContext(Action<StaticConfigurationValues> cl...
method Dispose (line 34) | public void Dispose()
method AssignStaticConfigurationValues (line 39) | private static void AssignStaticConfigurationValues(StaticConfiguratio...
class StaticConfigurationValues (line 48) | public class StaticConfigurationValues
FILE: src/Nancy.Testing/TestingViewBrowserResponseExtensions.cs
class TestingViewBrowserResponseExtensions (line 7) | public static class TestingViewBrowserResponseExtensions
method GetModel (line 16) | public static TType GetModel<TType>(this BrowserResponse response)
method GetViewName (line 27) | public static string GetViewName(this BrowserResponse response)
method GetModuleName (line 38) | public static string GetModuleName(this BrowserResponse response)
method GetModulePath (line 49) | public static string GetModulePath(this BrowserResponse response)
method GetContextValue (line 54) | private static string GetContextValue(BrowserResponse response, string...
FILE: src/Nancy.Testing/TestingViewContextKeys.cs
class TestingViewContextKeys (line 6) | public static class TestingViewContextKeys
FILE: src/Nancy.Testing/TestingViewFactory.cs
class TestingViewFactory (line 9) | public class TestingViewFactory : IViewFactory
method TestingViewFactory (line 18) | public TestingViewFactory(DefaultViewFactory viewFactory)
method RenderView (line 31) | public Response RenderView(string viewName, dynamic model, ViewLocatio...
FILE: src/Nancy.Validation.DataAnnotations/DataAnnotationsRegistrations.cs
class DataAnnotationsRegistrations (line 8) | public class DataAnnotationsRegistrations : Registrations
method DataAnnotationsRegistrations (line 15) | public DataAnnotationsRegistrations(ITypeCatalog typeCatalog) : base(t...
FILE: src/Nancy.Validation.DataAnnotations/DataAnnotationsValidator.cs
class DataAnnotationsValidator (line 10) | public class DataAnnotationsValidator : IModelValidator
method DataAnnotationsValidator (line 22) | public DataAnnotationsValidator(Type typeForValidation, IPropertyValid...
method Validate (line 49) | public ModelValidationResult Validate(object instance, NancyContext co...
method GetModelValidationDescriptor (line 67) | private ModelValidationDescriptor GetModelValidationDescriptor()
FILE: src/Nancy.Validation.DataAnnotations/DataAnnotationsValidatorAdapter.cs
class DataAnnotationsValidatorAdapter (line 12) | public abstract class DataAnnotationsValidatorAdapter : IDataAnnotations...
method DataAnnotationsValidatorAdapter (line 21) | protected DataAnnotationsValidatorAdapter(string ruleType)
method CanHandle (line 38) | public abstract bool CanHandle(ValidationAttribute attribute);
method GetRules (line 46) | public virtual IEnumerable<ModelValidationRule> GetRules(ValidationAtt...
method Validate (line 59) | public virtual IEnumerable<ModelValidationError> Validate(object insta...
method GetValidationError (line 104) | protected virtual ModelValidationError GetValidationError(ValidationRe...
method GetDisplayAttribute (line 109) | private DisplayAttribute GetDisplayAttribute(object instance, string m...
method GetDisplayNameForMember (line 123) | private string GetDisplayNameForMember(object instance, string memberN...
FILE: src/Nancy.Validation.DataAnnotations/DataAnnotationsValidatorFactory.cs
class DataAnnotationsValidatorFactory (line 9) | public class DataAnnotationsValidatorFactory : IModelValidatorFactory
method DataAnnotationsValidatorFactory (line 19) | public DataAnnotationsValidatorFactory(IPropertyValidatorFactory facto...
method Create (line 30) | public IModelValidator Create(Type type)
FILE: src/Nancy.Validation.DataAnnotations/DefaultPropertyValidatorFactory.cs
class DefaultPropertyValidatorFactory (line 12) | public class DefaultPropertyValidatorFactory : IPropertyValidatorFactory
method DefaultPropertyValidatorFactory (line 20) | public DefaultPropertyValidatorFactory(IEnumerable<IDataAnnotationsVal...
method GetValidators (line 30) | public IEnumerable<IPropertyValidator> GetValidators(Type type)
method GetPropertyValidators (line 44) | private IEnumerable<PropertyValidator> GetPropertyValidators(ICustomTy...
method GetTypeValidator (line 65) | private PropertyValidator GetTypeValidator(ICustomTypeDescriptor typeD...
method GetAttributeAdaptors (line 78) | private IDictionary<ValidationAttribute, IEnumerable<IDataAnnotationsV...
method GetAdaptersForAttribute (line 94) | private IEnumerable<IDataAnnotationsValidatorAdapter> GetAdaptersForAt...
FILE: src/Nancy.Validation.DataAnnotations/DefaultValidatableObjectAdapter.cs
class DefaultValidatableObjectAdapter (line 10) | public class DefaultValidatableObjectAdapter : IValidatableObjectAdapter
method Validate (line 18) | public IEnumerable<ModelValidationError> Validate(object instance, Nan...
FILE: src/Nancy.Validation.DataAnnotations/IDataAnnotationsValidatorAdapter.cs
type IDataAnnotationsValidatorAdapter (line 10) | public interface IDataAnnotationsValidatorAdapter
method CanHandle (line 18) | bool CanHandle(ValidationAttribute attribute);
method GetRules (line 26) | IEnumerable<ModelValidationRule> GetRules(ValidationAttribute attribut...
method Validate (line 36) | IEnumerable<ModelValidationError> Validate(object instance, Validation...
FILE: src/Nancy.Validation.DataAnnotations/IPropertyValidator.cs
type IPropertyValidator (line 10) | public interface IPropertyValidator
method GetRules (line 27) | IEnumerable<ModelValidationRule> GetRules();
method Validate (line 35) | IEnumerable<ModelValidationError> Validate(object instance, NancyConte...
FILE: src/Nancy.Validation.DataAnnotations/IPropertyValidatorFactory.cs
type IPropertyValidatorFactory (line 10) | public interface IPropertyValidatorFactory
method GetValidators (line 17) | IEnumerable<IPropertyValidator> GetValidators(Type type);
FILE: src/Nancy.Validation.DataAnnotations/IValidatableObjectAdapter.cs
type IValidatableObjectAdapter (line 9) | public interface IValidatableObjectAdapter
method Validate (line 17) | IEnumerable<ModelValidationError> Validate(object instance, NancyConte...
FILE: src/Nancy.Validation.DataAnnotations/PropertyValidator.cs
class PropertyValidator (line 11) | public class PropertyValidator : IPropertyValidator
method GetRules (line 28) | public IEnumerable<ModelValidationRule> GetRules()
method Validate (line 53) | public IEnumerable<ModelValidationError> Validate(object instance, Nan...
FILE: src/Nancy.Validation.DataAnnotations/RangeValidatorAdapter.cs
class RangeValidatorAdapter (line 13) | public class RangeValidatorAdapter : DataAnnotationsValidatorAdapter
method RangeValidatorAdapter (line 18) | public RangeValidatorAdapter() : base("Comparison")
method CanHandle (line 28) | public override bool CanHandle(ValidationAttribute attribute)
method GetRules (line 39) | public override IEnumerable<ModelValidationRule> GetRules(ValidationAt...
method Convert (line 54) | private static object Convert(Type type, object value)
FILE: src/Nancy.Validation.DataAnnotations/RegexValidatorAdapter.cs
class RegexValidatorAdapter (line 12) | public class RegexValidatorAdapter : DataAnnotationsValidatorAdapter
method RegexValidatorAdapter (line 17) | public RegexValidatorAdapter() : base("Regex")
method CanHandle (line 27) | public override bool CanHandle(ValidationAttribute attribute)
method GetRules (line 38) | public override IEnumerable<ModelValidationRule> GetRules(ValidationAt...
FILE: src/Nancy.Validation.DataAnnotations/RequiredValidatorAdapter.cs
class RequiredValidatorAdapter (line 12) | public class RequiredValidatorAdapter : DataAnnotationsValidatorAdapter
method RequiredValidatorAdapter (line 17) | public RequiredValidatorAdapter() : base("Required")
method CanHandle (line 27) | public override bool CanHandle(ValidationAttribute attribute)
method GetRules (line 38) | public override IEnumerable<ModelValidationRule> GetRules(ValidationAt...
FILE: src/Nancy.Validation.DataAnnotations/StringLengthValidatorAdapter.cs
class StringLengthValidatorAdapter (line 12) | public class StringLengthValidatorAdapter : DataAnnotationsValidatorAdapter
method StringLengthValidatorAdapter (line 17) | public StringLengthValidatorAdapter() : base("StringLength")
method CanHandle (line 27) | public override bool CanHandle(ValidationAttribute attribute)
method GetRules (line 38) | public override IEnumerable<ModelValidationRule> GetRules(ValidationAt...
FILE: src/Nancy.Validation.FluentValidation/AdapterBase.cs
class AdapterBase (line 12) | public abstract class AdapterBase : IFluentAdapter
method CanHandle (line 19) | public abstract bool CanHandle(IPropertyValidator validator);
method GetRules (line 25) | public abstract IEnumerable<ModelValidationRule> GetRules(PropertyRule...
method GetMemberNames (line 31) | protected virtual IEnumerable<string> GetMemberNames(PropertyRule rule)
method FormatMessage (line 40) | protected virtual Func<string, string> FormatMessage(PropertyRule rule...
FILE: src/Nancy.Validation.FluentValidation/DefaultFluentAdapterFactory.cs
class DefaultFluentAdapterFactory (line 11) | public class DefaultFluentAdapterFactory : IFluentAdapterFactory
method DefaultFluentAdapterFactory (line 18) | public DefaultFluentAdapterFactory(IEnumerable<IFluentAdapter> adapters)
method Create (line 28) | public IFluentAdapter Create(IPropertyValidator propertyValidator)
FILE: src/Nancy.Validation.FluentValidation/EmailAdapter.cs
class EmailAdapter (line 13) | public class EmailAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/EqualAdapter.cs
class EqualAdapter (line 13) | public class EqualAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/ExactLengthAdapater.cs
class ExactLengthAdapater (line 13) | public class ExactLengthAdapater : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/ExclusiveBetweenAdapter.cs
class ExclusiveBetweenAdapter (line 13) | public class ExclusiveBetweenAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/FallbackAdapter.cs
class FallbackAdapter (line 13) | public class FallbackAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/FluentValidationRegistrations.cs
class FluentValidationRegistrations (line 10) | public class FluentValidationRegistrations : Registrations
method FluentValidationRegistrations (line 17) | public FluentValidationRegistrations(ITypeCatalog typeCatalog) : base(...
FILE: src/Nancy.Validation.FluentValidation/FluentValidationValidator.cs
class FluentValidationValidator (line 15) | public class FluentValidationValidator : IModelValidator
method FluentValidationValidator (line 27) | public FluentValidationValidator(IValidator validator, IFluentAdapterF...
method Validate (line 54) | public ModelValidationResult Validate(object instance, NancyContext co...
method CreateDescriptor (line 65) | private ModelValidationDescriptor CreateDescriptor()
method GetErrors (line 93) | private static IEnumerable<ModelValidationError> GetErrors(ValidationR...
method GetValidationRule (line 100) | private IEnumerable<ModelValidationRule> GetValidationRule(PropertyRul...
FILE: src/Nancy.Validation.FluentValidation/FluentValidationValidatorFactory.cs
class FluentValidationValidatorFactory (line 12) | public class FluentValidationValidatorFactory : IModelValidatorFactory
method FluentValidationValidatorFactory (line 23) | public FluentValidationValidatorFactory(IFluentAdapterFactory adapterF...
method Create (line 34) | public IModelValidator Create(Type type)
method GetValidatorInstance (line 44) | private IValidator GetValidatorInstance(Type type)
method CreateValidatorType (line 67) | private static Type CreateValidatorType(Type type)
FILE: src/Nancy.Validation.FluentValidation/GreaterThanAdapter.cs
class GreaterThanAdapter (line 13) | public class GreaterThanAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/GreaterThanOrEqualAdapter.cs
class GreaterThanOrEqualAdapter (line 13) | public class GreaterThanOrEqualAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/IFluentAdapter.cs
type IFluentAdapter (line 11) | public interface IFluentAdapter
method CanHandle (line 18) | bool CanHandle(IPropertyValidator validator);
method GetRules (line 24) | IEnumerable<ModelValidationRule> GetRules(PropertyRule rule, IProperty...
FILE: src/Nancy.Validation.FluentValidation/IFluentAdapterFactory.cs
type IFluentAdapterFactory (line 8) | public interface IFluentAdapterFactory
method Create (line 15) | IFluentAdapter Create(IPropertyValidator propertyValidator);
FILE: src/Nancy.Validation.FluentValidation/InclusiveBetweenAdapter.cs
class InclusiveBetweenAdapter (line 13) | public class InclusiveBetweenAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/LengthAdapter.cs
class LengthAdapter (line 13) | public class LengthAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/LessThanAdapter.cs
class LessThanAdapter (line 13) | public class LessThanAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/LessThanOrEqualAdapter.cs
class LessThanOrEqualAdapter (line 13) | public class LessThanOrEqualAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/NotEmptyAdapter.cs
class NotEmptyAdapter (line 13) | public class NotEmptyAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/NotEqualAdapter.cs
class NotEqualAdapter (line 13) | public class NotEqualAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/NotNullAdapter.cs
class NotNullAdapter (line 13) | public class NotNullAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.Validation.FluentValidation/RegularExpressionAdapter.cs
class RegularExpressionAdapter (line 13) | public class RegularExpressionAdapter : AdapterBase
method CanHandle (line 20) | public override bool CanHandle(IPropertyValidator validator)
method GetRules (line 29) | public override IEnumerable<ModelValidationRule> GetRules(PropertyRule...
FILE: src/Nancy.ViewEngines.DotLiquid/DefaultFileSystemFactory.cs
class DefaultFileSystemFactory (line 11) | public class DefaultFileSystemFactory : IFileSystemFactory
method DefaultFileSystemFactory (line 16) | public DefaultFileSystemFactory()
method GetFileSystem (line 26) | public IFileSystem GetFileSystem(ViewEngineStartupContext context, IEn...
FILE: src/Nancy.ViewEngines.DotLiquid/DotLiquidRegistrations.cs
class DotLiquidRegistrations (line 13) | public class DotLiquidRegistrations : Registrations
method DotLiquidRegistrations (line 19) | public DotLiquidRegistrations(ITypeCatalog typeCatalog) : base(typeCat...
FILE: src/Nancy.ViewEngines.DotLiquid/DotLiquidViewEngine.cs
class DotLiquidViewEngine (line 17) | public class DotLiquidViewEngine : IViewEngine
method DotLiquidViewEngine (line 27) | public DotLiquidViewEngine(INamingConvention namingConvention)
method DotLiquidViewEngine (line 37) | public DotLiquidViewEngine(IFileSystemFactory fileSystemFactory, INami...
method Initialize (line 57) | public void Initialize(ViewEngineStartupContext viewEngineStartupContext)
method RenderView (line 70) | public Response RenderView(ViewLocationResult viewLocationResult, dyna...
method LoadResource (line 159) | private static string LoadResource(string filename)
FILE: src/Nancy.ViewEngines.DotLiquid/DynamicDrop.cs
class DynamicDrop (line 9) | public class DynamicDrop : Drop
method DynamicDrop (line 17) | public DynamicDrop(dynamic model)
method BeforeMethod (line 22) | public override object BeforeMethod(string propertyName)
method GetExpandoObjectValue (line 51) | private object GetExpandoObjectValue(string propertyName)
method GetDynamicDictionaryObjectValue (line 58) | private object GetDynamicDictionaryObjectValue(string propertyName)
method GetPropertyValue (line 64) | private object GetPropertyValue(string propertyName)
method GetValidModelType (line 73) | private static dynamic GetValidModelType(dynamic model)
FILE: src/Nancy.ViewEngines.DotLiquid/IFileSystemFactory.cs
type IFileSystemFactory (line 10) | public interface IFileSystemFactory
method GetFileSystem (line 18) | IFileSystem GetFileSystem(ViewEngineStartupContext context, IEnumerabl...
FILE: src/Nancy.ViewEngines.DotLiquid/LiquidNancyFileSystem.cs
class LiquidNancyFileSystem (line 16) | public class LiquidNancyFileSystem : IFileSystem
method LiquidNancyFileSystem (line 28) | public LiquidNancyFileSystem(ViewEngineStartupContext context, IEnumer...
method ReadTemplateFile (line 41) | public string ReadTemplateFile(liquid.Context context, string template...
method GetCleanTemplateName (line 79) | private string GetCleanTemplateName(string templateName)
FILE: src/Nancy.ViewEngines.Markdown/MarkDownViewEngine.cs
class MarkDownViewEngine (line 15) | public class MarkDownViewEngine : IViewEngine
method MarkDownViewEngine (line 46) | public MarkDownViewEngine(SuperSimpleViewEngine engineWrapper)
method Initialize (line 55) | public void Initialize(ViewEngineStartupContext viewEngineStartupContext)
method RenderView (line 66) | public Response RenderView(ViewLocationResult viewLocationResult, dyna...
method ConvertMarkdown (line 98) | public string ConvertMarkdown(ViewLocationResult viewLocationResult)
FILE: src/Nancy.ViewEngines.Markdown/MarkdownViewEngineHost.cs
class MarkdownViewEngineHost (line 11) | public class MarkdownViewEngineHost : IViewEngineHost
method MarkdownViewEngineHost (line 24) | public MarkdownViewEngineHost(IViewEngineHost viewEngineHost, IRenderC...
method HtmlEncode (line 44) | public string HtmlEncode(string input)
method GetTemplate (line 55) | public string GetTemplate(string templateName, object model)
method GetUriString (line 88) | public string GetUriString(string name, params string[] parameters)
method ExpandPath (line 98) | public string ExpandPath(string path)
method AntiForgeryToken (line 107) | public string AntiForgeryToken()
FILE: src/Nancy.ViewEngines.Markdown/MarkdownViewengineRender.cs
class MarkdownViewengineRender (line 8) | public static class MarkdownViewengineRender
method RenderMasterPage (line 28) | public static string RenderMasterPage(string templateContent)
FILE: src/Nancy.ViewEngines.Nustache/NustacheViewEngine.cs
class NustacheViewEngine (line 14) | public class NustacheViewEngine : IViewEngine
method Initialize (line 30) | public void Initialize(ViewEngineStartupContext viewEngineStartupContext)
method GetOrCompileTemplate (line 34) | private Template GetOrCompileTemplate(ViewLocationResult viewLocationR...
method GetCompiledTemplate (line 49) | private Func<Template> GetCompiledTemplate<TModel>(TextReader reader)
method RenderView (line 66) | public Response RenderView(ViewLocationResult viewLocationResult, dyna...
method GetPartial (line 83) | private Template GetPartial(IRenderContext renderContext, string name,...
FILE: src/Nancy.ViewEngines.Razor.BuildProviders/NancyCSharpRazorBuildProvider.cs
class NancyCSharpRazorBuildProvider (line 10) | [BuildProviderAppliesTo(BuildProviderAppliesTo.Code | BuildProviderAppli...
method NancyCSharpRazorBuildProvider (line 23) | public NancyCSharpRazorBuildProvider(RazorAssemblyProvider razorAssemb...
method GenerateCode (line 43) | public override void GenerateCode(AssemblyBuilder assemblyBuilder)
method GetGeneratedType (line 55) | public override Type GetGeneratedType(CompilerResults results)
method GetGeneratedCode (line 60) | private CodeCompileUnit GetGeneratedCode()
FILE: src/Nancy.ViewEngines.Razor/AttributeValue.cs
class AttributeValue (line 9) | public class AttributeValue
method AttributeValue (line 17) | public AttributeValue(Tuple<string, int> prefix, Tuple<object, int> va...
FILE: src/Nancy.ViewEngines.Razor/CSharp/CSharpClrTypeResolver.cs
class CSharpClrTypeResolver (line 10) | internal class CSharpClrTypeResolver : ClrTypeResolver<CSharpSymbolType,...
method CSharpClrTypeResolver (line 12) | public CSharpClrTypeResolver(RazorAssemblyProvider razorAssemblyProvider)
method MoveOutOfGenericArguments (line 21) | protected override bool MoveOutOfGenericArguments()
method MoveToNextGenericArgument (line 36) | protected override void MoveToNextGenericArgument()
method MoveToGenericArguments (line 48) | protected override bool MoveToGenericArguments()
method ResolvePrimitiveType (line 65) | protected override Type ResolvePrimitiveType(string typeName)
FILE: src/Nancy.ViewEngines.Razor/CSharp/CSharpRazorViewRenderer.cs
class CSharpRazorViewRenderer (line 12) | public class CSharpRazorViewRenderer : IRazorViewRenderer, IDisposable
method CSharpRazorViewRenderer (line 45) | public CSharpRazorViewRenderer(RazorAssemblyProvider razorAssemblyProv...
method Dispose (line 64) | public void Dispose()
FILE: src/Nancy.ViewEngines.Razor/CSharp/NancyCSharpRazorCodeParser.cs
class NancyCSharpRazorCodeParser (line 12) | public class NancyCSharpRazorCodeParser : CSharpCodeParser
method NancyCSharpRazorCodeParser (line 23) | public NancyCSharpRazorCodeParser(RazorAssemblyProvider razorAssemblyP...
method ModelDirective (line 31) | protected virtual void ModelDirective()
method InheritsDirective (line 61) | protected override void InheritsDirective()
method CheckForInheritsAndModelStatements (line 73) | private void CheckForInheritsAndModelStatements()
FILE: src/Nancy.ViewEngines.Razor/ClrTypeResolver.cs
class ClrTypeResolver (line 17) | internal abstract class ClrTypeResolver<TSymbolType, TSymbol>
method ClrTypeResolver (line 45) | protected ClrTypeResolver(RazorAssemblyProvider razorAssemblyProvider,...
method Resolve (line 61) | public Type Resolve(List<TSymbol> symbols)
method MoveToGenericArguments (line 74) | protected abstract bool MoveToGenericArguments();
method MoveToNextGenericArgument (line 79) | protected abstract void MoveToNextGenericArgument();
method MoveOutOfGenericArguments (line 85) | protected abstract bool MoveOutOfGenericArguments();
method ResolvePrimitiveType (line 92) | protected abstract Type ResolvePrimitiveType(string typeName);
method ResolveType (line 94) | private TypeNameParserStep ResolveType()
method ReadGenericArguments (line 112) | private List<TypeNameParserStep> ReadGenericArguments()
method PopFullIdentifier (line 129) | private string PopFullIdentifier()
method ReadArrayExpression (line 163) | private string ReadArrayExpression()
method ResolveTypeByName (line 185) | private Type ResolveTypeByName(string typeName)
method ResolveTypeFromAssemblyCatalog (line 192) | private Type ResolveTypeFromAssemblyCatalog(string typeName)
class TypeNameParserStep (line 197) | [DebuggerDisplay("{GenericTypeName}`{GenericArguments.Count}")]
method TypeNameParserStep (line 204) | public TypeNameParserStep(string name)
method Resolve (line 216) | public Type Resolve(Func<string, Type> resolveType)
FILE: src/Nancy.ViewEngines.Razor/CodeParserHelper.cs
class CodeParserHelper (line 6) | internal static class CodeParserHelper
method ThrowTypeNotFound (line 13) | public static void ThrowTypeNotFound(RazorAssemblyProvider razorAssemb...
FILE: src/Nancy.ViewEngines.Razor/DefaultRazorConfiguration.cs
class DefaultRazorConfiguration (line 10) | public class DefaultRazorConfiguration : IRazorConfiguration
method DefaultRazorConfiguration (line 17) | public DefaultRazorConfiguration()
method GetAssemblyNames (line 36) | public IEnumerable<string> GetAssemblyNames()
method GetDefaultNamespaces (line 49) | public IEnumerable<string> GetDefaultNamespaces()
FILE: src/Nancy.ViewEngines.Razor/EncodedHtmlString.cs
class EncodedHtmlString (line 8) | public class EncodedHtmlString : IHtmlString
method EncodedHtmlString (line 21) | public EncodedHtmlString(string value)
method ToHtmlString (line 30) | public string ToHtmlString()
FILE: src/Nancy.ViewEngines.Razor/HelperResult.cs
class HelperResult (line 10) | public class HelperResult : IHtmlString
method HelperResult (line 19) | public HelperResult(Action<TextWriter> action)
method ToHtmlString (line 33) | public string ToHtmlString()
method ToString (line 42) | public override string ToString()
method WriteTo (line 55) | public void WriteTo(TextWriter writer)
FILE: src/Nancy.ViewEngines.Razor/HtmlHelpers.cs
class HtmlHelpers (line 12) | public class HtmlHelpers<TModel> : HtmlHelpers
method HtmlHelpers (line 20) | public HtmlHelpers(RazorViewEngine engine, IRenderContext renderContex...
method HtmlHelpers (line 42) | protected HtmlHelpers(RazorViewEngine engine, IRenderContext renderCon...
method Partial (line 65) | public IHtmlString Partial(string viewName)
method Partial (line 76) | public IHtmlString Partial(string viewName, dynamic modelForPartial)
method Raw (line 101) | public IHtmlString Raw(string text)
method AntiForgeryToken (line 110) | public IHtmlString AntiForgeryToken()
class HtmlHelpers (line 35) | public abstract class HtmlHelpers
method HtmlHelpers (line 20) | public HtmlHelpers(RazorViewEngine engine, IRenderContext renderContex...
method HtmlHelpers (line 42) | protected HtmlHelpers(RazorViewEngine engine, IRenderContext renderCon...
method Partial (line 65) | public IHtmlString Partial(string viewName)
method Partial (line 76) | public IHtmlString Partial(string viewName, dynamic modelForPartial)
method Raw (line 101) | public IHtmlString Raw(string text)
method AntiForgeryToken (line 110) | public IHtmlString AntiForgeryToken()
FILE: src/Nancy.ViewEngines.Razor/HtmlHelpersExtensions.cs
class HtmlHelpersExtensions (line 6) | public static class HtmlHelpersExtensions
method HttpMethodOverride (line 15) | public static IHtmlString HttpMethodOverride<T>(this HtmlHelpers<T> he...
FILE: src/Nancy.ViewEngines.Razor/IHtmlString.cs
type IHtmlString (line 3) | public interface IHtmlString
method ToHtmlString (line 9) | string ToHtmlString();
FILE: src/Nancy.ViewEngines.Razor/INancyRazorView.cs
type INancyRazorView (line 3) | public interface INancyRazorView
FILE: src/Nancy.ViewEngines.Razor/IRazorConfiguration.cs
type IRazorConfiguration (line 8) | public interface IRazorConfiguration
method GetAssemblyNames (line 21) | IEnumerable<string> GetAssemblyNames();
method GetDefaultNamespaces (line 26) | IEnumerable<string> GetDefaultNamespaces();
FILE: src/Nancy.ViewEngines.Razor/IRazorViewRenderer.cs
type IRazorViewRenderer (line 12) | public interface IRazorViewRenderer
FILE: src/Nancy.ViewEngines.Razor/ModelCodeGenerator.cs
class ModelCodeGenerator (line 11) | public class ModelCodeGenerator : SetBaseTypeCodeGenerator
method ModelCodeGenerator (line 15) | public ModelCodeGenerator(Type modelType, string typeFullname)
method ResolveType (line 21) | protected override string ResolveType(CodeGeneratorContext context, st...
method GenerateCode (line 26) | public override void GenerateCode(Span target, CodeGeneratorContext co...
FILE: src/Nancy.ViewEngines.Razor/NancyRazorEngineHost.cs
class NancyRazorEngineHost (line 11) | public class NancyRazorEngineHost : RazorEngineHost
method NancyRazorEngineHost (line 18) | public NancyRazorEngineHost(RazorCodeLanguage language, RazorAssemblyP...
method DecorateCodeParser (line 38) | public override ParserBase DecorateCodeParser(ParserBase incomingCodeP...
FILE: src/Nancy.ViewEngines.Razor/NancyRazorErrorView.cs
class NancyRazorErrorView (line 9) | public class NancyRazorErrorView : NancyRazorViewBase
method NancyRazorErrorView (line 33) | public NancyRazorErrorView(string message, TraceConfiguration traceCon...
method Execute (line 47) | public override void Execute()
method LoadResource (line 52) | private static string LoadResource(string filename)
FILE: src/Nancy.ViewEngines.Razor/NancyRazorViewBase.cs
class NancyRazorViewBase (line 14) | public abstract class NancyRazorViewBase : NancyRazorViewBase<dynamic>
method Execute (line 118) | public abstract void Execute();
method Initialize (line 126) | public virtual void Initialize(RazorViewEngine engine, IRenderContext ...
method NancyRazorViewBase (line 165) | protected NancyRazorViewBase()
method Write (line 175) | public virtual void Write(object value)
method WriteLiteral (line 184) | public virtual void WriteLiteral(object value)
method WriteAttribute (line 189) | public virtual void WriteAttribute(string name, Tuple<string, int> pre...
method WriteAttributeTo (line 195) | public virtual void WriteAttributeTo(TextWriter writer, string name, T...
method BuildAttribute (line 201) | private string BuildAttribute(string name, Tuple<string, int> prefix, ...
method GetStringValue (line 242) | private string GetStringValue(AttributeValue value)
method ShouldWriteValue (line 263) | private bool ShouldWriteValue(object value)
method WriteTo (line 285) | public virtual void WriteTo(TextWriter writer, object value)
method WriteLiteralTo (line 295) | public virtual void WriteLiteralTo(TextWriter writer, object value)
method WriteTo (line 305) | public virtual void WriteTo(TextWriter writer, HelperResult value)
method WriteLiteralTo (line 318) | public virtual void WriteLiteralTo(TextWriter writer, HelperResult value)
method DefineSection (line 331) | public virtual void DefineSection(string sectionName, Action action)
method RenderSection (line 341) | public virtual object RenderSection(string sectionName)
method RenderSection (line 351) | public virtual object RenderSection(string sectionName, bool required)
method RenderBody (line 370) | public virtual object RenderBody()
method IsSectionDefined (line 380) | public virtual bool IsSectionDefined(string sectionName)
method ResolveUrl (line 385) | public virtual string ResolveUrl(string url)
method ExecuteView (line 395) | public void ExecuteView(string body, IDictionary<string, string> secti...
method HtmlEncode (line 432) | private string HtmlEncode(object value)
class NancyRazorViewBase (line 22) | public abstract class NancyRazorViewBase<TModel> : INancyRazorView
method Execute (line 118) | public abstract void Execute();
method Initialize (line 126) | public virtual void Initialize(RazorViewEngine engine, IRenderContext ...
method NancyRazorViewBase (line 165) | protected NancyRazorViewBase()
method Write (line 175) | public virtual void Write(object value)
method WriteLiteral (line 184) | public virtual void WriteLiteral(object value)
method WriteAttribute (line 189) | public virtual void WriteAttribute(string name, Tuple<string, int> pre...
method WriteAttributeTo (line 195) | public virtual void WriteAttributeTo(TextWriter writer, string name, T...
method BuildAttribute (line 201) | private string BuildAttribute(string name, Tuple<string, int> prefix, ...
method GetStringValue (line 242) | private string GetStringValue(AttributeValue value)
method ShouldWriteValue (line 263) | private bool ShouldWriteValue(object value)
method WriteTo (line 285) | public virtual void WriteTo(TextWriter writer, object value)
method WriteLiteralTo (line 295) | public virtual void WriteLiteralTo(TextWriter writer, object value)
method WriteTo (line 305) | public virtual void WriteTo(TextWriter writer, HelperResult value)
method WriteLiteralTo (line 318) | public virtual void WriteLiteralTo(TextWriter writer, HelperResult value)
method DefineSection (line 331) | public virtual void DefineSection(string sectionName, Action action)
method RenderSection (line 341) | public virtual object RenderSection(string sectionName)
method RenderSection (line 351) | public virtual object RenderSection(string sectionName, bool required)
method RenderBody (line 370) | public virtual object RenderBody()
method IsSectionDefined (line 380) | public virtual bool IsSectionDefined(string sectionName)
method ResolveUrl (line 385) | public virtual string ResolveUrl(string url)
method ExecuteView (line 395) | public void ExecuteView(string body, IDictionary<string, string> secti...
method HtmlEncode (line 432) | private string HtmlEncode(object value)
FILE: src/Nancy.ViewEngines.Razor/NonEncodedHtmlString.cs
class NonEncodedHtmlString (line 6) | public class NonEncodedHtmlString : IHtmlString
method NonEncodedHtmlString (line 19) | public NonEncodedHtmlString(string value)
method ToHtmlString (line 28) | public string ToHtmlString()
FILE: src/Nancy.ViewEngines.Razor/RazorAssemblyProvider.cs
class RazorAssemblyProvider (line 11) | public class RazorAssemblyProvider
method RazorAssemblyProvider (line 31) | public RazorAssemblyProvider(IRazorConfiguration configuration, IAssem...
method GetAssemblies (line 42) | public IReadOnlyCollection<Assembly> GetAssemblies()
method GetAllAssemblies (line 47) | private IReadOnlyCollection<Assembly> GetAllAssemblies()
method LoadAssembliesInConfiguration (line 55) | private IEnumerable<Assembly> LoadAssembliesInConfiguration()
method GetDefaultAssemblies (line 77) | private IEnumerable<Assembly> GetDefaultAssemblies()
FILE: src/Nancy.ViewEngines.Razor/RazorConfigurationSection.cs
class RazorConfigurationSection (line 8) | public class RazorConfigurationSection : ConfigurationSection
class AssemblyConfigurationItem (line 32) | public sealed class AssemblyConfigurationItem : ConfigurationElement
class AssemblyConfigurationCollection (line 47) | public class AssemblyConfigurationCollection : ConfigurationElementColle...
method GetEnumerator (line 60) | public new IEnumerator<AssemblyConfigurationItem> GetEnumerator()
method CreateNewElement (line 70) | protected override ConfigurationElement CreateNewElement()
method GetElementKey (line 75) | protected override object GetElementKey(ConfigurationElement element)
class NamespaceConfigurationItem (line 81) | public sealed class NamespaceConfigurationItem : ConfigurationElement
class NamespaceConfigurationCollection (line 96) | public class NamespaceConfigurationCollection : ConfigurationElementColl...
method GetEnumerator (line 109) | public new IEnumerator<NamespaceConfigurationItem> GetEnumerator()
method CreateNewElement (line 119) | protected override ConfigurationElement CreateNewElement()
method GetElementKey (line 124) | protected override object GetElementKey(ConfigurationElement element)
FILE: src/Nancy.ViewEngines.Razor/RazorViewEngine.cs
class RazorViewEngine (line 23) | public class RazorViewEngine : IViewEngine, IDisposable
method RazorViewEngine (line 46) | public RazorViewEngine(IRazorConfiguration configuration, INancyEnviro...
method Initialize (line 59) | public void Initialize(ViewEngineStartupContext viewEngineStartupContext)
method RenderView (line 70) | public Response RenderView(ViewLocationResult viewLocationResult, dyna...
method RenderView (line 83) | public Response RenderView(ViewLocationResult viewLocationResult, dyna...
method GetViewStartLayout (line 134) | private string GetViewStartLayout(dynamic model, IRenderContext render...
method AddDefaultNameSpaces (line 160) | private void AddDefaultNameSpaces(RazorEngineHost engineHost)
method GetCompiledViewFactory (line 183) | private Func<INancyRazorView> GetCompiledViewFactory(TextReader reader...
method GetModelTypeFromGeneratedCode (line 194) | private static Type GetModelTypeFromGeneratedCode(GeneratorResults gen...
method GenerateRazorViewFactory (line 201) | private Func<INancyRazorView> GenerateRazorViewFactory(IRazorViewRende...
method BuildErrorMessage (line 242) | private static string BuildErrorMessage(EmitResult result, ViewLocatio...
method GetMetadataReferences (line 265) | private Lazy<IReadOnlyCollection<MetadataReference>> GetMetadataRefere...
method GetCompilationSource (line 276) | private static string[] GetCompilationSource(string code)
method GetLineNumber (line 281) | private static int GetLineNumber(int startLineIndex, IReadOnlyList<str...
method BuildErrorMessages (line 296) | private static string BuildErrorMessages(IEnumerable<Diagnostic> error...
method GetViewBodyLines (line 324) | private static string[] GetViewBodyLines(ViewLocationResult viewLocati...
method AddModelNamespace (line 340) | private static void AddModelNamespace(GeneratorResults razorResult, Ty...
method GetOrCompileView (line 355) | private INancyRazorView GetOrCompileView(ViewLocationResult viewLocati...
method GetViewInstance (line 370) | private INancyRazorView GetViewInstance(ViewLocationResult viewLocatio...
method Dispose (line 384) | public void Dispose()
FILE: src/Nancy.ViewEngines.Razor/RazorViewEngineApplicationStartupRegistrations.cs
class RazorViewEngineRegistrations (line 8) | public class RazorViewEngineRegistrations : Registrations
method RazorViewEngineRegistrations (line 14) | public RazorViewEngineRegistrations(ITypeCatalog typeCatalog) : base(t...
FILE: src/Nancy.ViewEngines.Razor/UrlHelpers.cs
class UrlHelpers (line 7) | public class UrlHelpers<TModel>
method UrlHelpers (line 14) | public UrlHelpers(RazorViewEngine razorViewEngine, IRenderContext rend...
method Content (line 36) | public string Content(string path)
FILE: src/Nancy.ViewEngines.Spark/Descriptors/BuildDescriptorParams.cs
class BuildDescriptorParams (line 6) | public class BuildDescriptorParams
method BuildDescriptorParams (line 16) | public BuildDescriptorParams(string viewPath, string viewName, string ...
method Hash (line 54) | private static int Hash(object str)
method GetHashCode (line 59) | public override int GetHashCode()
method CalculateHashCode (line 64) | private int CalculateHashCode()
method Equals (line 73) | public override bool Equals(object obj)
FILE: src/Nancy.ViewEngines.Spark/Descriptors/DefaultDescriptorBuilder.cs
class DefaultDescriptorBuilder (line 11) | public class DefaultDescriptorBuilder : IDescriptorBuilder
method DefaultDescriptorBuilder (line 16) | public DefaultDescriptorBuilder()
method DefaultDescriptorBuilder (line 21) | public DefaultDescriptorBuilder(string prefix)
method DefaultDescriptorBuilder (line 27) | public DefaultDescriptorBuilder(ISparkViewEngine engine)
method GetExtraParameters (line 41) | public virtual IDictionary<string, object> GetExtraParameters(ViewLoca...
method BuildDescriptor (line 52) | public virtual SparkViewDescriptor BuildDescriptor(BuildDescriptorPara...
method Initialize (line 106) | public virtual void Initialize(ISparkServiceContainer container)
method TrailingUseMasterName (line 112) | public string TrailingUseMasterName(SparkViewDescriptor descriptor)
method LocatePotentialTemplate (line 127) | private bool LocatePotentialTemplate(
method ApplyFilters (line 151) | private IEnumerable<string> ApplyFilters(IEnumerable<string> locations...
method PotentialViewLocations (line 156) | protected virtual IEnumerable<string> PotentialViewLocations(string vi...
method PotentialMasterLocations (line 167) | protected virtual IEnumerable<string> PotentialMasterLocations( string...
method PotentialDefaultMasterLocations (line 184) | protected virtual IEnumerable<string> PotentialDefaultMasterLocations(...
method GetNamespaceEncodedPathViewPath (line 199) | private static string GetNamespaceEncodedPathViewPath(string viewPath)
class UseMasterGrammar (line 208) | private class UseMasterGrammar : CharGrammar
method UseMasterGrammar (line 210) | public UseMasterGrammar(string prefix)
FILE: src/Nancy.ViewEngines.Spark/Descriptors/IDescriptorBuilder.cs
type IDescriptorBuilder (line 7) | public interface IDescriptorBuilder
method GetExtraParameters (line 15) | IDictionary<string, object> GetExtraParameters(ViewLocationResult view...
method BuildDescriptor (line 25) | SparkViewDescriptor BuildDescriptor(BuildDescriptorParams buildDescrip...
FILE: src/Nancy.ViewEngines.Spark/Descriptors/IDescriptorFilter.cs
type IDescriptorFilter (line 5) | public interface IDescriptorFilter
method ExtraParameters (line 13) | void ExtraParameters(ViewLocationResult viewLocationResult, IDictionar...
method PotentialLocations (line 23) | IEnumerable<string> PotentialLocations(IEnumerable<string> locations, ...
FILE: src/Nancy.ViewEngines.Spark/NancyBindingProvider.cs
class NancyBindingProvider (line 14) | public class NancyBindingProvider : BindingProvider
method NancyBindingProvider (line 23) | public NancyBindingProvider(IRootPathProvider rootPathProvider)
method GetBindings (line 28) | public override IEnumerable<Binding> GetBindings(BindingRequest bindin...
method LoadBindings (line 38) | private IEnumerable<Binding> LoadBindings(string fileName)
FILE: src/Nancy.ViewEngines.Spark/NancySparkView.cs
class NancySparkView (line 8) | public abstract class NancySparkView : SparkViewBase
method NancySparkView (line 12) | protected NancySparkView()
method Execute (line 23) | public void Execute()
method H (line 28) | public string H(object value)
method HTML (line 33) | public object HTML(object value)
method AntiForgeryToken (line 54) | public string AntiForgeryToken()
method SetModel (line 61) | public virtual void SetModel(object model)
method SiteResource (line 66) | public string SiteResource(string path)
method SetModel (line 85) | public override void SetModel(object model)
class NancySparkView (line 81) | public abstract class NancySparkView<TModel> : NancySparkView
method NancySparkView (line 12) | protected NancySparkView()
method Execute (line 23) | public void Execute()
method H (line 28) | public string H(object value)
method HTML (line 33) | public object HTML(object value)
method AntiForgeryToken (line 54) | public string AntiForgeryToken()
method SetModel (line 61) | public virtual void SetModel(object model)
method SiteResource (line 66) | public string SiteResource(string path)
method SetModel (line 85) | public override void SetModel(object model)
FILE: src/Nancy.ViewEngines.Spark/NancyViewData.cs
class NancyViewData (line 17) | public class NancyViewData
method NancyViewData (line 25) | public NancyViewData(NancySparkView view)
method Eval (line 36) | public object Eval(string key)
method TryGetViewData (line 42) | private bool TryGetViewData(string key, out object value)
FILE: src/Nancy.ViewEngines.Spark/NancyViewFolder.cs
class NancyViewFolder (line 18) | public class NancyViewFolder : IViewFolder
method NancyViewFolder (line 31) | public NancyViewFolder(ViewEngineStartupContext viewEngineStartupConte...
method GetViewSource (line 46) | public IViewFile GetViewSource(string path)
method ListViews (line 101) | public IList<string> ListViews(string path)
method HasView (line 127) | public bool HasView(string path)
method CompareViewPaths (line 167) | private static bool CompareViewPaths(string storedViewPath, string req...
method ConvertPath (line 172) | private static string ConvertPath(string path)
method GetSafeViewPath (line 177) | private static string GetSafeViewPath(ViewLocationResult result)
method GetFakeContext (line 185) | private static NancyContext GetFakeContext()
class NancyViewFile (line 190) | public class NancyViewFile : IViewFile
method NancyViewFile (line 202) | public NancyViewFile(ViewLocationResult viewLocationResult, ViewConf...
method OpenViewStream (line 223) | public Stream OpenViewStream()
method UpdateContents (line 233) | private void UpdateContents()
FILE: src/Nancy.ViewEngines.Spark/SparkRenderContextWrapper.cs
class SparkRenderContextWrapper (line 12) | internal class SparkRenderContextWrapper : IRenderContext
method SparkRenderContextWrapper (line 17) | public SparkRenderContextWrapper(IRenderContext innerContext, global::...
method ParsePath (line 43) | public string ParsePath(string input)
method HtmlEncode (line 49) | public string HtmlEncode(string input)
method LocateView (line 54) | public ViewLocationResult LocateView(string viewName, dynamic model)
method GetCsrfToken (line 59) | public KeyValuePair<string, string> GetCsrfToken()
FILE: src/Nancy.ViewEngines.Spark/SparkViewEngine.cs
class SparkViewEngine (line 17) | public class SparkViewEngine : IViewEngine
method SparkViewEngine (line 28) | public SparkViewEngine(IRootPathProvider rootPathProvider, INancyEnvir...
method CreateView (line 53) | private SparkViewEngineResult CreateView<TModel>(ViewLocationResult vi...
method GetViewFolder (line 71) | private static IViewFolder GetViewFolder(ViewEngineStartupContext view...
method LocateView (line 76) | private SparkViewEngineResult LocateView(string viewPath, string viewN...
method Initialize (line 113) | public void Initialize(ViewEngineStartupContext viewEngineStartupContext)
method RenderView (line 125) | public Response RenderView(ViewLocationResult viewLocationResult, dyna...
FILE: src/Nancy.ViewEngines.Spark/SparkViewEngineResult.cs
class SparkViewEngineResult (line 7) | public class SparkViewEngineResult
method SparkViewEngineResult (line 9) | public SparkViewEngineResult(NancySparkView view)
method SparkViewEngineResult (line 14) | public SparkViewEngineResult(List<string> searchedLocations)
FILE: src/Nancy/AfterPipeline.cs
class AfterPipeline (line 14) | public class AfterPipeline : AsyncNamedPipelineBase<Func<NancyContext, C...
method AfterPipeline (line 19) | public AfterPipeline()
method AfterPipeline (line 28) | public AfterPipeline(int capacity)
method Invoke (line 108) | public async Task Invoke(NancyContext context, CancellationToken cance...
method Wrap (line 121) | protected override PipelineItem<Func<NancyContext, CancellationToken, ...
FILE: src/Nancy/AppDomainAssemblyCatalog.cs
class AppDomainAssemblyCatalog (line 16) | public class AppDomainAssemblyCatalog : IAssemblyCatalog
method GetAssemblies (line 25) | public virtual IReadOnlyCollection<Assembly> GetAssemblies()
method GetAvailableAssemblies (line 30) | private static IReadOnlyCollection<Assembly> GetAvailableAssemblies()
method GetLoadedNancyReferencingAssemblies (line 39) | private static List<Assembly> GetLoadedNancyReferencingAssemblies()
method LoadNancyReferencingAssemblies (line 54) | private static IEnumerable<Assembly> LoadNancyReferencingAssemblies(IE...
method CreateInspectionAppDomain (line 92) | private static AppDomain CreateInspectionAppDomain()
method CreateRemoteReferenceProber (line 100) | private static ProxyNancyReferenceProber CreateRemoteReferenceProber(A...
method GetAssemblyDirectories (line 107) | private static IEnumerable<string> GetAssemblyDirectories()
method SafeGetAssemblyName (line 124) | private static AssemblyName SafeGetAssemblyName(string assemblyPath)
method SafeLoadAssembly (line 136) | private static Assembly SafeLoadAssembly(AppDomain domain, AssemblyNam...
FILE: src/Nancy/ArrayCache.cs
class ArrayCache (line 6) | public class ArrayCache
method Empty (line 12) | public static T[] Empty<T>()
class EmptyArray (line 17) | private static class EmptyArray<T>
FILE: src/Nancy/AsyncNamedPipelineBase.cs
class AsyncNamedPipelineBase (line 12) | public abstract class AsyncNamedPipelineBase<TAsyncDelegate, TSyncDelegate>
method AsyncNamedPipelineBase (line 22) | protected AsyncNamedPipelineBase()
method AsyncNamedPipelineBase (line 31) | protected AsyncNamedPipelineBase(int capacity)
method AddItemToStartOfPipeline (line 56) | public virtual void AddItemToStartOfPipeline(TAsyncDelegate item)
method AddItemToStartOfPipeline (line 65) | public virtual void AddItemToStartOfPipeline(TSyncDelegate item)
method AddItemToStartOfPipeline (line 78) | public virtual void AddItemToStartOfPipeline(PipelineItem<TAsyncDelega...
method AddItemToStartOfPipeline (line 91) | public virtual void AddItemToStartOfPipeline(PipelineItem<TSyncDelegat...
method AddItemToEndOfPipeline (line 100) | public virtual void AddItemToEndOfPipeline(TAsyncDelegate item)
method AddItemToEndOfPipeline (line 109) | public virtual void AddItemToEndOfPipeline(TSyncDelegate item)
method AddItemToEndOfPipeline (line 122) | public virtual void AddItemToEndOfPipeline(PipelineItem<TAsyncDelegate...
method AddItemToEndOfPipeline (line 144) | public virtual void AddItemToEndOfPipeline(PipelineItem<TSyncDelegate>...
method InsertItemAtPipelineIndex (line 154) | public virtual void InsertItemAtPipelineIndex(int index, TAsyncDelegat...
method InsertItemAtPipelineIndex (line 164) | public virtual void InsertItemAtPipelineIndex(int index, TSyncDelegate...
method InsertItemAtPipelineIndex (line 178) | public virtual void InsertItemAtPipelineIndex(int index, PipelineItem<...
method InsertItemAtPipelineIndex (line 196) | public virtual void InsertItemAtPipelineIndex(int index, PipelineItem<...
method InsertBefore (line 207) | public virtual void InsertBefore(string name, TAsyncDelegate item)
method InsertBefore (line 218) | public virtual void InsertBefore(string name, TSyncDelegate item)
method InsertBefore (line 229) | public virtual void InsertBefore(string name, PipelineItem<TAsyncDeleg...
method InsertBefore (line 248) | public virtual void InsertBefore(string name, PipelineItem<TSyncDelega...
method InsertAfter (line 259) | public virtual void InsertAfter(string name, TAsyncDelegate item)
method InsertAfter (line 270) | public virtual void InsertAfter(string name, TSyncDelegate item)
method InsertAfter (line 281) | public virtual void InsertAfter(string name, PipelineItem<TAsyncDelega...
method InsertAfter (line 309) | public virtual void InsertAfter(string name, PipelineItem<TSyncDelegat...
method RemoveByName (line 319) | public virtual int RemoveByName(string name)
method Wrap (line 342) | protected abstract PipelineItem<TAsyncDelegate> Wrap(PipelineItem<TSyn...
FILE: src/Nancy/BeforePipeline.cs
class BeforePipeline (line 14) | public class BeforePipeline : AsyncNamedPipelineBase<Func<NancyContext, ...
method BeforePipeline (line 20) | public BeforePipeline()
method BeforePipeline (line 28) | public BeforePipeline(int capacity)
method Invoke (line 117) | public async Task<Response> Invoke(NancyContext context, CancellationT...
method Wrap (line 136) | protected override PipelineItem<Func<NancyContext, CancellationToken, ...
FILE: src/Nancy/Bootstrapper/BootstrapperException.cs
class BootstrapperException (line 10) | public class BootstrapperException : Exception
method BootstrapperException (line 17) | public BootstrapperException(string message) : base(message)
method BootstrapperException (line 27) | public BootstrapperException(string message, Exception innerException)...
method BootstrapperException (line 37) | protected BootstrapperException(SerializationInfo info, StreamingConte...
FILE: src/Nancy/Bootstrapper/CollectionTypeRegistration.cs
class CollectionTypeRegistration (line 12) | public class CollectionTypeRegistration : ContainerRegistration
method CollectionTypeRegistration (line 22) | public CollectionTypeRegistration(Type registrationType, IEnumerable<T...
FILE: src/Nancy/Bootstrapper/ContainerRegistration.cs
class ContainerRegistration (line 11) | public abstract class ContainerRegistration
method ValidateTypeCompatibility (line 29) | protected void ValidateTypeCompatibility(params Type[] types)
FILE: src/Nancy/Bootstrapper/FavIconApplicationStartup.cs
class FavIconApplicationStartup (line 15) | public class FavIconApplicationStartup : IApplicationStartup
method FavIconApplicationStartup (line 27) | public FavIconApplicationStartup(IRootPathProvider rootPathProvider, I...
method Initialize (line 46) | public void Initialize(IPipelines pipelines)
method ExtractDefaultIcon (line 50) | private static byte[] ExtractDefaultIcon()
method LocateIconOnFileSystem (line 69) | private static byte[] LocateIconOnFileSystem()
method EnumerateFiles (line 99) | private static IEnumerable<string> EnumerateFiles(string extension)
method ScanForFavIcon (line 107) | private static byte[] ScanForFavIcon()
FILE: src/Nancy/Bootstrapper/IApplicationStartup.cs
type IApplicationStartup (line 6) | public interface IApplicationStartup
method Initialize (line 12) | void Initialize(IPipelines pipelines);
FILE: src/Nancy/Bootstrapper/INancyBootstrapper.cs
type INancyBootstrapper (line 9) | public interface INancyBootstrapper : IDisposable
method Initialise (line 15) | void Initialise();
method GetEngine (line 22) | INancyEngine GetEngine();
method GetEnvironment (line 29) | INancyEnvironment GetEnvironment();
FILE: src/Nancy/Bootstrapper/IPipelines.cs
type IPipelines (line 6) | public interface IPipelines
FILE: src/Nancy/Bootstrapper/IRegistrations.cs
type IRegistrations (line 8) | public interface IRegistrations
FILE: src/Nancy/Bootstrapper/IRequestStartup.cs
type IRequestStartup (line 6) | public interface IRequestStartup
method Initialize (line 13) | void Initialize(IPipelines pipelines, NancyContext context);
FILE: src/Nancy/Bootstrapper/InstanceRegistration.cs
class InstanceRegistration (line 8) | public class InstanceRegistration : ContainerRegistration
method InstanceRegistration (line 15) | public InstanceRegistration(Type registrationType, object implementation)
FILE: src/Nancy/Bootstrapper/Lifetime.cs
type Lifetime (line 6) | public enum Lifetime
FILE: src/Nancy/Bootstrapper/ModuleRegistrationType.cs
class ModuleRegistration (line 8) | public sealed class ModuleRegistration
method ModuleRegistration (line 16) | public ModuleRegistration(Type moduleType)
FILE: src/Nancy/Bootstrapper/MultipleRootPathProvidersLocatedException.cs
class MultipleRootPathProvidersLocatedException (line 13) | public class MultipleRootPathProvidersLocatedException : BootstrapperExc...
method MultipleRootPathProvidersLocatedException (line 23) | public MultipleRootPathProvidersLocatedException()
method MultipleRootPathProvidersLocatedException (line 33) | public MultipleRootPathProvidersLocatedException(string message) : bas...
method MultipleRootPathProvidersLocatedException (line 43) | public MultipleRootPathProvidersLocatedException(string message, Excep...
method MultipleRootPathProvidersLocatedException (line 52) | public MultipleRootPathProvidersLocatedException(IEnumerable<Type> pro...
method MultipleRootPathProvidersLocatedException (line 64) | protected MultipleRootPathProvidersLocatedException(SerializationInfo ...
method StoreProviderTypes (line 79) | private void StoreProviderTypes(IEnumerable<Type> providerTypes)
method GetErrorMessage (line 107) | private string GetErrorMessage()
FILE: src/Nancy/Bootstrapper/NancyBootstrapperBase.cs
class NancyBootstrapperBase (line 21) | [SuppressMessage("Microsoft.StyleCop.CSharp.DocumentationRules", "SA1623...
method NancyBootstrapperBase (line 76) | protected NancyBootstrapperBase()
method GetInitializedInternalConfiguration (line 234) | private NancyInternalConfiguration GetInitializedInternalConfiguration()
method Initialise (line 242) | public void Initialise()
method Configure (line 336) | public virtual void Configure(INancyEnvironment environment)
method GetEnvironmentConfigurator (line 344) | protected abstract INancyEnvironmentConfigurator GetEnvironmentConfigu...
method GetDiagnostics (line 350) | protected abstract IDiagnostics GetDiagnostics();
method GetApplicationStartupTasks (line 356) | protected abstract IEnumerable<IApplicationStartup> GetApplicationStar...
method RegisterAndGetRequestStartupTasks (line 364) | protected abstract IEnumerable<IRequestStartup> RegisterAndGetRequestS...
method GetRegistrationTasks (line 370) | protected abstract IEnumerable<IRegistrations> GetRegistrationTasks();
method GetAllModules (line 377) | public abstract IEnumerable<INancyModule> GetAllModules(NancyContext c...
method GetModule (line 385) | public abstract INancyModule GetModule(Type moduleType, NancyContext c...
method GetEngine (line 391) | public INancyEngine GetEngine()
method GetEnvironment (line 410) | public abstract INancyEnvironment GetEnvironment();
method Dispose (line 416) | public void Dispose()
method Equals (line 454) | public override sealed bool Equals(object obj)
method GetHashCode (line 463) | public override sealed int GetHashCode()
method InitializeRequestPipelines (line 473) | protected virtual IPipelines InitializeRequestPipelines(NancyContext c...
method ToString (line 497) | public override sealed string ToString()
method ApplicationStartup (line 509) | protected virtual void ApplicationStartup(TContainer container, IPipel...
method RequestStartup (line 521) | protected virtual void RequestStartup(TContainer container, IPipelines...
method ConfigureApplicationContainer (line 529) | protected virtual void ConfigureApplicationContainer(TContainer existi...
method ConfigureConventions (line 537) | protected virtual void ConfigureConventions(NancyConventions nancyConv...
method Dispose (line 545) | protected virtual void Dispose(bool disposing)
method GetEngineInternal (line 553) | protected abstract INancyEngine GetEngineInternal();
method GetApplicationContainer (line 559) | protected abstract TContainer GetApplicationContainer();
method RegisterNancyEnvironment (line 566) | protected abstract void RegisterNancyEnvironment(TContainer container,...
method RegisterBootstrapperTypes (line 574) | protected abstract void RegisterBootstrapperTypes(TContainer applicati...
method RegisterTypes (line 581) | protected abstract void RegisterTypes(TContainer container, IEnumerabl...
method RegisterCollectionTypes (line 589) | protected abstract void RegisterCollectionTypes(TContainer container, ...
method RegisterModules (line 596) | protected abstract void RegisterModules(TContainer container, IEnumera...
method RegisterInstances (line 603) | protected abstract void RegisterInstances(TContainer container, IEnume...
method GetAdditionalInstances (line 610) | private IEnumerable<InstanceRegistration> GetAdditionalInstances()
method GetApplicationCollections (line 626) | private IEnumerable<CollectionTypeRegistration> GetApplicationCollecti...
method SafeGetNancyEngineInstance (line 639) | private INancyEngine SafeGetNancyEngineInstance()
method RegisterRegistrationTasks (line 657) | protected virtual void RegisterRegistrationTasks(IEnumerable<IRegistra...
method GetRootPathProvider (line 684) | private IRootPathProvider GetRootPathProvider()
FILE: src/Nancy/Bootstrapper/NancyBootstrapperLocator.cs
class NancyBootstrapperLocator (line 15) | public static class NancyBootstrapperLocator
method LocateBootstrapper (line 29) | private static INancyBootstrapper LocateBootstrapper()
method GetDefaultTypeCatalog (line 44) | private static ITypeCatalog GetDefaultTypeCatalog()
method GetAvailableBootstrapperTypes (line 51) | private static IReadOnlyCollection<Type> GetAvailableBootstrapperTypes...
method GetAssemblyCatalog (line 56) | private static IAssemblyCatalog GetAssemblyCatalog()
method IsNancyReferencing (line 66) | private static bool IsNancyReferencing(Assembly assembly)
method GetBootstrapperType (line 85) | internal static Type GetBootstrapperType()
method GetBootstrapperType (line 90) | internal static Type GetBootstrapperType(ITypeCatalog typeCatalog)
method TryFindMostDerivedType (line 115) | internal static bool TryFindMostDerivedType(IReadOnlyCollection<Type> ...
method GetMultipleBootstrappersMessage (line 129) | private static string GetMultipleBootstrappersMessage(IEnumerable<Type...
FILE: src/Nancy/Bootstrapper/NancyBootstrapperWithRequestContainerBase.cs
class NancyBootstrapperWithRequestContainerBase (line 14) | public abstract class NancyBootstrapperWithRequestContainerBase<TContain...
method NancyBootstrapperWithRequestContainerBase (line 20) | protected NancyBootstrapperWithRequestContainerBase()
method GetAllModules (line 61) | public override sealed IEnumerable<INancyModule> GetAllModules(NancyCo...
method GetModule (line 76) | public override sealed INancyModule GetModule(Type moduleType, NancyCo...
method InitializeRequestPipelines (line 88) | protected override sealed IPipelines InitializeRequestPipelines(NancyC...
method RegisterRegistrationTasks (line 115) | protected override sealed void RegisterRegistrationTasks(IEnumerable<I...
method GetConfiguredRequestContainer (line 151) | protected TContainer GetConfiguredRequestContainer(NancyContext context)
method ConfigureRequestContainer (line 177) | protected virtual void ConfigureRequestContainer(TContainer container,...
method RegisterModules (line 186) | protected override sealed void RegisterModules(TContainer container, I...
method CreateRequestContainer (line 196) | protected abstract TContainer CreateRequestContainer(NancyContext cont...
method RegisterRequestContainerModules (line 203) | protected abstract void RegisterRequestContainerModules(TContainer con...
method GetAllModules (line 210) | protected abstract IEnumerable<INancyModule> GetAllModules(TContainer ...
method GetModule (line 218) | protected abstract INancyModule GetModule(TContainer container, Type m...
FILE: src/Nancy/Bootstrapper/NancyInternalConfiguration.cs
class NancyInternalConfiguration (line 26) | public sealed class NancyInternalConfiguration
method WithOverrides (line 340) | public static Func<ITypeCatalog, NancyInternalConfiguration> WithOverr...
method GetTypeRegistrations (line 357) | public IEnumerable<TypeRegistration> GetTypeRegistrations()
method GetCollectionTypeRegistrations (line 407) | public IEnumerable<CollectionTypeRegistration> GetCollectionTypeRegist...
FILE: src/Nancy/Bootstrapper/Pipelines.cs
class Pipelines (line 8) | public class Pipelines : IPipelines
method Pipelines (line 13) | public Pipelines()
method Pipelines (line 24) | public Pipelines(IPipelines pipelines)
FILE: src/Nancy/Bootstrapper/Registrations.cs
class Registrations (line 12) | public abstract class Registrations : IRegistrations
method Registrations (line 23) | protected Registrations(ITypeCatalog typeCatalog)
method Register (line 57) | public void Register<TRegistration>(Lifetime lifetime = Lifetime.Singl...
method RegisterAll (line 71) | public void RegisterAll<TRegistration>(Lifetime lifetime = Lifetime.Si...
method Register (line 89) | public void Register<TRegistration>(IEnumerable<Type> defaultImplement...
method Register (line 101) | public void Register<TRegistration>(Type implementation, Lifetime life...
method Register (line 111) | public void Register<TRegistration>(TRegistration instance)
method RegisterWithDefault (line 127) | public void RegisterWithDefault<TRegistration>(Type defaultImplementat...
method RegisterWithDefault (line 145) | public void RegisterWithDefault<TRegistration>(Func<TRegistration> def...
method RegisterWithDefault (line 173) | public void RegisterWithDefault<TRegistration>(IEnumerable<Type> defau...
method RegisterWithUserThenDefault (line 200) | public void RegisterWithUserThenDefault<TRegistration>(IEnumerable<Typ...
FILE: src/Nancy/Bootstrapper/TypeRegistration.cs
class TypeRegistration (line 8) | public sealed class TypeRegistration : ContainerRegistration
method TypeRegistration (line 16) | public TypeRegistration(Type registrationType, Type implementationType...
FILE: src/Nancy/Configuration/ConfigurationException.cs
class ConfigurationException (line 9) | public class ConfigurationException : Exception
method ConfigurationException (line 15) | public ConfigurationException(string message)
method ConfigurationException (line 26) | public ConfigurationException(string message, Exception exception)
FILE: src/Nancy/Configuration/DefaultNancyEnvironment.cs
class DefaultNancyEnvironment (line 10) | public class DefaultNancyEnvironment : INancyEnvironment
method GetEnumerator (line 18) | public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
method GetEnumerator (line 27) | IEnumerator IEnumerable.GetEnumerator()
method ContainsKey (line 47) | public bool ContainsKey(string key)
method TryGetValue (line 58) | bool IReadOnlyDictionary<string, object>.TryGetValue(string key, out o...
method AddValue (line 97) | public void AddValue<T>(string key, T value)
method TryGetValue (line 109) | public bool TryGetValue<T>(string key, out T value)
FILE: src/Nancy/Configuration/DefaultNancyEnvironmentConfigurator.cs
class DefaultNancyEnvironmentConfigurator (line 9) | public class DefaultNancyEnvironmentConfigurator : INancyEnvironmentConf...
method DefaultNancyEnvironmentConfigurator (line 19) | public DefaultNancyEnvironmentConfigurator(INancyEnvironmentFactory fa...
method ConfigureEnvironment (line 30) | public INancyEnvironment ConfigureEnvironment(Action<INancyEnvironment...
method SafeGetDefaultConfiguration (line 61) | private static object SafeGetDefaultConfiguration(INancyDefaultConfigu...
FILE: src/Nancy/Configuration/DefaultNancyEnvironmentFactory.cs
class DefaultNancyEnvironmentFactory (line 7) | public class DefaultNancyEnvironmentFactory : INancyEnvironmentFactory
method CreateEnvironment (line 13) | public INancyEnvironment CreateEnvironment()
FILE: src/Nancy/Configuration/INancyDefaultConfigurationProvider.cs
type INancyDefaultConfigurationProvider (line 6) | public interface INancyDefaultConfigurationProvider : IHideObjectMembers
method GetDefaultConfiguration (line 12) | object GetDefaultConfiguration();
FILE: src/Nancy/Configuration/INancyEnvironment.cs
type INancyEnvironment (line 9) | public interface INancyEnvironment : IReadOnlyDictionary<string, object>...
method AddValue (line 17) | void AddValue<T>(string key, T value);
method TryGetValue (line 26) | bool TryGetValue<T>(string key, out T value);
FILE: src/Nancy/Configuration/INancyEnvironmentConfigurator.cs
type INancyEnvironmentConfigurator (line 8) | public interface INancyEnvironmentConfigurator : IHideObjectMembers
method ConfigureEnvironment (line 15) | INancyEnvironment ConfigureEnvironment(Action<INancyEnvironment> confi...
FILE: src/Nancy/Configuration/INancyEnvironmentExtensions.cs
class INancyEnvironmentExtensions (line 8) | public static class INancyEnvironmentExtensions
method AddValue (line 16) | public static void AddValue<T>(this INancyEnvironment environment, T v...
method GetValue (line 27) | public static T GetValue<T>(this INancyEnvironment environment)
method GetValue (line 39) | public static T GetValue<T>(this INancyEnvironment environment, string...
method GetValueWithDefault (line 52) | public static T GetValueWithDefault<T>(this INancyEnvironment environm...
method GetValueWithDefault (line 67) | public static T GetValueWithDefault<T>(this INancyEnvironment environm...
FILE: src/Nancy/Configuration/INancyEnvironmentFactory.cs
type INancyEnvironmentFactory (line 6) | public interface INancyEnvironmentFactory : IHideObjectMembers
method CreateEnvironment (line 12) | INancyEnvironment CreateEnvironment();
FILE: src/Nancy/Configuration/NancyDefaultConfigurationProvider.cs
class NancyDefaultConfigurationProvider (line 7) | public abstract class NancyDefaultConfigurationProvider<T> : INancyDefau...
method GetDefaultConfiguration (line 13) | public abstract T GetDefaultConfiguration();
method GetDefaultConfiguration (line 19) | object INancyDefaultConfigurationProvider.GetDefaultConfiguration()
FILE: src/Nancy/Conventions/AcceptHeaderCoercionConventions.cs
class AcceptHeaderCoercionConventions (line 10) | public class AcceptHeaderCoercionConventions : IEnumerable<Func<IEnumera...
method AcceptHeaderCoercionConventions (line 19) | public AcceptHeaderCoercionConventions(IList<Func<IEnumerable<Tuple<st...
method GetEnumerator (line 30) | public IEnumerator<Func<IEnumerable<Tuple<string, decimal>>, NancyCont...
method GetEnumerator (line 35) | IEnumerator IEnumerable.GetEnumerator()
FILE: src/Nancy/Conventions/BuiltInAcceptHeaderCoercions.cs
class BuiltInAcceptHeaderCoercions (line 11) | public static class BuiltInAcceptHeaderCoercions
method CoerceBlankAcceptHeader (line 25) | public static IEnumerable<Tuple<string, decimal>> CoerceBlankAcceptHea...
method CoerceStupidBrowsers (line 39) | public static IEnumerable<Tuple<string, decimal>> CoerceStupidBrowsers...
method BoostHtml (line 53) | public static IEnumerable<Tuple<string, decimal>> BoostHtml(IEnumerabl...
method IsStupidBrowser (line 75) | private static bool IsStupidBrowser(Tuple<string, decimal>[] current, ...
method IsPotentiallyBrokenBrowser (line 95) | private static bool IsPotentiallyBrokenBrowser(string userAgent)
FILE: src/Nancy/Conventions/BuiltInCultureConventions.cs
class BuiltInCultureConventions (line 15) | public static class BuiltInCultureConventions
method FormCulture (line 23) | public static CultureInfo FormCulture(NancyContext context, Globalizat...
method PathCulture (line 46) | public static CultureInfo PathCulture(NancyContext context, Globalizat...
method HeaderCulture (line 71) | public static CultureInfo HeaderCulture(NancyContext context, Globaliz...
method SessionCulture (line 94) | public static CultureInfo SessionCulture(NancyContext context, Globali...
method CookieCulture (line 111) | public static CultureInfo CookieCulture(NancyContext context, Globaliz...
method GlobalizationConfigurationCulture (line 133) | public static CultureInfo GlobalizationConfigurationCulture(NancyConte...
method IsValidCultureInfoName (line 154) | public static bool IsValidCultureInfoName(string name, GlobalizationCo...
FILE: src/Nancy/Conventions/CultureConventions.cs
class CultureConventions (line 13) | public class CultureConventions : IEnumerable<Func<NancyContext, Globali...
method CultureConventions (line 23) | public CultureConventions(IEnumerable<Func<NancyContext, Globalization...
method GetEnumerator (line 34) | public IEnumerator<Func<NancyContext, GlobalizationConfiguration, Cult...
method GetEnumerator (line 39) | IEnumerator IEnumerable.GetEnumerator()
FILE: src/Nancy/Conventions/DefaultAcceptHeaderCoercionConventions.cs
class DefaultAcceptHeaderCoercionConventions (line 9) | public class DefaultAcceptHeaderCoercionConventions : IConvention
method Initialise (line 15) | public void Initialise(NancyConventions conventions)
method Validate (line 27) | public Tuple<bool, string> Validate(NancyConventions conventions)
method ConfigureDefaultConventions (line 37) | private void ConfigureDefaultConventions(NancyConventions conventions)
FILE: src/Nancy/Conventions/DefaultCultureConventions.cs
class DefaultCultureConventions (line 10) | public class DefaultCultureConventions : IConvention
method Initialise (line 16) | public void Initialise(NancyConventions conventions)
method Validate (line 26) | public Tuple<bool, string> Validate(NancyConventions conventions)
method ConfigureDefaultConventions (line 42) | private static void ConfigureDefaultConventions(NancyConventions conve...
FILE: src/Nancy/Conventions/DefaultStaticContentsConventions.cs
class DefaultStaticContentsConventions (line 9) | public class DefaultStaticContentsConventions : IConvention
method Initialise (line 15) | public void Initialise(NancyConventions conventions)
method Validate (line 28) | public Tuple<bool, string> Validate(NancyConventions conventions)
FILE: src/Nancy/Conventions/DefaultViewLocationConventions.cs
class DefaultViewLocationConventions (line 11) | public class DefaultViewLocationConventions : IConvention
method Initialise (line 17) | public void Initialise(NancyConventions conventions)
method Validate (line 27) | public Tuple<bool, string> Validate(NancyConventions conventions)
method ConfigureViewLocationConventions (line 39) | private static void ConfigureViewLocationConventions(NancyConventions ...
FILE: src/Nancy/Conventions/IConvention.cs
type IConvention (line 8) | public interface IConvention
method Initialise (line 14) | void Initialise(NancyConventions conventions);
method Validate (line 21) | Tuple<bool, string> Validate(NancyConventions conventions);
FILE: src/Nancy/Conventions/NancyConventions.cs
class NancyConventions (line 15) | public class NancyConventions
method NancyConventions (line 23) | public NancyConventions(ITypeCatalog typeCatalog)
method Validate (line 55) | public Tuple<bool, string> Validate()
method GetInstanceRegistrations (line 73) | public IEnumerable<InstanceRegistration> GetInstanceRegistrations()
method BuildDefaultConventions (line 88) | private void BuildDefaultConventions()
FILE: src/Nancy/Conventions/StaticContentConventionBuilder.cs
class StaticContentConventionBuilder (line 17) | public class StaticContentConventionBuilder
method StaticContentConventionBuilder (line 22) | static StaticContentConventionBuilder()
method AddDirectory (line 34) | public static Func<NancyContext, string, Response> AddDirectory(string...
method AddFile (line 82) | public static Func<NancyContext, string, Response> AddFile(string requ...
method GetSafeFileName (line 103) | private static string GetSafeFileName(string path)
method GetSafeFullPath (line 116) | private static string GetSafeFullPath(string path)
method GetContentPath (line 129) | private static string GetContentPath(string requestedPath, string cont...
method BuildContentDelegate (line 142) | private static Func<ResponseFactoryCacheKey, Func<NancyContext, Respon...
method GetEncodedPath (line 209) | private static string GetEncodedPath(string path)
method GetPathWithoutFilename (line 214) | private static string GetPathWithoutFilename(string fileName, string p...
method GetSafeRequestPath (line 224) | private static string GetSafeRequestPath(string requestPath, string re...
method IsWithinContentFolder (line 246) | private static bool IsWithinContentFolder(string contentRootPath, stri...
class ResponseFactoryCacheKey (line 255) | private class ResponseFactoryCacheKey : IEquatable<ResponseFactoryCach...
method ResponseFactoryCacheKey (line 260) | public ResponseFactoryCacheKey(string path, string rootPath)
method Equals (line 282) | public bool Equals(ResponseFactoryCacheKey other)
method Equals (line 297) | public override bool Equals(object obj)
method GetHashCode (line 317) | public override int GetHashCode()
FILE: src/Nancy/Conventions/StaticContentHelper.cs
class StaticContentHelper (line 8) | public static class StaticContentHelper
method MapStaticContent (line 22) | public static void MapStaticContent(this NancyConventions conventions,...
FILE: src/Nancy/Conventions/StaticContentsConventions.cs
class StaticContentsConventions (line 10) | public class StaticContentsConventions : IEnumerable<Func<NancyContext, ...
method StaticContentsConventions (line 19) | public StaticContentsConventions(IEnumerable<Func<NancyContext, string...
method GetEnumerator (line 30) | public IEnumerator<Func<NancyContext, string, Response>> GetEnumerator()
method GetEnumerator (line 35) | IEnumerator IEnumerable.GetEnumerator()
FILE: src/Nancy/Conventions/StaticContentsConventionsExtensions.cs
class StaticContentsConventionsExtensions (line 9) | public static class StaticContentsConventionsExtensions
method AddDirectory (line 18) | public static void AddDirectory(this IList<Func<NancyContext, string, ...
method AddFile (line 29) | public static void AddFile(this IList<Func<NancyContext, string, Respo...
FILE: src/Nancy/Conventions/StaticDirectoryContent.cs
class StaticDirectoryContent (line 6) | public class StaticDirectoryContent
method StaticDirectoryContent (line 14) | public StaticDirectoryContent(NancyConventions conventions)
FILE: src/Nancy/Conventions/StaticFileContent.cs
class StaticFileContent (line 6) | public class StaticFileContent
method StaticFileContent (line 14) | public StaticFileContent(NancyConventions conventions)
FILE: src/Nancy/Conventions/ViewLocationConventions.cs
class ViewLocationConventions (line 15) | public class ViewLocationConventions : IEnumerable<Func<string, object, ...
method ViewLocationConventions (line 24) | public ViewLocationConventions(IEnumerable<Func<string, object, ViewLo...
method GetEnumerator (line 35) | public IEnumerator<Func<string, object, ViewLocationContext, string>> ...
method GetEnumerator (line 40) | IEnumerator IEnumerable.GetEnumerator()
FILE: src/Nancy/Cookies/INancyCookie.cs
type INancyCookie (line 8) | public interface INancyCookie
FILE: src/Nancy/Cookies/NancyCookie.cs
class NancyCookie (line 12) | public class NancyCookie : INancyCookie
method NancyCookie (line 20) | public NancyCookie(string name, string value)
method NancyCookie (line 32) | public NancyCookie(string name, string value, DateTime expires)
method NancyCookie (line 44) | public NancyCookie(string name, string value, bool httpOnly)
method NancyCookie (line 57) | public NancyCookie(string name, string value, bool httpOnly, bool secure)
method NancyCookie (line 71) | public NancyCookie(string name, string value, bool httpOnly, bool secu...
method ToString (line 144) | public override string ToString()
FILE: src/Nancy/Cryptography/AesEncryptionProvider.cs
class AesEncryptionProvider (line 10) | public class AesEncryptionProvider : IEncryptionProvider
method AesEncryptionProvider (line 20) | public AesEncryptionProvider(IKeyGenerator keyGenerator)
method Encrypt (line 31) | public string Encrypt(string data)
method Decrypt (line 48) | public string Decrypt(string data)
FILE: src/Nancy/Cryptography/Base64Helpers.cs
class Base64Helpers (line 8) | public static class Base64Helpers
method GetBase64Length (line 15) | public static int GetBase64Length(int normalLength)
FILE: src/Nancy/Cryptography/CryptographyConfiguration.cs
class CryptographyConfiguration (line 8) | public class CryptographyConfiguration
method CryptographyConfiguration (line 25) | public CryptographyConfiguration(IEncryptionProvider encryptionProvide...
FILE: src/Nancy/Cryptography/DefaultHmacProvider.cs
class DefaultHmacProvider (line 9) | public class DefaultHmacProvider : IHmacProvider
method DefaultHmacProvider (line 30) | public DefaultHmacProvider(IKeyGenerator keyGenerator)
method GenerateHmac (line 48) | public byte[] GenerateHmac(string data)
method GenerateHmac (line 58) | public byte[] GenerateHmac(byte[] data)
FILE: src/Nancy/Cryptography/HmacComparer.cs
class HmacComparer (line 9) | public static class HmacComparer
method Compare (line 18) | [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimiz...
FILE: src/Nancy/Cryptography/IEncryptionProvider.cs
type IEncryptionProvider (line 6) | public interface IEncryptionProvider
method Encrypt (line 13) | string Encrypt(string data);
method Decrypt (line 20) | string Decrypt(string data);
FILE: src/Nancy/Cryptography/IHmacProvider.cs
type IHmacProvider (line 6) | public interface IHmacProvider
method GenerateHmac (line 18) | byte[] GenerateHmac(string data);
method GenerateHmac (line 25) | byte[] GenerateHmac(byte[] data);
FILE: src/Nancy/Cryptography/IKeyGenerator.cs
type IKeyGenerator (line 6) | public interface IKeyGenerator
method GetBytes (line 13) | byte[] GetBytes(int count);
FILE: src/Nancy/Cryptography/NoEncryptionProvider.cs
class NoEncryptionProvider (line 10) | public class NoEncryptionProvider : IEncryptionProvider
method Encrypt (line 17) | public string Encrypt(string data)
method Decrypt (line 27) | public string Decrypt(string data)
FILE: src/Nancy/Cryptography/PassphraseKeyGenerator.cs
class PassphraseKeyGenerator (line 12) | public class PassphraseKeyGenerator : IKeyGenerator
method PassphraseKeyGenerator (line 24) | public PassphraseKeyGenerator(string passphrase, byte[] salt, int iter...
method GetBytes (line 39) | public byte[] GetBytes(int count)
FILE: src/Nancy/Cryptography/RandomKeyGenerator.cs
class RandomKeyGenerator (line 8) | public class RandomKeyGenerator : IKeyGenerator
method GetBytes (line 19) | public byte[] GetBytes(int count)
FILE: src/Nancy/Culture/DefaultCultureService.cs
class DefaultCultureService (line 10) | public class DefaultCultureService : ICultureService
method DefaultCultureService (line 20) | public DefaultCultureService(CultureConventions cultureConventions, IN...
method DetermineCurrentCulture (line 31) | public CultureInfo DetermineCurrentCulture(NancyContext context)
FILE: src/Nancy/Culture/ICultureService.cs
type ICultureService (line 8) | public interface ICultureService
method DetermineCurrentCulture (line 15) | CultureInfo DetermineCurrentCulture(NancyContext context);
FILE: src/Nancy/DefaultGlobalizationConfigurationProvider.cs
class DefaultGlobalizationConfigurationProvider (line 8) | public class DefaultGlobalizationConfigurationProvider : NancyDefaultCon...
method GetDefaultConfiguration (line 14) | public override GlobalizationConfiguration GetDefaultConfiguration()
FILE: src/Nancy/DefaultNancyBootstrapper.cs
class DefaultNancyBootstrapper (line 16) | public class DefaultNancyBootstrapper : NancyBootstrapperWithRequestCont...
method ConfigureApplicationContainer (line 58) | protected override void ConfigureApplicationContainer(TinyIoCContainer...
method GetEngineInternal (line 67) | protected override sealed INancyEngine GetEngineInternal()
method GetApplicationContainer (line 76) | protected override TinyIoCContainer GetApplicationContainer()
method RegisterNancyEnvironment (line 86) | protected override void RegisterNancyEnvironment(TinyIoCContainer cont...
method RegisterBootstrapperTypes (line 97) | protected override sealed void RegisterBootstrapperTypes(TinyIoCContai...
method RegisterTypes (line 107) | protected override sealed void RegisterTypes(TinyIoCContainer containe...
method RegisterCollectionTypes (line 133) | protected override sealed void RegisterCollectionTypes(TinyIoCContaine...
method RegisterRequestContainerModules (line 158) | protected override sealed void RegisterRequestContainerModules(TinyIoC...
method RegisterInstances (line 175) | protected override void RegisterInstances(TinyIoCContainer container, ...
method CreateRequestContainer (line 190) | protected override TinyIoCContainer CreateRequestContainer(NancyContex...
method GetEnvironmentConfigurator (line 199) | protected override INancyEnvironmentConfigurator GetEnvironmentConfigu...
method GetDiagnostics (line 208) | protected override IDiagnostics GetDiagnostics()
method GetApplicationStartupTasks (line 217) | protected override IEnumerable<IApplicationStartup> GetApplicationStar...
method RegisterAndGetRequestStartupTasks (line 226) | protected override IEnumerable<IRequestStartup> RegisterAndGetRequestS...
method GetRegistrationTasks (line 237) | protected override IEnumerable<IRegistrations> GetRegistrationTasks()
method GetEnvironment (line 247) | public override INancyEnvironment GetEnvironment()
method GetAllModules (line 257) | protected override sealed IEnumerable<INancyModule> GetAllModules(Tiny...
method GetModule (line 269) | protected override sealed INancyModule GetModule(TinyIoCContainer cont...
method AutoRegister (line 281) | private void AutoRegister(TinyIoCContainer container, IEnumerable<Func...
FILE: src/Nancy/DefaultNancyContextFactory.cs
class DefaultNancyContextFactory (line 11) | public class DefaultNancyContextFactory : INancyContextFactory
method DefaultNancyContextFactory (line 25) | public DefaultNancyContextFactory(ICultureService cultureService, IReq...
method Create (line 37) | public NancyContext Create(Request request)
FILE: src/Nancy/DefaultObjectSerializer.cs
class DefaultObjectSerializer (line 13) | public class DefaultObjectSerializer : IObjectSerializer
method Serialize (line 20) | public string Serialize(object sourceObject)
method AddTypeInformation (line 35) | private static dynamic AddTypeInformation(object sourceObject)
method Deserialize (line 50) | public object Deserialize(string sourceString)
method ContainsTypeDescription (line 85) | private static bool ContainsTypeDescription(string json)
FILE: src/Nancy/DefaultResponseFormatter.cs
class DefaultResponseFormatter (line 8) | public class DefaultResponseFormatter : IResponseFormatter
method DefaultResponseFormatter (line 22) | public DefaultResponseFormatter(IRootPathProvider rootPathProvider, Na...
FILE: src/Nancy/DefaultResponseFormatterFactory.cs
class DefaultResponseFormatterFactory (line 8) | public class DefaultResponseFormatterFactory : IResponseFormatterFactory
method DefaultResponseFormatterFactory (line 20) | public DefaultResponseFormatterFactory(IRootPathProvider rootPathProvi...
method Create (line 32) | public IResponseFormatter Create(NancyContext context)
FILE: src/Nancy/DefaultRootPathProvider.cs
class DefaultRootPathProvider (line 8) | public class DefaultRootPathProvider : IRootPathProvider
method GetRootPath (line 14) | public string GetRootPath()
FILE: src/Nancy/DefaultRouteConfigurationProvider.cs
class DefaultRouteConfigurationProvider (line 8) | public class DefaultRouteConfigurationProvider : NancyDefaultConfigurati...
method GetDefaultConfiguration (line 14) | public override RouteConfiguration GetDefaultConfiguration()
FILE: src/Nancy/DefaultRuntimeEnvironmentInformation.cs
class DefaultRuntimeEnvironmentInformation (line 11) | public class DefaultRuntimeEnvironmentInformation : IRuntimeEnvironmentI...
method DefaultRuntimeEnvironmentInformation (line 19) | public DefaultRuntimeEnvironmentInformation(ITypeCatalog typeCatalog)
method GetDebugMode (line 33) | private static bool GetDebugMode(ITypeCatalog typeCatalog)
FILE: src/Nancy/DefaultSerializerFactory.cs
class DefaultSerializerFactory (line 14) | public class DefaultSerializerFactory : ISerializerFactory
method DefaultSerializerFactory (line 23) | public DefaultSerializerFactory(IEnumerable<ISerializer> serializers)
method GetSerializer (line 34) | public ISerializer GetSerializer(MediaRange mediaRange)
method GetDefaultSerializerForMediaRange (line 53) | private ISerializer GetDefaultSerializerForMediaRange(MediaRange media...
method GetErrorMessage (line 67) | private static string GetErrorMessage(IEnumerable<ISerializer> matches...
method SafeCanSerialize (line 75) | private static bool SafeCanSerialize(ISerializer serializer, MediaRang...
FILE: src/Nancy/DefaultStaticContentConfigurationProvider.cs
class DefaultStaticContentConfigurationProvider (line 8) | public class DefaultStaticContentConfigurationProvider : NancyDefaultCon...
method DefaultStaticContentConfigurationProvider (line 16) | public DefaultStaticContentConfigurationProvider(IRootPathProvider roo...
method GetDefaultConfiguration (line 25) | public override StaticContentConfiguration GetDefaultConfiguration()
FILE: src/Nancy/DefaultStaticContentProvider.cs
class DefaultStaticContentProvider (line 9) | public class DefaultStaticContentProvider : IStaticContentProvider
method DefaultStaticContentProvider (line 21) | public DefaultStaticContentProvider(IRootPathProvider rootPathProvider...
method GetContent (line 33) | public Response GetContent(NancyContext context)
FILE: src/Nancy/DefaultTraceConfigurationProvider.cs
class DefaultTraceConfigurationProvider (line 8) | public class DefaultTraceConfigurationProvider : NancyDefaultConfigurati...
method DefaultTraceConfigurationProvider (line 15) | public DefaultTraceConfigurationProvider(IRuntimeEnvironmentInformatio...
method GetDefaultConfiguration (line 24) | public override TraceConfiguration GetDefaultConfiguration()
FILE: src/Nancy/DefaultTypeCatalog.cs
class DefaultTypeCatalog (line 13) | public class DefaultTypeCatalog : ITypeCatalog
method DefaultTypeCatalog (line 22) | public DefaultTypeCatalog(IAssemblyCatalog assemblyCatalog)
method GetTypesAssignableTo (line 34) | public IReadOnlyCollection<Type> GetTypesAssignableTo(Type type, TypeR...
method GetTypesAssignableTo (line 39) | private IReadOnlyCollection<Type> GetTypesAssignableTo(Type type)
FILE: src/Nancy/DefaultViewConfigurationProvider.cs
class DefaultViewConfigurationProvider (line 8) | public class DefaultViewConfigurationProvider : NancyDefaultConfiguratio...
method GetDefaultConfiguration (line 15) | public override ViewConfiguration GetDefaultConfiguration()
FILE: src/Nancy/DependencyContextAssemblyCatalog.cs
class DependencyContextAssemblyCatalog (line 14) | public class DependencyContextAssemblyCatalog : IAssemblyCatalog
method DependencyContextAssemblyCatalog (line 23) | public DependencyContextAssemblyCatalog()
method DependencyContextAssemblyCatalog (line 32) | public DependencyContextAssemblyCatalog(Assembly entryAssembly)
method GetAssemblies (line 41) | public virtual IReadOnlyCollection<Assembly> GetAssemblies()
method SafeLoadAssembly (line 62) | private static Assembly SafeLoadAssembly(AssemblyName assemblyName)
method IsReferencingNancy (line 74) | private static bool IsReferencingNancy(Library library)
FILE: src/Nancy/Diagnostics/ConcurrentLimitedCollection.cs
class ConcurrentLimitedCollection (line 12) | public class ConcurrentLimitedCollection<T> : IEnumerable<T>
method ConcurrentLimitedCollection (line 35) | public ConcurrentLimitedCollection(int maxSize)
method GetEnumerator (line 48) | public IEnumerator<T> GetEnumerator()
method GetEnumerator (line 60) | IEnumerator IEnumerable.GetEnumerator()
method Add (line 71) | public void Add(T item)
method Clear (line 85) | public void Clear()
FILE: src/Nancy/Diagnostics/DefaultDiagnostics.cs
class DefaultDiagnostics (line 18) | public class DefaultDiagnostics : IDiagnostics
method DefaultDiagnostics (line 54) | public DefaultDiagnostics(
method Initialize (line 92) | public void Initialize(IPipelines pipelines)
FILE: src/Nancy/Diagnostics/DefaultDiagnosticsConfigurationProvider.cs
class DefaultDiagnosticsConfigurationProvider (line 8) | public class DefaultDiagnosticsConfigurationProvider : NancyDefaultConfi...
method GetDefaultConfiguration (line 15) | public override DiagnosticsConfiguration GetDefaultConfiguration()
FILE: src/Nancy/Diagnostics/DefaultRequestTrace.cs
class DefaultRequestTrace (line 8) | public class DefaultRequestTrace : IRequestTrace
FILE: src/Nancy/Diagnostics/DefaultRequestTraceFactory.cs
class DefaultRequestTraceFactory (line 10) | public class DefaultRequestTraceFactory : IRequestTraceFactory
method DefaultRequestTraceFactory (line 18) | public DefaultRequestTraceFactory(INancyEnvironment environment)
method Create (line 28) | public IRequestTrace Create(Request request)
FILE: src/Nancy/Diagnostics/DefaultRequestTracing.cs
class DefaultRequestTracing (line 10) | public class DefaultRequestTracing : IRequestTracing
method AddRequestDiagnosticToSession (line 21) | public void AddRequestDiagnosticToSession(Guid sessionId, NancyContext...
method Clear (line 36) | public void Clear()
method CreateSession (line 45) | public Guid CreateSession()
method GetSessions (line 60) | public IEnumerable<RequestTraceSession> GetSessions()
method IsValidSessionId (line 70) | public bool IsValidSessionId(Guid sessionId)
FILE: src/Nancy/Diagnostics/DefaultTraceLog.cs
class DefaultTraceLog (line 9) | public class DefaultTraceLog : ITraceLog
method DefaultTraceLog (line 16) | public DefaultTraceLog()
method WriteLog (line 25) | public void WriteLog(Action<StringBuilder> logDelegate)
method ToString (line 39) | public override string ToString()
FILE: src/Nancy/Diagnostics/DescriptionAttribute.cs
class DescriptionAttribute (line 9) | [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, All...
method DescriptionAttribute (line 22) | public DescriptionAttribute(string description)
FILE: src/Nancy/Diagnostics/DiagnosticModule.cs
class DiagnosticModule (line 9) | public abstract class DiagnosticModule : NancyModule
method DiagnosticModule (line 16) | protected DiagnosticModule()
method DiagnosticModule (line 26) | protected DiagnosticModule(string basePath)
FILE: src/Nancy/Diagnostics/DiagnosticsConfiguration.cs
class DiagnosticsConfiguration (line 8) | public class DiagnosticsConfiguration
method DiagnosticsConfiguration (line 23) | private DiagnosticsConfiguration()
method DiagnosticsConfiguration (line 36) | public DiagnosticsConfiguration(bool enabled, string password, string ...
method GetNormalizedPath (line 81) | private static string GetNormalizedPath(string path)
FILE: src/Nancy/Diagnostics/DiagnosticsConfigurationExtensions.cs
class DiagnosticsConfigurationExtensions (line 9) | public static class DiagnosticsConfigurationExtensions
method Diagnostics (line 21) | public static void Diagnostics(this INancyEnvironment environment, str...
method Diagnostics (line 43) | public static void Diagnostics(this INancyEnvironment environment, boo...
FILE: src/Nancy/Diagnostics/DiagnosticsHook.cs
class DiagnosticsHook (line 27) | public static class DiagnosticsHook
method Enable (line 37) | public static void Enable(IPipelines pipelines, IEnumerable<IDiagnosti...
method GetDiagnosticsEnvironment (line 120) | private static INancyEnvironment GetDiagnosticsEnvironment()
method ValidateConfiguration (line 135) | private static bool ValidateConfiguration(DiagnosticsConfiguration con...
method Disable (line 148) | public static void Disable(IPipelines pipelines)
method GetDiagnosticsLoginView (line 153) | private static Response GetDiagnosticsLoginView(NancyContext ctx, INan...
method ExecuteDiagnostics (line 160) | private static Response ExecuteDiagnostics(NancyContext ctx, IRouteRes...
method AddUpdateSessionCookie (line 200) | private static void AddUpdateSessionCookie(DiagnosticsSession session,...
method GetSession (line 219) | private static DiagnosticsSession GetSession(NancyContext context, Dia...
method SessionPasswordValid (line 261) | private static bool SessionPasswordValid(DiagnosticsSession session, s...
method ProcessLogin (line 268) | private static DiagnosticsSession ProcessLogin(NancyContext context, D...
method IsLoginRequest (line 289) | private static bool IsLoginRequest(NancyContext context, DiagnosticsCo...
method ExecuteRoutePreReq (line 296) | private static void ExecuteRoutePreReq(NancyContext context, Cancellat...
method RewriteDiagnosticsUrl (line 311) | private static void RewriteDiagnosticsUrl(DiagnosticsConfiguration dia...
FILE: src/Nancy/Diagnostics/DiagnosticsModuleBuilder.cs
class DiagnosticsModuleBuilder (line 7) | internal class DiagnosticsModuleBuilder : INancyModuleBuilder
method DiagnosticsModuleBuilder (line 14) | public DiagnosticsModuleBuilder(IRootPathProvider rootPathProvider, IM...
method BuildModule (line 28) | public INancyModule BuildModule(INancyModule module, NancyContext cont...
FILE: src/Nancy/Diagnostics/DiagnosticsModuleCatalog.cs
class DiagnosticsModuleCatalog (line 13) | internal class DiagnosticsModuleCatalog : INancyModuleCatalog
method DiagnosticsModuleCatalog (line 17) | public DiagnosticsModuleCatalog(IEnumerable<IDiagnosticsProvider> prov...
method GetAllModules (line 27) | public IEnumerable<INancyModule> GetAllModules(NancyContext context)
method GetModule (line 38) | public INancyModule GetModule(Type moduleType, NancyContext context)
method ConfigureContainer (line 43) | private static TinyIoCContainer ConfigureContainer(IEnumerable<IDiagno...
FILE: src/Nancy/Diagnostics/DiagnosticsSerializerFactory.cs
class DiagnosticsSerializerFactory (line 7) | internal class DiagnosticsSerializerFactory : ISerializerFactory
method DiagnosticsSerializerFactory (line 11) | public DiagnosticsSerializerFactory(INancyEnvironment diagnosticsEnvir...
method GetSerializer (line 21) | public ISerializer GetSerializer(MediaRange mediaRange)
FILE: src/Nancy/Diagnostics/DiagnosticsSession.cs
class DiagnosticsSession (line 12) | [Serializable]
method GenerateRandomSalt (line 39) | public static byte[] GenerateRandomSalt()
method GenerateSaltedHash (line 55) | public static byte[] GenerateSaltedHash(byte[] plainText, byte[] salt)
method GenerateSaltedHash (line 80) | public static byte[] GenerateSaltedHash(string plainText, byte[] salt)
FILE: src/Nancy/Diagnostics/DiagnosticsViewRenderer.cs
class DiagnosticsViewRenderer (line 16) | public class DiagnosticsViewRenderer
method DiagnosticsViewRenderer (line 28) | public DiagnosticsViewRenderer(NancyContext context, INancyEnvironment...
method RenderView (line 55) | private Response RenderView(string name, dynamic model, NancyContext c...
method GetBodyStream (line 70) | private static Stream GetBodyStream(string name)
method GetViewLocationResult (line 81) | private static ViewLocationResult GetViewLocationResult(string name, S...
class DiagnosticsViewResolver (line 90) | internal class DiagnosticsViewResolver : IViewResolver
method GetViewLocation (line 99) | public ViewLocationResult GetViewLocation(string viewName, dynamic m...
class DummyTextResource (line 109) | internal class DummyTextResource : ITextResource
FILE: src/Nancy/Diagnostics/DisabledDiagnostics.cs
class DisabledDiagnostics (line 8) | public class DisabledDiagnostics : IDiagnostics
method Initialize (line 14) | public void Initialize(IPipelines pipelines)
FILE: src/Nancy/Diagnostics/IDiagnostics.cs
type IDiagnostics (line 8) | public interface IDiagnostics
method Initialize (line 14) | void Initialize(IPipelines pipelines);
FILE: src/Nancy/Diagnostics/IDiagnosticsProvider.cs
type IDiagnosticsProvider (line 6) | public interface IDiagnosticsProvider
FILE: src/Nancy/Diagnostics/IInteractiveDiagnostics.cs
type IInteractiveDiagnostics (line 8) | public interface IInteractiveDiagnostics
method ExecuteDiagnostic (line 22) | object ExecuteDiagnostic(InteractiveDiagnosticMethod interactiveDiagno...
method GetTemplate (line 29) | string GetTemplate(InteractiveDiagnosticMethod interactiveDiagnosticMe...
method GetDiagnostic (line 36) | InteractiveDiagnostic GetDiagnostic(string providerName);
method GetMethod (line 44) | InteractiveDiagnosticMethod GetMethod(string providerName, string meth...
FILE: src/Nancy/Diagnostics/IRequestTrace.cs
type IRequestTrace (line 8) | public interface IRequestTrace
FILE: src/Nancy/Diagnostics/IRequestTraceFactory.cs
type IRequestTraceFactory (line 6) | public interface IRequestTraceFactory
method Create (line 13) | IRequestTrace Create(Request request);
FILE: src/Nancy/Diagnostics/IRequestTracing.cs
type IRequestTracing (line 9) | public interface IRequestTracing
method AddRequestDiagnosticToSession (line 16) | void AddRequestDiagnosticToSession(Guid sessionId, NancyContext context);
method Clear (line 21) | void Clear();
method CreateSession (line 27) | Guid CreateSession();
method GetSessions (line 33) | IEnumerable<RequestTraceSession> GetSessions();
method IsValidSessionId (line 40) | bool IsValidSessionId(Guid sessionId);
FILE: src/Nancy/Diagnostics/ITraceLog.cs
type ITraceLog (line 11) | public interface ITraceLog
method WriteLog (line 17) | void WriteLog(Action<StringBuilder> logDelegate);
FILE: src/Nancy/Diagnostics/InteractiveDiagnostic.cs
class InteractiveDiagnostic (line 8) | public class InteractiveDiagnostic
FILE: src/Nancy/Diagnostics/InteractiveDiagnosticMethod.cs
class InteractiveDiagnosticMethod (line 9) | public class InteractiveDiagnosticMethod
method InteractiveDiagnosticMethod (line 51) | public InteractiveDiagnosticMethod(object parentDiagnostic, Type retur...
FILE: src/Nancy/Diagnostics/InteractiveDiagnostics.cs
class InteractiveDiagnostics (line 14) | public class InteractiveDiagnostics : IInteractiveDiagnostics
method InteractiveDiagnostics (line 30) | public InteractiveDiagnostics(IEnumerable<IDiagnosticsProvider> provid...
method ExecuteDiagnostic (line 60) | public object ExecuteDiagnostic(InteractiveDiagnosticMethod interactiv...
method GetTemplate (line 77) | public string GetTemplate(InteractiveDiagnosticMethod interactiveDiagn...
method GetDiagnostic (line 90) | public InteractiveDiagnostic GetDiagnostic(string providerName)
method GetMethod (line 101) | public InteractiveDiagnosticMethod GetMethod(string providerName, stri...
method BuildAvailableDiagnostics (line 113) | private void BuildAvailableDiagnostics()
method GetDiagnosticMethods (line 130) | private IEnumerable<InteractiveDiagnosticMethod> GetDiagnosticMethods(...
method GetDescription (line 156) | private string GetDescription(IDiagnosticsProvider diagnosticsProvider...
method GetArguments (line 162) | private IEnumerable<Tuple<string, Type>> GetArguments(MethodInfo metho...
method GetTemplateFromProperty (line 175) | private static string GetTemplateFromProperty(
method GetTemplateFromAttribute (line 189) | private static string GetTemplateFromAttribute(InteractiveDiagnosticMe...
method GetDescriptionFromProperty (line 198) | private static string GetDescriptionFromProperty(IDiagnosticsProvider ...
method GetDescriptionFromAttribute (line 211) | private static string GetDescriptionFromAttribute(IDiagnosticsProvider...
method GetMethodInfo (line 218) | private static MethodInfo GetMethodInfo(InteractiveDiagnosticMethod in...
FILE: src/Nancy/Diagnostics/Modules/InfoModule.cs
class InfoModule (line 18) | public class InfoModule : DiagnosticModule
method InfoModule (line 33) | public InfoModule(IRootPathProvider rootPathProvider, NancyInternalCon...
method GetViewEngines (line 73) | private string[] GetViewEngines()
method GetBootstrapperContainer (line 82) | private string GetBootstrapperContainer()
method GetHosting (line 94) | private string GetHosting()
FILE: src/Nancy/Diagnostics/Modules/InteractiveModule.cs
class InteractiveModule (line 14) | public class InteractiveModule : DiagnosticModule
method InteractiveModule (line 23) | public InteractiveModule(IInteractiveDiagnostics interactiveDiagnostics)
method GetArguments (line 131) | private static object[] GetArguments(InteractiveDiagnosticMethod metho...
method ConvertArgument (line 143) | private static object ConvertArgument(string value, Type destinationType)
FILE: src/Nancy/Diagnostics/Modules/MainModule.cs
class MainModule (line 7) | public class MainModule : DiagnosticModule
method MainModule (line 12) | public MainModule()
FILE: src/Nancy/Diagnostics/Modules/SettingsModule.cs
class SettingsModule (line 14) | pu
Condensed preview — 1321 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (5,285K chars).
[
{
"path": ".editorconfig",
"chars": 581,
"preview": "# editorconfig.org\r\n\r\n# top-most EditorConfig file\r\nroot = true\r\n\r\n# Default settings:\r\n# A newline ending every file\r\n#"
},
{
"path": ".gitattributes",
"chars": 7,
"preview": "* -crlf"
},
{
"path": ".github/CONTRIBUTING.md",
"chars": 4260,
"preview": "# How to contribute\r\n\r\nFirst of all, thank you for wanting to contribute to Nancy! We really appreciate all the awesome "
},
{
"path": ".github/ISSUE_TEMPLATE.md",
"chars": 1146,
"preview": "### Prerequisites\r\n\r\n- [ ] I have written a descriptive issue title\r\n- [ ] I have verified that I am running the latest "
},
{
"path": ".github/PULL_REQUEST_TEMPLATE.md",
"chars": 583,
"preview": "### Prerequisites\r\n\r\n- [ ] I have written a descriptive pull-request title\r\n- [ ] I have verified that there are no over"
},
{
"path": ".gitignore",
"chars": 481,
"preview": "*.[Cc]ache\r\n*.csproj.user\r\n*.[Rr]e[Ss]harper*\r\n*.sln.cache\r\n*.suo\r\n*.user\r\n*.orig\r\n*.pidb\r\n*.ide\r\n*.userprefs\r\n/Assembly"
},
{
"path": ".mailmap",
"chars": 912,
"preview": "Andreas Håkansson <andreas@thecodejunkie.com> <andreas@selfinflicted.org>\r\nAndreas Håkansson <andreas@thecodejunkie.com>"
},
{
"path": ".travis.yml",
"chars": 212,
"preview": "language: csharp\r\nos:\r\n - linux\r\n - osx\r\n\r\nsudo: required\r\ndist: trusty\r\n\r\nmono:\r\n - 4.4.2\r\n\r\ndotnet: 2.1.4\r\n\r\nscript"
},
{
"path": "Nancy.ruleset",
"chars": 17177,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<RuleSet Name=\"Nancy\" ToolsVersion=\"14.0\">\r\n <Include Path=\"allrules.ruleset\" "
},
{
"path": "Nancy.sln",
"chars": 49137,
"preview": "Microsoft Visual Studio Solution File, Format Version 12.00\r\n# Visual Studio 15\r\nVisualStudioVersion = 15.0.27130.2010\r\n"
},
{
"path": "Nancy.sln.DotSettings",
"chars": 8835,
"preview": "<wpf:ResourceDictionary xml:space=\"preserve\" xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\" xmlns:s=\"clr-namesp"
},
{
"path": "NuGet.config",
"chars": 195,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\r\n<configuration>\r\n <packageSources>\r\n <add key=\"api.nuget.org\" value=\"https"
},
{
"path": "README.md",
"chars": 9056,
"preview": "# ** Announcement ** - Nancy is no longer being maintained! \n\nWe would like to thank all the thousands of users of Nancy"
},
{
"path": "SharedAssemblyInfo.cs",
"chars": 464,
"preview": "using System.Runtime.InteropServices;\r\nusing System.Reflection;\r\n\r\n[assembly: AssemblyTitle(\"Nancy\")]\r\n[assembly: Assemb"
},
{
"path": "appveyor.yml",
"chars": 646,
"preview": "image: Visual Studio 2017\r\n\r\nversion: 2.0.0-ci000{build}\r\nconfiguration: Release\r\ncache: C:\\Users\\appveyor\\.nuget\\packag"
},
{
"path": "build.cake",
"chars": 10834,
"preview": "// Usings\r\nusing System.Text.RegularExpressions;\r\n\r\n// Arguments\r\nvar target = Argument<string>(\"target\", \"Default\");\r\nv"
},
{
"path": "build.ps1",
"chars": 3244,
"preview": "$CakeVersion = \"0.24.0\"\r\n$DotNetVersion = select-string -Path .\\global.json -Pattern '[\\d]\\.[\\d]\\.[\\d]' | % {$_.Matches}"
},
{
"path": "build.sh",
"chars": 1988,
"preview": "#!/usr/bin/env bash\n\n# Define directories.\nSCRIPT_DIR=$PWD\nTOOLS_DIR=$SCRIPT_DIR/tools\nCAKE_VERSION=0.24.0\nCAKE_DLL=$TOO"
},
{
"path": "favicon.license.txt",
"chars": 229,
"preview": "The Nancy logo is copyright ©2011 by Andreas Håkansson and Steven Robbins. Please consult the usage guidelines in the Na"
},
{
"path": "global.json",
"chars": 55,
"preview": "{\r\n \"sdk\": {\r\n \"version\": \"2.1.4\"\r\n }\r\n}\r\n"
},
{
"path": "how_to_build.txt",
"chars": 1023,
"preview": "How to build Nancy\r\n==================\r\n\r\n*NOTE* These instructions are *only* for building with Cake - if you just want"
},
{
"path": "license.txt",
"chars": 1129,
"preview": "The MIT License\r\n\r\nCopyright (c) 2010 Andreas Hkansson, Steven Robbins and contributors\r\n\r\nPermission is hereby granted,"
},
{
"path": "samples/Nancy.Demo.Async/App.config",
"chars": 168,
"preview": "<?xml version=\"1.0\"?>\r\n<configuration>\r\n <startup> \r\n <supportedRuntime version=\"v4.0\" sku=\".NETFramework,Ver"
},
{
"path": "samples/Nancy.Demo.Async/MainModule.cs",
"chars": 2042,
"preview": "namespace Nancy.Demo.Async\r\n{\r\n using System;\r\n using System.Net.Http;\r\n using System.Threading.Tasks;\r\n\r\n "
},
{
"path": "samples/Nancy.Demo.Async/Nancy.Demo.Async.csproj",
"chars": 3869,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.Async/Program.cs",
"chars": 2716,
"preview": "namespace Nancy.Demo.Async\r\n{\r\n using System;\r\n using System.IO;\r\n using System.Text;\r\n using System.Thread"
},
{
"path": "samples/Nancy.Demo.Authentication/AnotherVerySecureModule.cs",
"chars": 731,
"preview": "namespace Nancy.Demo.Authentication\r\n{\r\n using System.Security.Claims;\r\n using Nancy.Demo.Authentication.Models;\r\n"
},
{
"path": "samples/Nancy.Demo.Authentication/AuthenticationBootstrapper.cs",
"chars": 2178,
"preview": "namespace Nancy.Demo.Authentication\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using System.Secur"
},
{
"path": "samples/Nancy.Demo.Authentication/MainModule.cs",
"chars": 376,
"preview": "namespace Nancy.Demo.Authentication\r\n{\r\n public class MainModule : NancyModule\r\n {\r\n public MainModule()\r\n "
},
{
"path": "samples/Nancy.Demo.Authentication/Models/UserModel.cs",
"chars": 243,
"preview": "namespace Nancy.Demo.Authentication.Models\r\n{\r\n public class UserModel\r\n {\r\n public string Username { get;"
},
{
"path": "samples/Nancy.Demo.Authentication/Nancy.Demo.Authentication.csproj",
"chars": 8787,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.Authentication/README.txt",
"chars": 1,
"preview": ""
},
{
"path": "samples/Nancy.Demo.Authentication/SecureModule.cs",
"chars": 478,
"preview": "namespace Nancy.Demo.Authentication\r\n{\r\n using Nancy.Demo.Authentication.Models;\r\n using Nancy.Security;\r\n\r\n pu"
},
{
"path": "samples/Nancy.Demo.Authentication/Views/Index.cshtml",
"chars": 266,
"preview": "<html>\r\n<head>\r\n <title>Index</title>\r\n</head>\r\n<body>\r\n <h1>Nancy Authentication Demo</h1>\r\n <a href=\"/secure"
},
{
"path": "samples/Nancy.Demo.Authentication/Views/Login.cshtml",
"chars": 281,
"preview": "<html>\r\n<head>\r\n <title>Login</title>\r\n</head>\r\n<body>\r\n <h1>Super Secure Login Page 4000</h1>\r\n <form action="
},
{
"path": "samples/Nancy.Demo.Authentication/Views/secure.cshtml",
"chars": 155,
"preview": "<html>\r\n<head>\r\n <title>Index</title>\r\n</head>\r\n<body>\r\n <h1>Secure Page</h1>\r\n Hello @Model.Username\r\n <a "
},
{
"path": "samples/Nancy.Demo.Authentication/Views/superSecure.cshtml",
"chars": 161,
"preview": "<html>\r\n<head>\r\n <title>Index</title>\r\n</head>\r\n<body>\r\n <h1>Super Secure Page</h1>\r\n Hello @Model.Username\r\n "
},
{
"path": "samples/Nancy.Demo.Authentication/Web.Debug.config",
"chars": 158,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Authentication/Web.Release.config",
"chars": 219,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Authentication/Web.config",
"chars": 517,
"preview": "<?xml version=\"1.0\"?>\r\n<configuration>\r\n <system.web>\r\n <httpHandlers>\r\n <add verb=\"*\" type=\"Nancy.Hosting.Asp"
},
{
"path": "samples/Nancy.Demo.Authentication.Basic/AuthenticationBootstrapper.cs",
"chars": 589,
"preview": "namespace Nancy.Demo.Authentication.Basic\r\n{\r\n using Nancy.Authentication.Basic;\r\n using Nancy.Bootstrapper;\r\n "
},
{
"path": "samples/Nancy.Demo.Authentication.Basic/MainModule.cs",
"chars": 218,
"preview": "namespace Nancy.Demo.Authentication.Basic\r\n{\r\n public class MainModule : NancyModule\r\n {\r\n public MainModu"
},
{
"path": "samples/Nancy.Demo.Authentication.Basic/Nancy.Demo.Authentication.Basic.csproj",
"chars": 8549,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.Authentication.Basic/SecureModule.cs",
"chars": 337,
"preview": "namespace Nancy.Demo.Authentication.Basic\r\n{\r\n using Nancy.Security;\r\n\r\n public class SecureModule : NancyModule\r"
},
{
"path": "samples/Nancy.Demo.Authentication.Basic/UserValidator.cs",
"chars": 564,
"preview": "namespace Nancy.Demo.Authentication.Basic\r\n{\r\n using System.Security.Claims;\r\n using System.Security.Principal;\r\n"
},
{
"path": "samples/Nancy.Demo.Authentication.Basic/Web.Debug.config",
"chars": 158,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Authentication.Basic/Web.Release.config",
"chars": 219,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Authentication.Basic/Web.config",
"chars": 573,
"preview": "<?xml version=\"1.0\"?>\r\n<configuration>\r\n <system.web>\r\n <compilation debug=\"true\" targetFramework=\"4.0\" />\r\n <ht"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/FormsAuthBootstrapper.cs",
"chars": 1764,
"preview": "namespace Nancy.Demo.Authentication.Forms\r\n{\r\n using Nancy.Authentication.Forms;\r\n using Nancy.Bootstrapper;\r\n "
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/MainModule.cs",
"chars": 1371,
"preview": "namespace Nancy.Demo.Authentication.Forms\r\n{\r\n using System;\r\n using System.Dynamic;\r\n\r\n using Nancy.Authentica"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/Models/UserModel.cs",
"chars": 252,
"preview": "namespace Nancy.Demo.Authentication.Forms.Models\r\n{\r\n public class UserModel\r\n {\r\n public string Username "
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/Nancy.Demo.Authentication.Forms.csproj",
"chars": 9017,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/PartlySecureModule.cs",
"chars": 641,
"preview": "namespace Nancy.Demo.Authentication.Forms\r\n{\r\n using Nancy.Demo.Authentication.Forms.Models;\r\n using Nancy.Securit"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/README.txt",
"chars": 1,
"preview": ""
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/SecureModule.cs",
"chars": 490,
"preview": "namespace Nancy.Demo.Authentication.Forms\r\n{\r\n using Nancy.Demo.Authentication.Forms.Models;\r\n using Nancy.Securit"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/UserDatabase.cs",
"chars": 1416,
"preview": "namespace Nancy.Demo.Authentication.Forms\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using System"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/Views/index.cshtml",
"chars": 385,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/Views/login.cshtml",
"chars": 685,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/Views/secure.cshtml",
"chars": 372,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/Web.Debug.config",
"chars": 158,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/Web.Release.config",
"chars": 219,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms/Web.config",
"chars": 572,
"preview": "<?xml version=\"1.0\"?>\r\n<configuration>\r\n <system.web>\r\n <compilation debug=\"true\" targetFramework=\"4.5\"/>\r\n <htt"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms.TestingDemo/LoginFixture.cs",
"chars": 1495,
"preview": "namespace Nancy.Demo.Authentication.Forms.TestingDemo\r\n{\r\n using System;\r\n using System.Threading.Tasks;\r\n usin"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms.TestingDemo/Nancy.Demo.Authentication.Forms.TestingDemo.csproj",
"chars": 8378,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms.TestingDemo/TestBootstrapper.cs",
"chars": 275,
"preview": "namespace Nancy.Demo.Authentication.Forms.TestingDemo\r\n{\r\n public class TestBootstrapper : FormsAuthBootstrapper\r\n "
},
{
"path": "samples/Nancy.Demo.Authentication.Forms.TestingDemo/TestRootPathProvider.cs",
"chars": 696,
"preview": "namespace Nancy.Demo.Authentication.Forms.TestingDemo\r\n{\r\n using System;\r\n using System.IO;\r\n using Nancy.Testi"
},
{
"path": "samples/Nancy.Demo.Authentication.Forms.TestingDemo/packages.config",
"chars": 528,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<packages>\r\n <package id=\"xunit\" version=\"2.1.0\" targetFramework=\"net45\" />\r\n "
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless/AuthModule.cs",
"chars": 1028,
"preview": "namespace Nancy.Demo.Authentication.Stateless\r\n{\r\n public class AuthModule : NancyModule\r\n {\r\n public Auth"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless/Models/UserModel.cs",
"chars": 256,
"preview": "namespace Nancy.Demo.Authentication.Stateless.Models\r\n{\r\n public class UserModel\r\n {\r\n public string Usern"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless/Nancy.Demo.Authentication.Stateless.csproj",
"chars": 7728,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless/RootModule.cs",
"chars": 775,
"preview": "namespace Nancy.Demo.Authentication.Stateless\r\n{\r\n public class RootModule : NancyModule\r\n {\r\n public RootM"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless/SecureModule.cs",
"chars": 1419,
"preview": "namespace Nancy.Demo.Authentication.Stateless\r\n{\r\n using System;\r\n using Nancy.Demo.Authentication.Stateless.Model"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless/StatelessAuthBootstrapper.cs",
"chars": 1817,
"preview": "namespace Nancy.Demo.Authentication.Stateless\r\n{\r\n using Nancy.Authentication.Stateless;\r\n using Nancy.Bootstrappe"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless/UserDatabase.cs",
"chars": 2217,
"preview": "namespace Nancy.Demo.Authentication.Stateless\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using Sy"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless/Web.Debug.config",
"chars": 158,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless/Web.Release.config",
"chars": 219,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless/Web.config",
"chars": 515,
"preview": "<?xml version=\"1.0\"?>\r\n<configuration>\r\n <system.web>\r\n <httpHandlers>\r\n <add verb=\"*\" type=\"Nancy.Hosting.Asp"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless.Website/Nancy.Demo.Authentication.Stateless.Website.csproj",
"chars": 6703,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless.Website/Scripts/api.js",
"chars": 192,
"preview": "var api = {\r\n auth: \"http://localhost:55581/restApi/auth\",\r\n secure: \"http://localhost:55581/restApi/secure\",\r\n "
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless.Website/Scripts/apiToken.js",
"chars": 1499,
"preview": "var apiKeyKey = \"sample_apiKey\";\r\nvar usernameKey = \"sample_username\";\r\n\r\nvar ApiToken = {\r\n\r\n Set: function (userna"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless.Website/Web.Debug.config",
"chars": 158,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless.Website/Web.Release.config",
"chars": 219,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless.Website/Web.config",
"chars": 128,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration>\r\n <system.web>\r\n <compilation debug=\"true\" />\r\n </system.web>\r\n</configur"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless.Website/index.html",
"chars": 1673,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless.Website/login.html",
"chars": 2044,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Authentication.Stateless.Website/secure.html",
"chars": 5782,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/ApplicationDependencyClass.cs",
"chars": 787,
"preview": "namespace Nancy.AspNetBootstrapperDemo\r\n{\r\n using System;\r\n\r\n using Nancy.Demo.Bootstrapping.Aspnet;\r\n\r\n /// <s"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/Bootstrapper.cs",
"chars": 691,
"preview": "namespace Nancy.AspNetBootstrapperDemo\r\n{\r\n using Nancy.Demo.Bootstrapping.Aspnet;\r\n using Nancy.Hosting.Aspnet;\r\n"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/DependencyModule.cs",
"chars": 1023,
"preview": "namespace Nancy.Demo.Bootstrapping.Aspnet\r\n{\r\n using Nancy.Demo.Bootstrapping.Aspnet.Models;\r\n\r\n public class Dep"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/IApplicationDependency.cs",
"chars": 136,
"preview": "namespace Nancy.Demo.Bootstrapping.Aspnet\r\n{\r\n public interface IApplicationDependency\r\n {\r\n string GetCont"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/IRequestDependency.cs",
"chars": 132,
"preview": "namespace Nancy.Demo.Bootstrapping.Aspnet\r\n{\r\n public interface IRequestDependency\r\n {\r\n string GetContent("
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/Models/RatPack.cs",
"chars": 142,
"preview": "namespace Nancy.Demo.Bootstrapping.Aspnet.Models\r\n{\r\n public class RatPack\r\n {\r\n public string FirstName {"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/Models/RatPackWithDependencyText.cs",
"chars": 247,
"preview": "namespace Nancy.Demo.Bootstrapping.Aspnet.Models\r\n{\r\n public class RatPackWithDependencyText : RatPack\r\n {\r\n "
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/Nancy.Demo.Bootstrapping.Aspnet.csproj",
"chars": 8752,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/README.txt",
"chars": 1,
"preview": ""
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/RequestDependencyClass.cs",
"chars": 712,
"preview": "namespace Nancy.Demo.Bootstrapping.Aspnet\r\n{\r\n using System;\r\n\r\n /// <summary>\r\n /// A module dependency that w"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/Views/razor-dependency.cshtml",
"chars": 248,
"preview": "<html>\r\n<head>\r\n <title>Razor View Engine Demo</title>\r\n</head>\r\n<body>\r\n <h1>Hello @Model.FirstName</h1>\r\n\t<p>Th"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/Web.Debug.config",
"chars": 158,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/Web.Release.config",
"chars": 219,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Bootstrapper.Aspnet/Web.config",
"chars": 575,
"preview": "<?xml version=\"1.0\"?>\r\n<configuration>\r\n <system.web>\r\n <compilation debug=\"true\" targetFramework=\"4.0\" />\r\n <ht"
},
{
"path": "samples/Nancy.Demo.Caching/CachedResponse.cs",
"chars": 1579,
"preview": "namespace Nancy.Demo.Caching\r\n{\r\n using System;\r\n using System.IO;\r\n using System.Text;\r\n using System.Thre"
},
{
"path": "samples/Nancy.Demo.Caching/CachingBootstrapper.cs",
"chars": 2674,
"preview": "namespace Nancy.Demo.Caching\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n\r\n using Nancy.Bootstrappe"
},
{
"path": "samples/Nancy.Demo.Caching/CachingExtensions/ContextExtensions.cs",
"chars": 890,
"preview": "namespace Nancy.Demo.Caching.CachingExtensions\r\n{\r\n public static class ContextExtensions\r\n {\r\n public con"
},
{
"path": "samples/Nancy.Demo.Caching/MainModule.cs",
"chars": 699,
"preview": "namespace Nancy.Demo.Caching\r\n{\r\n using System;\r\n using Nancy.Demo.Caching.CachingExtensions;\r\n\r\n public class "
},
{
"path": "samples/Nancy.Demo.Caching/Nancy.Demo.Caching.csproj",
"chars": 8561,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.Caching/README.txt",
"chars": 1,
"preview": ""
},
{
"path": "samples/Nancy.Demo.Caching/Views/Index.cshtml",
"chars": 195,
"preview": "<html>\r\n<head>\r\n <title>Index</title>\r\n</head>\r\n<body>\r\n <h1>Nancy Caching Demo</h1>\r\n <p><a href=\"/cached\">Ca"
},
{
"path": "samples/Nancy.Demo.Caching/Views/Payload.cshtml",
"chars": 226,
"preview": "<html>\r\n<head>\r\n <title>Index</title>\r\n</head>\r\n<body>\r\n <h1>Nancy Caching Demo</h1>\r\n <p>This page was create"
},
{
"path": "samples/Nancy.Demo.Caching/Web.Debug.config",
"chars": 158,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Caching/Web.Release.config",
"chars": 219,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Caching/Web.config",
"chars": 517,
"preview": "<?xml version=\"1.0\"?>\r\n<configuration>\r\n <system.web>\r\n <httpHandlers>\r\n <add verb=\"*\" type=\"Nancy.Hosting.Asp"
},
{
"path": "samples/Nancy.Demo.ConstraintRouting/ConstraintRoutingModule.cs",
"chars": 2045,
"preview": "namespace Nancy.Demo.ModelBinding\r\n{\r\n public class ConstraintRoutingModule : NancyModule\r\n {\r\n public Con"
},
{
"path": "samples/Nancy.Demo.ConstraintRouting/EmailRouteSegmentConstraint.cs",
"chars": 696,
"preview": "namespace Nancy.Demo.ModelBinding\r\n{\r\n using Nancy.Routing.Constraints;\r\n\r\n public class EmailRouteSegmentConstra"
},
{
"path": "samples/Nancy.Demo.ConstraintRouting/Nancy.Demo.ConstraintRouting.csproj",
"chars": 7572,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.ConstraintRouting/Views/Index.html",
"chars": 5249,
"preview": "<!DOCTYPE html>\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n <title></title>\r\n <style>\r\n table {"
},
{
"path": "samples/Nancy.Demo.ConstraintRouting/Web.Debug.config",
"chars": 158,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.ConstraintRouting/Web.Release.config",
"chars": 219,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.ConstraintRouting/Web.config",
"chars": 594,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\r\n<configuration>\r\n <system.web>\r\n <compilation debug=\"true\" targetFramewor"
},
{
"path": "samples/Nancy.Demo.CustomModule/DemoBootstrapper.cs",
"chars": 385,
"preview": "namespace Nancy.Demo.CustomModule\r\n{\r\n using Nancy.Configuration;\r\n using Nancy.Diagnostics;\r\n\r\n public class "
},
{
"path": "samples/Nancy.Demo.CustomModule/MainModule.cs",
"chars": 538,
"preview": "namespace Nancy.Demo.CustomModule\r\n{\r\n public class MainModule : UglifiedNancyModule\r\n {\r\n [NancyRoute(\"GE"
},
{
"path": "samples/Nancy.Demo.CustomModule/Nancy.Demo.CustomModule.csproj",
"chars": 6247,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.CustomModule/NancyRouteAttribute.cs",
"chars": 535,
"preview": "namespace Nancy.Demo.CustomModule\r\n{\r\n using System;\r\n\r\n public class NancyRouteAttribute : Attribute\r\n {\r\n "
},
{
"path": "samples/Nancy.Demo.CustomModule/UglifiedNancyModule.cs",
"chars": 4717,
"preview": "namespace Nancy.Demo.CustomModule\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using System.Linq;\r"
},
{
"path": "samples/Nancy.Demo.CustomModule/Views/Index.html",
"chars": 213,
"preview": "<!DOCTYPE html>\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n <title>Hello!</title>\r\n</head>\r\n<body>\r\n <"
},
{
"path": "samples/Nancy.Demo.CustomModule/Web.Debug.config",
"chars": 174,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\""
},
{
"path": "samples/Nancy.Demo.CustomModule/Web.Release.config",
"chars": 235,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\""
},
{
"path": "samples/Nancy.Demo.CustomModule/Web.config",
"chars": 577,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration>\r\n <system.web>\r\n <compilation debug=\"true\" targetFramework=\"4.0\" />\r\n <"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/ApplicationDependencyClass.cs",
"chars": 738,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n using System;\r\n\r\n /// <summary>\r\n /// A module dependency that will ha"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Content/main.css",
"chars": 91,
"preview": "body {\r\n background-color: #fcfcfc;\r\n font-family: Verdana, Tahoma, \"Sans-Serif\";\r\n}"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Content/scripts.js",
"chars": 42,
"preview": "alert(\"This script was loaded by Nancy\");"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/CustomStatusHandler.cs",
"chars": 1067,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n using Nancy.ErrorHandling;\r\n\r\n public class CustomStatusCodeHandler : IS"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/DefaultRouteMetadataProvider.cs",
"chars": 1559,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n using System.Collections.Generic;\r\n\r\n using Nancy.Routing;\r\n\r\n public"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/DemoBootstrapper.cs",
"chars": 4061,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using System.Refl"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/DependencyModule.cs",
"chars": 1028,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n using Nancy.Demo.Hosting.Aspnet.Models;\r\n\r\n public class DependencyModul"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/HereBeAResponseYouScurvyDog.cs",
"chars": 1086,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n using System;\r\n using System.IO;\r\n using System.Text;\r\n\r\n using Ya"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/IApplicationDependency.cs",
"chars": 130,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n public interface IApplicationDependency\r\n {\r\n string GetContent();"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/IRequestDependency.cs",
"chars": 126,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n public interface IRequestDependency\r\n {\r\n string GetContent();\r\n "
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/MainModule.cs",
"chars": 8877,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n using System;\r\n using System.Linq;\r\n using Nancy.Configuration;\r\n u"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Metadata/MainMetadataModule.cs",
"chars": 659,
"preview": "namespace Nancy.Demo.Hosting.Aspnet.Metadata\r\n{\r\n using Nancy.Metadata.Modules;\r\n\r\n public class MainMetadataModu"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Metadata/MyUberRouteMetadata.cs",
"chars": 297,
"preview": "namespace Nancy.Demo.Hosting.Aspnet.Metadata\r\n{\r\n public class MyUberRouteMetadata : MyRouteMetadata\r\n {\r\n "
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Models/Payload.cs",
"chars": 2282,
"preview": "namespace Nancy.Demo.Hosting.Aspnet.Models\r\n{\r\n using System;\r\n\r\n [Serializable]\r\n public class Payload : IEqua"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Models/RatPack.cs",
"chars": 136,
"preview": "namespace Nancy.Demo.Hosting.Aspnet.Models\r\n{\r\n public class RatPack\r\n {\r\n public string FirstName { get; "
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Models/RatPackWithDependencyText.cs",
"chars": 241,
"preview": "namespace Nancy.Demo.Hosting.Aspnet.Models\r\n{\r\n public class RatPackWithDependencyText : RatPack\r\n {\r\n pub"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Models/Razor2.cs",
"chars": 636,
"preview": "namespace Nancy.Demo.Hosting.Aspnet.Models\r\n{\r\n public class Razor2\r\n {\r\n public string FirstName { get; s"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Models/SomeViewModel.cs",
"chars": 94,
"preview": "namespace Nancy.Demo.Hosting.Aspnet.Models\r\n{\r\n public class SomeViewModel\r\n {\r\n }\r\n}"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/MyConfig.cs",
"chars": 399,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n /// <summary>\r\n /// Sample custom configuration type. It is good practise"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/MyConfigExtensions.cs",
"chars": 662,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n using Nancy.Configuration;\r\n\r\n /// <summary>\r\n /// Illustrates how yo"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Nancy.Demo.Hosting.Aspnet.csproj",
"chars": 13826,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Piratizer4000.cs",
"chars": 4231,
"preview": "namespace Yarrrr\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using System.Linq;\r\n\r\n /// <summar"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/PngSerializer.cs",
"chars": 2121,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using System.Draw"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/README.txt",
"chars": 1,
"preview": ""
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/RequestDependencyClass.cs",
"chars": 706,
"preview": "namespace Nancy.Demo.Hosting.Aspnet\r\n{\r\n using System;\r\n\r\n /// <summary>\r\n /// A module dependency that will ha"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Resources/Menu.Designer.cs",
"chars": 2888,
"preview": "//------------------------------------------------------------------------------\r\n// <auto-generated>\r\n// This code"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Resources/Menu.resx",
"chars": 5911,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<root>\r\n <!-- \r\n Microsoft ResX Schema \r\n \r\n Version 2.0\r\n \r\n T"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/FileUpload.sshtml",
"chars": 365,
"preview": "<html>\r\n <head>\r\n <title>Nancy File Posting Demo</title>\r\n </head>\r\n <body>\r\n <p>You uploaded: @Model.Posted</"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/anon.spark",
"chars": 221,
"preview": "<viewdata model=\"dynamic\" />\r\n<html>\r\n<head>\r\n <title>Spark View Engine Demo</title>\r\n</head>\r\n<body>\r\n <h1>The n"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/csrf.cshtml",
"chars": 285,
"preview": "<html>\r\n<head>\r\n <title>CSRF Demo</title>\r\n</head>\r\n<body>\r\n <form method=\"POST\">\r\n <h1>CSRF Test</h1>\r\n "
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/dot.liquid",
"chars": 208,
"preview": "<html>\r\n<head>\r\n <title>DotLiquid View Engine Demo</title>\r\n</head>\r\n<body>\r\n <h1>The name's Liquid, {{ model.nam"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/interactive-diags-methods.sshtml",
"chars": 579,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/interactive-diags-results.sshtml",
"chars": 7835,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/interactive-diags.sshtml",
"chars": 361,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/javascript.html",
"chars": 396,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/meta.cshtml",
"chars": 1637,
"preview": "@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<System.Collections.Generic.IEnumerable<Nancy.Demo.Hosting.Aspnet.M"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/negotiatedview.cshtml",
"chars": 421,
"preview": "<html>\r\n<head>\r\n <title>Negotiation Demo</title>\r\n</head>\r\n<body>\r\n <h1>Hello @Model.FirstName</h1>\r\n\r\n <p>\r\n "
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/nustache.nustache",
"chars": 52,
"preview": "{{>nustachePartial}}\r\nYou have just won ${{value}}!"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/nustachePartial.nustache",
"chars": 16,
"preview": "Hello {{name}} "
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/razor-dependency.cshtml",
"chars": 251,
"preview": "<html>\r\n<head>\r\n <title>Razor View Engine Demo</title>\r\n</head>\r\n<body>\r\n <h1>Hello @Model.FirstName</h1>\r\n <p"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/razor-divzero.cshtml",
"chars": 332,
"preview": "@{\r\n Layout = \"razor-layout.cshtml\";\r\n}\r\n@section Header\r\n{\r\n <!-- This comment should appear in the header -->\r\n"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/razor-error.cshtml",
"chars": 318,
"preview": "@{\r\n Layout = \"razor-layout-error.cshtml\";\r\n}\r\n@section Header\r\n{\r\n <!-- This comment should appear in the header"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/razor-layout-error.cshtml",
"chars": 345,
"preview": "<html>\r\n<head>\r\n <title>Razor View Engine Demo - @Model.FirstName</title>\r\n @RenderSection(\"Header\")\r\n</head>\r\n<b"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/razor-layout.cshtml",
"chars": 299,
"preview": "<html>\r\n<head>\r\n <title>Razor View Engine Demo - @Model.FirstName</title>\r\n @RenderSection(\"Header\")\r\n</head>\r\n<b"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/razor-simple.cshtml",
"chars": 235,
"preview": "<html>\r\n<head>\r\n <title>Razor View Engine Demo</title>\r\n</head>\r\n<body>\r\n <h1>Hello @Model.FirstName</h1>\r\n <p"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/razor-strong.cshtml",
"chars": 299,
"preview": "@model Nancy.Demo.Hosting.Aspnet.Models.RatPack\r\n<html>\r\n<head>\r\n <title>Razor View Engine Demo</title>\r\n</head>\r\n<b"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/razor-strong.vbhtml",
"chars": 299,
"preview": "@ModelType Nancy.Demo.Hosting.Aspnet.Models.RatPack\r\n<html>\r\n<head>\r\n <title>Razor View Engine Demo</title>\r\n</head>"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/razor.cshtml",
"chars": 312,
"preview": "@{\r\n Layout = \"razor-layout.cshtml\";\r\n}\r\n@section Header\r\n{\r\n <!-- This comment should appear in the header -->\r\n"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/razor2.cshtml",
"chars": 1110,
"preview": "@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Nancy.Demo.Hosting.Aspnet.Models.Razor2>\r\n<html>\r\n<head>\r\n <tit"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/routes.cshtml",
"chars": 1087,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/someview.cshtml",
"chars": 260,
"preview": "<html>\r\n<head>\r\n <title>Razor View Engine Demo</title>\r\n</head>\r\n<body>\r\n <h1>Model: @Model.GetType().Name</h1>\r\n"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/spark.spark",
"chars": 303,
"preview": "<viewdata model=\"Nancy.Demo.Hosting.Aspnet.Models.RatPack\" />\r\n<html>\r\n<head>\r\n <title>Spark View Engine Demo</title"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/ssve.sshtml",
"chars": 425,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/static.html",
"chars": 161,
"preview": "<html>\r\n<head>\r\n <title>Static View Engine Demo</title>\r\n</head>\r\n<body>\r\n <h1>Hello Tina</h1>\r\n <p>This is a "
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Views/uber-meta.cshtml",
"chars": 1487,
"preview": "@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<System.Collections.Generic.IEnumerable<Nancy.Demo.Hosting.Aspnet.M"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Web.Debug.config",
"chars": 158,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Web.Release.config",
"chars": 219,
"preview": "<?xml version=\"1.0\"?>\r\n\r\n<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n <system.web"
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/Web.config",
"chars": 1733,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\r\n<configuration>\r\n <configSections>\r\n <section name=\"nancyFx\" type=\"Nancy."
},
{
"path": "samples/Nancy.Demo.Hosting.Aspnet/packages.config",
"chars": 1752,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<packages>\r\n <package id=\"Microsoft.CodeAnalysis.Analyzers\" version=\"1.1.0\" ta"
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/AppConfiguration.cs",
"chars": 700,
"preview": "namespace Nancy.Demo.Hosting.Kestrel\n{\n public class AppConfiguration : IAppConfiguration\n {\n public Loggin"
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/DemoBootstrapper.cs",
"chars": 635,
"preview": "namespace Nancy.Demo.Hosting.Kestrel\n{\n using Nancy;\n using Nancy.TinyIoc;\n \n public class DemoBootstrapper "
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/HomeModule.cs",
"chars": 955,
"preview": "namespace Nancy.Demo.Hosting.Kestrel\r\n{\r\n using ModelBinding;\r\n\r\n public class HomeModule : NancyModule\r\n {\r\n "
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/IAppConfiguration.cs",
"chars": 158,
"preview": "namespace Nancy.Demo.Hosting.Kestrel\r\n{\r\n public interface IAppConfiguration\r\n {\r\n Logging Logging { get; }"
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/Nancy.Demo.Hosting.Kestrel.csproj",
"chars": 996,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk.Web\">\n\n <PropertyGroup>\n <TargetFramework>netcoreapp2.0</TargetFramework>\n <Debug"
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/Person.cs",
"chars": 123,
"preview": "namespace Nancy.Demo.Hosting.Kestrel\r\n{\r\n public class Person\r\n {\r\n public string Name { get; set; }\r\n }"
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/PersonValidator.cs",
"chars": 263,
"preview": "namespace Nancy.Demo.Hosting.Kestrel\r\n{\r\n using FluentValidation;\r\n \r\n public class PersonValidator : Abstract"
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/Program.cs",
"chars": 459,
"preview": "namespace Nancy.Demo.Hosting.Kestrel\r\n{\r\n using System.IO;\r\n using Microsoft.AspNetCore.Hosting;\r\n \r\n public"
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/Properties/launchSettings.json",
"chars": 413,
"preview": "{\r\n \"iisSettings\": {\r\n \"windowsAuthentication\": false,\r\n \"anonymousAuthentication\": true,\r\n \"iisExpress\": {\r\n "
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/Startup.cs",
"chars": 871,
"preview": "namespace Nancy.Demo.Hosting.Kestrel\n{\n using Microsoft.AspNetCore.Builder;\n using Microsoft.AspNetCore.Hosting;\n "
},
{
"path": "samples/Nancy.Demo.Hosting.Kestrel/appsettings.json",
"chars": 282,
"preview": "{\n \"Logging\": {\n \"IncludeScopes\": false,\n \"LogLevel\": {\n \"Default\": \"Verbose\",\n \"System\": \"Information\""
},
{
"path": "samples/Nancy.Demo.Hosting.Owin/MainModule.cs",
"chars": 1344,
"preview": "namespace Nancy.Demo.Hosting.Owin\r\n{\r\n using System.Collections.Generic;\r\n using Nancy.Owin;\r\n\r\n public class "
},
{
"path": "samples/Nancy.Demo.Hosting.Owin/Models/Index.cs",
"chars": 135,
"preview": "namespace Nancy.Demo.Hosting.Owin.Models\r\n{\r\n public class Index\r\n {\r\n public string StatusMessage { get; s"
},
{
"path": "samples/Nancy.Demo.Hosting.Owin/Nancy.Demo.Hosting.Owin.csproj",
"chars": 9017,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
}
]
// ... and 1121 more files (download for full content)
About this extraction
This page contains the full source code of the NancyFx/Nancy GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1321 files (4.7 MB), approximately 1.3M tokens, and a symbol index with 6994 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.