Can we use or integrate WordPress with ASP.NET?

52,690

Solution 1

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

Solution 2

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.

Solution 3

PeachPie is an open source PHP compiler to .NET. This supports ASP.NET and ASP.NET Core, and it is performant.

Solution 4

Yes, it is actually possible.

Check out WP.NET:

WP.NET runs WordPress compiled on the robust, fast and secure .NET Core framework using the cutting edge PeachPie compiler platform.

Solution 5

You can use the Visual Studio integrated version:

http://www.microsoft.com/web/gallery/wordpress.aspx

Share:
52,690

Related videos on Youtube

Akbar Admg
Author by

Akbar Admg

Updated on July 09, 2022

Comments

  • Akbar Admg
    Akbar Admg almost 2 years

    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?

    • Brian Webster
      Brian Webster almost 13 years
    • Michael Shimmins
      Michael Shimmins almost 13 years
      What do you mean "work together" - what are you trying to do? There could be a good solution for whatever problem you're trying to solve that doesn't involve using Wordpress under ASP.NET.
    • ygaradon
      ygaradon about 11 years
      use Orchard orchardproject.net is the must close System to wordpress at ASP.net
  • OutFall
    OutFall almost 8 years
    The link returns 404.
  • voon
    voon about 6 years
    Phalanger has been updated to .Net Core and renamed into Peachpie. github.com/iolevel/peachpie-wordpress
  • DestiX
    DestiX over 4 years
    This sounds very interesting to me. It is still a beta. Has anybody any experience in using it productive?
  • Peter Mortensen
    Peter Mortensen over 4 years
    The link seems to be (effectively) broken (redirects to the generic https://webgallery.microsoft.com/gallery, Windows Web App Gallery).
  • wolfeh
    wolfeh over 3 years
    Do you have a demo of how to write a WordPress plugin in C# and deploy it within WordPress using PeachPie?
  • wolfeh
    wolfeh over 3 years
    Do you have a demo of how to write a WordPress plugin in C# and deploy it within WordPress using PeachPie?
  • Remy
    Remy over 3 years
    Have you taken a look at this: peachpie.io/2017/10/wordpress-plugin-csharp.html