Create a non-clustered index in Entity Framework Core
<p>Using Entity Framework Core, I want to have a Guid PK, without suffering page <a href="https://stackoverflow.com/a/14996125/852806">fragmentation</a> in the database.</p>

<p>I have seen this <a href="https://stackoverflow.com/questions/31475545/create-non-clustered-index-on-primary-key-entity-framework-6-0">post</a> and <a href="https://stackoverflow.com/questions/6813462/ef-codefirst-create-non-clustered-primary-key-index">this</a>. Although it was possible in EF6, the way it's done seems to have changed.</p>

<p>Is it possible to create a non-clustered primary key in Entity Framework Core and have an additional index?</p>

<p>Q&amp;A Answer below.</p>