本番環境にデプロイした後、「404 - ファイルが見つかりません」というメッセージしか表示されません。
このサービスは、仮想ディレクトリ ( /v1 ) として構成する必要があります。独自のアプリケーション プールがあります。
http://www.jamesgoodfellow.com/blog/post/IIS-60---HTTP-404---File-not-found-Internet-Information-Services.aspxに従って ASP .Net 4.0 を有効にしました。
IIS 6 での .net 4.0 REST WCF サービスのホスティングに従って、ワイルドカードを追加し、Windows 統合セキュリティを削除しました
それはまだ動作しません...
これが私の web.config の ServiceModel 部分です。
<system.serviceModel>
<extensions>
<behaviorExtensions>
<add name="restHttpBehavior" type="--hidden for security purposes--, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null"/>
</behaviorExtensions>
</extensions>
<services>
<service name="--hidden for security purposes--" behaviorConfiguration="MetadataBehavior">
<host>
<baseAddresses>
<add baseAddress="http://localhost/v1/api.svc"/>
</baseAddresses>
</host>
<endpoint behaviorConfiguration="WebBehavior" binding="webHttpBinding" bindingConfiguration="restNoSSL" contract="--hidden for security purposes--"/>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior name="WebBehavior">
<restHttpBehavior/>
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name="MetadataBehavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<webHttpBinding>
<binding name="restNoSSL">
</binding>
</webHttpBinding>
</bindings>
</system.serviceModel>
助けてください!!