Title: using C# program in WP
Last modified: January 5, 2021

---

# using C# program in WP

 *  [tomasklicka16](https://wordpress.org/support/users/tomasklicka16/)
 * (@tomasklicka16)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-c-program-in-wp/)
 * Hi,
 * is it possible please to run C# program in WP or do I need it translate into 
   PHP? I have a program that matches results from MySQL database with clients’ 
   requests. It is similar to search function in WP, but more advanced. My friend
   wrote it in C# as he has no proper knowledge of PHP and WP. Or is there any program
   that could translate C# into PHP?
 * Thank you for your help.
 * Tomas

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-c-program-in-wp/#post-13869190)
 * If it’s going to run as part of WordPress, in needs to be in PHP.
 * I have no idea if this really works: [http://jsc.sourceforge.net/](http://jsc.sourceforge.net/)
 *  [feile](https://wordpress.org/support/users/feile/)
 * (@feile)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-c-program-in-wp/#post-13870290)
 * 可以把C#当作单独的程序执行,在php中使用http向c#程序发送请求,在返回结果
    或许这样
   做,能解决您的需求?
 *  [Dani Llewellyn](https://wordpress.org/support/users/diddledani/)
 * (@diddledani)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-c-program-in-wp/#post-13873157)
 * You could try to use [PeachPie](https://www.peachpie.io/) which compiles PHP 
   to .NET CIL and executes it in the .NET runtime. This means, however, that WordPress
   will be running in .NET too, which you might not want.
 * There is a PeachPie [WPdotNet](https://www.wpdotnet.com/) project that compiles
   WordPress to a shared .NET assembly.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘using C# program in WP’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 4 participants
 * Last reply from: [Dani Llewellyn](https://wordpress.org/support/users/diddledani/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/using-c-program-in-wp/#post-13873157)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
