I\'m getting the following error when I try to Serialize an HttpWebRequest
Type \'System.Net.KnownHttpVerb\' in Assembly \'System, Version=2.0.0.0, Cu
System.Net.HttpWebRequest serialization was marked as obselete in .NET 2.0.
Official documents here:
http://msdn.microsoft.com/en-us/library/aa497288.aspx
From an app perspective this is the best outcome. The predominant bulk of an HttpWebRequest instance is IO state that is typically not directly rehydratable.
As @Andrew-Rollings suggests instead implement a custom serialize to store/restore your request parameters, then recreate the HttpWebRequest instance from scratch.