David Clark
Nuke Newbie Posts:3
|
12/05/2013 10:49 PM |
|
Hi, I know very little about.Net and I am trying to follow the tutorial for creating modules in DNN 6 with Visual Studio 2010. I am using DNN 7 and Visual Studio 2012. When I get to the point of creating the Data Model in video 3, Visual Studio 2012 creates a seemingly empty Model.cs under the Model.tt folder. I then cannot create a Model.cs file as one already exist. I have tried a few things to get around this but I simply lack the required knowledge to make this work. How can I get past this point using Visual Studio 2012? Thanks
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
12/06/2013 1:29 PM |
|
David, I will try to re-watch that tutorial over the weekend. As I recall, there is a critical step that, if missed, results in the missing model. I need to review the tutorial to remember what it is. You can also look for a tutorial series on module development by CHris Hammond. You'll find them on the DNN website, or just google the name. Chris also has a set of templates which will help you create a complete working module with a few clicks. Of course, you then have to add all of the display and logic pieces, but the entire framework is there. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Darren
Nuke Newbie Posts:2
|
05/27/2014 11:44 PM |
|
So...this is as far as this conversation went? This is still an issue and there seems to be no solution yet? |
|
|
|
|
Andy Stephenson DNN Creative DNN Creative Staff
Nuke Master VI Posts:169
|
05/28/2014 6:46 AM |
|
Hi Darren, These guys have a great video series on module development and very up to date: DNN Module Development Andy |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
05/28/2014 6:55 AM |
|
I will second the comment that Scott Wilkinson's set of tutorials is very good. They are a bit fast paced. And, he does cover the use of Entity Frameworks for building he Data Access Layer. You should/could also look at Chris Hammond's series on the Task Manager which you will find at DNNSoftware.com. It's perhaps better suited for beginners, especially if you don't have a lot of exposure to .NET programming. But, for the original quiestion, my recollection is that the mistake that people were making was at the point where you create the model. I'm afraid that I don't recall the specific details, but the tutorial is correct. That's just a tricky step. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Joseph Craig DNN MVP Posts:11667
|
05/28/2014 6:58 AM |
|
I should add, too, that starting off with the use of Chris Hammond's templates is also a hightly recommended step. I'd also recommend that you start off using the traditional DAL for your modules, as it's somewhat easier to understand for beginners. Chris' templates do give you a choice of DAL1 or DAL2 and, with the Scott Wilkinson tutorials, you should be able to use either by following along with the examples. I personally use those and have not really developed modules using Entity Frameworks. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|