Tx/Source/Tx.LinqPad
georgis 2715fdeb8f Missed reference to SqlServer.Linq 2015-05-14 20:03:41 -07:00
..
ConnectionDialog.xaml LINQPad driver fixes and content cleanup 2013-05-13 09:03:41 -07:00
ConnectionDialog.xaml.cs LINQPad driver fixes and content cleanup 2013-05-13 09:03:41 -07:00
DriverDescription.txt LINQPad driver fixes and content cleanup 2013-05-13 09:03:41 -07:00
ParserRegistry.cs Basic (demo quality) support for XEvent in LINQPad 2013-06-22 16:25:45 -07:00
Readme.md Fixing links in the HTTP samples and adding Swetha to the contributors 2014-10-13 18:17:24 -07:00
SamplesDescription.txt Fixes for .evtx files exported from EventVwr 2013-05-15 16:11:08 -07:00
SelectParseUrl.JPG Readme.md for the LINQPad driver 2014-03-22 18:46:12 -07:00
Tx.LinqPad.csproj Missed reference to SqlServer.Linq 2015-05-14 20:03:41 -07:00
TxDataContextDriver.cs Update the LINQPad driver 2013-10-25 20:49:47 -07:00
TxDriver.JPG Readme.md for the LINQPad driver 2014-03-22 18:46:12 -07:00
TxDriverInstall.JPG Readme.md for the LINQPad driver 2014-03-22 18:46:12 -07:00
TxProperties.cs Code cleanup 2013-03-01 21:08:09 -08:00
TxSamples.JPG Readme.md for the LINQPad driver 2014-03-22 18:46:12 -07:00
TxSamplesInstall.JPG Readme.md for the LINQPad driver 2014-03-22 18:46:12 -07:00
TypeCache.cs Basic (demo quality) support for XEvent in LINQPad 2013-06-22 16:25:45 -07:00
header.xml Code cleanup 2013-03-01 21:08:09 -08:00

Readme.md

LINQPad driver for Tx

First, install LINQPad. This is the best education tool about LINQ, Regular Expressions, ... and all cutting edge features in C#

Click on Add Connection and then "View More Drivers":

TxDriverInstall.JPG

Click on the Download link, and then select the driver from the list:

TxDriver.JPG

On the next page you have a choice between past or real-time sessions. As of now the LINQPad driver supports only ETW, so past means .etl files and real time is ETW sessions.

As general rule, it is best to first try your queries on past history. This way you can try the query many times on the same data to make sure you get the desired results.

  • Click Add... for "Files" and browse for Documents\LINQPad Queries\Tx\HTTP_Server.etl
  • Click Add... for "Metadata" and add HTTP_Server.man This .etl file and manifest are from IIS (Internet Information Services) and come as samples with Tx.

Choose connection name and click OK

On the left tree you now see the schema of the events

  • In the query window, type "from p in "
  • Drag the Parse node from the left tree.
  • Complete the query with "select p.Url" and press the green button

SelectParseUrl.JPG

It is good idea to also install the Tx samples, and try them:

Click on the Samples tab, "Download more samples": TxSamplesInstall.JPG

See also: