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

Notification

Icon
Error

Does it support .net framework 4.5 and MVC4 now?
jiadazj
#1 Posted : Monday, September 3, 2012 8:02:58 AM(UTC)
Groups: Member
Joined: 9/3/2012(UTC)
Posts: 3
Location: china

Does it support .net framework 4.5 and MVC4 now? or maybe in the future?

I use the page type "cshtml"
Ultidev Team
#2 Posted : Monday, September 3, 2012 10:10:35 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)
Hi there!

MVC4 and cshtml are supported. We are pretty sure .NET 4.5 is fine too, but our tests were not very comprehensive. We are pretty confident that if you use UWS for ASP.NET 4.5, it will work. Please post here what you found, if you - everyone would benefit and appreciate your contribution to the support forum.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
jiadazj
#3 Posted : Monday, September 3, 2012 10:52:00 AM(UTC)
Groups: Member
Joined: 9/3/2012(UTC)
Posts: 3
Location: china

Thanks!

I had make a mistakes:

The correct approach looks like this:
UltiDev Web Server Pro config section:
Physical location --> "default document" does not need to config.

MVC4 Project structure:
/app_data
/app_start
/bin
/content
/controllers
/filters
/images
/models
/scripts
/views
views/_viewstart.cshtml
Global.asax
Web.config
packages.config
Ultidev Team
#4 Posted : Monday, September 3, 2012 1:49:18 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)
Hi there!

Is this .NET 4.5 project? And is it working as you expected?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
jiadazj
#5 Posted : Monday, September 3, 2012 7:44:52 PM(UTC)
Groups: Member
Joined: 9/3/2012(UTC)
Posts: 3
Location: china

yes, .net 4.5. I created this project with "asp.net mvc4 application" template in visual studio 2012.It is a demo.

The project structure was listed before.Because app starts with "__ViewStart.cshtml",

I thought that the "default document" should be configed with value "__ViewStart.cshtml".

Actually, it did not run and throwed an error.

Finally, I found out the cause from MVC Official documentation. All files with "_" Prefix can not be explicitly call, like "__ViewStart.cshtml".
Ultidev Team
#6 Posted : Thursday, September 6, 2012 3:37:39 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)
Thank you very much for the clarification!

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 (3)
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.