I am developing a module for DotNetNuke and have used a DotNetNuke Compiled Module template to create the module in the DesktopModule folder.
I then get a Web Application Project under the DNN website in my Visual Studio 2008.
Now I want to use DAL and BLL which are created in DNN app_code folder.
But when I add them in code behind it can't find them.
How do I tell my Web Application Project to access the app_code folder in the website "projcet"?
Thanks in advance!
You can't. App_Code is compiled on-the-fly, but even if you compile it prior to deployment somehow, you will have a circular reference (App_Code -> Web Application -> App_Code).
In the web application the Components folder seems to do what app_code folder does.
Related
I set a build for a react web app in azure devops and another one for a web api application (c#). I would like to copy the output of the react build in the web api project before release them in Azure. I tried with a copy task but i failed due to the web api application output (it's a zip). Help would be very appreciated.
On the project I'm on right now, this is solved by
1. building the front-end before building the web app project, and
2. including the react-output-folder in the visual studio project, but using a wildcard, not each file:
<Content Include="webstorybook\*" />
By doing that, the files should be included in the published .zip file. Hope it works for you, too.
I have already published dnn website. So Can I add my custom module in it?
I have purchased DNNGoxNews the module with source code from dnn store.
Now I want to modify some of the fields from some user control So How Can I achieve this.
I have already installed the module in my dnn website.But How can I modify the module.
Please point me the right direction.
Thank You
You will want to install this module in a development environment, which typically means a local copy of DNN
Follow this tutorial for how to setup your development environment.
Once that environment is setup, go to the HOST/EXTENSIONS page
Install the SOURCE package of the module you purchased
Open up the Project file, or Solution, in Visual Studio 2015
Make your changes, compile the module/changes
Repackage the module for deployment, if the source code doesn't do it for you automatically you can follow this tutorial.
Do we need the source code if we will primarily create (advanced) modules and occasionally modify the theme?
How does DNN get deployed from Teamcity / Octopus Deploy?
Your modules, and "skins" should be individual projects, and you should deploy those to production using Packaged ZIP files. That's the proper way to develop/deploy extensions for DNN
1.Yes, you should go to this url http://www.christoc.com/ to learn how to use a template to create a dnn module and create a skin as well.
Thanks to #ChrisHammond for your contribution to dnn community.
I have a dynamic web project (JSP) on Eclipse that runs on a tomcat server. I create files with GraphViz code, and then I create images with a system call of DOT and I place them in a subdirectory of the project.
All of that works, but now the issue is to show the created images in a JSP page.
As the images are dynamically created they are not in the server neither in the project subdirectory until I manually refresh the project at the workspace.
To solve this problem that I have tried to use the aspectj libraries that contains the IWorkspace, IProject, IFile classes, but it seems that that usefull only if you are developing an Eclipse plugin.
I am thinking about another way to refresh the workspace dinamically or upload the images to the tomcat server.
So the questions are:
how to upload files (images) to a tomcat server with Java (JSP)?
how to refresh the workspace dinamically in a non Eclipse (or Eclipse plugin) project?
how to show images in a JSP page that are not in the project workspace neither in the tomcat server?
Take a look at Tomcat plugin for Eclipse. It probably should help you to solve the root of problems.
I'm developing a DotNetNuke Module using the nonIIS method of module development. Is there any way to include a 3rd-party assembly in your module (when setting it up for deployment)?
I thought about adding it as a reference to the dotnetnuke_nonIIS website project as a whole, but that doesn't seem right considering it's a dependency of the module.
Whatever your local development environment may look like, you will most likely want to be able to deploy the module to a DNN site on its own.
To do that, you can create an installable module zip package - which consists of all of your module assets and a manifest file describing them so that DNN may process them and perform the appropriate actions (run scripts, deploy assemblies to the bin) upon installation.
Check out the DNN wiki for more information about packaging.