Tech
Your first ASP.NET App: Fixes
Hello! In this tutorial we will fix your own ASP.NET App!
Requirements
IDE like Visual Studio/JetBrains Rider
.NET >= 10
Base C# skill
CPU (manually)
Fixing Controller
First we need to fix our controller, by removing redundant methods and replacing DateTime to Stopwatch.
using System.Diagnostics ;
using Microsoft.AspNetCore.Mvc ;
namespace ExampleProject ;
[ Route ( "[controller]" )]
[ ApiController ]
public clas...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to