MVC Core Custom Routing
<p>I am having a hard time wrapping my head around custom routing in MVC Core.
I get that I need to add something here in Startup</p>

<pre><code>app.UseMvc(routes =&gt;
{
    routes.MapRoute(
       name: "default",
       template: "{controller=Home}/{action=Index}/{id?}");
});
</code></pre>

<p>But how am I supposed to get a controller to function properly?
I basically need a data details view to pull up using a string instead of an id.
So "string url" instead of "int id".</p>

<p>I read some articles online but everything I tried seemed to fail.
Thanks in advance.</p>