CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2011
    Posts
    1

    c# clients with PHP server?

    Hey guys,

    I am developing my first real project in c# an i was planning to build a client/server based application. I would not prefer to make a direct mysql server connection due to security reasons.

    What would be the best solution for send/recv of data without making a direct mysql connection from the c# client?

    Would it be possible/safe to use the c# client against a PHP webserver with SOAP for send/recv all of the data or what would be the best way to do this?

    Best regards!

  2. #2
    Join Date
    Mar 2004
    Location
    33°11'18.10"N 96°45'20.28"W
    Posts
    1,808

    Re: c# clients with PHP server?

    you can. probably the easiest would be to add the data layer in C#, it is more involved to add the additional PHP SOAP layer for the C# layer to access (not unimaginable though).

    here's a little post I did some time ago, playing around with the very same idea:

    http://sanity-free.com/125/php_webse...p_clients.html

    it was pretty easy to say the least. personally, having used (and still use on a regular basis) the WCF client architecture, I still prefer the older asp.net web service client model (described in my article), and PHP/nusoap works better with it as well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured