I got the DurandalJS StarterKit template on VS2012... All works great...
But in some views I need to do something like that:
@if (Roles.IsUserInRole("Administrators"))
{
<p>Test</p>
}
However with durandal all my views are '.html' files... Is that possible to use '.cshtml' files to access some information like that?
Or is there any other way to do that with durandal?
Junior
See Question&Answers more detail:os