Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 138733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:18:39+00:00 2026-05-11T07:18:39+00:00

I need to deploy a webservice as part of a DotNetNuke 4.x module that

  • 0

I need to deploy a webservice as part of a DotNetNuke 4.x module that I’m creating – but am not sure how I can do that and know that it’ll always stay in the same place. How can I add an asmx file to my module project, and when I create my .DNN file specify where the webservice will end up? I want to reference the webservice from inside the ascx file in the module using the ‘~/webservices/webservice.asmx’ format.

Does DotNetNuke have a way to specify in the .DNN file where the webservices will end up on the site? And if so, will I still be able to reference them with root anchored tags like ~/myservice.asmx?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T07:18:39+00:00Added an answer on May 11, 2026 at 7:18 am

    You can include the ASMX file by including a element in the <files> section:

    <files>  <file>   <name>YourWebService.asmx</name>   <path></path>  </file> </files> 

    Generally, you don’t need to specify a path.

    Alternatively, you can include a Resources.zip file with your package which will include any files other than those that DNN needs to process during installation (e.g. Assemblies and SqlDataProvider files).

    The benefit of this is maintainability. Using Resources.zip will keep you from having to edit the manifest file over and over…

    The contents of the zip file will simply be unpacked into the root module directory (e.g. /DesktopModules/YourModule/*). If there is a file structure within your zip file it will be maintained.

    You’ll want to add TheNameOfYourFile.zip To your manifest file under the element.

    [snip]

    <folder>   <name>Your Module</name>   <friendlyname>Your Module</friendlyname>   <foldername>YourModule</foldername>   <modulename>YourModule</modulename>   <description>A module for DotNetNuke websites.</description>   <version>01.00.00</version>   <resourcefile>Resources.zip</resourcefile>   <businesscontrollerclass></businesscontrollerclass>   <modules>     <module> 

    [/snip]

    As for referencing it in your module – I suggest using:

    <%=ResolveUrl('~/DesktopModules/YourModule/Services.asmx')%> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Requirement: I need to deploy a WCF webservice application in IIS 6 that is
I need to deploy webservice on server which contain OS as a 'OS2200'..Is there
I am a beginner to webservice concepts. Now I know how to deploy webservice
Answer: I know this is not the kind of thing that goes well as
I know there has to be a simple answer to this, but Google's not
I would like to create a RESTful web service that I can deploy on
I need to deploy an old style .asmx asp.net web service (not WCF) on
I need to deploy the same web service for each customer. This @javax.jws.WebService uses
I need to deploy an Outlook rule that runs a script. So in other
I need to deploy only the referenced classes in a very limited environment as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.