Someone asked about how to use Blazor with Wordpress.
It never really occurred to me to use Wordpress just to manage content. I did not even know about the term "Headless CMS", but after hearing about it, I created my own sample using server-side Blazor as a frontend.
The point is that the content is authored in Wordpress, and displayed on the custom site.
It uses a custom build of WordpressPCL as a client, when invoking the Wordpress REST API. It is included as a binary. Hopefully, it will be merged into the code base soon.
I have added Tye, which orchestrates the projects and MySQL Docker image. It can be used for any WP.NET project.
Someone asked about how to use Blazor with Wordpress.
It never really occurred to me to use Wordpress just to manage content. I did not even know about the term "Headless CMS", but after hearing about it, I created my own sample using server-side Blazor as a frontend.
The point is that the content is authored in Wordpress, and displayed on the custom site.
The code is available here: https://github.com/robertsundstrom/headless-wordpress-blazor (Screenshots too)
It uses a custom build of WordpressPCL as a client, when invoking the Wordpress REST API. It is included as a binary. Hopefully, it will be merged into the code base soon.
I have added Tye, which orchestrates the projects and MySQL Docker image. It can be used for any WP.NET project.