Need to change business layer to Framework 4.0

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
10/19/2012 7:25:06 AM
Gravatar
Total Posts 4

Need to change business layer to Framework 4.0

Hi All,

We are using mojoPortal and i found that all layers are in 3.5 and on Presentation layer (web) is in 4.0.

I need to upgrade business layer to 4.0, so if i would change the framework to 4.0 then will it affect any functionality?

Please help.

Thank You,

Dhaval Panchal

10/19/2012 7:45:15 AM
Gravatar
Total Posts 18439

Re: Need to change business layer to Framework 4.0

Hi,

No you don't need to change the business layer to .NET 4. You should not be modifying the mojoPortal code and it works fine under .NET 4 and also supports .NET 3.5. We have separate presentation layer projects so that we can still support .NET 3.5 installations but we don't need to maintain multiple projects for the business nor data layers because the 3.5 versions are compatible with .NET 4.

If you are doing custom development your code should be in your own projects where you have the freedom to do what you want.

Joe

10/19/2012 8:10:50 AM
Gravatar
Total Posts 4

Re: Need to change business layer to Framework 4.0

Hi Joe,

Thank You for the prompt response. I'm just asking to change the version by righclicking the business layer.

I don't need to change the target framework of all layers. Because of we are integrating Microsoft Dynamics CRM with the Mojo Portal, we need to change the mojoPOrtal.business layer to framework 4.0 to support the CRM SDK.

My short question - Changing the framework will cause any problem?

Please suggest and thank you for the time and help!

Dhaval Panchal

10/19/2012 8:20:59 AM
Gravatar
Total Posts 18439

Re: Need to change business layer to Framework 4.0

I don't recommend making any changes at all to mojoPortal code.

Your reason doesn't really make sense to me because even if you are trying to reference our business layer from another project or assembly that is implemented in .NET 4 you still do not need our assembly to be a .NET 4 assembly. You should never add any custom code into our projects. 

If you make that change you will never be able to upgrade to new releases of mojoPortal other than by producing your own build from source code, you will never be able to upgrade using our release packages (at least until we drop support for  .NET 3.5 and that will probably be quite a while yet).

My advice is don't do it.

10/19/2012 8:28:53 AM
Gravatar
Total Posts 4

Re: Need to change business layer to Framework 4.0

Joe,

We are only making changes in one layer and that is minor changes. when we will need to upgrade the mojoPortal we would compare both business layers and then upgrade accordingly.

And suppose if we do not upgrade the mojoPortal then it will do if we change the Framework?

Thanks.

10/19/2012 8:35:36 AM
Gravatar
Total Posts 18439

Re: Need to change business layer to Framework 4.0

Its not going to break anything except for compatibility with .NET 3.5 if you change the target framework.

However I still recommend against it for reasons given and I don't really see a need for you to do that, it should not be needed to do that in order to integrate with other libraries.

 

10/19/2012 9:09:56 AM
Gravatar
Total Posts 4

Re: Need to change business layer to Framework 4.0

Ok - thank you for the suggestion.

Cheers!

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