Webmatrix 2: Storing static values
问题 Where would be the best place to store static values. And how would I access it. I want to be able to access static values from any page. But only have to define them in one place. For example 'email' and 'phoneNumber' I have tried things like Session and PageData , and defining the variables in my header (used by all pages) but this does not work. The partial is initialised after the page, so it either doesnt work at all, or doesnt work on first time load. E.g. First time Load: Page Loaded <