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

  • SEARCH
  • Home
  • 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 6360449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:39:04+00:00 2026-05-24T23:39:04+00:00

I am writing a WPF application that I need to authenticate with our current

  • 0

I am writing a WPF application that I need to authenticate with our current PHP based online website. I have full control other both, so any recommendation is possible.

I do not know whether it would be best to use:

  1. Pass the username and password via post/get to an API and see if the user is “valid”
  2. Connect to the database directly (probably not a good idea)
  3. JSON or XML?
  • 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-24T23:39:04+00:00Added an answer on May 24, 2026 at 11:39 pm

    A few suggestions:

    1. For security and communication between client and server use the WebClient Object, Or, if you wanna go pro, search a web service generator for php and work with web service standards.
    2. only the server should be able to communicate with db, security, abstraction and orthogonality are good reasons for that.
    3. Json makes the data thinner, so it’s recommended, but if you don’t care about data size, xml can be directly bounded to wpf controls, maybe it can help you.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a WPF desktop application and have a view that needs to look
We are writing a WPF based application that is usually used on a touchscreen
I'm writing an application using WPF, and I need to make something that looks
I'm writing an InformationKiosk WPF application that displays different full screen slides (or views),
Im writing a WPF application that has a zoom and pan ability, but what
I'm writing a WPF application that uses a component, and this component returns a
I am writing a WPF application on WinXP and I have overridden the default
I need to create a WPF control that will play an rtp stream with
I'm writing a WPF application that uses one document at a time. Is there
I have a WPF TaskBar like application that i am developing for fun and

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.