Git Product home page Git Product logo

i-rzr-i / xresponsetimemw Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 708 KB

Generate and write in HTTPContext response header variables request execution time('X-Response-Time') and also provide execution time for an action('X-Action-Response-Time'). This thing may help you when is needed to analyse application time consumiing.

License: MIT License

PowerShell 1.37% C# 82.68% HTML 10.98% CSS 4.27% JavaScript 0.70%
header http middleware profiling response responsetime time tracing variable xresponsetime

xresponsetimemw's Introduction

Note This repository is developed in .netstandard2.0

NuGet Version Nuget Downloads

One important thing about this repository is that you have the possibility to monitor the execution time for the request sent to the server and the execution time for some method or class where is added data annotation attribute.

Once you use this repository, in server response you may see one or two new variables, meaning request execution time. Added variables (X-Response-Time and X-Action-Response-Time) will be location in HttpContext.Response.Headers.

In other words in this repository is included one middleware that allows to add and return of general execution time per request (the first header variable).

And one more thing that was added is an action filter that can provide execution time for a specific method when will be added data annotation tag (the second header variable).

  1. X-Response-Time - represent execution time for specific request;
  2. X-Action-Response-Time - represent execution time for specific action.

In case you wish to use it in your project, u can install the package from nuget.org or specify what version you want:

Install-Package XResponseTimeMW -Version x.x.x.x

Content

  1. USING
  2. CHANGELOG
  3. BRANCH-GUIDE

xresponsetimemw's People

Contributors

i-rzr-i avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.