• Stars
    star
    915
  • Rank 47,934 (Top 1.0 %)
  • Language
    C#
  • License
    Other
  • Created almost 11 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A minimal blog engine using Razor Web Pages

MiniBlog

A blogging engine based on HTML5 and ASP.NET. For an ASP.NET Core version, see Miniblog.Core.

Build status

Deploy to Azure

Live demo: http://miniblog.azurewebsites.net/
Username: demo
Password: demo

Custom theme

In search for custom designed themes for MiniBlog? Click here.

Simple, flexible and powerful

A minimal, yet full featured blog engine using ASP.NET Razor Web Pages. Perfect for the blogger who wants to selfhost a blog.

Features

  • Best-in-class performance
  • Gets a perfect score of 100/100 on Google Page Speed
  • Uses CDN for Bootstrap and jQuery in release mode (debug="false")
  • Easy setting for serving static files from another domain.
  • Open Live Writer (OLW) support
  • Optimized for OLW
  • Assumes OLW is the main way to write posts
  • You don't have to use OLW (but you should)
  • RSS and ATOM feeds
  • Schedule posts to be published on a future date
  • Get feedback on an unpublished post by sending a preview link
  • SEO optimized
  • Uses HTML 5 microdata to add semantic meaning
  • Support for robots.txt and sitemap.xml
  • Theming support
  • Based on Bootstrap themes. Makes it easy to customize your blog
  • Comes with a one-column, two-column, and off-canvas theme
  • No database required
  • Uses the same XML format as BlogEngine.NET
  • Move your existing blog to MiniBlog using MiniBlog Formatter
  • Inline editing of blog posts
  • Comments support
  • Gravatar support
  • Can easily be replaced by 3rd-party commenting system
  • Drag 'n drop images to upload
  • Automatically optimizes uploaded images
  • Uses latest technologies
  • OpenGraph enabled
  • Based on jQuery and Bootstrap
  • Best-in-class accessibility
  • Mobile friendly
  • Works on any host including Windows Azure Websites

Why another blog engine?

7 years have passed since I started the BlogEngine.NET project. It was using cutting edge technology for its time and quickly became the most popular blogging platform using ASP.NET.

The MiniBlog was born as a test to see what a modern blog engine could look like today with the latest ASP.NET and HTML 5 technologies. Just like with BlogEngine.NET, the goal was to see how small and simple such a blog engine could be.

This is the result.

Connecting with Open Live Writer (OLW)

To connect to MiniBlog with Open Live Writer:

  • Launch Open Live Writer

  • If you have not used Open Live Writer to connect to a blog you will get a dialog window asking you to specify what blog service you use. If you have already connected Open Live Writer to a blog, you can go to Blogs -> Add blog account... and get to the same dialog window.

  • In the What blog service do you use? dialog window you will tick the Other services radio option and click next.

  • The Add a blog account dialog window will ask you for the web address of your blog, the username and password. The web address is the root address of your site. For example, use http://miniblog.azurewebsites.net/ for the live demo site.

  • The Download Blog Theme dialog window will let you know Open Live Writer can download your blog theme if you allow it to publish a temporary post. Selecting yes will allow you to view how your posts will look directly from the Open Live Writer editor.

  • The Select blog type dialog window will let you know Open Live Writer was not able to detect your blog type. It will ask you for the type of blog and the remote posting URL.
    Type of blog that you are using: Metaweblog API
    Remote posting URL for your blog: http://<root-address>/metaweblog
    Click next.

  • The Your blog has been set up dialog window will let you give your blog a nickname for the Open Live Writer instance. Change that if you want and click finish to get to posting!

Open Live Writer can be downloaded at:
https://openlivewriter.com/

Configuring MiniBlog as Virtual Application

MiniBlog is very compact and can be configured as a Virtual Application so you'd be able to use it alongside your existing websites. For example if you've got a running ASP.NET website at http://yourexamplesite.com/ and you want to setup a blog under /blog/ path, you could setup http://yourexamplesite.com/blog/ with a few simple tweaks in web.config settings:

  • Set blog:path element of appSettings to the virtual path that you've configured for MiniBlog. Example with path blog
<add key="blog:path" value="blog"/>
  • Update the path attribute of all the <handlers> in web.config. Example with path blog
<handlers>
    <remove name="CommentHandler"/>
    <add name="CommentHandler" verb="*" type="CommentHandler" path="/blog/comment.ashx"/>
    <remove name="PostHandler"/>
    <add name="PostHandler" verb="POST" type="PostHandler" path="/blog/post.ashx"/>
    <remove name="MetaWebLogHandler"/>
    <add name="MetaWebLogHandler" verb="POST,GET" type="MetaWeblogHandler" path="/blog/metaweblog"/>
    <remove name="FeedHandler"/>
    <add name="FeedHandler" verb="GET" type="FeedHandler" path="/blog/feed/*"/>
    <remove name="CssHandler"/>
    <add name="CssHandler" verb="GET" type="MinifyHandler" path="/blog*.css"/>
    <remove name="JsHandler"/>
    <add name="JsHandler" verb="GET" type="MinifyHandler" path="/blog*.js"/>
</handlers>

<httpErrors>
    <remove statusCode="404"/>
    <error statusCode="404" responseMode="ExecuteURL" path="/blog/404.cshtml"/>
</httpErrors>

After changing the config all that is left is configuring a Virtual Application with the same path(ex. blog) inside your IIS website.

More Repositories

1

Miniblog.Core

An ASP.NET Core blogging engine
JavaScript
1,449
star
2

WebEssentials2013

Visual Studio extension
C#
949
star
3

BundlerMinifier

Visual Studio extension
C#
598
star
4

ShortcutExporter

Visual Studio extension
C#
481
star
5

WebCompiler

Visual Studio extension for compiling LESS and Sass files
C#
448
star
6

MarkdownEditor

A Visual Studio extension
C#
397
star
7

WebEssentials.AspNetCore.ServiceWorker

C#
336
star
8

WebEssentials2015

A Visual Studio extension for web developers
C#
302
star
9

AddAnyFile

A Visual Studio extension
C#
256
star
10

Tweakster

A Visual Studio extension
C#
239
star
11

PhotoGallery

ASP.NET Core Photo Gallery
C#
170
star
12

OpenCommandLine

A Visual Studio extension
C#
157
star
13

ExtensibilityTools

Tools for writing Visual Studio extensions
C#
153
star
14

MarkdownEditor2022

A Visual Studio extension
C#
152
star
15

JavaScriptPrettier

A Visual Studio extension
C#
151
star
16

EditorConfigLanguage

A Visual Studio extension
C#
129
star
17

RainbowBraces

A Visual Studio extension
C#
129
star
18

FileDiffer

A Visual Studio extension
C#
128
star
19

TrailingWhitespace

Display trailing whitespace in any VS editor
C#
118
star
20

FileNesting

Nest files in Solution Explorer
C#
117
star
21

FileIcons

A Visual Studio extension
C#
115
star
22

PrivateGalleryCreator

Create private extension galleries for Visual Studio
C#
112
star
23

WebEssentials2012

C#
96
star
24

NpmTaskRunner

Visual Studio extension
C#
87
star
25

TypeScriptDefinitionGenerator

A Visual Studio extension
C#
81
star
26

ZenCodingVS

A Visual Studio extension
C#
70
star
27

SolutionColors

A Visual Studio extension
C#
69
star
28

ExtensionPackTools

A Visual Studio extension
C#
67
star
29

MarkSite

A markdown powered CMS written in ASP.NET
C#
66
star
30

RestClientVS

C#
66
star
31

TextmateBundleInstaller

A Visual Studio extension
C#
65
star
32

ShowTheShortcut

A Visual Studio extension
C#
65
star
33

PackageInstaller

A Visual Studio extension
C#
64
star
34

CodeCleanupOnSave

C#
63
star
35

VuePack

C#
61
star
36

OpenInVsCode

A Visual Studio extension
C#
61
star
37

WebAnalyzer

A Visual Studio extension
C#
55
star
38

WebEssentials.AspNetCore.OutputCaching

C#
52
star
39

CommentRemover

A Visual Studio extension
C#
51
star
40

WebEssentials2019

C#
49
star
41

WebEssentials.AspNetCore.CdnTagHelpers

A CDN helper for ASP.NET Core
C#
47
star
42

ImageOptimizerWebJob

C#
47
star
43

DialToolsForVS

A Visual Studio extension
C#
47
star
44

ReverseProxyCDN

C#
42
star
45

CommandTaskRunner

A Visual Studio extension
C#
42
star
46

JSON-Intellisense

NPM package Intellisense in package.json
C#
40
star
47

WebPackTaskRunner

A Visual Studio extension
C#
40
star
48

VuePack2017

A Visual Studio extension
C#
38
star
49

AspNetCoreTemplatePack

C#
38
star
50

SolutionExtensions

A Visual Studio extension
C#
36
star
51

FeedCollector

A simple website for aggregating RSS/Atom feeds
C#
36
star
52

Surrounder

A Visual Studio extension
C#
34
star
53

WebAccessibilityChecker

A Visual Studio extension
C#
34
star
54

ClearComponentCache

A Visual Studio extension
C#
33
star
55

PrettyPaste

Fixes the added blank lines when copying and pasting from IE
C#
32
star
56

VsixGallery

The Open VSIX Gallery
C#
32
star
57

ImageSprites

A Visual Studio extension
C#
32
star
58

Editorsk

A Visual Studio extension
C#
30
star
59

JavaScriptSnippetPack

A Visual Studio extension
Vim Snippet
30
star
60

CloseAllTabs

A Visual Studio extension
C#
30
star
61

IgnoreFiles

A Visual Studio extension
C#
29
star
62

zencoding

Provides hybrid ZenCoding for Web Essentials
C#
29
star
63

ImagePreview

C#
28
star
64

DarkTheme2019

C#
28
star
65

KnownMonikersExplorer

A Visual Studio extension
C#
28
star
66

CommandTableInfo

A Visual Studio extension
C#
28
star
67

Madskristensen.VisualStudio.SDK

Visual Studio SDK meta packages
28
star
68

ExtensionGallery

A Visual Studio extension gallery
C#
28
star
69

Packman

A client-side package manager
C#
28
star
70

TemplateCreator

A Visual Studio extension
C#
27
star
71

BasicEssentials

26
star
72

DeveloperNews

C#
26
star
73

BrowserReloadOnSave

A Visual Studio extension
C#
26
star
74

SvgViewer

Shows the rendered image of .svg files
C#
25
star
75

StaticWebHelper

Perf optimize static websites hosted on IIS
C#
25
star
76

MIDL

A Visual Studio extension
C#
24
star
77

WorkspaceFiles

C#
24
star
78

vswebessentials.com

The official website of Web Essentials for Visual Studio
C#
23
star
79

ExtensionUpdater

Visual Studio extension for auto updating extensions
C#
23
star
80

Community.VisualStudio.Toolkit

A community toolkit for writing Visual Studio extensions
C#
23
star
81

CssTools

A Visual Studio extension
C#
22
star
82

InsertGuid

A Visual Studio extension
C#
22
star
83

ExtensionScripts

PowerShell
22
star
84

ErrorHighlighter

Visual Studio extension
C#
21
star
85

CopyNice

A Visual Studio extension
C#
21
star
86

SpaTemplatePack

A Visual Studio extension
C#
20
star
87

EditorColorPreview

C#
20
star
88

Madskristensen.VisualStudio.SDK.HelpersOLD

C#
19
star
89

VsctIntellisense

Intellisense for VSCT files
C#
19
star
90

JavaScriptRegions

A Visual Studio extension
C#
19
star
91

OptionsSample

A Visual Studio extension sample
C#
19
star
92

JsonSchemaGenerator

A Visual Studio extension
C#
18
star
93

WebEssentialsChrome

A browser extension
JavaScript
18
star
94

MiniBlogFormatter

C#
17
star
95

PkgdefLanguage

A Visual Studio extension
C#
17
star
96

TomlEditor

C#
16
star
97

HtmlSnippetPack

A Visual Studio extension
Vim Snippet
16
star
98

LessCompiler

A Visual Studio extension
C#
16
star
99

VuePack2019

C#
16
star
100

OutputWindowFilter

C#
15
star