When I try to run WCF debug mode in Visual studio 2017, I get the following errors in events viewer :
The Module DLL 'C:\Program Files (x86)\IIS Express\Asp.Net Core Module\V2\aspnetcorev2.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.
And by that I couldn't launch my service.