Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...DNN 7 & .NET 4.5DNN 7 & .NET 4.5
Previous
 
Next
New Post
11/1/2012 4:54 AM
 

I suggest, DNN should raise the minimum framework requirement to 4.5 ( or atleast also release a 4.5 version of DNN7)

 
New Post
11/1/2012 6:33 AM
 
Scott S wrote:
4.5 is just some library extensions to 4. If 4.5 is installed on the server and you are using a .Net 4 app pool then all of 4.5 is available . The core won't use anything 4.5 specific, but you can in your own code, you don't need to do anything special other than target 4.5 in your project.

Surely that depends on which library versions are defined in your web.config.  

If the web.config points to 3.5 or 4.0 versions of a library then any code targeting a 4.5 specific library function will fail - this is the same case with dnn 6.x not truely supporting asp.net 4.0 functions out of the box because the web.config is targeting 3.5 - even when you are running on an asp.net 4.0 application pool.

 
New Post
11/1/2012 7:41 AM
 
Wes Tatters wrote:
Scott S wrote:
4.5 is just some library extensions to 4. If 4.5 is installed on the server and you are using a .Net 4 app pool then all of 4.5 is available . The core won't use anything 4.5 specific, but you can in your own code, you don't need to do anything special other than target 4.5 in your project.

Surely that depends on which library versions are defined in your web.config.  

If the web.config points to 3.5 or 4.0 versions of a library then any code targeting a 4.5 specific library function will fail - this is the same case with dnn 6.x not truely supporting asp.net 4.0 functions out of the box because the web.config is targeting 3.5 - even when you are running on an asp.net 4.0 application pool.

 So, what is the solution? What do I change in web.config?

 
New Post
11/6/2012 12:28 AM
 

You can use straightforward and more secure workaround (Microsoft is working on broad update to address this issue. Contact us if you need immediate hotfix)

Workaround information: Customers can run website in full trust +Process Isolation. More details http://support.microsoft.com/kb/2698981. This approach is recommended approach from Microsoft (from security perspective) as compared to medium trust.

 
New Post
9/6/2014 2:49 PM
 
Varun Gupta wrote:

You can use straightforward and more secure workaround (Microsoft is working on broad update to address this issue. Contact us if you need immediate hotfix)

Workaround information: Customers can run website in full trust +Process Isolation. More details http://support.microsoft.com/kb/2698981. This approach is recommended approach from Microsoft (from security perspective) as compared to medium trust.

OK, I am back after two years :)

What is the solution? How do I use 4.5 controls now?

 

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...DNN 7 & .NET 4.5DNN 7 & .NET 4.5


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out