Right now I have a silverlight app that gets data from a mvc site. As long as I use WebClient and to GET requests, everything seems to be okay. However, when I use HttpWebRequest and POST, then I am getting authentication problems.
The problems stem from the request lacking the .ASPXAUTH cookie.
Does anyone know how to solve or work around this?
write following code before making
HttpWebRequestobject.and then create the HttpWebRequest object.
Hope this helps.