ServiceBus.Extensions.PromotedProperties 1.0.1

dotnet add package ServiceBus.Extensions.PromotedProperties --version 1.0.1                
NuGet\Install-Package ServiceBus.Extensions.PromotedProperties -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ServiceBus.Extensions.PromotedProperties" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ServiceBus.Extensions.PromotedProperties --version 1.0.1                
#r "nuget: ServiceBus.Extensions.PromotedProperties, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ServiceBus.Extensions.PromotedProperties as a Cake Addin
#addin nuget:?package=ServiceBus.Extensions.PromotedProperties&version=1.0.1

// Install ServiceBus.Extensions.PromotedProperties as a Cake Tool
#tool nuget:?package=ServiceBus.Extensions.PromotedProperties&version=1.0.1                

This package is for use with Service Bus WCF programing model. The extensions enables you to mark parts of your data model [DataContract] as promoted properties. These marked properties are then automatically lifted and promoted in the outgoing BrokeredMessage.

Sample usage:
==========
public class Order
{
   public double Amount { get; set; }
   [PromotedProperty]
   public string ShipCity { get; set; }
}

[ServiceContract]
public interface IOrderService
{
   [OperationContract(Name = "SubmitFlat", IsOneWay = true)]
   [PropertyPromotionBehavior]
   void Submit(double amount, [PromotedProperty] string shipCity);

   [OperationContract(IsOneWay = true)]
   [PropertyPromotionBehavior]
   void Submit(Order order);
}

See following blog post for implementation details.

http://zamd.net/2011/05/25/pubsub-with-wcf-part-2/

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 2,406 7/18/2012
1.0.0 1,811 7/18/2012