In a .cshtml I used to be able to do;
string searchUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl((Int32)thisPage.Area.get_Value("dwareasearchpageid"));
And so I guess Area.get_value is now depricated but actually the Template Tag is not: https://doc.dynamicweb.com/template-tags/content/content/pages#DwAreaSearchPageID
and it is still in the TemplateTags() with the value winking at me!
This was really useful doing searches from any page within that page's area. How do i now get this value in a cshtml eg on a paragraph or an action= url on a form???
Rgds Kevin