12
What is new in .NET provider Jiri Cincura [email protected] http://blog.cincura.net @cincura_net

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

Embed Size (px)

DESCRIPTION

.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).

Citation preview

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

What is new in .NET provider Jiri Cincura

[email protected]

http://blog.cincura.net

@cincura_net

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

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, …

About .NET provider for Firebird

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

FirebirdSql.Data.FirebirdClient.dll (Release)

Maintainability Index: 81

Lines of Code: 11044

Cyclomatic Complexity: 6163

Depth of Inheritance: 5

Class Coupling: 503

Some numbers

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

In last year two releases

2.6.0 (http://blog.cincura.net/id/232192)

18.11.2010

2.6.5 (http://blog.cincura.net/id/232424)

3.6.2011

Releases

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

.NET 4 Client Profile support

Entity Framework 4 support

Command cancellation support

Support for UTF8 filenames

2.6.0

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

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…

2.6.5

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

Ability to cancel running command on server

New feature of Firebird 2.5

Added support to execute command on background

Cancellation can be „disabled“

Command cancellation

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

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

TraceAPI

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

Provider available on NuGet

NuGet is „packaging“ infrastructure

Automatic updates, dependencies etc.

Right now only .NET 4 version

NuGet

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

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

Other

Page 11: What is new in .NET provider (trace support, cancellation and more)
Page 12: What is new in .NET provider (trace support, cancellation and more)

Q & A