We want to use WordPress with ASP.NET. Is it possible for ASP.NET and WordPress to work together? If not, what are the alternatives?
Leave a Reply
You must be logged in to post a comment.
We want to use WordPress with ASP.NET. Is it possible for ASP.NET and WordPress to work together? If not, what are the alternatives?
You must be logged in to post a comment.
You could run WordPress using Phalanger, which can execute PHP code on the .NET platform (faster that standard PHP!) and allows mixing the PHP and standard .NET languages/frameworks in a single application.
Yes, it is actually possible.
Check out WP.NET:
PeachPie is an open source PHP compiler to .NET. This supports ASP.NET and ASP.NET Core, and it is performant.
WordPress is written in PHP and runs on Apache, so you can’t really run it in ASP.NET. There are methods however that enable you to run it on IIS.
The best way to go with integrating WordPress and ASP.NET is by using one of the supported XML-RPC protocols. You can see more about it here:
XML-RPC Support
You can use the Visual Studio integrated version:
http://www.microsoft.com/web/gallery/wordpress.aspx
You can run the PHP file in IIS rather than combine the WordPress file in ASP.NET. Just download the FastCGI and make some configuration.