Render a Razor Partial View on a PHP page

Posted on August 7, 2018, in category Information, Tutorial, tags: , , , , , , , , , ,

We discussed rendering a PHP file in a Razor View last week, but this week we’ll push the boundaries of interoperability between PHP and ASP.NET even further. What if we enriched a PHP website with Razor Partial Views coded in a C# project (those with the .cshtml extension)?

... continue reading

Rendering PHP files in Razor Views

Posted on July 31, 2018, in category Information, News, Tutorial, tags: , , , , , , , ,

Much has been said about the interoperability options PeachPie opens up between PHP and .NET code. One of the most practical use cases is combining Razor and PHP Partial Views, which is what today’s article will be about.

... continue reading

The Ultimate WordPress Cache

Posted on July 1, 2018, in category Information, News, tags: , , , , , ,

No reasonable WordPress site is complete without some kind of caching plugin. While PeachPie should inherently speed up the runtime of PHP apps, it also opens up the door to another fantastic possibility: the ASP.NET Core response cache. Intro The web cache is a general issue we will face regardless of language, web server or […]

... continue reading

How to Work With Plugins in WordPress on .NET

Posted on June 25, 2018, in category Information, Tutorial, tags: , , , , , , ,

One of the most frequently asked questions we get regarding WordPress on .NET is how to work with plugins. This tutorial will explain how to install plugins with the current state of PeachPie and how to get past some of the basic problems you might encounter.

... continue reading

Performance Progress Report

Posted on June 4, 2018, in category Benchmark, Information, tags: , , , ,

Although performance improvements of PHP applications are one of the objectives of PeachPie, we always emphasize that it doesn’t necessarily have to be the main one and that we have yet to work on code optimizations to really get the most out of PeachPie. However, recent configuration tweaks have definitely led to surprisingly good results. […]

... continue reading

Packing PHP into DLLs, EXEs or NuGets

Posted on April 29, 2018, in category Information, News, Samples, Tutorial, tags: , , , , , , , ,

Seeing PeachPie enables us to compile PHP code into .NET assemblies, wouldn’t it also be great to manage it as a package or a set of packages depending on each other? In this article, we outline some of the common practices and possibilities of building deployable packages with PeachPie using a .NET Core SDK or […]

... continue reading