c# - Where can I find System.Web.HttpContext.Current.Server dll? -
where can find system.web.httpcontext.current.server dll. want use server.mappath() in code , requires system.web.httpcontext.current.server namespace. references couldn't find , add system.web.httpcontext.current.server solution. help?
right click references >> click add reference , under assemblies click framework , search system.web , check checkbox , click ok button add it's reference in project:

you have reference of system.web , can use types , methods under system.web namespace/assembly it, in case httpcontext:
system.web.httpcontext
Comments
Post a Comment