SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In .NET 4(.5) there is this amazing Attribute: PreApplicationStartMethodAttribute, I want to use it in SharePoint 2013 so I don't have to edit the app_start method in the global.asax file directly.

Since SP2013 runs the correct version of .NET I assumed that this attribute would just work... but this seems not to be the case.

Has anyone figured out how to use it yet? or explain why it cannot work?

Original Question:

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.