I'm wondering about this question. Where OP has asked for multiple questions at once!
And that all questions having separate duplicate question.
The name 'Server' does not exist in the current context
Possible duplicate: Server.MapPath does not exist in current context
The name 'Request' does not exist in the current context
Possible duplicate: Why the name 'Request' does not exist when writing in a class.cs file?
'Url' does not contain a definition for 'Action'
Possible duplicate: Generating absolute url to action from within Api controller
How to handle such question, which has multiple different duplicate question?