I believe you have a a problem with the ToHttpRequestData extension method as defined.
You should remove:
public static HttpRequestData ToHttpRequestData(this HttpRequestBase requestBase)
{
return requestBase.ToHttpRequestData(false);
}
and change the signature of:
public static HttpRequestData ToHttpRequestData(
this HttpRequestBase requestBase,
bool ignoreCookies)
To
public static HttpRequestData ToHttpRequestData(
this HttpRequestBase requestBase,
bool ignoreCookies=false)
Otherwise you will get an ambiguous error:
@cccsdh , I have the same issue, but how is it that this reference resolves without issue in the code of SustainSys itself? See
HttpModule.RequestBaseExtensionsTests.cs line 48
var actual = request.HttpRequestData();
which compiles fine in this project. I'm still trying to figure this out... some project property?
I got to the bottom of this, and I don't think it's a bug. And since it's a support issue, I've posted a Q and A in stackoverflow:
Thanks for documenting your solution to this.