First, I created a test WCF solution using VS 2017 and .net 4.7.
Next I added the required code as per these instructions: https://blog.falafel.com/start-code-using-webactivator-mvc-application/
And everything works as expected. Then I went to my production app which is a WPF app and WCF website on the backend. Once again I added similar code as instructed, but it wont execute. I also tried the PreApplicationStartMethod which doesn't execute. I even set the website as the startup project and created a Text.aspx page as the startup page. it will wont execute.
Any ideas what to do now?
Thanks.