I have a WCF RESTful service with a property defined in global.asax. How can I reference properties defined in global.asax from within my Service?
I have a WCF RESTful service with a property defined in global.asax . How
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
if you declared your app in global.asax.cs as:
use :
for a static
for a property
to incorporate the .cs file, add it to the project and change the markup tag thus:
edit
to enable httpcontext add this to your config