2013-07-29から1日間の記事一覧

Nancyでの静的リソースアクセス

ナンシーで静的リソースへのアクセスを行うには3つの方法があります。 デフォルト設定に従う。 Nancy supports multiple static content conventions at once and is shipped with a default convention that will look for files in the /content path of y…

Nancyのトレース機能

ナンシーのトレース機能について調べてみました。まずはBootstrapperのサブクラスを作成してトレース機能を有効にします。 using Nancy; using Nancy.Bootstrapper; using Nancy.TinyIoc; using Nancy.Diagnostics; namespace NanNan { public class MyBoots…