I have the link below on a razor page:
@Html.ActionLink("Create New Profile", "Create", "Profile", new { @class="toplink" })
It appears in thes source of view page as shown below:
<a href="/admin/profile/create?length=7" class="toplink">Create New Profile</a>
When I click on the link the URL is like this:
http://localhost:54876/admin/profile/create?length=7
I don't want ?length=7
. Why is this auto generated?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…