.net Solution Structure with sitefinity
When using the Sitefinity project manager to create sites it creates a project and a solution associated with each site created in project manager. We have our own solution containing a custom web controls project, data access project and business layer project. Does telerik recommend that developers include the generated sitefinity project(s) (depending on how many sites are created) in the solution that contains the custom controls, DAL and BAL or keep them seperate? If seperate what is the best way to refrence the web controls that are located in the other project? Post build scripts that copy them to a specific location where the sitefinity site is located?
Hi Chris,
The options are two
1. Plug Sitefinity as a part of your other solution or plug your solution as a part of Sitefinity
2. Keep all applications separately and use our RESTful services for communication between the applications.
Greetings,
Ivan Dimitrov
the Telerik team
So what you are saying is that the following steps should be taken
1. Have our solution consisting of our BAL, DAL and web Components project.
2. Create N number of sitefinity sites via the Sitefinity Project Manager
3. Add each one of our sites that were created via the sitefinity project manager to the Solution listed in step 1.
Have you found that this solution becomes very cumbersome to use because of the amount of projects and sites contained in it?
I am not looking to communicate between the sites. I am just looking to add the web controls to the toolbar in sitefinity via the admin utility. Since they are not one compilied dll we have to move them into the sitefinity project somehow so they can be used correct ?
Hi Chris,
Since we do not have an upload control functionality yet you would have to manually add the user controls to the folder structure of your websites.
If your DAL and BAL projects are common across all of your Sitefinity projects you do not have to include all Sitefinity projects in the same assembly. What you can do is to create a folder called Reference Assemblies where your projects will dump the latest version of their dlls. Then your Sitefinity projects will have references to your dlls located in the Reference Assemblies folder.
Kind regards,
Radoslav Georgiev
the Telerik team