I have discovered AutoMapper开发者_开发问答 recently, and I´m thinking if I could mapping HttpConext, (really query parameters) to a typed object.
The HttpRequest.QueryString is a NameValueCollection. So you could create some custom mapping for this like in the example here.
加载中,请稍侯......
精彩评论