none
"Endpoint not found" when trying to create a wcf service with webhttp binding.

    คำถาม

  •  <system.serviceModel>
        <services>
          <service name="Uploadfile.wcfsvcUploadfile">
                <endpoint address="" binding="webHttpBinding" name="RestEndpoint"  contract="Uploadfile.Iuploadfile" behaviorConfiguration="restBehavior"/>
          </service>
        </services>
        <behaviors>
          <endpointBehaviors>
            <behavior name="restBehavior">
              <webHttp />
            </behavior>
          </endpointBehaviors>
          <serviceBehaviors>
            <behavior>
                       <serviceMetadata httpGetEnabled="true"/>
                        <serviceDebug includeExceptionDetailInFaults="true"/>
            </behavior>
          </serviceBehaviors>
        </behaviors>
        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
      </system.serviceModel>

    12 มีนาคม 2555 11:08

คำตอบ

ตอบทั้งหมด