Last Reviewed: December 10, 2007

Article: DTS0172

Applies to: dtSearch Engine 6, 7

Native .NET Interface

The dtSearch Engine includes a native .NET interface implemented in dtSearchNetApi.dll (.NET 1.1) and dtSearchNetApi2.dll (.NET 2.0/3.0).   

The dtSearch.Engine namespace includes the indexing, searching, and hit-highlighting API.  The dtSearch.Spider namespace includes classes for indexing web sites.

For API documentation, see:

dtSearch Text Retrieval Engine .NET 1.1 API Reference

dtSearch Text Retrieval Engine .NET 2.0/3.0 API Reference

After installing the dtSearch Engine, 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

Sample .NET 2.0 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

 

Please see this article for troubleshooting suggestions:  Troubleshooting .NET errors

The dtSearchNetApi2.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 dtSearchNetApi2.dll, which is installed here:

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

Using the source code and Visual Studio.NET 2005, you can recompile it with any options or modifications you want, including addition of a strong name.