login to rate this
.NET BlogEngine 4.0 [non-official]
7/28/2024 8:41:51 AM
0
0
|
login to rate this
[.NET7] Design Patterns: Facade in a Web Application
7/28/2024 8:41:52 AM
5
0
|
login to rate this
[.NET7] Design Patterns: Repository in a Web Application
1/6/2023 7:51:12 AM
0
0
|
login to rate this
[.NET7] IP GeoLocation with Dependency Injection and Custom Middleware
1/14/2023 3:15:14 PM
0
0
|
login to rate this
[.NET7] Weather Forecast with Dependency Injection and Custom Middleware
10/3/2023 10:35:11 AM
0
0
|
login to rate this
2 ways for creating QR Code using ASP.NET
12/13/2017 3:38:08 PM
0
0
|
login to rate this
AMD Ryzen 9 home server with Fedora 41 and .NET 8
11/12/2024 4:51:32 AM
15
1
|
login to rate this
ASP.NET MVC Routing with @
4/11/2017 5:33:20 PM
0
0
|
login to rate this
ASP.NET MVC Routing with Constraints
4/11/2017 5:33:21 PM
0
0
|
login to rate this
BlogEngine.NET 3.3.5 with a BBQ Sauce
4/2/2022 10:43:59 AM
0
0
|
login to rate this
BlogEngine.NET 3.3.5 with a BBQ Sauce: Part 2
7/21/2022 8:08:20 PM
0
0
|
login to rate this
EF7 on .NET Core 7 (Preview): Fedora 35 x Windows 11 (41 Million Rows)
8/3/2022 10:16:31 AM
0
0
|
login to rate this
Entity Framework Core 6: Fedora 35 x Windows 11 (41 Million Rows)
8/3/2022 10:19:30 AM
0
0
|
login to rate this
Entity Framework Core 7 (Preview): Fedora 35 x Windows 11 (41 Million Rows)
8/3/2022 10:20:01 AM
0
0
|
login to rate this
Entity Framework Providers for the .NET BlogEngine
4/2/2022 10:42:29 AM
0
0
|
login to rate this
Enum as String in EF Core
10/9/2023 2:49:39 AM
0
0
|
login to rate this
Facebook: Data Deletion Callback URL in C#
12/18/2021 5:41:17 PM
0
0
|
login to rate this
How to fix the Could not load file or assembly 'System.IO.Compression' or one of its dependencies exception
8/17/2022 3:15:48 PM
0
0
|
login to rate this
How to Recover Access to your Account in an ASP.NET Application using the Membership (without decrypting your password)
4/2/2022 10:49:35 AM
0
0
|
login to rate this
Installing and Configuring Jenkins with GIT to Build and Deploy Your .NET Application
10/3/2023 2:14:27 PM
0
0
|
login to rate this
Installing and Configuring Jenkins with SVN to Build and Deploy Your .NET Application
10/3/2023 2:15:25 PM
0
0
|
login to rate this
IP GeoLocation with Unity and Dependency Injection
12/10/2021 11:15:01 AM
0
0
|
login to rate this
NHibernate Providers for the .NET BlogEngine
4/2/2022 10:42:14 AM
0
0
|
login to rate this
No mercy for the ORMs: Load and Performance Test on EF Core, NHibernate and pure ADO.NET (41M rows)
4/9/2022 5:45:52 PM
0
0
|
login to rate this
Resizing images on a Controller Method in ASP.NET Core (.NET 6)
1/5/2022 9:36:46 AM
0
0
|
login to rate this
Streaming Video Files in ASP.NET MVC
1/18/2022 10:46:48 AM
0
0
|
login to rate this
Testing your MVC App on XSP/mono in Fedora (before deploying to Apache)
1/1/2022 10:57:29 AM
0
0
|
login to rate this
Weather with Unity and Dependency Injection
7/21/2022 8:09:56 PM
0
0
|
nbolt
Hi Folks! I have been using the .NET BlogEngine for quite some time and decided to upload my own 4.0 non-official version of it in my GitHub account. I will explain everything that was modified or updated in case someone wants to reflect the changes into their designed themes. The latest official version is the 3.3.5.
You can find the code here
Packages upgraded
One of the reasons I decided to ever come up with a separate version of the BlogEngine was its libraries. As I was updating them from the latest official version I noticed they had a few incompatibility issues. The list follows:
- Bootstrap 4;
- FontAwesome 5;
- jQuery 3.3.1;
- TinyMCE 4.7.12;
- SyntaxHighlighter 3;
Bootstrap 4
I modified the default themes (Standard and Standard-2015), replacing every pull-* css class with their respective float-* css class. Panels are now considered Cards, so replaced every reference of them too. It's a lot easier to comprehend the changes by going to their official migration guide and by comparing the files inside the GitHub repository.
FontAwesome, TinyMCE and SyntaxHighlighter
It would have been easier to use all styles of the new FontAwesome, but because some parts of the admin section rely on glyph's copied directly into the css files, I bundled up only the solid and brands styles together. Otherwise, there would be some blank square icons in place of the right ones. TinyMCE and SyntaxHighlighter were also updated to their latest version using Bower.
TinyMCE is the only available HTML editor for now (summernote and bootstrap-wysiwyg were removed).
jQuery, Javascripts and other CSS files
One of the major changes to the .NET BlogEngine is where the scripts/css reside now: I moved everything under a directory called Resources of the BlogEngine.NET web project, as I was preparing to enable Bower on the ASP.NET project. Also I added a gulp script responsible for copying the files into the right directory. Now, there's only one version of the jQuery inside the project, which makes updating more practical.
The Content and Scripts directories were removed from the project.
NHibernate and Entity Framework Database Providers
I developed 2 sets of database providers, containing the Membership, the Blog provider itself and a Role provider a while ago based on the NHibernate and Entity Framework and decided to add them to this upgrade. They are easy-to-use and are automatically copied into the bin directory of the website. Be aware you need to deploy them manually in order to use them in your blog.
Both of them have separate layers of POCO classes, representing the entities, so the original business classes from the BlogEngine.Core remain unmodified.
In the web.config file, there's 2 commented lines adding the providers. Make sure all files are deployed properly in the bin directory and uncomment those lines.
New features and Bundling
When creating/editing new articles with media, the platform now uses an MVC controller to provide content files. It's called FilesController and can be referenced by the route "~/files/{*path of the image or file}". It features image scaling by adding ?size={large,medium,small,thumbnail} at the end of the URI address, meaning if you upload an image too large, it can be used to reduce overhead when someone's reading your article.
For developers: the class resides inside the AppCode directory of the website
There's still some work to be done in the HTML editor to support the feature and to select image dimensions.
I simplified the use of javascript and css resources, by putting them together under (js,common) and (css,common) bundles for the blog section. And (js,blogadmin) and (css,admincss) for the admin section. The Content and Scripts directories were removed from the solution (its files won't be automatically added to pages in order to simplify the use of javascripts and other files).
YoxView and Plyr
The YoxView plugin will enable readers to zoom in on scaled images.
The Plyr plugin was added to customize video controls and playback.
Conclusion
I am not sure how many people are still using the .NET BlogEngine, but I thought it'd be nice to share what I have done to it, since I have been blogging with it for a long time. Feel free to ask anything in the comment section.
Enjoy!
nbolt
nbolt
nbolt

We use cookies and similar technologies to enhance your browsing experience, analyze site traffic, personalize content, and serve targeted advertisements. By continuing to use our site, you consent to our use of cookies. And click OK to close this pop-up window.