I want to create a template system using http://www.codeproject.com/aspnet/PageFramework.asp?df=100&forumid=102656&select=1047249
I am trying to put the templates in a global project which will then be used by pages in other projects in same solution. so here is the folder structure:
Page Config file: H:\Inetpub\wwwroot\MyMaste
User Controls: H:\Inetpub\wwwroot\MyMaste
ASPX Page: H:\Inetpub\wwwroot\MyMaste
to access the user controls, i changed the path in Page.config from
but when running Webform1.aspx i get following error:
The virtual path '/MyMasterPages/Controls/M
scx' maps to another application, which is not allowed.
so what does ~ mean here? and how do i solve this problem?
considering this problem i realize that i lack in-depth knowledge about how to organize the solution.
i m basically trying to create a solution with multiple projects in a way that each project is going to be a self-sufficient and at the end i will be able to sell each project separately. so each project will have its own business logic and data access layer. the stuff which will be accessed by more than one project will be kept in a separate project called "Common", which will have all the images, style sheets, global code libraris, page templates, user controls etc.
but this structure is giving me alot of problems like references and asseblies, so is this an advisable structure? if not what is the better one? if yes where can i read details about this way of sturcturing?