Azure Search: .NET SDK version 1.0.1-preview

Monday, January 25, 2016

Version 1.0.1-preview of the Azure Search .NET SDK uses JSON.NET for serializing and deserializing documents. The new version of the SDK supports custom serialization via JsonConverter and IContractResolver (see the JSON.NET documentation for more details). This can be useful when you want to adapt an existing model class from your application for use with Azure Search, and other more advanced scenarios. For example, with custom serialization you can:
  • Include or exclude certain properties of your model class from being stored as document fields.
  • Map between property names in your code and field names in your index.
  • Create custom attributes that can be used for mapping properties to document fields and creating the corresponding index definition.
In addition to custom serialization, the new SDK supports serialization of SearchContinuationToken objects. This can be useful if you call Azure Search from a web application and you need to exchange continuation tokens with a browser or mobile client while paging through search results. Version 1.0.1-preview of the Azure Search .NET SDK contains several breaking changes from the previous version (0.13.0-preview). These are mostly minor, so changing your code should require only minimal effort. This version targets the same REST API version as older versions (2015-02-28), so there are no new service features in this release. To learn more, see  Upgrading to the Azure Search .NET SDK version 1.0.1-preview.

Free account

Get $200 in Azure credits and 12 months of popular services—free

Start free

Visual Studio

Subscribers get up to $1800 per year of Azure services

Activate now

Startups

Join the BizSpark program and get free Azure services

Learn more