Last post Jun 14, 2010 05:06 AM by cnranasinghe
Jun 03, 2010 02:33 PM|knz|LINK
Jun 03, 2010 04:44 PM|toas1|LINK
this is not an easy question. For a small, simple web solution I would go for just adding data access classes and business access classes in the App_Code directory. But, since you want to use this as a template I suggest you create separate projects for
each off your data access layer and your business access layer and reference these from your application.
Build this application like any other one. Add references to your reusable libraries, add double slash comments in the code with todo's etc. Then use VS -> File -> Export Template... to generate a template for your team members.
Jun 09, 2010 10:19 PM|knz|LINK
What do you mean by 'add double slash comments in the code'. If you are suggesting I use intellisense for my reusable libraries then could be please let me know how can I do this.
Also whenever someone uses this template as a base and creates a new class file then at the beginning of the file can we have a default comment block where the developer can enter details about the file. example
// file name:
// created by:
How can I do this.
Jun 14, 2010 03:30 AM|toas1|LINK
sorry for the delayed answer. With dubble slash comments I mean that its a good way to comunicate to the users of the template what to do and where to do it in the code files. For example you could add a comment like "// Bind your controls here" and place
it in the Page_Load event. But its all up to you.
For the Second questions I have no idea. It would be nice but a simple coding convention document that you hand over to your developers containing things like this should be enough I think.
Jun 14, 2010 05:06 AM|cnranasinghe|LINK
Add class projects to the existing web sites. This is how the programers refer libraries to web site. Better implement alll scenarios on class project and you get one dll after compiling.