I am wondering if the data posted to the server is same when using
1) ASP.Net upload file control 2) Webclient开发者_开发知识库.UploadFile method
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.
精彩评论