locked
WCF with .Net 4.5 on IIS 7 RRS feed

  • Question

  • I wrote a WCF service targeting .NET 4.5, and works fine self-hosted.

    I want to host the DLL on IIS 7. Can that be done?

    Thanks,


    Jon Jacobs
    In transmission, subatomic particles managed by professionals.
    No innocent electrons were harmed.

    Wednesday, August 5, 2015 4:53 PM

Answers

  • Hi Jon,

    Sorry to misunderstood your question. You can install .NET framework 4.5 on your IIS machine and then you can change the app pool to your desire framework.

    I hope this might help you.


    Rajat Jaiswal

    • Marked as answer by Jon Q Jacobs Thursday, August 6, 2015 11:50 AM
    Thursday, August 6, 2015 3:26 AM

All replies

  • Hi Jon,

    I think you want to host WCF service in IIS.

    You have to change config file set proper binding and end points.

    Please refer  below link for this

    http://wcftutorial.net/wcf-iis-hosting.aspx

    https://msdn.microsoft.com/en-us/library/ms733766%28v=vs.110%29.aspx


    Rajat Jaiswal

    Wednesday, August 5, 2015 5:20 PM
  • >think you want to host WCF service in IIS.

    Yes. Specifically IIS 7 on a remote server.

    >You have to change config file set proper binding and end points

    I am familiar with that.

    I have run across posting that indicate IIS7 will only handle up to .NET 3.0, and my DLL is built under .NET 4.5.

    So that is why I asked specifically about IIS 7 and .NET version. That is why I posted under class libraries.

    I am not asking how to host it. I am asking about the allowed .NET version.

    Thanks,


    Jon Jacobs
    In transmission, subatomic particles managed by professionals.
    No innocent electrons were harmed.

    Wednesday, August 5, 2015 5:36 PM
  • Hi Jon,

    Sorry to misunderstood your question. You can install .NET framework 4.5 on your IIS machine and then you can change the app pool to your desire framework.

    I hope this might help you.


    Rajat Jaiswal

    • Marked as answer by Jon Q Jacobs Thursday, August 6, 2015 11:50 AM
    Thursday, August 6, 2015 3:26 AM
  • Thank you very much. That was exactly what I needed to know.

    Jon Jacobs
    In transmission, subatomic particles managed by professionals.
    No innocent electrons were harmed.

    Thursday, August 6, 2015 11:50 AM