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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...There is now a C# version of DotNetNuke!There is now a C# version of DotNetNuke!
Previous
 
Next
New Post
2/9/2006 6:58 PM
 

Updated 2/28/2011:

DotNetNuke is now officially a C# project!  Please see Shaun Walkers blog for additional details.



Originally posted by Bruce Hopkins on ASP.Net, April 4, 2004.

Shaun Walker's comments:

"This question comes up far too often in the Forum and as a result, I feel it is beneficial to have a definitive answer for the community. Too often this topic has degraded into religious flame wars which do nothing but distract and confuse our esteemed community. Hopefully some education and context will provide some insight into the deeper issues surrounding this topic, and provide some closure for those who are willing to listen...

DotNetNuke is based on the VB.NET implementation of the IBuySpy Portal Starter Kit. The reason I chose the VB.NET code base is because I have 12 years experience developing Visual Basic applications and I personally did not see any substantial benefit in moving to C#. I reached this conclusion based on the fact that the Common Language Runtime ( CLR ) provides an exceptional foundation which allows developers to use the programming langauge of their choice.

When the .NET Framework 1.0 was released, Microsoft focussed a great deal of effort on promoting the new C# language. I personally believe this was intended to ease the migration concerns of C++ developers as well as to try and get the attention of the growing J2EE developer community. However, as a result, VB.NET received very little formal recognition and it is easy to see why many companies who adopted .NET in these early stages were convinced that C# was the language of the future.

As is the case with many technological achievements, these things eventually come full circle and it has been refreshing to see the strong commitment by Microsoft to VB.NET recently. I was lucky enough to attend both PDC 2003 and VS Live! 2004 and was excited to see the renewed focus on the VB.NET development community ( even Bill Gates' key note speech demos had a solid VB.NET flavor ). All of the Whidbey features which C# advocates have been so excited about ( ie. generics, iterators, partial classes ) will be in VB.NET as well; not to mention, VB.NET will exclusively get its legacy Edit-and-Continue feature back.

As far as DotNetNuke is concerned, the management team who is responsible for maintaining the open source code base is primarily comprised of VB.NET developers. This means that all core enhancements are developed in VB.NET. However, this does not mean that DotNetNuke is incompatible with other languages. Controls, Providers, and Private Assembly modules can be written in any CLR compliant language and will integrate seamlessly with the DotNetNuke core architecture ( this is the largest extensibility improvement over the IBuySpy Portal Starter Kit - where custom modules had to be compiled with the core DLL; limiting the developer to a single language ).

When I hear the question "Why isn't there a C# version of DotNetNuke?" I assume that it means a C# version IN ADDITION TO the VB version. Most of you with product development experience realize that it is not really a development issue of porting the source code to C#. Rather it is the logistical issues of managing parallel code bases through evolutionary release cycles which is the real challenge. In fact the initial development effort is probably the least complicated part - it is the ongoing integration of enhancements and defect corrections, the testing of multiple code bases ( each with multiple data providers ), packaging and releases, management of defects for each code base, support for each code base, documentation for each code base, ... the list goes on. As a volunteer effort, we currently do not have the committed resources necessary to support a parallel language version

That being said, I think the project could really benefit from a C# version. If we could find an automated translation tool which is capable of converting the VB.NET code base to C# with 95%-100% reliability then we may consider supporting a C# version. In this scenario, the core development effort would continue to be in VB.NET but at the end of each release cycle, we could perform an automated conversion on the entire project and with some minimal testing ( hopefully ), we could publish a C# version. Unfortunately at this point I have not encountered any automated translation tools which can perform the task to the level of accuracy we require. "

----------------------------------------------------------------------------

UPDATE: July 28, 2004

Based on the latest automated VB.NET to C# converters on the market, the DotNetNuke Core Team is undertaking a research project to determine the feasibility of supporting a C# version of DotNetNuke. The goal of the research project is to measure the automated conversion success ratio for each product and determine the scope of modifications required to improve the automated conversion process. Based on our findings we will be able to make an educated decision on whether or not we can support an official C# version of DotNetNuke.
 

----------------------------------------------------------------------------

UPDATE: May 5, 2005

To date we have not been successful in finding any VB.NET to C# automated translation tools which can deliver the 95%-100% reliability. We have experimented with 5 commercial applications which promise this success rate but have been disapointed with the results. That being said, some of the tools are getting better and if one the vendors committed to satisfying our needs, it could be a very successful long term partnership.

In terms of a third party developing a C# version of DotNetNuke, there are some legal principles which folks need to be aware of. The BSD license for DotNetNuke is extremely liberal in that it allows you to obtain, modify, and distribute the source code without any restrictions ( other than retaining the copyright notice ). However, the DotNetNuke product name is a registered trademark which means that third parties are not legally entitled to promote their derivative works under this trade name. This may seem somewhat restrictive but it is the only way we can preserve the integrity of the brand/product for the benefit of the community ( if multiple versions of the app emerge which are all called DotNetNuke - it makes support for the users and partners nearly impossible ). What this means is that any C# version would need to be officially endorsed by the DotNetNuke Core Team for it to be legally distributed under the DotNetNuke tradename.

If one of the reasons for supporting a C# version of DotNetNuke is support for Mono ( and Linux ) then there are other alternatives to consider in this area. We are talking to MainSoft, creators of Visual MainWin, and they have indicated that we can compile VB.NET MSIL code into J2EE using their tool - which would allow DNN to run on Linux. This concept has not yet been proven but we have established a working relationship to pursue the possibility.


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
2/28/2011 11:05 AM
 
DotNetNuke is now officially a C# project!  Please see Shaun Walkers blog for additional details.

Please feel free to post your thoughts on this subject here.

Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
2/28/2011 6:07 PM
 
Not much needs to be said beyond congratulations ... Except to ask one question ... does this also mean that come 6.0 ... all core modules will be released in C# ? Westa
 
New Post
2/28/2011 6:17 PM
 
Wes Tatters wrote:
Not much needs to be said beyond congratulations ... Except to ask one question ... does this also mean that come 6.0 ... all core modules will be released in C# ? Westa

The choice of language in core modules will largely be dependent upon the leader/developers of the modules. 


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
2/28/2011 9:33 PM
 
Wes Tatters wrote:
Not much needs to be said beyond congratulations ... Except to ask one question ... does this also mean that come 6.0 ... all core modules will be released in C# ? Westa

The "core" modules are not part of the DotNetNuke core application, they are Extensions Forge modules which are traditionally packaged with the core for distribution.  These modules carry a DotNetNuke copyright, but are actually managed by individuals, often team members, and leadership changes from time to time.  The choice of which language they are developed in is mostly at the discretion of the volunteer leadership and that won't change.  As the language of the module has no impact on the application, there is no requirement for the modules development language to change.


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...There is now a C# version of DotNetNuke!There is now a C# version of DotNetNuke!


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