404 error in a REST WCF service

I created my first WCF REST service the other day and was getting a 404 error when I deployed the service to our server.  After some research I found the solution here:

http://www.west-wind.com/weblog/posts/2008/Apr/10/WCF-REST-Configuration-for-ASPNET-AJAX-and-plain-REST-Services

I needed to add:

Factory="System.ServiceModel.Activation.WebServiceHostFactory"

to MyService.svc <%@ ServiceHost markup.

There is also a very good write up on WCF REST service design here:

http://msdn.microsoft.com/en-us/library/dd203052.aspx

Comments

  1. Selective Laser Sintering makes use of a high-power laser sweater to sinter small particles of polymer powder, fusing them to construct a strong structure. SLA 3D printing is turning into increasingly more well-liked outcome of} its capability to supply high-accuracy, isotropic, and watertight prototypes and elements in a variety of advanced materials corresponding to ceramics and nanoparticles. These two powder bed processes are comparable, but there are some differences between the applied sciences that must be understood earlier than making your manufacturing choice. New to our 3D printing service and unsure which additive know-how is true on your 3D design?

    ReplyDelete

Post a Comment

Popular posts from this blog

.NET generics with private accessors not compatible with MSTest

Microsoft.ApplicationBlocks. ExceptionManagement The event source x does not exist error