Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2697


Ignore:
Timestamp:
01/28/10 16:21:10 (15 years ago)
Author:
abeham
Message:

Changed ConfigMerger to merge each possible binding in system.serviceModel/bindings separately (#858)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/ConfigMerger/ConfigMerger.cs

    r2692 r2697  
    5353      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/services");
    5454      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel");
    55 
    56       sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings");
    57       destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings");
    58       Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel");
     55     
     56      #region Merge 'system.serviceModel/bindings/*'
     57      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/basicHttpBinding");
     58      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/basicHttpBinding");
     59      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     60
     61      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/basicHttpContextBinding");
     62      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/basicHttpContextBinding");
     63      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     64
     65      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/customBinding");
     66      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/customBinding");
     67      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     68
     69      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/mexHttpBinding");
     70      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/mexHttpBinding");
     71      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     72
     73      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/mexHttpsBinding");
     74      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/mexHttpsBinding");
     75      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     76
     77      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/mexNamedPipeBinding");
     78      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/mexNamedPipeBinding");
     79      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     80
     81      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/mexTcpBinding");
     82      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/mexTcpBinding");
     83      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     84
     85      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/msmqIntegrationBinding");
     86      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/msmqIntegrationBinding");
     87      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     88
     89      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/netMsmqBinding");
     90      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/netMsmqBinding");
     91      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     92
     93      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/netNamedPipeBinding");
     94      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/netNamedPipeBinding");
     95      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     96
     97      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/netPeerTcpBinding");
     98      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/netPeerTcpBinding");
     99      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     100
     101      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/netTcpBinding");
     102      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/netTcpBinding");
     103      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     104
     105      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/netTcpContextBinding");
     106      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/netTcpContextBinding");
     107      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     108
     109      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/webHttpBinding");
     110      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/webHttpBinding");
     111      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     112
     113      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/ws2007FederationHttpBinding");
     114      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/ws2007FederationHttpBinding");
     115      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     116
     117      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/ws2007HttpBinding");
     118      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/ws2007HttpBinding");
     119      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     120
     121      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/wsDualHttpBinding");
     122      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/wsDualHttpBinding");
     123      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     124
     125      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/wsFederationHttpBinding");
     126      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/wsFederationHttpBinding");
     127      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     128
     129      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/wsHttpBinding");
     130      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/wsHttpBinding");
     131      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     132
     133      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/bindings/wsHttpContextBinding");
     134      destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/bindings/wsHttpContextBinding");
     135      Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/bindings");
     136      #endregion
    59137
    60138      sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/client");
Note: See TracChangeset for help on using the changeset viewer.