0
comment
comment
on 11/9/2021 10:42 PM
NodeJS applications can be a single file with minimal overhead:
const express = require('express')
const app = express()
app.get('/', (req, res) => { res.send('Hello World!') })
app.listen(3000, () => { })
How does this compare to what we have seen in the .net world?
For .net 5 C#
HelloWorld.csproj
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>
Program.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.AspN[...]