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...Open Core Testi...Open Core Testi...Updated MVC templatesUpdated MVC templates
Previous
 
Next
New Post
12/23/2015 4:58 AM
 
Ash Prasad wrote:

I've updated the readme to indicate the location of the installation packages as well. Can you try compiling now. Also - Patrick feel free to submit pull request to this repo.

 

Thanks Ash. Will look into it as soon as I can and let you know if there are any problems. 
 
New Post
1/5/2016 8:08 AM
 
For anyone that might have missed it, Joe Brinkman has publised templates for building MVC and SPA modules on the DNN area on GitHub:

https://github.com/dnnsoftware/DNN.Te...

Here is a video describing this more in detail:

http://info.dnnsoftware.com/DNNPlatfo...

Have only tried them briefly so far but seem to be working quite well.
 
New Post
1/5/2016 8:18 AM
 
One thing though has me a bit confused. The MVC-templates are set up with a build-path that requires the project to be created under DesktopModules folder instead of under DesktopModules/MVC (or it will create a "bin" under DesktopModules folder). When installed though it will place itself under DesktopModules/MVC. Is there a reason for this or is it simply a small bug in the template files and that the build-path should be changed so that new module projects are created under DesktopModules/MVC (for MVC projects that is of course)?
 
New Post
1/5/2016 9:36 AM
 
Patrik Johansson wrote:
One thing though has me a bit confused. The MVC-templates are set up with a build-path that requires the project to be created under DesktopModules folder instead of under DesktopModules/MVC (or it will create a "bin" under DesktopModules folder). When installed though it will place itself under DesktopModules/MVC. Is there a reason for this or is it simply a small bug in the template files and that the build-path should be changed so that new module projects are created under DesktopModules/MVC (for MVC projects that is of course)?

 

Sorry, my mistake, had forgotten to deselect the all important checkbox when creating the module :)

 
New Post
2/15/2016 3:06 PM
 

The MVC template provided builds successfully. However, when I deploy it on a page in DNN, I get following error. Help would be appreciated:

Error: ProjectName is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The controller for path '/Default.aspx' was not found or does not implement IController. ---> System.Web.HttpException: The controller for path '/Default.aspx' was not found or does not implement IController. at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) at DotNetNuke.Web.Mvc.Framework.Modules.ModuleApplication.ExecuteRequest(ModuleRequestContext context) at DotNetNuke.Web.Mvc.MvcHostControl.OnInit(EventArgs e) --- End of inner exception stack trace ---
An error has occurred. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Modules.ModuleInstanceContext.LoadActions(HttpRequest request) at DotNetNuke.UI.Modules.ModuleInstanceContext.get_Actions() at DotNetNuke.UI.Containers.ActionBase. (EventArgs e) --- End of inner exception stack trace ---
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...Updated MVC templatesUpdated MVC templates


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