Azure Search: .NET SDK version 1.0.1-preview

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.

Бесплатная учетная запись

Обучайтесь и создавайте, используя деньги на счете ($200), а также продолжайте использовать продукты бесплатно

Начните использовать бесплатно

Visual Studio

Подписчики Azure экономят до $1800 в год

Активировать сейчас

Стартапы

Присоединитесь к программе BizSpark и получите бесплатные службы Azure

Дополнительные сведения