In a ASP.NET Web Pages 'site', created with webmatrix (razor template, c# code).
Can I set a variable in the cshtml template that would be 'global' (AppState) WITHOUT executing that page?
I know that I can set "AppState.Whatever = " on the page, but I have to 'visit' the page, so that the code 'runs'.
Can I set "Something.Whatever = " inside te cshtml template, without visiting the template. This would only be possible if these pages are 'compiled' or interpreted when they are saved. Is such a thing possible?
Thanks!