Reputation: 86165
I am wondering if the data posted to the server is same when using
1) ASP.Net upload file control 2) Webclient.UploadFile method
Upvotes: 0
Views: 121
Reputation: 1039428
Yes, it is absolutely the same respecting the RFC 2388 (multipart/form-data
). This being said I wouldn't recommend you using ASP.Net upload file control in an ASP.NET MVC application.
Upvotes: 2