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 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...]
How to Send an E-Mail with ASP.NET Core and Mailgun
Sending Email in ASP.NET MVC used to be easy with the built in SMTP client, but how do you do it in ASP.NET Core? … [Read more...]
How to Generate a Sitemap in ASP.NET MVC and ASP.NET Core
A sitemap is good for SEO because it tells search engines what pages of your site it should index. But how do we create a sitemap in ASP.NET Core? In this post I will show you a very simple way to generate a sitemap that works in ASP.NET MVC and ASP.NET Core web projects. … [Read more...]