Bug 53422 - WebForm.js is out of date
Summary: WebForm.js is out of date
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Web (show other bugs)
Version: 4.8.0 (C9)
Hardware: Other Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2017-03-16 22:34 UTC by John Radley
Modified: 2017-09-08 23:18 UTC (History)
2 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:

Windows Version (22.52 KB, text/x-matlab)
2017-03-16 22:34 UTC, John Radley
Mono Version (12.88 KB, text/x-csrc)
2017-03-16 22:35 UTC, John Radley

Description John Radley 2017-03-16 22:34:48 UTC
Created attachment 20396 [details]
Windows Version

Project System.Web-plainweb-net_4_x AND System.Web-net_4_x

The content of this file I suspect is old.

If I run exactly the same WebForms ASP.NET project on Windows 10 (VS 2015) and Mono (4.8) and MonoDevelop ( the  running website shows different contents for WebResource.axd?d=<guid>

The Mono version, here, starts with author and copyright comments, followed by 
function WebForm_Initialize(webForm)

The Windows version starts with
function WebForm_PostBackOptions

The Source I'm trying is BlogEngine.NET
It works find except for posting comments. That's because the Mono version of WebResource.axd does not have a copy of 

I've attached the Windows version.

(Suggest search of this Bugzilla using "webform" search term, as those issues could be related)

Please can you suggest a workaround.
-- Can you advise how to turn off. I've not been able to find a method to turn off the virtual WebResource.axd file. If I could, I could then add the right webform.js as a static file.
-- Can you advise whether you agree. Changing this could break a lot of current users of Mono!
-- If you are going to fix, can you advise an ETA
-- If you are not going to fix, suggest you add comment to your documentation (sorry if I've missed same). Took a day to find this difference!!
-- I guess I could Fork the whole of Mono for my own use! But that seems overkill!

BlogEngine, Fastcgi-Mono-Server, Hyperfastcgi, MonoDevelop and BlogEngine all work very well on Ubuntu 16.04
I'm really impressed.
Comment 1 John Radley 2017-03-16 22:35:38 UTC
Created attachment 20397 [details]
Mono Version

Note You need to log in before you can comment on or make changes to this bug.