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 Info on restful web services with DNN in the last 8 years?Any Info on restful web services with DNN in the last 8 years?
Previous
 
Next
New Post
7/24/2016 1:17 AM
 

I'm not sure if this is the right place for this quesiton, but I'm sort of surprised there isn't a subforum for webservice based modules.  So here goes.  Please move to an appropriate forum mods, if I missed something...

 i have been using DNN for a long time, but not since 5.x days.  I cannot find any info that is relevant to web services and DNN that is recent.  All of the content I find from google/bing, when it IS dated is no newer than 2008.  Is that still relevant?  If I want to create an authenticated web service, 

 

1. is there any place to go to see an example of this for DNN 7?

2. Do I still need to add a virtual directory in iis 7.5?

3. Do I still need to create a web.config file in the virtual directory to erase handlers?

4. If any of the above is still relevant, do I need to copy files from the bin folder? If so, which ones?  Just my dll?

5. Is there a template for building restful webservices in dnn7?  Do I need one, or is all the above no longer apply?

 

Thanks for any answers.

 

 

 

 
New Post
7/26/2016 11:59 AM
 
AFAIK nothing has changed with restful webservices, you should still be able to use it.
DNN 7 added WEB.API, based on ASP.Net Web API 2.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/27/2016 12:19 PM
 

Hi Sebastian.  Thanks so much for responding.  I have to say, I hadn't noticed this before today, but these forums are awful 'quiet'.  When I was last developing dnn, this was a robust place with lots of people participating.  I would ask what happened, but that would be a waste of a precious question...

I don't see how it is possible that nothing has changed.  The DNN services framework layer did not exist the last time I developed.  The UX layer did not exist.  Web API 2 did not exist.  I spent a lot of time looking at the 'dnn world' before I came here, because I hate going to forums where the question is asked and answered 52 times, because no one bothers to look.

So does anyone have any help to the specific questions I asked above?  The most important one is how to set up the services layer, or IF I even HAVE to, in the new dnn 8 spa templates.  Can someone point me to specific documentation that relates to webservices initiation with this spa template?

 
New Post
8/1/2016 8:25 AM
 
Hi Alan,

These are still relevant:

http://www.dnnsoftware.com/community-...

http://jimfrenette.com/2013/04/dotnet...

As far as a template, there isn't one I am aware of other than the generic Christoc Module Template for Visual Studio:

https://github.com/ChrisHammond/DNNTe...

--Phil

p.s. Yes, the forums are very quiet now... hoping it is just the summer lag. I'm been patiently waiting for a week and a half for someone to offer advice on my question.
 
New Post
9/13/2016 11:39 PM
 

Hey Phillip:

Thanks man!  I had glommed onto Jim Frennette's excellent page, but hadn't seen the former.  There are indeed differences from the original WebAPI architecture, though they would still work, it's really not the way to do things...web api 2 is the way to go, me thinks.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesAny Info on restful web services with DNN in the last 8 years?Any Info on restful web services with DNN in the last 8 years?


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