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.
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.
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?
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.