FiddlerCore .NET core/.net Standard doesn't capture anything..

3 posts, 0 answers
  1. Piotr
    Piotr avatar
    3 posts
    Member since:
    Jan 2018

    Posted 12 Jan 2018 Link to this post

    Hi

    I've just downloaded FiddlerCore and I plan to use it my .net core project.

    My .net Core SDK version is v2.1.4 . The latest one when I write this post. 

    I use the sample code, I did "dotnet restore -s <path_to_nupkg_files>" , run the code trusted the certificate...and..... nothing got captured.

    Edge,IE. Nothing . Presssing L, S shows nothing..

     

    Any ideas what I'm doing wrong ?

     

    Best regards

     

     

     

  2. Simeon
    Admin
    Simeon avatar
    227 posts

    Posted 15 Jan 2018 Link to this post

    Hi,


    Unlike FiddlerCore, FiddlerCore for .NET Standard does not change the system proxy settings to point to the localhost port which it opens by default. The reason for this change is that FiddlerCore for .NET Standard is a library which could be used on many platforms in various ways and it could not predict how exactly the user would like to set up its proxy settings.

    It is expected that the user will change the proxy settings for all applications whose traffic must pass trough FiddlerCore for .NET Standard after it is started and revert the proxy settings of these applications before FiddlerCore for .NET Standard is stopped. (either manually or programmatically)

    However, if you are running on Windows platform, you could add the RegisterAsSystemProxy flag to the FiddlerCoreStartupFlags enumeration which you are passing to the FiddlerApplication.Startup method. Please, note that for all other platforms this will throw a PlatformNotSupported exception.

    Regards,
    Simeon
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Piotr
    Piotr avatar
    3 posts
    Member since:
    Jan 2018

    Posted 16 Jan 2018 Link to this post

    Thank you. Indeed

    oFCSF = (oFCSF | FiddlerCoreStartupFlags.RegisterAsSystemProxy);

     

    helped. 

    Best regards

Back to Top