ServiceBus.Extensions.PromotedProperties NuGet Package

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/.




Got any ServiceBus.Extensions.PromotedProperties Question?





Info

Version: 1.0.1
Author(s): zuahmed
Last Update: Wednesday, July 18, 2012
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/ServiceBus.Extensions.PromotedProperties


Install
Install-Package ServiceBus.Extensions.PromotedProperties
dotnet add package ServiceBus.Extensions.PromotedProperties
paket add ServiceBus.Extensions.PromotedProperties
ServiceBus.Extensions.PromotedProperties Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

4509