Need suggestions to develop WCF service layer RRS feed

  • Question

  • User-265225665 posted

    I want to develop WCF service layer which can authenticate users from various clients like android, iphone, web(asp.net), web(php) etc. I know that xml and json can be two different format to send response back to the client.

    My requirement is, any client can consume WCF service which is developed by me in independent way, and i want to authenticate each request as well.

    So will you guys please look into my problem and suggest me any way to achieve this using WCF.

    I have conceptual idea about web service but i dont have any implemetation experience in this area.

    Any help will be appreciated.


    Tuesday, October 22, 2013 7:09 AM


All replies

  • User839260933 posted


    Windows Communication Foundation (Code named Indigo) is a programming platform and runtime system for building, configuring and deploying network-distributed services. It is the latest service oriented technology; Interoperability is the fundamental characteristics of WCF. It is unified programming model provided in .Net Framework 3.0. WCF is a combined features of Web Service, Remoting, MSMQ and COM+. WCF provides a common platform for all .NET communication.


    1. WCF is interoperable with other services when compared to .Net Remoting,where the client and service have to be .Net.
    2. WCF services provide better reliability and security in compared to ASMX web services.
    3. In WCF, there is no need to make much change in code for implementing the security model and changing the binding. Small changes in the configuration will make your requirements.
    4. WCF has integrated logging mechanism, changing the configuration file settings will provide this functionality. In other technology developer has to write the code.

    You can see more at http://wcftutorial.net

    Beginners Tutorial at http://www.codeproject.com/Articles/406096/A-beginners-tutorial-for-understanding-Windows

     and http://blah.winsmarts.com/2008–4-What_is_WCF.aspx

    Tuesday, October 22, 2013 7:17 AM
  • User-265225665 posted

    Hi Sekhar,

    I am familier with the basics of WCF.

    I came across to a requirement to authenticate user for each request whether the request is from the clients which is logged in to my service (Maintaining the session in the wcf).
    Which is possible in binding types of wsHttpBinding, but further it will not allow me to use restful service behaviour which is the first priority to achieve restful behaviour.
    I need to know that is there any way to develop restful service which can return json or xml with maintaining session for particular request or logged in user(in client application).
    Tuesday, October 22, 2013 7:33 AM
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 22, 2013 7:46 AM