Archive
Monthly
Go
|
|
DNN Blog
Jan
10
Posted by:
Steve Fabian
1/10/2012
The Gooddogs Technology Project Template for DotNetNuke module development is now available in an early form for you to download and try out. This Visual Studio 2010 project template is pre-configured to allow you to build DotNetNuke modules using the latest technologies like Entity Framework, WCF Data Serviced, popular open source frameworks like Knockout,js, AutoMapper and the Blueprint CSS Framework
NOTICE: This is a work in progress. The template is not complete, during the course of this series we will be enhancing and tweaking the template as we build a new DotNetNuke module using these advanced technologies. The template is being released as-is so that you can download it and follow along, or participate by helping with the development. You can certainly use the template in it’s current state to build a DotNetNuke module, however, you will have to do some things manually for now until the template is complete. If you have any question at all, do not hesitate to contact me directly
The “Let’s Build a Module” series
1. Project Introduction
2. Downloading, Installing and Using the Template
Following is a short video showing you how to download, install and then use the Gooddogs Technology Template to build a DotNetNuke module.
Reminder, I’m still looking for suggestions for a complete module that we can all build together for the DotNetNuke Community. So, keep your ideas coming, add a comment and let me know what you’d like us to build with this new module development template, and if you have any comments, suggestions or feedback on the project template itself, let me know!
The next blog will go into more detail about the Solution structure and the technologies included in the template and how they work
17 comment(s) so far...
Re: Let’s Build a Module–Project Template Installation
So, if we wanted to make a redistributable module with this template, we'd need to manually copy the connection string into the Entity Framework connection string, right? Is there any easy way to do that (or any way around it)?
By Brian Dukes on
1/10/2012
|
Re: Let’s Build a Module–Project Template Installation
@Brian, sorry I thought I was clear, this template is no where near ready for production, it's just getting started, I am making it available at this time, so that others can help with it's development if they are so inclined. Eventually, we'll solve all the issues around packaging and configuration. This is just the beginning of the series, the *result* at the end will be a project template that you can use for building production-ready modules.
By Steve Fabian on
1/10/2012
|
Re: Let’s Build a Module–Project Template Installation
Great start! Work excelent, except service call in about.aspx becouse I have DNN in root of web site, but worked fine in mobile version. Thanks!
Is posible in future to include dnn security in web service? Like : www.gooddogs.com/Blog/tabid/97/EntryId/9/WCF-Series-Part-8-Using-DotNetNuke-Security-Framework-to-secure-your-WCF-Service.aspx but in C# and dynamic security like IWeb.
By Jernej Pirc on
1/11/2012
|
Re: Let’s Build a Module–Project Template Installation
@Jernej, thanks!, I need to rework how the service url is constructed within the ViewModel, thanks for the heads up. and, absolutely, security is high on the list, it will be addressed during this project
By Steve Fabian on
1/11/2012
|
Re: Let’s Build a Module–Project Template Installation
Sorry, I didn't mean to imply that I was expecting it to work perfectly now; I had just always shied away from EF because I didn't think it had a deployment story that fit well with DNN, and figured you had the experience to say otherwise. I'm really looking forward to seeing where this template ends up. Thanks!
By Brian Dukes on
1/11/2012
|
Re: Let’s Build a Module–Project Template Installation
@Brian, no apology necessary, I just want to make sure people's expectations are set correctly at this point. (I added some text to the blog to hopefully make it clearer) Thank you for your comment it will definitely help others understand where the template is now and that it's still evolving. There IS/WILL BE a package and deployment story for EF. so stay tuned ;)
By Steve Fabian on
1/11/2012
|
Re: Let’s Build a Module–Project Template Installation
@Steve, great work!
@Brian and @Steve: The connection string issue is actually easy to fix. The way to handle it is to CREATE the connection string on the fly and send it back to the EF context at runtime. Basically, you read the default connection string and rebuild the EF one on the fly. I have the code for this already if you want it.
-Antonio
By Antonio Chagoury on
1/11/2012
|
Re: Let’s Build a Module–Project Template Installation
Looks very interesting Steve. I'm working on a banking simulator here at work with the plan of using a wcf service to pull information from the banklab database and display it in the module. A lot of what you're planning to do will dovetail nicely into my project, I think, so it'll be nice to know I've got somewhere to look if things go sideways.
By Mike Horton on
1/11/2012
|
Re: Let’s Build a Module–Project Template Installation
I'm very excited to see this project move forward and I agree it needs to be done. The old templates are very outdated.
However, one of the great things about the out of the box DNN modules is that they are fairly simple to understand and allow novice developers a easy way to learn DNN and get their feet wet.
I highly recommend you choose a fairly simple functional design to introduce these new programming tools. If the functional design is too complex, the message of the new tools may be lost.
Why not just rewrite one of the out of the box modules?
By Jay Mathis on
1/13/2012
|
Re: Let’s Build a Module–Project Template Installation
@Jay, there's a bit of a conflict between the concepts of "novice developers" and "advanced technologies'. This template is not for novice developers, and I don't want to be hampered by having to keep the architecture "simple". This template is for advanced developers. Having said that, however, I will make every attempt to clearly explain each component of the template and how to use it, and where the option to "simplify" the design does not restrict the technology, I will opt for simple over complex.
By Steve Fabian on
1/13/2012
|
Re: Let’s Build a Module–Project Template Installation
Wow!!, this really looks cool. I'm very interested in the next parts of this series, since I'm still kind of using the 'older' ways of developing DNN modules. But it looks very promissing.
By M Bouwman on
1/16/2012
|
Re: Let’s Build a Module–Project Template Installation
Can you tell some time frame for new module template tutorial?
By Jernej Pirc on
1/16/2012
|
Re: Let's Build a Module #2 - Project Template Installation
Hi I downloaded this and attempted install in VS2010 Professional. The installer said it worked, but I then see a dialog saying it might not have installed correctly.
I think you have to be using an Administrator account to install this.
By Richard Howells on
1/29/2012
|
Re: Let's Build a Module #2 - Project Template Installation
Even though I saw it in the video, F5 does not work for me. I hit a dialog box saying - "Unable to start debugging on the web server. The web server is not configured correctly." full text below at [1].
Ctl-F5 simply launches the DNN web site normally and the module works. I can debug if I use Debug | attach to process, but F5 does not work for me. Any ideas? I am using VS2010 Professional on Windows 7. The DNN web site is configured to run under .Net 4, thus matching the module.
[1] Full text of dialog box. --------------------------- Microsoft Visual Studio --------------------------- Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information.
Click Help for more information. --------------------------- OK Help --------------------------- "
By Richard Howells on
1/29/2012
|
Re: Let's Build a Module #2 - Project Template Installation
@Richard, look in the web.config file in the root folder of your dotnetnuke site, find the "debug=" setting, you will probably find it set to "false", change it to
debug="true"
By Steve Fabian on
1/29/2012
|
Re: Let's Build a Module #2 - Project Template Installation
@Steve - Oh - what a fabulously, annoyingly, simple answer!
Thank you. It works perfectly now.
By Richard Howells on
2/3/2012
|
Re: Let's Build a Module #2 - Project Template Installation
I *may* be unique - I don't think I am, but I would happily nuke most *how to* videos on the net. I would MUCH rather have text and screenshots.
Text and screenshots I can browse for the bit I need/forgot. Video is *painfully* slow to get the point accross.
Some guy conducted a 'how would you like to receive this stuff' survey on his blog.' Video was last by a loooong way.
Please no more video!
By Richard Howells on
2/3/2012
|
|