JJY
WCF .config
WCF
WCF
<system.serviceModel>
<services>
<service name="Microsoft.ServiceModel.Samples.CalculatorService" behaviorConfiguration="Calcu
latorServiceBehavior">
<!-- Service Endpoints -->
<!--
This endpoint is exposed at the base address provided by the host : http://localhost:1808/Service.svc-->
<endpoint address="" binding="wsHttpBinding" contract="Microsoft.ServiceModel.Samples.ICal
culator">
<!--
WCF
-->
<identity>
<dns value="localhost"/>
</identity>
</endpoint>
<!--
This mex endpoint is exposed at the base address provided by the host : http://localhost:1808/Service.svc
/mex-->
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="CalculatorServiceBehavior">
<!-- false -->
<serviceMetadata httpGetEnabled="true"/>
<!-- true false
-->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
1.“ XXXXX ( ) ”
<service name="Microsoft.ServiceModel.Samples.CalculatorService" behaviorConfiguration="CalculatorS
erviceBehavior"> name
Microsoft.ServiceModel.Samples CalculatorService
2.WCF Client WCF “application soap+xml charset utf-8
” IE WCF “ ”
- 142
- 0
- 10
Trackbacks - 0
NEWS
MikeJia
7 3
23
2
C#(4)
SQL(4)
(3)
(3)
silverlight(2)
(2)
(2)
log4net(2)
mongoDB(1)
mouseleftbuttondown(1)
ASP.NET Chart(2)
Azure(2)
C#(36)
cache(11)
Cloud(1)
CSS(2)
HighChart(1)
Java(7)
jQuery(2)
JS(3)
Linux(1)
mongoDB(2)
MVC(21)
mysql(2)
net
(2)
node.js
Oracle(1)
ORM(1)
评论0
最新资源