User-474980206 posted
your question is not clear. a simple core action to implement short urls:
assume a database with a row for each url and and its short name
[Route("/{shortUrl}")]
public ActionResult ShortUrl(string shortUrl)
{
var newUrl = db.RegistedUrls
.Find(u => u.ShortName = shortUrl)
.Select(u => u.RegisteredUrl)
.FirstOrDefault() ?? NOT_FOUND_URL;
return Redirect(newUrl);
}
you can have as many urls as entires in the registered database.
they also support building vanity url, this requires you giving their site ability to register DNS entries for your subdomain. see any DNS library to implement.