locked
What changes are required in HttpContext to HttpListenerContext RRS feed

  • Question

  • I have asp.net ashx handler which was handling some httpcontext related thing. Now i hosted that into a windows service with HttpListenerContext. Problem is some properties are not equivalent like I have in my httphandler as

    context.Response.Write("somestring")
    
    context.Request.PathInfo

    Any idea what should i change against to get PathInfo PathInfo and Response.Write(somestring) to work


    Kamran Shahid Application Developer (MCP,MCAD,MCSD.NET,MCTS,MCPD.net[web])

    • Moved by DotNet Wang Thursday, December 17, 2015 6:51 AM
    Wednesday, December 16, 2015 10:54 AM

Answers

  • Hi Kamran Shahid ,

    For question related to Asp.Net should be posted in Asp.Net forum for better support.

    Best regards,

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Thursday, December 17, 2015 2:52 PM
    • Marked as answer by Just Karl Friday, January 8, 2016 10:07 PM
    Thursday, December 17, 2015 6:50 AM