WCF on IIS8; *.svc handler mapping doesn't work
More specifically:
- Run
Server Manager
(on task bar and start menu) - Choose the server to administer (probably local server)
- Scroll down to "
Roles and Features
" section. - Choose "
Add Role or Feature
" from Tasks drop down - On "
Add Role or Feature Wizard
" dialog, click down to "Features
" in list of pages on the left. - Expand
".Net 3.5"
or".Net 4.5"
, depending on what you have installed. (you can go back up to "roles
" screen to add if you don't have. - Under "
WCF Services
", check the box for "HTTP-Activation
". You can also add non-http types if you know you need them (tcp, named pipes, etc). - Click
"Install"
Button.
I had to enable HTTP Activation
in .NET Framework 4.5 Advanced Services
> WCF Services
turn ON the following on 'Turn Windows Features on or off'
a) .Net Framework 3.5 - WCF HTTP Activation and Non-Http Activation
b) all under WCF Services
Windows 8 with IIS8
- Hit
Windows+X
- Select
Programs and Features
(first item on list) - Select
Turn Windows Features on or off
on the left - Expand
.NET Framework 4.5 Advanced Services
- Expand
WCF Services
- Enable
HTTP Activation