ServiceDeploymentNote - sirtristancomtedeartois/note GitHub Wiki
Notenet Rest WCF Service Deployment problem note (take user.svc for example)
/windows/system32/drivers/etc/hosts 127.0.0.1 www.myxyz.com, if there is no such entry yet 127.0.0.1 user.myxyz.com, etc
User: use User service as the root folder NotenetWeb: use the website as the root folder, if there is no such website yet
change it to use .NET Framework 4.0 Make sure the Managed Pipeline Mode is Integrated for each site. Change the Identity to NetworkService for each site if it’s not.
In Sql server, you need to make sure you add NETWORK SERVICE account to login under security tree view item of the server.
Suggested the authentication url and other settings. (Need to do some change per needed)
<extensions>
<behaviorExtensions>
<add name="jsonQueryStringWebHttp" type="System.ServiceModel.Configuration.JsonQueryStringWebHttpElement, System.ServiceModel.Web.Extension" />
</behaviorExtensions>
</extensions>
<endpointBehaviors>
<behavior name="AjaxBehavior">
<jsonQueryStringWebHttp />
<!--<enableWebScript />-->
</behavior>
</endpointBehaviors>
One thing need to notice is in serviceHostingEnvironment tag, you need to add aspNetCompatibilityEnabled="true" to make it aspnet compatible
<service name="Notenet.User.Service.User">
<endpoint address="" behaviorConfiguration="AjaxBehavior" binding="webHttpBinding" contract="Notenet.User.Service.IUser" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>