.NET 4.5

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
12/2/2012 10:42:29 AM
Gravatar
Total Posts 221

.NET 4.5

Does anyone having Mojo running under .NET 4.5, any issues? I woudn't think so but am curious what others are doing.

Thanks,

12/18/2012 12:33:35 PM
Gravatar
Total Posts 18439

Re: .NET 4.5

I would not expect any torubles running the .NET 4 package of mojoPortal under .NET 4.5, in fact it fixes at least one known bug that happens with IE 10 and .NET 4. At some point we will drop support for .NET 3.5 and make separate packages for .NET 4 and .NET 4.5 but we still get enough downloads of the 3.5 packages that I'm reluctant to drop it yet.

I plan to update my sites today to run .NET 4.5 so I'll post again if I encounter any problems.

Best,

Joe

12/18/2012 2:31:46 PM
Gravatar
Total Posts 18439

Re: .NET 4.5

This site is now running on .NET 4.5. From what I gather it is a compatible in place upgrade to .NET 4, its really like .NET 4 with a few additions bolted on much like .NET 3.5 was really .NET 2 with a few additions. Only problem I had that I should have forseen was that it took 2 server reboots to install .NET 4.5 and its security updates, should have waited till off hours to install it but its done.

Best,

Joe

12/18/2012 10:36:11 PM
Gravatar
Total Posts 221

Re: .NET 4.5

I upgraded to .NET 4.5 as well and have not had any problems on my 50+ Mojo web sites. It seems like everything is working fine and it's safe for others to upgrade as well.

1/13/2013 11:00:20 AM
Gravatar
Total Posts 139
"All that is gold does not glitter, not all those who wander are lost;" --J.R.R. Tolkien

Re: .NET 4.5

Thanks for that. I was just about to ask, but it appears that everything is fine and dandy.  I'll go take care of my upgrade.  And you should see another site up soon.  LOL.

6/18/2013 10:00:15 AM
Gravatar
Total Posts 190

Re: .NET 4.5

Could someone offer what steps you took to upgrade your mojoPortal installation from .NET 4.0 to 4.5?

6/18/2013 10:49:16 AM
Gravatar
Total Posts 18439

Re: .NET 4.5

On my server the only step was to install .NET 4.5, it is an in place upgrade for .NET 4 so all sites that were using .NET 4 automatically use .NET 4.5 after installing it. In fact the 4.5 framework is really the 4.0 framework just as the 3/3.5 was really 2.0. So even when using .NET 4.5 asp.net reports the framework version as v4.0.30319 as seen un mojoPortal under Administration > System Information.

On my windows 8 dev machine it was a little different in that the installation of 4.5 created new application pools for 4.5 whereas on the server no new app pools were created the .NET 4 app pool is updated to 4.5 but still labeled 4.0. I guess on a desktop dev environment they want you to be able to run 4.0 and 4.5 side by side for app debugging purposes but on the server it just upgrades the existing .NET 4 to 4.5 (which as mentioned is really just 4.0 with maybe a newer build number.

Hope that helps,

Joe

6/18/2013 11:06:17 AM
Gravatar
Total Posts 190

Re: .NET 4.5

So you don't go into any property pages for the projects in your solution and change the version to 4.5? No web.config changes? Did you switch the application pool for the website on the server to 4.5?

6/18/2013 11:15:50 AM
Gravatar
Total Posts 18439

Re: .NET 4.5

mojoPortal is still compiled for 4.0 and I don't recommend you change that or modify any mojoPortal code. Actually, only the UI projects are even compiled for 4.0, the business and data layers are compiled for 3.5 because we use the same ones in our package for 3.5 and we don't need any new 4.x functionality in those projects. So we have 2 versions of each ui project so that we can still compile packages for 3.5.

So 4.5 is our recommended hosting environment now and mojoPortal runs great under that framework but we are not yet compiled for 4.5 and not able to use any new tidbits that are only in 4.5 yet, though you could in your own custom projects. ie you can change the build targets in your custom projects to 4.5 if you want but I don't suggest you modify anything in mojoPortal projects at all.

There are no needed changes in web.config and no app pool settings needed changing on my server as mentioned in my previous post. There is no new app pool for 4.5 in a production environment. On my win 8 dev machine I did change my dev site to use a 4.5 app pool since one exists but no such app pool exists on my server.

4.5 is completely compatible with 4.0, but new 4.5 features can only be used if you do compile to that framework.

6/18/2013 3:05:37 PM
Gravatar
Total Posts 190

Re: .NET 4.5

Now I see. You know, once I tried loading a sub-application in IIS that had a different .NET version target than the parent and it didn't like that. I think I must have made an assumption then that all the projects in my solution had to be targeted to the same CLR version also. Now I see that is not the case at all. Thank you very much.

11/30/2013 11:38:22 AM
Gravatar
Total Posts 41

Re: .NET 4.5 - anyone tried 4.5.1?

We have been putting off upgrading our production server to .net 4.5 because it actually keeps stalling when we try for some reason.  But we've reached the point where we really need to as there are too many users having issues with the IE10 bug and now IE11 seems to stop some users even logging it! 

So, we need to bite the bullet and I wondered if it was worth trying .net 4.5.1 now that it's out?  We may have more luck installing it so if it'll also run mojo fine then that seems the most sensible way to go.

Anyone tried it?

12/2/2013 10:29:10 AM
Gravatar
Total Posts 18439

Re: .NET 4.5

I would expect no problem running the mojoPortal .NET 4 packages under .NET 4.5.1 but have not tried it yet.

I did a quick google for ".NET 4.5.1 problem" to see if anyone is having problems with it and found a link about the 4.x framework installation stalling which may be relevant to solving what you encountered with .NET .4.5.

The google results also show some people having IE 11 problems even with .NET 4.5.1.

I have not had IE 11 problems using any fully patched installation of .NET 4.5 but have seen problems on servers that don't have all the windows updates.

12/2/2013 11:26:27 AM
Gravatar
Total Posts 41

Re: .NET 4.5

Thanks Joe,

We went for it and now that 4.5.1 is installed everything seems to work ok.  The things that we noticed were not working with IE10 and 11 now seem ok (e.g. one of our sites could not even be logged in to under IE11).  We did have issues with the 4.5.1 installer getting stuck though, which we'd also had with 4.5 and was the reason it never got installed.  We finally resolved the installation issue by following the steps in this post:- :- http://social.msdn.microsoft.com/Forums/vstudio/en-US/62dd4456-e841-4623-8b40-cf1b35a8aedf/installer-hanging-during-net-45-framework-install?forum=vssetup

Hope it helps anyone else having the same problem!

You must sign in to post in the forums. This thread is closed to new posts.