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 ExtensionsModulesModulesDNN 9 and Web APIDNN 9 and Web API
Previous
 
Next
New Post
12/19/2017 5:30 PM
 
I'm building out some new modules in DNN 9. Using the same code I did for DNN 7 to create WebAPI services, nothing seems to work and I'm sure the API is updated and I'm likely missing something simple. I could reference old dlls, but I'd of course prefer to use the DNN9 API. Can anyone point me to some examples/documentation of building WebAPI services and RouteHandler in DNN 9 to be accessed by a custom DNN module? I've been searching, but so far all dead ends.
 
New Post
12/21/2017 4:50 PM
 

Update:  After a couple of initial experiments, think I'll start down the MVC path for building modules in 9.  Seems to be more of the trend.  Found some documentation and sample modules (mostly from the DNN8 module contest) to help me get started.  A constructive suggestion for DNN Corp, it would be really nice to see better documentation, organized and professional training with complete end-to-end (non-trivial) examples from DNN corporation.  I know things change quickly and that is a challenge.  The biggest problem I have developing in DNN is getting up-to-date info with solid examples.  If anyone has a 'definitive' example of best practice for MVC module development, let me know.  Many of the examples I see are a bit all over the place in terms of implementation, and I'm always wondering if there's a better way.  I of course understand implementation is dependent on project requirements and personal choice, particularly now with all the options available for front-end.

 
New Post
1/29/2018 2:09 PM
 
I feel you, was kind of a nightmare to get the WebAPI of DNN to work since documentation and samples where almost non existing. Add to this that you had to make manual changes in web.config to make it work at all which we found out after much trial and error. Here is some more info on how to get it running.

http://www.dnnsoftware.com/forums/for...

BTW, are there any significant changes regarding WebAPI/Service Framework between DNN8 and DNN9?
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN 9 and Web APIDNN 9 and Web API


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out