Skip to content
This repository has been archived by the owner on May 14, 2023. It is now read-only.

GibraltarSoftware/Gibraltar.Agent.EntityFramework

Repository files navigation

Loupe Agent for Entity Framework 6.0 (Moved to Gibraltar.Agent)

This repository has been merged with the Gibraltar.Agent Repository and is now maintained there.

This agent adds Entity Framework-specific monitoring features. If you don't need to modify the source code just download the latest Loupe Agent for Entity Framework.
It extends the Loupe Agent so you can use any viewer for Loupe to visualize network information

Using the Agent

To activate the agent it isn't enough to simply deploy it with your project, you need to make one call to register it with Entity Framework. The call can be made multiple times safely (and without causing a double registration). Once registered with Entity Framework it will automatically record information for every EF 6.0 context in the application domain.

//Register the Interceptor
Gibraltar.Agent.EntityFramework.LoupeCommandInterceptor.Register();

Implementation Notes

This extension works only with Entity Framework 6.0 and later because it relies on the new database command interception features built into EF 6.0.

It is compiled for .NET 4.0 but is compatible with both .NET 4.0 and .NET 4.5.

Building the Agent

This project is designed for use with Visual Studio 2012 with NuGet package restore enabled. When you build it the first time it will retrieve dependencies from NuGet.

Contributing

Feel free to branch this project and contribute a pull request to the development branch. If your changes are incorporated into the master version they'll be published out to NuGet for everyone to use!

About

Gibraltar Loupe Agent for Entity Framework 6 (Moved to Gibraltar.Agent)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published