HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Breaking changes for Optimizely Search & Navigation 16

Breaking changes for Optimizely Search & Navigation in relation to version 16, and the steps needed to update affected code.

Optimizely Search & Navigation 16 uses the HttpClient library instead of the obsolete HttpWebRequest to send requests to the search service. As a result, Optimizely Search & Navigation extends the public constructors in the client class with a parameter of type IHttpClientFactory.

If you are currently creating instances of the client class using this constructor, you must provide an instance of IHttpClientFactory. However, extensions in the Search & Navigation package are automatically registering an HttpClientso if you are using Dependency Injection (DI), you do not need to take further action.