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...C# Source Code ProjectC# Source Code Project
Previous
 
Next
New Post
6/2/2010 9:25 PM
 
Xeev wrote:
Anyone installing C# version should use 05.03.00.SqlDataProvider from VB.NET installation.

 Scratch that, it goes deeper than I initialy thought :). All properties, columns and some indexers named 'ContentType' are now just 'Type' and 'ScopeType' are also 'Type'. Now i see reason why they were renamed. These properties reside inside classes which are also named 'ContentType' and 'ScopeType'. Seems like VB.NET with its lack of rules and order allows it, but C# wont. Thus I believe C# version won't be compatible until VB.NET version and module developers adjust code to more compliant namings :(. Although I'm not sure how much, if at all are these Properties used outside DNN Core, for time being I'll just use my namings, with original columns so URL Master installs and see what happens in time :).

Affected files I came across:
05.03.00.SqlDataProvider, AddContentType.sql, UpdateContentType.sql, AddScopeType.sql, UpdateScopeType.sql, ContentTypes.sql, Taxonomy_ScopeTypes.sql, ContentType.cs (+ 4 other files referencing its property), ScopeType.cs (+ 7 other files referencing its property)

 
New Post
6/2/2010 11:10 PM
 
I have post this situation to Keivan some days before, we need to find out a solution to resolve this difference, thank you.
 
New Post
6/3/2010 2:26 AM
 
Has anyone tried compiling the VB core code with the CLSCompliant(true) attribute?

I cannot say for certain, but I'd hope it would flush out these inconsistencies.  If it doesn't it's not a lot of use!

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
6/3/2010 2:34 AM
 
Richard Howells wrote:
Has anyone tried compiling the VB core code with the CLSCompliant(true) attribute?

I cannot say for certain, but I'd hope it would flush out these inconsistencies.  If it doesn't it's not a lot of use!

 

actually the flag is set for DotNetNuke.dll. the problem is that it only means compatibility at binary level.

You can reference a CLS Compliant dll from any .net language, but it doesn't grantee that you can write that code in every language. in this example it grantees that people using C# can reference dotnetnuke.dll even-though its using properties with the same name as the class, but you can't write the same thing in c#.

hope it makes a little bit of sense.

 
New Post
6/7/2010 7:38 PM
 
I did so many core changes already which I wanted to do long time ago, but couldn't since I have implicit hate for anything "basic". I found some minor issues, however its far beyond what I accomplished when I tried to convert DNN myself 2 years ago :). As far as I tested I could fix all issues myself and it looks pretty much working. I'm willing to put it into low-usage production to speedup debugging process. But you guys did pretty good job.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...C# Source Code ProjectC# Source Code Project


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