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...Building ExtensionsBuilding ExtensionsModulesModulesAny examples of a feature which is easy to implement in DNN7 WebAPI versus conventional way in DNN6?Any examples of a feature which is easy to implement in DNN7 WebAPI versus conventional way in DNN6?
Previous
 
Next
New Post
3/21/2014 3:18 PM
 

Any examples of a feature which is easy to implement in DNN7's WebAPI versus conventional way in DNN6?  I would like to get a feeling between coding for those two DNN platforms.. what's painful in DNN6 vs the same feature implemented a lot easier in DNN7?
 
New Post
3/21/2014 5:18 PM
 
I don't see how this is a DNN question. WebAPI is an ASP.Net feature.

Q Is WebAPI simpler than WCF?
A. Yes.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/21/2014 5:36 PM
 

I am referring to DNN's Services Framework WebAPI. DNN doesn't use WCF and I didn't mention WCF. Not sure why you mention WCF. 

 

 

 
New Post
3/21/2014 5:51 PM
 
The Services Framework is a skin over WebAPI.

If you don't use WebAPI then you use WCF. WCF *is* the conventional way in DNN6.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/21/2014 6:19 PM
 

Actually DNN 6.x used an MVC based service framework (http://www.dnnsoftware.com/wiki/page/...), whereas DNN 7.0 uses WebAPI. There are some differences so generally speaking it's easier to start with WebAPI as the MVC one only existed for 6.2.0->6.2.9. As to things you can do, there isn't any real difference in the DNN implementation - however WebAPI is much more extensible and has many more integration points (e.g. I can add a request filter, formatters, logging etc. all easily in WebAPI but it's a bit tougher in MVC - primarily as WebAPI is unsurprisingly designed for service requests whereas MVC is more generic). Natually you can use a component such as WCF which sits at a different level and will work in all versions -the counter argument to that is WCF is a bit unwieldy/slow as it's much more powerful (in many ways WebAPI is simply the http web focussed portion of WCF i.e. doesn't come with lots of soap, binary etc. support that you probably will never need built in.

By the way I'm guessing you are asking this as you're writing a module and want to know what version to target at. We have quick links to developer notes on the wiki at http://www.dnnsoftware.com/wiki to allow you to more objectively decide what edition you target e.g. if you wanted to use DAL2 (petapoco) you would target 7.0 or above.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesAny examples of a feature which is easy to implement in DNN7 WebAPI versus conventional way in DNN6?Any examples of a feature which is easy to implement in DNN7 WebAPI versus conventional way in DNN6?


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