zoukankan      html  css  js  c++  java
  • nancy中的诊断功能面板1

    nancyfx中有一项 诊断功能 ,可以查看网站的基本信息和其他相关信息,还包括查看会话信息,请求输出信息等.

    假设你已经安装完了nancyfx.现在开始使用诊断功能:

    一 安装 

    在你的Bootstrapper中加入相关的设置 

    protected override DiagnosticsConfiguration DiagnosticsConfiguration
    {
    get { return new DiagnosticsConfiguration { Password = @"wang2650" }; }
    }
    //wang2650是要查看此功能面板的密码

    protected override void ApplicationStartup(TinyIoCContainer container, IPipelines pipelines)
    {
    StaticConfiguration.EnableRequestTracing = true;//是否启用请求跟踪
    }

    二  查看  

    输入地址 http://localhost:3382/_Nancy/   输入密码

    三 设置查看内容   点击settings 如下  勾选你要查看的选项

    这个会mvc的一般都知道什么意思,我这水平就不解释了.

    四  网站基本信息  点击 infomation 第一个那图标

    主要是项目的基本信息居多

  • 相关阅读:
    TensorFlow object detection API
    bounding box的简单理解
    OverFeat学习
    tensorflow调试tfdbg
    2018.7-2019.4记录
    人工智能未来读后感 ----by RayKurzweil
    matlab exe
    神经网络的基础
    研究生的论文
    卷积神经网络经验
  • 原文地址:https://www.cnblogs.com/wang2650/p/5039469.html
Copyright © 2011-2022 走看看