I\'m calling a third-party library that takes a System.Web.HttpResponse. I see I have a HttpResponseBase, but not HttpResponse like in web
System.Web.HttpResponse
HttpResponseBase
HttpResponse
In mvc application you can use HttpContext.ApplicationInstance.Response.This helped me for getting the HttpResponse in MVC Application.
HttpContext.ApplicationInstance.Response