I am new to SharePoint, but have inherited a project where I need to add some custom Application Pages to a SharePoint 2013 site. I've gone through some tutorials that have illustrated how to create custom application pages and those are working great.
However, I have a question as to how I should be generating internal hyperlinks in my custom Application Pages. For instance, say I have two custom application pages accessible at:
Bar.aspx I'd like to have a link to
BarBar.aspx. I can create just a vanilla
<a href="BarBar.aspx"> element and that works, but I notice that many of the internal links on SP pages end up using Ajax to load the desired page with URLs like
While I could certainly create my
href so that it adopts that pattern, I imagine there is some API (either client- or server-side) for generating properly formatted URLs in this manner?