DotNetFirebird.org DotNetFirebird
Using Firebird SQL in .NET.
Monday, July 10, 2006

Weekly builds of Firebird ADO.NET Provider

Weekly builds of Firebird ADO.NET Provider are available at http://netprovider.cincura.net/.

Read more in the announcement by Jiri Cincura.


Is it possible to stop/start remote firebird service using Firebird ADO.NET Provider?

No, it's not.

However, you can use this simple code:

ServiceController sc = new ServiceController("FirebirdGuardianDefaultInstance"); // or "FirebirdServerDefaultInstance" if you are not using Guardian

  
Console.WriteLine("Stopping service...");
sc.Stop();
   
while (sc.Status != ServiceControllerStatus.Stopped)
 Thread.Sleep(100);
   
Console.WriteLine("Service stopped.");

Console.WriteLine("Starting service...");
sc.Start();
   
while (sc.Status != ServiceControllerStatus.Running)
 Thread.Sleep(100);
   
Console.WriteLine("Service started.");

You need to reference System.ServiceProcess.dll and add these usings:

using System.ServiceProcess;
using System.Threading;

How to build Firebird Client 2.0 for .NET Compact Framework

From Firebird Questions .NET:

How to compile source code to work with .NET Compact Framework? http://www.firebirdquestions.net/Item.aspx/4302/re_cf


Sunday, July 09, 2006

Firebird Questions .NET

I've just released a new experimental site: http://www.firebirdquestions.net/. It is a searchable and browsable archive of firebird-net-provider mailing list.

Noteworthy features:

  • Updated automatically every 60 seconds
  • Search is powered by Lucene.Net and Seekafile Server.
  • You can browse the history by threads.
  • You can skip to next/previous thread by hitting 'j'/'k' keys.
  • All e-mails protected.
Comments and suggestions are welcome!

Previous

Archives