Azure Search: .NET SDK version 1.0.1-preview
Yayımlanma tarihi: 25 Ocak, 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
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.