Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Navigation [hide] [expand]
Area: Optimizely Search & Navigation
ARCHIVED This content is retired and no longer maintained. See the latest version here.


The .NET client API of Episerver Find is fluent providing a readable code that lets you index and search for actual domain objects with great flexibility. It is built on the premise of "convention over configuration," meaning it "just works" out-of-the-box using a set of default conventions. Using code, you can customize these conventions to suit your needs. This topic describes how configure Find to start working with the .NET API.

To use the Episerver Find .NET API, first add references to the required assemblies, EPiServer.Find.dll and NewtonSoft.Json.dll. Next, configure the service URL and default index name in web.config/app.config. 

Open the web.config/app.config file and add the following:

XML
<configuration>
     <configSections>
            <section
            name="episerver.find"
            type="EPiServer.Find.Configuration, EPiServer.Find" requirePermission="false"/>
        </configSections>
        <episerver.find
            serviceUrl="http://..."
        defaultIndex="myindex"/>
</configuration>

Now you can create an instance of the Client class and start working with the Find service. See Client class for more details about next steps.

Related topics

Last updated: Nov 16, 2015