Azure Search: .NET SDK version 1.0.1-preview

25. januar 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.

Gratis konto

Tilmeld dig nu, og få $200 i Azure-kredit

Start uden omkostninger

Visual Studio

Abonnenter får op til $1800 Azure-tjenester pr. år

Aktivér nu

Programstart

Deltag i BizSpark-programmet, og få gratis Azure-tjenester

Få mere at vide