It's time to update my blog engine which I published some time ago. The updated version is now based on ASP MVC 4 and uses Twitter Bootstrap 3 instead of a custom CSS file. In this post I will give a short overview over the things that were changed.
Features/Setup
The features of the blog engine are described in this post.
The setup of the blog engine is quite easy. The directory 'Setup' contains a readme explaining the necessary steps.
Changes
Twitter Bootstrap
Twitter Bootstrap 3 uses a mobile first approach, that means that you don't have to integrate bootstrap-responsive.css any more.
The default design now looks like this:
Dependency Injection
SimpleInjector is now used instead of Unity as IoC container. Why? It is one of the fastest containers with a lot of useful features.
Commands/CommandHandler
I decided to use the command pattern for modifying data. This is especially useful for bigger applications, but since the overhead is not that big, I applied this approach from @dot_NET_Junkie.
Updates
20.02.2014: Migrated to MVC 5.
16.06.2019: Migrated to ASP.NET Core 2.2.
Source Code
The latest source code can be found on GitHub.
Paul
1/30/2020
Thanks a million for the unique piece of work shared with other people, to benefit from.
I have spent a significant amount of time trying to fine-tune your application to my suitability, all efforts
and time spent seemed to have proved abortive.
I am trying to include a multi-media file in the app, but for some reasons unknown the file is prevented
from loading. multi-media files (mp4, webm, ogg) included in the project can not be accessed through
html tag or by specifying full path in the browsers. It displays the video player image in static form without the file content.
Below is my html tag :
<video width="350" height="400" controls loop >
<source src="~/videos/Sample_01.mp4" type="video/mp4">
<source src="https://localhost:****/videos/MySample.mp4" type="video/mp4">
</video>
and browsers path :
https://localhost:****/videos/MySample.mp4
I am using the .net core app : https://github.com/danielpalme/MVCBlog
Any help will be highly apprecaited.
Thanks
Ted Campbell
7/17/2017
http://iterDev.com
Hi Daniel,
Your original Blog engine is a great accomplishment. My shop prefers the MVC approach and I hope we can contribute to your MVC version of the BlogEngine. To that end, do you have an implementation road map for making the current version of the MVC BlogEngine feature complete, or equivalent, with the ASP.NET version? The UI customization is of particular interest in my shop.
I am asking so that, if I can convince my management, I can begin with an approach that is in line with your plan and does not distract.
Both BlogEngines are great work. I would like to contribute. This is just my attempt to make a first contact and get your thoughts.
Thanks very much and best wishes in your future work.
Ted Campbell
shashi
3/16/2016
https://www.shashinewblog.com
hello, i have not make any query or table in sql but all content of blog like create new blog or post comments all save and never gone after refresh, i have question that how can be possible or working on your blog? can you please give a brief on it?..thankss
Naveed Akhtar
3/5/2015
http://www.lightnodes.com
Hi Daniel,
I personally preferred SimpleInjector over any other, simply because it's fastest, as fast as having no IoC Container. But SimpleInjector is not very simple when you like to integrate Identity 2 for roles and membership. As Identity use poor man's Ioc throughout and mostly implemented using multiple constructor methods for Controllers etc.
There are few people who overcome this by adding more code, which was getting too complicated for me and the whole purpose of SimpleInjector was to keep things simple and speedy, isn't it! While Unity is comparatively slow, but is very flexible. I spend almost half a day trying to support simpleInjector and then gave up later it took me less than an hour to make my website up and running again with Unity. Call it my incompetence, but personally I like to have very neat and less code in my projects, less code means less maintenance.
Naveed Akhtar
3/2/2015
http://www.lightnodes.com
Hi Daniel,
Thanks for the blog engine. I have been thinking to integrate a CMS into my website, silly me, figured out, you can't integrate one. They want you to integrate your website into the CMS.
Which i can't afford at the moment.
A quick question, I want to use Unity, as its easier with Identity 2. I was using SimpleInjector before setting up Identity. It was just very complicated to set it up with it.
So, do you see any problem if I use Unity with your MVC4 / bootstrap implementation?
Rénald VENANT-VALERY
12/29/2014
Hello, many thanks for this blog engine. That's exactly what I was looking for. Simple, performant, minimalist, and very efficient.
teksonit
7/31/2014
http://www.teksonit.com
Great Information admin thanks For Your Information and Any body wants
learn .NET through Online for Details Please go through the Link
<a href="http://www.teksonit.com/dot-net-online-training/">
Best .NET Online Training in INDIA | .NET Certification Online in USA, UK, CANADA </a>
This Will Helps you aalot.