Back
Close

ASP.NET Hacker's Web template

JuergenGutsch
695 views

Welcome!

This ASP .NET Core Web template lets you get started quickly with a simple working example in ASP .NET Core. If this is your first contribution, you should have a look at the Getting Started guide.

The source code is on GitHub, please feel free to come up with proposals to improve it.

Hands-on Demo

Click to run the .NET Core Web app.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace ASPNETCoreTemplate.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
public IActionResult About()
{
ViewData["Message"] = "Change this text";
return View();
}
public IActionResult Error()
{
return View();
}
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check out the markdown file welcome.md to see how this exercise is injected into the template.

Template Resources

markdowns/welcome.md
What you are reading here is generated by this file. Tech.io uses the Markdown syntax to render text, media and to inject programming exercises.

aspnetcore-project
A simple ASP .NET Core project dedicated to run the programming exercise above. A project relies on a Docker image. You can find images on the Docker Hub or you can even build your own.

techio.yml
This mandatory file describes both the table of contents and the programming project(s). The file path should not be changed.

Visual and Interactive Content

Tech.io provides all the tools to embed visual and interactive content like a Web app or a Unix terminal. Please refer to the documentation to learn more about the viewer integrations.

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants