Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9013039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:09:17+00:00 2026-06-16T03:09:17+00:00

I am trying trace a LINQPad script. I have setup System.Net tracing according to

  • 0

I am trying trace a LINQPad script. I have setup System.Net tracing according to http://msdn.microsoft.com/en-us/library/ty48b824.aspx.

I have put following lines into the LINQPad.exe.config file:

  <system.diagnostics>
    <sources>
      <source name="System.Net" tracemode="includehex" maxdatasize="1024">
        <listeners>
          <add name="System.Net"/>
        </listeners>
      </source>
      <source name="System.Net.Sockets">
        <listeners>
          <add name="System.Net"/>
        </listeners>
      </source>
      <source name="System.Net.Cache">
        <listeners>
          <add name="System.Net"/>
        </listeners>
      </source>
    </sources>
    <switches>
      <add name="System.Net" value="Verbose"/>
      <add name="System.Net.Sockets" value="Verbose"/>
      <add name="System.Net.Cache" value="Verbose"/>
    </switches>
    <sharedListeners>
      <add name="System.Net"
        type="System.Diagnostics.TextWriterTraceListener"
        initializeData="network.log"
      />
    </sharedListeners>
    <trace autoflush="true"/>
  </system.diagnostics>

The network.log file is created. It contains the logs from the LINQPad version check:

System.Net Verbose: 0 : [1220] WebClient#3359025::DownloadString(http://www.linqpad.net/updates40/version.txt)
System.Net Verbose: 0 : [1220] WebClient#3359025::DownloadData(http://www.linqpad.net/updates40/version.txt)
System.Net Verbose: 0 : [1220] WebRequest::Create(http://www.linqpad.net/updates40/version.txt)
System.Net Verbose: 0 : [1220] HttpWebRequest::HttpWebRequest(http://www.linqpad.net/updates40/version.txt)
...

However after running the LINQPad script that is using a WebRequest to download a url, this request is not logged.

Why the LINQPad scripts are not logged? Is it possible to log them? If so, how?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T03:09:18+00:00Added an answer on June 16, 2026 at 3:09 am

    Use LinqPad.config rather than Linqpad.exe.config

    From http://www.linqpad.net/FAQ.aspx

    I’m referencing a custom assembly that reads settings from an application configuration file (app.config). Where should I put my application config file so that LINQPad queries will pick it up?

    Into a file called linqpad.config. This is explained in detail here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to output to Trace.axd from an ASP.NET MVC app. I have traces
I'm trying to better understand what the stack trace means. I have a two
I'm trying to run a trace with Sql Server Profiler against an Asp.NET Website
I'm trying to trace some SQL in Microsoft Server. I came across a join
I am trying to trace managed object creation/disposing in a CLI/C++ prog: ::System::Diagnostics::Trace::WriteLine(String::Format( Created
I have the following stack trace when trying to access the django admin default
I am trying to trace a bug in our handling of com objects. Our
I have a PNG image which I am trying to trace to its originating
I'm trying to trace the mouse X position with a movieclip. What I have
Friends, I am trying to trace the complete execution of an operating system including

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.