When I publish a WCF service to IIS, do the services not work?

I am using WCF REST 4.0 , which means that they are not .svc file. Therefore, I have 3 different classes of service in one WCF Rest Application project. And I registered all these services in Global.asax

What I'm trying to do is that I have a set of business functions from a lower structure, for example: .NET 1.0 / 2.0, where I use datasets and do not call the basic function of adding / updating / deleting objects, unlike new versions. So I wanted to ask if this type of matches will work in .Net 4.0 or is this their other reason for this?

thank

+3
source share
1 answer

If your services run on a web development server, they must run in IIS. What version of IIS are you using? Remember that unlimited URLs are only supported in IIS 7.x. If you want to use them in the old version, you need to change the IIS configuration (check this thread ). Also make sure your IIS has correctly registered .NET 4.0 and all real ISAPIs. If you installed .NET 4.0 after IIS, it is best to use aspnet_regiis.exe from the .NET 4.0 folder.

+1
source

Source: https://habr.com/ru/post/1759459/


All Articles