Abstract Factory: Provide an interface for creating families of related or dependent objects without specifying their concrete classes. - Design Patterns: Elements of Reusable Object-Oriented Software The quote above is from the the Gang of Four book and describes the intent of the Abstract Factory design pattern. The original book goes into a lot more detail about how you … [Read more...]
How to Deploy an ASP.NET Core Website to Ubuntu with Git
One of the things I like about Linux (aside from it being free), is that you can deploy a website using SSH rather than FTP. This is more secure because SSH uses encryption and a single port. In this post, I will show you how to deploy an ASP.NET Core website using Git and a Post Receive hook. … [Read more...]
How to Run an ASP.NET Core Website in Production on Ubuntu Linux
With the release of .NET Core and ASP.NET Core it's now possible to run modern web applications written in C# on Linux. In this post, I will show you how to configure a Ubuntu server to run an ASP.NET Core site in production. … [Read more...]
How to Convert a Post Title into a Friendly URL (Slug) in C#
Most content management systems automatically convert your post title into a slug which forms the part of a URL used to locate the post. Here's how to do it in C# … [Read more...]
How to Convert Markdown to HTML in ASP.NET Core
Are you sick of WYSIWYG editors like TinyMCE and CKEditor destroying the layout of your website? How good would it be if you could copy and paste from Word without the spaghetti HTML that's injected into your markup. The whole purpose of a WYSIWYG editor is to make writing content for the web easier for people that don't have any experience with HTML. In my experience, … [Read more...]
- 1
- 2
- 3
- …
- 6
- Next Page »