How Desire Paths can Transform your Branding and Public Relations
How Desire Paths can Transform your Branding and Public Relations
12 Steps to Create Videos

Build a server-side web app with .NET, C#, and HTMX [Video]

Categories
Content Management System

Combine .Net with C# and HTMX for a streamlined development process that yields a dynamic front end without writing a line of JavaScript.

Credit: Mindscape studio / Shutterstock

There are many stacks on the server side and one of the most longstanding and capable ones is the .NET platform using C#. .NET is broadly comparable to the Java platform, and over the years, the two have been competitors and mutual influencers. Each draws inspiration from the other. In this article, we’ll develop a simple server-side generated application using C#. We’ll throw in a dash of HTMX for dynamic front-end interactivity without the JavaScript.

Create a .NET C# project

To start, you’ll want the .NET CLI tool installed on your system, which is a fairly painless procedure. Once that’s done, you’ll have a dotnet command, which you can use to start a new application like so:

$ dotnet new mvc -n QuoteApp

This command creates a /QuoteAppdirectory. If we move into the new directory, we’ll see …

How to Reach your Market in a World Ruled by Generative AI
How to Reach your Market in a World Ruled by Generative AI
5 Steps to Creating Successful Ads