Hi Mohammed i have the same issue <big><small></small></big> please what is wrong with my service web config and Client app config
Service config
<system.servicemodel>
<services>
<service name="ProductWebserviceapp.Product" behaviorconfiguration="ServiceBehavior">
<endpoint binding="webHttpBinding" contract="ProductWebserviceapp.IProduct">
behaviorConfiguration="webHttp">
<identity>
<dns value="localhost">
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange">
<servicehostingenvironment aspnetcompatibilityenabled="true" multiplesitebindingsenabled="true">
<standardendpoints>
<webhttpendpoint>
<standardendpoint name="">
helpEnabled="true"
automaticFormatSelectionEnabled="true"
defaultOutgoingResponseFormat="Json"
crossDomainScriptAccessEnabled="true"/>
<behaviors>
<servicebehaviors>
<behavior name="ServiceBehavior">
<servicemetadata httpgetenabled="true">
<servicedebug includeexceptiondetailinfaults="true">
<datacontractserializer maxitemsinobjectgraph="50485760">
<behavior>
<servicemetadata httpgetenabled="true">
<servicedebug includeexceptiondetailinfaults="false">
<endpointbehaviors>
<behavior name="webHttp">
<webhttp helpenabled="True">
<bindings>
<system.webserver>
<modules runallmanagedmodulesforallrequests="true">
App config
<system.servicemodel>
<client>
<endpoint address="http://localhost/ProductPublish/Product.svc">
binding="webHttpBinding"
behaviorConfiguration="webEndpoint"
contract="Product.IProduct"
name="SinglePageAngularJS.Product" />
<behaviors>
<endpointbehaviors>
<behavior name="webEndpoint">
<webhttp defaultbodystyle="Wrapped">
defaultOutgoingResponseFormat="Xml"
helpEnabled="true"/>
<appsettings>
<add key="webpages:Version" value="2.0.0.0">
<add key="webpages:Enabled" value="false">
<add key="PreserveLoginUrl" value="true">
<add key="ClientValidationEnabled" value="true">
<add key="UnobtrusiveJavaScriptEnabled" value="true">
<system.web>
<compilation debug="true" targetframework="4.5">
<httpruntime targetframework="4.5">
<authentication mode="Forms">
<forms loginurl="~/Account/Login" timeout="2880">
<pages>
<namespaces>
<add namespace="System.Web.Helpers">
<add namespace="System.Web.Mvc">
<add namespace="System.Web.Mvc.Ajax">
<add namespace="System.Web.Mvc.Html">
<add namespace="System.Web.Optimization">
<add namespace="System.Web.Routing">
<add namespace="System.Web.WebPages">
<system.webserver>
<validation validateintegratedmodeconfiguration="false">
<handlers>
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit">
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit">
<remove name="ExtensionlessUrlHandler-Integrated-4.0">
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptprocessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" precondition="classicMode,runtimeVersionv4.0,bitness32" responsebufferlimit="0">
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptprocessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" precondition="classicMode,runtimeVersionv4.0,bitness64" responsebufferlimit="0">
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" precondition="integratedMode,runtimeVersionv4.0">
<runtime>
<assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentassembly>
<assemblyidentity name="System.Web.Helpers" publickeytoken="31bf3856ad364e35">
<bindingredirect oldversion="1.0.0.0-2.0.0.0" newversion="2.0.0.0">
<dependentassembly>
<assemblyidentity name="System.Web.Mvc" publickeytoken="31bf3856ad364e35">
<bindingredirect oldversion="1.0.0.0-4.0.0.0" newversion="4.0.0.0">
<dependentassembly>
<assemblyidentity name="System.Web.WebPages" publickeytoken="31bf3856ad364e35">
<bindingredirect oldversion="1.0.0.0-2.0.0.0" newversion="2.0.0.0">
<entityframework>
<defaultconnectionfactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="v12.0">
Please solve this issue i am very upset