
Tech
Your first ASP.NET App: Controllers
Hello! In this tutorial we continue build your own ASP.NET Service!
Requirements
IDE like Visual Studio/JetBrains Rider
.NET >= 10
Base C# skill
Creating controller
Lets create our Controller, create file "MyController.cs"
Image will like this
namespace ExampleProject ;
public class MyController
{
}
Let's set base configuration
using Microsoft.AspNetCore.Mvc ;
namespace ExampleProject ;
[ Route ...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to