Coder Social home page Coder Social logo

rin's People

Contributors

azyobuzin avatar kotx avatar mayuki avatar vip32 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rin's Issues

[Not a bug]

Hi there,

Just wanted to say that this is an amazing piece of work.
Keep learning and you will definitely be a remarkable developer one day.

Good luck with everything, bro ^_^

Clear requests list

It would be awesome if user can clear requests list, like in chrome's network tab.

ToDo

  • Client
    • View: Timestamp
    • Timeline: Trace integration
    • Error/Exception handling
    • View: styling
    • Reload when server-side upgraded
    • View: grid splitter (WIP)
    • Copy: LINQPad (using)
    • View: make trace view scrollable
  • Server
    • Access Control
    • Error running on production environment
    • Persist records/PubSub
    • Trace level
    • Trace Collector
      • log4net
      • NLog
      • EventSource
      • DiagnosticSource
  • API Refactoring

Japanese characters are unreadable in preview

Summary

In v2.5.0, non ASCII characters encoded with UTF-8 are corrupted. This example is made by changing Index.cshtml in HelloRin.

Screenshot

Cause

The cause is that BodyDataPayload was changed in the version.

If no transformer is specified, payloadBodyContentType will be null and the body converted to BASE64 will be sent to the client without PresentationContentType. In older version, the body was sent without being converted to BASE64.

Rin doesn't work when debugging using IIS Express

Hi!

When I debug using IIS Express:
image

Rin doesn't seem to work. Accessing /rin gives me these errors:
Error during WebSocket handshake: Unexpected response code: 400

If I debug the process directly or use dotnet run, everything works fine.
image

Use in Production?

Would you recommend using this in production mode?

If you do so, are you planning to implement some kind of access control anytime soon?

Using Autofac and Rin causes problems on application shutdown

Hi! I love Rin! Unfortunately, it seems it doesn't like when used with Autfac.

I uploaded a repro repository here:
https://github.com/kevindqc/RinShutdownProblemRepro

The problem happens when I run dotnet run, and after that press CTRL+C.
The app doesn't close down properly. On the repro repository, it crashes, but in my actual project, it logs an error and the dotnet processes stay open - if I try to run dotnet run it doesn't work because the files (DLLs) are in use. This slows down development considerably as I have to kill the 4 left-opened dotnet processes constantly.

The exception is:

Unhandled Exception: System.AggregateException: One or more errors occurred. (A task was canceled.) ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Rin.Core.Event.MessageEventBus`1.Dispose()
   at Autofac.Core.Disposer.Dispose(Boolean disposing)
   at Autofac.Util.Disposable.Dispose()
   at Autofac.Core.Lifetime.LifetimeScope.Dispose(Boolean disposing)
   at Autofac.Util.Disposable.Dispose()
   at Autofac.Core.Container.Dispose(Boolean disposing)
   at Autofac.Util.Disposable.Dispose()
   at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.Dispose(Boolean disposing) in C:\projects\autofac-extensions-dependencyinjection\src\Autofac.Extensions.DependencyInjection\AutofacServiceProvider.cs:line 105
   at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.Dispose() in C:\projects\autofac-extensions-dependencyinjection\src\Autofac.Extensions.DependencyInjection\AutofacServiceProvider.cs:line 115
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.Dispose()
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String shutdownMessage)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host)
   at RinShutdownProblemRepro.Program.Main(String[] args) in C:\Users\doyonke\source\repos\RinShutdownProblemRepro\RinShutdownProblemRepro\Program.cs:line 18

It seems that Autofac is disposing MessageEventBus, which in its Dispose method waits for a task, but that task has already been canceled. Maybe the dispose order is different when using Autofac vs. using MS Dependency Injection? I made a branch that doesn't use Autofac, and I don't seem to have the problem:
https://github.com/kevindqc/RinShutdownProblemRepro/tree/WithoutAutofac

.Net Core 3.1

Hi, do you plan to upgrade for .Net Core 3.1 ?

Is there an option to disable or limit/filter what gets logged ? (by content-type, size etc)

Great project, too bad it's not up to date for 3.1.

Update NuGet package for ASP.NET Core 3.0

This looks like an awesome tool, but I can't use, since my project is on .NET Core 3.1, and the latest NuGet release is from November 2018.

Can a new version be released on NuGet?

IIS Support

In case to host under IIS; how can we configure it? Provided configuration is not supported under IIS hosting.

Add support for HttpClient

It would be nice to be able to track requests made by a HttpClient as well.

This could be implemented via an DelegatingHandler.

Browser hangs up when I click Response tab

How to repro

The issue occurs when I open Response tab of a request whose response is big (about 76KB). The format of the response is JSON and the content-type header is text/html. Then the browser crashes saying "Out of Memory"

Browser Crash

I use Rin 2.0.0-preview.20200813-170455, Chrome 84.0.4147.125 and Firefox Developer Edition 80.0b8 and I confirmed that the issue does not occur before e004feb.

Cause

According to the report by Firefox, Monaco allocated many objects.

Memory Tree Map

Callstack

According to my investigation, the trigger is calling editor?.layout({ width: 0, height: 0 }); in InspectorDetail.RequestResponseView.tsx.

I have not yet found out the solution which fixes this issue and does not collapse the layout even when I resize the window of the browser.

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.