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...DNN Platform (o...DNN Platform (o...VS2010 beta, .Net framework 4.0 and DNN 5.2.0VS2010 beta, .Net framework 4.0 and DNN 5.2.0
Previous
 
Next
New Post
12/13/2009 1:29 PM
 

I can live with 3.5 SP1 till then. :)

LINQ to SQL is more than enough for module development (but EF v2 will rocks).

VS 2010 support is important for me, because I want to develop WF/WCF 4 based remote portal administration with WPF clients. In DNN 3.5 SP1 I can expose necessary controllers as a regular WCF WS-HTTP services. In my solution I have a WF/WCF 4 service application which can communicate DNN Site's WCF WS-HTTP controllers. My custom administration logic lies in WF 4 Workflows, and WPF 4 clients provides UI for exposed functionality.

In (near?) future when .NET 4.0 based DNN comes out, I can integrate my workflows to regular DNN modules, and separate logic service and controller wrapping service will be unnecessary.

 
New Post
4/12/2010 8:31 PM
 

Ok, .net 4.0 is official, so I thought i'd ask, when can we expect dnn to run on 4.0, months? years? I suppose I can try and go through the changes myself, but it'd be nice to have a supported release.

 
New Post
4/13/2010 6:32 AM
 
the changes have already been made for the next release which is currently in testing and should be out shortly (within 1 week I would say)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
4/13/2010 1:58 PM
 

That's absolutely awesome!

 
New Post
4/16/2010 12:41 PM
 

To expand upon Cathal's comments, I should make clear what changes have been made.

We have taken an approach similar to what we did with our support of .NET 3.5 (prior to DNN 5.2 which required .NET 3.5).

  1. DNN 5.4 will install if you are running with an Application Pool that is configured for use with .NET 4.  One of the core modules was removed from the distribution as it had issues with .NET 4 (Gallery).  The module team have fixed the issue and it is available in beta form from codeplex so it will probably be repackaged into the distribution for 5.4.1
  2. DNN 5.4 will continue to install and run in .NET 3.5 SP1 as before
  3. If you are running DNN 5.4 on ASP.NET 3.5 SP1 and you switch to an Application Pool that is configured for .NET 4.0  DNN will detect the change in Framework version and make some minor changes to web.config.
  4. If you are running DNN 5.4 on ASP.NET 4 and switch to an Application Pool running .NET 3.5 you will get a YSOD (Yellow screen of death with an error message.  If you undo (manually) the changes made to web.config the error will go away.

There are a few things to note about ASP.NET 4 and the changes we did to allow us to support both versions of .NET.

Browser Files - ASP.NET 4 ships with a different core set of browser files - since 5.3 we have included an extra browser file (Netpatch.browser) which includes the neccessary pieces from the .NET 2.0 browser files (that are missing in .NET 4)

Control Rendering - Image controls in .NET 2.0 are automatically rendered with a style attribute - style="border:0".  In .NET 4.0 this attribute is not rendered by default.  Images inside hyperlinks are automatically rendered with a border by the browser, unless over-ridden by css, so to solve this we have added a default style in default.css for images that includes the border:0 style for all <img> tags.  This allows images to be displayed correctly in both versions.

System.Web.Extensions  - we have removed the System.Web.Extensions configuartion section (as this is now defined at the machine level)

Version Detection - we now detect version 4.0 and display it correctly in Host Settings

Malformed HTML - .NET 4.0 is much less forgiving than .NET 3.5 if html (in ascx controls) is malformed - eg style="width:0"" - note the double quotes.  We have cleaned up core ascx files but 3rd party modules may have issues.

Request Validation - .NET 4.0 is stricter with validation of form data sent back to the server, so we have modifed web.config to set request validation to work in 2.0 mode.


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...VS2010 beta, .Net framework 4.0 and DNN 5.2.0VS2010 beta, .Net framework 4.0 and DNN 5.2.0


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