.NET Compatibility Information

Last Reviewed: August 5, 2013

Article: DTS0172

Applies to: dtSearch Engine 7

Native .NET Interface

The dtSearch Engine includes a native .NET interface implemented in dtSearchNetApi4.dll (.NET 4.0 and later), dtSearchNetApi2.dll (.NET 2.0 and later), and dtSearchNetApi.dll (.NET 1.1).   

The dtSearch.Engine namespace includes the indexing, searching, and hit-highlighting API.  The dtSearch.Spider namespace includes classes for indexing web sites.  The .NET API is available in 64-bit and 32-bit versions.

For API documentation, see:

dtSearch Text Retrieval Engine .NET API Reference (.NET 2.0 - .NET 4.x)

dtSearch Text Retrieval Engine .NET 1.1 API Reference

After installing the dtSearch Engine, sample .NET applications can be found in these folders:

C:\Program Files\dtSearch Developer\examples\asp.net2

C:\Program Files\dtSearch Developer\examples\cs2

C:\Program Files\dtSearch Developer\examples\vb.net2

C:\Program Files\dtSearch Developer\examples\cs4

C:\Program Files\dtSearch Developer\examples\vb.net4

Sample .NET 1.1 applications can be found in these folders:

C:\Program Files\dtSearch Developer\examples\asp.net

C:\Program Files\dtSearch Developer\examples\cs

C:\Program Files\dtSearch Developer\examples\vb.net

 

The dtSearchNetApi4.dll that is included with the dtSearch Engine is compiled without a strong name.  If you need a version built with a strong name, you can use the source code to dtSearchNetApi4.dll, which is installed here:

        C:\Program Files\dtSearch Developer\examples\cpp\dtSearchNetApi4

Using the source code and Visual Studio, you can recompile it with a strong name.

See Also

Troubleshooting: BadImageFormatException in .NET applications

Troubleshooting: System.IO.FileNotFoundException in .NET applications

How to use the 64-bit version of the dtSearch Engine