foxDBF: Read FoxPro data with .NET
foxDBF is our open-source .NET library for accessing FoxPro data. It is designed for developers who want to inspect, analyze or prepare existing data for transfer to another system. Source code and documentation are available on GitHub.
Reading data
foxDBF reads individual DBF tables and opens DBC databases with their member tables. It also uses the long field names stored in the DBC. Contents from FPT memo files are available alongside the table data.
Text fields use the code page specified in the table header. If that information is missing or incorrect, you can set the encoding manually. Check accented letters and other special characters against records whose contents you know.
ADO.NET and .NET 10
The CrossVault.FoxDbf.Data package provides an ADO.NET provider. DbConnection, DbCommand and DbDataReader let you query data with SQL and use it in your own .NET programs. This helps with data validation and import programs; the library does not deliver a complete application migration.
foxDBF targets .NET 10. Its managed .NET code has no native dependencies and requires neither COM nor OLE DB nor an installed Visual FoxPro runtime.
Status and limitations
Write operations are experimental. Test write operations on copies of your data first.
Access to tables does not replace analysis of an application’s business rules. In particular, reading the data does not mean that the existing FoxPro application’s business logic is automatically executed or migrated.
foxDBF is released under the MIT license. The source code, README and reading documentation describe how to use it and its current development status.