PineBlog is a light-weight blogging engine written in ASP.NET Core MVC Razor Pages, using Entity Framework Core or MongoDb. It is highly extendable, customizable and easy to integrate in an existing web application.
- Markdown post editor (SimpleMDE)
- File management
- Light-weight using Razor Pages
- SEO optimized
- Open Graph protocol
- RSS and ATOM feeds
- Basic search
- Clean Architecture (youtube: Clean Architecture with ASP.NET Core)
- Entity Framework Core, SQL database
- or MongoDb (MongoDB.Driver)
- Azure Blob Storage, for file storage
- ..only a blogging engine, nothing else..
More about the features: features
Because PineBlog is very light-weight it is not a complete web application, it needs to be integrated in an existing web application or you need to create a basic web application for it. There are a few things PineBlog depends on, but that it does not provide.
- Authentication and authorization
Note: The admin pages require that authentication/authorization has been setup in your website, the admin area has a
AuthorizeFilter
with the default policy set to all pages in that area folder.
You can install the Opw.PineBlog metapackage from the console.
> dotnet add package Opw.PineBlog
The Opw.PineBlog metapackage includes the following packages.
-
Opw.PineBlog.EntityFrameworkCore package The PineBlog data provider that uses Entity Framework Core.
-
Opw.PineBlog.RazorPages package The PineBlog UI using ASP.NET Core MVC Razor Pages.
-
Opw.PineBlog.Core package The PineBlog core package. This package is a dependency for
Opw.PineBlog.RazorPages
andOpw.PineBlog.EntityFrameworkCore
.
For using MongoDb, see Using MongoDb on how to setup that.
See: Getting started
For more information, please check the documentation.
For technical background information, check the blog: ofpinewood.com.
- The sample project contains an example web application with PineBlog.
- The NuGet sample project contains an example web application using just the NuGet packages.
Check the code 🤓
PineBlog is used on the following website:
We accept fixes and features! Here are some resources to help you get started on how to contribute code or new content.
Copyright © 2024, Of Pine Wood. Created by Peter van den Hout. Released under the terms of the MIT license.