Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
Does form dot submit of javaScript hits http handler in asp.
Rohit Sharma
7 years ago
395
Reply
Hello,
I am developing ASP.NET MVC 5 application. Am using javaScript POST method to submit form to my MVC Controller. It is typically uploading a file to server. I have multiple of pages from where am uploading files. Files could be images documents etc. I want to add some common custom functionality before uploading file say i want to check the file size. This is not possible on client side as some of clients using browsers not support HTML5. When am trying to upload a large file then IIS send back the request as 404.13 (content length is large). It does not hit my controller. I tried creating HTTPHandler and RouteHandler as it is an MVC application. But both did not work. Can anybody please suggest how I can create a http handler for this ?
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
User defined type Collection need to add in ServiceKnownType
Adding dynamic tiles and columns in a grid