-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
631 changed files
with
4,375 additions
and
17,306 deletions.
There are no files selected for viewing
13 changes: 5 additions & 8 deletions
13
framework/wcf/Basic/Binding/Net/MSMQ/DeadLetter/CS/Client/App.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0"?> | ||
<!--Copyright (c) Microsoft Corporation. All Rights Reserved.--> | ||
<configuration> | ||
<appSettings> | ||
<!-- use appSetting to configure MSMQ Dead Letter queue name --> | ||
<add key="deadLetterQueueName" value=".\private$\ServiceModelSamplesOrdersAppDLQ"/> | ||
<add key="deadLetterQueueName" value=".\private$\ServiceModelSamplesOrdersAppDLQ" /> | ||
</appSettings> | ||
|
||
<system.serviceModel> | ||
<client> | ||
<!-- Define NetMsmqEndpoint --> | ||
<endpoint name="OrderProcessorEndpoint" address="net.msmq://localhost/private/ServiceModelSamplesDeadLetter" binding="netMsmqBinding" bindingConfiguration="PerAppDLQBinding" contract="Microsoft.Samples.MSMQDeadLetter.IOrderProcessor"/> | ||
<endpoint name="OrderProcessorEndpoint" address="net.msmq://localhost/private/ServiceModelSamplesDeadLetter" binding="netMsmqBinding" bindingConfiguration="PerAppDLQBinding" contract="Microsoft.Samples.MSMQDeadLetter.IOrderProcessor" /> | ||
</client> | ||
|
||
<bindings> | ||
<netMsmqBinding> | ||
<binding name="PerAppDLQBinding" deadLetterQueue="Custom" customDeadLetterQueue="net.msmq://localhost/private/ServiceModelSamplesOrdersAppDLQ" timeToLive="00:00:02"> | ||
<security mode="None"/> | ||
<security mode="None" /> | ||
</binding> | ||
</netMsmqBinding> | ||
</bindings> | ||
</system.serviceModel> | ||
|
||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 6 additions & 9 deletions
15
framework/wcf/Basic/Binding/Net/MSMQ/DeadLetter/CS/DeadLetterService/App.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0"?> | ||
<!--Copyright (c) Microsoft Corporation. All Rights Reserved.--> | ||
<configuration> | ||
<system.serviceModel> | ||
<services> | ||
<service name="Microsoft.Samples.MSMQDeadLetter.PurchaseOrderDLQService"> | ||
<!-- Define NetMsmqEndpoint in this case, DLQ end point to read messages--> | ||
<endpoint address="net.msmq://localhost/private/ServiceModelSamplesOrdersAppDLQ" binding="netMsmqBinding" bindingConfiguration="DefaultBinding" contract="Microsoft.Samples.MSMQDeadLetter.IOrderProcessor"/> | ||
<endpoint address="net.msmq://localhost/private/ServiceModelSamplesOrdersAppDLQ" binding="netMsmqBinding" bindingConfiguration="DefaultBinding" contract="Microsoft.Samples.MSMQDeadLetter.IOrderProcessor" /> | ||
</service> | ||
</services> | ||
|
||
<client> | ||
<!-- Define NetMsmqEndpoint --> | ||
<endpoint name="OrderProcessorEndpoint" address="net.msmq://localhost/private/ServiceModelSamplesDeadLetter" binding="netMsmqBinding" bindingConfiguration="SystemDLQBinding" contract="Microsoft.Samples.MSMQDeadLetter.IOrderProcessor"/> | ||
<endpoint name="OrderProcessorEndpoint" address="net.msmq://localhost/private/ServiceModelSamplesDeadLetter" binding="netMsmqBinding" bindingConfiguration="SystemDLQBinding" contract="Microsoft.Samples.MSMQDeadLetter.IOrderProcessor" /> | ||
</client> | ||
|
||
<bindings> | ||
<netMsmqBinding> | ||
<binding name="DefaultBinding"> | ||
<security mode="None"/> | ||
</binding> | ||
<binding name="SystemDLQBinding" deadLetterQueue="System"> | ||
<security mode="None" /> | ||
</binding> | ||
<binding name="SystemDLQBinding" deadLetterQueue="System"></binding> | ||
</netMsmqBinding> | ||
</bindings> | ||
</system.serviceModel> | ||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
framework/wcf/Basic/Binding/Net/MSMQ/DeadLetter/CS/Service/App.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0"?> | ||
<!--Copyright (c) Microsoft Corporation. All Rights Reserved.--> | ||
<configuration> | ||
<appSettings> | ||
<!-- use appSetting to configure MSMQ dead letter queue --> | ||
<add key="queueName" value=".\private$\ServiceModelSamplesDeadLetter"/> | ||
<add key="queueName" value=".\private$\ServiceModelSamplesDeadLetter" /> | ||
</appSettings> | ||
<system.serviceModel> | ||
<services> | ||
<service name="Microsoft.Samples.MSMQDeadLetter.OrderProcessorService"> | ||
<host> | ||
<baseAddresses> | ||
<add baseAddress="http://localhost:8000/orderProcessor/deadLetterSample"/> | ||
<add baseAddress="http://localhost:8000/orderProcessor/deadLetterSample" /> | ||
</baseAddresses> | ||
</host> | ||
<!-- Define NetMsmqEndpoint --> | ||
<endpoint address="net.msmq://localhost/private/ServiceModelSamplesDeadLetter" binding="netMsmqBinding" bindingConfiguration="PerAppDLQBinding" contract="Microsoft.Samples.MSMQDeadLetter.IOrderProcessor"/> | ||
<endpoint address="net.msmq://localhost/private/ServiceModelSamplesDeadLetter" binding="netMsmqBinding" bindingConfiguration="PerAppDLQBinding" contract="Microsoft.Samples.MSMQDeadLetter.IOrderProcessor" /> | ||
</service> | ||
</services> | ||
<bindings> | ||
<netMsmqBinding> | ||
<binding name="PerAppDLQBinding" deadLetterQueue="Custom" customDeadLetterQueue="net.msmq://localhost/private/ServiceModelSamplesOrdersAppDLQ"> | ||
<security mode ="None"/> | ||
<security mode="None" /> | ||
</binding> | ||
</netMsmqBinding> | ||
</bindings> | ||
</system.serviceModel> | ||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.