Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Asp.Net MVC problem
siroman
#1 Posted : Saturday, August 27, 2011 5:19:51 PM(UTC)
Groups: Member
Joined: 4/5/2011(UTC)
Posts: 8

Was thanked: 2 time(s) in 2 post(s)
I'm considering to switch to Ultidev Web Server Pro from Ultidev Cassini,mainly beacause I want .Net 4.0 support, but I'm experiencing a trouble in how UWS serves some requests: In Asp.net MVC 2 when I return a "FileContentResult" from an action method (consider them as png server generated) the request never get served.
Same thing when I activate minification and compression provided by "Combres".
Consider that step by step debugging the action method that returns "FileContentResult" proves that it work correctly (byte arrays are correctly generated and passed to the "return File(...) statement, and the method call returns.
Both them worked perfectly with Ultidev Cassini and I suspect that this behaviour has something to do with the new feature of serving static content directly and/or enabling compression (maybe UWS tries to compress a .axd generated js, or it just want somewhere consider it a static file?)
Using Firebug on Firefox I noticed that the first 2 request of "server generated images" are correctly saved, subsequent not. After a F5 browser refresh, when the browser has the first 2 elements in cache, other 2 request get served and so on: seems that the thread that serves such requests never terminates, but I'm only trying to guess.


Another question, for sake of curiosity, there are some roadmap about the releases of UWS?

Thanks all
simone
1 user thanked siroman for this useful post.
Ultidev Team on 8/29/2011(UTC)
Ultidev Team
#2 Posted : Saturday, August 27, 2011 6:56:40 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Simone!

It's a very interesting problem and we will do everything we can to resolve it.

We have also noticed just recently that there are differences in how AXDs serving content behave in Cassini and in UWS. We are looking into it, and will let you know as soon as possible. So far we have found out that request's lifecycle is different from what we have expected. We thought (and it's not documented at MSDN at all) that request is completely handled after HttRuntime.ProcessRequest() has returned, but turns out this is not the case! It appears that true request processing completion is signalled by HttpWorkerRequest.EndOfRequest() method call.

Finally, the roadmap is to keep releasing UWS about every 6 weeks on average till the end of this year to get the product to the stable state, fix bugs and finish implementing features like SSL and InstallShield support. Next release will come soon.

Thank you for trying our product,
Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
siroman
#3 Posted : Monday, August 29, 2011 8:53:13 AM(UTC)
Groups: Member
Joined: 4/5/2011(UTC)
Posts: 8

Was thanked: 2 time(s) in 2 post(s)
Bingo! I just installed the pre-release Build 9 and it works perfectly! Thanks for the very very quick reply and bug fix.
simone
Ultidev Team
#4 Posted : Monday, August 29, 2011 9:36:54 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Thank you much for reporting the problem and giving us a good idea where to look for the solution.

We wish more developers realized that they own the roadmap and hold the keys to improving quality of this product!

Final release of Build 9 is likely at the end of this week.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.