.NET Framework Developer Center > .NET Development Forums > Windows Communication Foundation > Deploying WCF app on a computer without .NET 3.0 installed
Ask a questionAsk a question
 

AnswerDeploying WCF app on a computer without .NET 3.0 installed

  • Wednesday, September 19, 2007 9:00 AMMarcin Celej Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I try to figure out how to install and run WCF appliaction on a computer without the .NET 3.0 installed. I know that the WCF app uses app.config file which requires some goo in machine.config. How to achieve this? Do I need to instal the entire .NET 3.0 on all my clients? Or maybe there is only some redistributable WCF instal. If so how can I do it in a Click-Once appllication?

    Thanks in advance,
    Marcin Celej

Answers

  • Wednesday, September 19, 2007 10:26 AMRégis Baccaro Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Marcin,

     

    as far as I know, you need to install the .net framework 3.0 redistributable on the client running the service. There is no "WCF-only" redistributables.

     

    Regards

     

    Régis Baccaro

     

  • Wednesday, September 19, 2007 5:52 PMScott Seely Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    IIRC, you'll also need to make your ClickOnce app require FullTrust too, since WCF in .NET 3.0 doesn't have APTCA (AllowPartiallyTrustedCallersAttribute). .NET 3.5's WCF does have APTCA.

     

All Replies

  • Wednesday, September 19, 2007 10:26 AMRégis Baccaro Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Marcin,

     

    as far as I know, you need to install the .net framework 3.0 redistributable on the client running the service. There is no "WCF-only" redistributables.

     

    Regards

     

    Régis Baccaro

     

  • Wednesday, September 19, 2007 10:39 AMBenK3 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    .net framework 3.0 is basically .NET2.0 + WCF ... Unless you got a few spare months to cut WPF and WF out. Then again the clients may need tehse down the track.  Also the complete release is heavily compressed.

     

    Regards,

     

    Ben

  • Wednesday, September 19, 2007 10:59 AMomp Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    hi mercin

    I dont think any such redistributable wcf install is available. But the question is whether you have separate client application that is consuming WCF service from a Server or you have both client and wcf app on same machine.

    In first case you need .net 3.0 fx on client system only if your client application is using any .net 3.0 component like

    WPF. In second case you do need to install .net 3.0 in all system. In this case u can always set prerequsite (to install .net 3.0) in the clickonce project.

     

     

    Om

     

  • Wednesday, September 19, 2007 5:52 PMScott Seely Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    IIRC, you'll also need to make your ClickOnce app require FullTrust too, since WCF in .NET 3.0 doesn't have APTCA (AllowPartiallyTrustedCallersAttribute). .NET 3.5's WCF does have APTCA.