Skip to content

Latest commit

 

History

History
62 lines (37 loc) · 2.86 KB

README.md

File metadata and controls

62 lines (37 loc) · 2.86 KB

BlazingApple.Blog 🍎

🔥 A totally copacetic, easy-to-use front-end Blazor WordPress Rendering Blog package. This front-end Razor Class Library is intended to be used by Blazor WASM projects, and targets .NET 5. It easily allows you to render your WordPress Blogs.

About BlazingApples

BlazingApples is an open-source set of packages that aims to speed application development for Blazor WebAssembly organizations.

⚡ Check out the demo site here, or this blog post on how the components work!

👏 Special thanks to wp-Net for creating the WordPressPCL API service on which this library primarily consumes.

Demo 📹

Demo of BlazingApple.Survey

Installation 🔧

1. Get the required dependencies.

  1. On Client Project, right click and get to the NuGet Package Manager ("Manage NuGetPackages").
  2. Install WordPressPCL. This provides the client service to request data from your site.
  3. Add the following to Program.cs's Main:
			builder.Services.AddScoped(pcl => new WordPressClient("https://old.taylorchasewhite.com/wp-json/"));
  1. Install BlazingApple.Blog. This provides the client components to render the requested data.

Blog Administration

Now you should be all set to use the components!

Usage 💪

Once the setup is complete, using the components is straightforward:

  1. In a component, inject the WordPressPCL client, @inject WordPressPCL.WordPressClient client.
  2. Add the <Blog Client="client"></Blog> component to render all the posts in your blog.

Credits 💮

Authors 📝

  1. Taylor White

License 📜

License: GPL v2

Blog Home 📷

Survey Administration

Categories (Pages Looks Similar) 📷

Taking a Survey

Posts For a Category 📷

Survey Responses