Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

What is new in .NET provider (trace support, cancellation and more)


Published on

.NET driver for Firebird is trying to keep up with new features added to Firebird server. In last year or so I created some features specifically targeting Firebird 2.5, and also some important bug fixes and optimizations.

This talk will uncover these new items and will shouw you how to use it (with some (maybe) interesting scenarios).

Published in: Technology
  • Be the first to comment

  • Be the first to like this

What is new in .NET provider (trace support, cancellation and more)

  1. 1. What is new in .NET provider Jiri Cincura @cincura_net
  2. 2. About .NET provider for Firebird Native implementation on Firebird wire protocol  No client library needed  Wherever you compile C# code, you can use it Written in C# Firebird Embedded supported  Through P/Invoke Available for MS.NET (2.0 – 4.0), Mono Additional pieces: DDEX, WebProviders, …
  3. 3. Some numbers FirebirdSql.Data.FirebirdClient.dll (Release)  Maintainability Index: 81  Lines of Code: 11044  Cyclomatic Complexity: 6163  Depth of Inheritance: 5  Class Coupling: 503
  4. 4. Releases In last year two releases 2.6.0 (  18.11.2010 2.6.5 (  3.6.2011
  5. 5. 2.6.0 .NET 4 Client Profile support Entity Framework 4 support Command cancellation support Support for UTF8 filenames
  6. 6. 2.6.5 Support for Trace API in Firebird 2.5. Improvements in SQL generation for Entity Framework. Support for commands logging . Slightly faster command execution of big queries. And a lot of small code improvement making it more stable…
  7. 7. Command cancellation Ability to cancel running command on server  New feature of Firebird 2.5 Added support to execute command on background Cancellation can be „disabled“
  8. 8. TraceAPI Tracing commands/actions being done on server  New feature of Firebird 2.5 Full configuration  Export to string Stream of lines  Hard to parse  Session ID parsing
  9. 9. NuGet Provider available on NuGet NuGet is „packaging“ infrastructure Automatic updates, dependencies etc. Right now only .NET 4 version
  10. 10. Other Bigger prepare buffer  32k (fbclient)  Faster big commands execution op_disconnect sending  Helps server to manage resources Mono charsets  Command tracing  Revisit? Other options… Bug fixes  Garbage collection/Disposing Entity Framework SQL generation fixes Code cleanup
  11. 11. Q&A