All Projects → EdiWang → Moonglade

EdiWang / Moonglade

Licence: gpl-3.0
The .NET 5 blog system of https://edi.wang, runs on Microsoft Azure

Projects that are alternatives of or similar to Moonglade

Run Aspnetcore
A starter kit for your next ASP.NET Core web application. Boilerplate for ASP.NET Core reference application, demonstrating a layered application architecture with applying Clean Architecture and DDD best practices. Download 100+ page eBook PDF from here ->
Stars: ✭ 227 (-8.84%)
Mutual labels:  entity-framework-core, aspnet-core, dotnet-core
Fanray
A blog built with ASP.NET Core
Stars: ✭ 117 (-53.01%)
Mutual labels:  azure, entity-framework-core, dotnet-core
Microsoft Rocket Video Analytics Platform
A highly extensible software stack to empower everyone to build practical real-world live video analytics applications for object detection and counting with cutting edge machine learning algorithms.
Stars: ✭ 162 (-34.94%)
Mutual labels:  azure, dotnet-core
Aurora Api Project
Aurora is a project developed in .NET Core, where it aims to show how to create something using an architecture, in layers, simple and approaching, in a simplistic way, some concepts such as DDD.
Stars: ✭ 162 (-34.94%)
Mutual labels:  entity-framework-core, aspnet-core
Architecture
.NET 6, ASP.NET Core 6, Entity Framework Core 6, C# 10, Angular 13, Clean Code, SOLID, DDD.
Stars: ✭ 2,285 (+817.67%)
Mutual labels:  aspnet-core, dotnet-core
Clean Architecture Manga
🌀 Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks
Stars: ✭ 3,104 (+1146.59%)
Mutual labels:  entity-framework-core, dotnet-core
Signalr.orleans
SignalR backend based on Orleans.
Stars: ✭ 156 (-37.35%)
Mutual labels:  aspnet-core, dotnet-core
Webapimongodb
Using MongoDB with ASP.NET Web API and ASP.NET Core to perform CRUD operations and build a NotebookApp
Stars: ✭ 164 (-34.14%)
Mutual labels:  aspnet-core, dotnet-core
Dntidentity
A highly customized sample of the ASP.NET Core Identity
Stars: ✭ 145 (-41.77%)
Mutual labels:  entity-framework-core, aspnet-core
Ace
Asheron's Call server emulator.
Stars: ✭ 185 (-25.7%)
Mutual labels:  entity-framework-core, dotnet-core
Linq2db.entityframeworkcore
Bring power of Linq To DB to Entity Framework Core projects
Stars: ✭ 166 (-33.33%)
Mutual labels:  entity-framework-core, dotnet-core
Dntframeworkcore
Lightweight and Extensible Infrastructure for Building Web Applications - Web Application Framework
Stars: ✭ 208 (-16.47%)
Mutual labels:  aspnet-core, dotnet-core
Modernarchitectureshop
The Microservices Online Shop is an application with a modern software architecture that is cleanly designed and based on.NET lightweight technologies. The shop has two build variations. The first variant is the classic Microservices Architectural Style. The second one is with Dapr. Dapr has a comprehensive infrastructure for building highly decoupled Microservices; for this reason, I am using Dapr to achieve the noble goal of building a highly scalable application with clean architecture and clean code.
Stars: ✭ 154 (-38.15%)
Mutual labels:  entity-framework-core, dotnet-core
Supersafebank
Sample Event Sourcing implementation with .NET Core
Stars: ✭ 142 (-42.97%)
Mutual labels:  azure, dotnet-core
Pomelo.entityframeworkcore.mysql
Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector
Stars: ✭ 2,099 (+742.97%)
Mutual labels:  entity-framework-core, dotnet-core
Ben.demystifier
High performance understanding for stack traces (Make error logs more productive)
Stars: ✭ 2,142 (+760.24%)
Mutual labels:  aspnet-core, dotnet-core
Storedprocedureefcore
Entity Framework Core extension to execute stored procedures
Stars: ✭ 164 (-34.14%)
Mutual labels:  entity-framework-core, dotnet-core
Azure Signalr
Azure SignalR Service SDK for .NET
Stars: ✭ 137 (-44.98%)
Mutual labels:  azure, aspnet-core
Orleans.clustering.kubernetes
Orleans Membership provider for Kubernetes
Stars: ✭ 140 (-43.78%)
Mutual labels:  azure, dotnet-core
Aspnetauthenticationworkshop
A workshop for moving through the various new pieces in ASP.NET Core Authentication
Stars: ✭ 169 (-32.13%)
Mutual labels:  aspnet-core, dotnet-core

Moonglade Blog System

Build Status Docker Build and Push .NET Build Linux ACR Build and Push

The .NET blog system of edi.wang that runs on Microsoft Azure. Enabling most common blogging features including posts, comments, categories, archive, tags and pages.

📦 Deployment

It is recommended to use stable code from Release rather than master branch.

☁ Full Deploy on Azure (Recommend)

This is the way https://edi.wang is deployed, by taking advantage of as many Azure services as possible, the blog can run very fast and secure with only ~$300 USD/month.

This diagram shows a full Azure deployment for Moonglade for reference.

image

🐋 Quick Deploy on Azure

Use automated deployment script to get your Moonglade up and running in 10 minutes, follow instructions here

🐧 Quick Deploy on Linux without Docker

To quickly get it running on a new Linux machine without Docker, follow instructions here.

🐵 Development

Tools Alternative
Visual Studio 2019 v16.8+ Visual Studio Code with .NET 5.0 SDK
SQL Server 2019 SQL Server LocalDB

💾 Setup Database

Create a SQL Server 2019 or LocalDB database. e.g. moonglade

Update the MoongladeDatabase with your database connection string in appsettings.Development.json

"MoongladeDatabase": "Server=(localdb)\\MSSQLLocalDB;Database=moonglade;Trusted_Connection=True;"

🔨 Build Source

Build and run ./src/Moonglade.sln

  • Admin entrance: /admin
  • Default username: admin
  • Default password: admin123

⚙ Configuration

This section discuss system settings in appsettings.[env].json. For blog settings, please use "/admin/settings" UI.

For production, it is strongly recommended to use Environment Variables over appsetting.json file.

🛡 Authentication

Azure Active Directory

See Wiki document

Local Account (Alternative)

Set Authentication:Provider to "Local". You can manage accounts in /admin/settings/account

🖼 Image Storage

AppSettings:ImageStorage controls how blog post images are stored.

Azure Blob Storage (Preferred)

You need to create an Azure Blob Storage with container level permission.

"Provider": "azurestorage"
"AzureStorageSettings": {
  "ConnectionString": "YOUR CONNECTION STRING",
  "ContainerName": "YOUR CONTAINER NAME"
}

When configured the image storage to use Azure Blob, you can take advantage of CDN for your image resources. Just enable CDN in admin settings, the blog will get images from client browser using a 302 redirect.

File System (Not Recommended)

You can also choose File System for image storage, but this will make your site root not read-only, which would be a potential security issue. And it will be harder for you to backup or update the website.

"Provider": "filesystem",
"FileSystemSettings": {
  "Path": "${basedir}\\UploadedImages"
}

The Path can be relative or absolute. "$\{basedir\}" represents the website's current directory.

Minio Blob Storage (Free)

You need to hava an Minio Server.

"Provider": "miniostorage"
"MinioStorageSettings": {
  "EndPoint": "Minio Server Endpoint(eg:localhost:9600)",
  "AccessKey": "Your Access Key",
  "SecretKey": "Your Secret Key",
  "BucketName": "Your BucketName",
  "WithSSL": false
}

🤬 Comment Moderator

📧 Email Notification

If you need email notification for new comments, new replies and pingbacks, you have to setup the Moonglade.Notification Azure Function first, and then set the values in appsettings.[env].json or in your runtime environment variables.

"Notification": {
  "Enabled": true,
  "AzureFunctionEndpoint": "{PROD-ENV-VARIABLE}"
}

🔩 Others

🎉 Blog Protocols or Standards

  • [X] RSS
  • [X] Atom
  • [X] OPML
  • [X] Open Search
  • [X] Pingback
  • [X] Reader View
  • [X] FOAF
  • [X] RSD
  • [X] MetaWeblog (Basic Support)
  • [ ] BlogML - Under triage
  • [ ] APML - Not planned
  • [ ] Trackback - Not planned

🐼 Customers

There are a few individuals already setup thier blogs using Moonglade on Azure (Global or China), Alibaba Cloud, Tencent Cloud, etc.

Just Submit PR or issue if you want your blog to be listed here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].