Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 651811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:12:11+00:00 2026-05-13T22:12:11+00:00

I have a Windows Application in C#. This application interacts with a remote mySQL

  • 0

I have a Windows Application in C#. This application interacts with a remote mySQL database. Should I create a PHP web service to do these (insert/add/delete/update) or use mySQL connector for c#? I’m not sure which way is better.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:12:12+00:00Added an answer on May 13, 2026 at 10:12 pm

    Wether the MySQL server is in the same network (phisically) or not. From my point of view the according solution would be to create a dedicated Web-Service that provides you the CRUD functionality for your application.

    This, because it gives you some Separation of Concerns (SoC) as you can separate business logic tier from the data access tier.

    See also: Single Responsibility Principle | “In object-oriented programming, the single responsibility principle states that every object should have a single responsibility, and that responsibility should be entirely encapsulated by the class. All its services should be narrowly aligned with that responsibility.”

    Every part of your application serves a specific purpose which makes it easier to maintain over a big timespan.

    Now this sounds pretty nice and cool, but do we really need to abstract everything away?

    As with everything else, it depends.


    Here is a little Use-Case:

    • The Database needs to be modified: Tables keys are removed, new tables are added old tables are removed.

    What will you, as developer, need to do in order to keep your application working?

    Using MySQLConnector:
    Start “hacking” inside your source code and making sure all queries run as expected. And if something goes wrong during that process, it will be a pain to fix it because it’s all kind of nested within the application logic.

    Using a dedicated Web-Service:
    Just make sure your methods are updated to match the new database design | No need to change anything on the application-side [except method arguments in some cases].

    Cheers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application running on Windows IIS. This app has a database
I have a windows form application which interacts with a remote database. the database
I have a C# service application which interacts with a database. It was recently
Assume i have a custom Windows application written in C#. This application has only
I have created Windows Application. In this, I have multiple tables in dataset, now
I have a C# Windows Form application that contains a menu with this event:
This is my first windows application. I have published my project and here are
I am using C# with a Windows Application Form. In this I have a
I have a windows form without running it in an application. this is the
I have a WTL 8.0 SDI application for Windows Mobile 5. In this contrived

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.