• I have a simple question. I want to access data in WordPress using ASP.Net code. How do I do that? I have read it’s possible, but doesn’t seem like it’s too easy. We are a Microsoft environment and moving to WordPress.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    WordPress stores its data in an SQL database, so all you need to do is access that.

    Thread Starter jlarremore

    (@jlarremore)

    Yes, but HOW is that done? Where do I put the code that accesses the data on a SQL database?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    How you can access SQL data with ASP.net? You need to ask this in a .net forum.

    Thread Starter jlarremore

    (@jlarremore)

    I know how to access SQL data using .Net. That’s not the issue. My issue is integrating the .Net code into a WordPress page. Can I write .Net code in WordPress?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What specifically do you want to do?

    Thread Starter jlarremore

    (@jlarremore)

    For example. I have a list of widgets that need to be displayed at a specific time on a site. It changes thought the year. I need to write code that will pull the specific information from the database and display it on a page

    OR

    I have a contact form that needs to write information to a SQL database. I need to put that form into a WP page and write the data to a SQL database

    OR

    I need to track attendance for a large meeting. As attendants come in they are required to check in. I have a form written in ASP.NET that does that and writes that data to an SQL page.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You won’t be able to interact with any of the functions WordPress uses, but I think you can accomplish what you want by interacting with the XML-RPC interface. You can get access to data and then write your own methods to send data to the database.

    Thread Starter jlarremore

    (@jlarremore)

    Well, that answers that.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘ASP.Net Data With WordPress’ is closed to new replies.