ASP.NET Hacker's Web template

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

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.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content