ASPX page template developed in different project

gourisankar padihary asked on February 12, 2015 10:38

HI, I want to create new asp.net web project in the same Kentico solution. I want to develop my own specific aspx page templates, or ascx controls in this separate project instead of default CMSApp project. Is it possible to develop .aspx pages in different project and use them as page template or web parts in Kentico? Or is it mandatory to develop the web part or aspx templates inside the CMSApp web project?

Recent Answers


Petar Kozjak answered on February 12, 2015 11:00

Hi,

you can develop Page Templates where ever you want. When you deploy them to new Kentico instance you will need to register them as Page Templates.

Please note that you will need to follow this: https://docs.kentico.com/display/K8/Developing+websites+using+ASPX+templates

Whan we develop we place ASPX pages or user controls in CMSTemplates/projectname

Hope this helps.

0 votesVote for this answer Mark as a Correct answer

gourisankar padihary answered on February 12, 2015 11:29

HI, What I really want to know If I develop the aspx page in different Web project, always I need to deploy the developed page under CMSTemplate/"ProjectName" to use in Kentico? If my apsx page uses some other project DLL, those DLLs I need to deploy in CMS/Bin folder?

0 votesVote for this answer Mark as a Correct answer

Petar Kozjak answered on February 12, 2015 12:14

Yes that is correct, you need to move your DLLs also.

Please note that both instances need to have same build version.

I would also recommend to investigate how PortalEngine works. That could help you with development.

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on February 12, 2015 13:20

I would also recommend to investigate how PortalEngine works. That could help you with development.

Can't stress this enough. And I'm positive it WILL help with your development. Unfortunately too many developers don't take the time to learn how to use Portal Engine and end up coding themselves into a corner. The developers who take advantage of Kentico's recommendations and best practices are often the ones who continue to get repeat return clients and often upgrade their sites when new releases come out.

2 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on February 12, 2015 15:00

Although just another voice, i 3rd the use of portal engine. There are ways if you really need to get into the code behind of a file you can do this even with Portal Engine. There have been previous sites made in aspx vs. portal and it's always a nightmare to work on!

If i may inquire, what will be the specific purpose for using the aspx template? What functionality are you looking for, we may be able to instruct how to do it easily with portal method.

1 votesVote for this answer Mark as a Correct answer

gourisankar padihary answered on February 13, 2015 06:12

We want build our own client management and project management system , which will use features of Kentico. We want to create web parts, page templates which can be available to various sites. We have our own database for this purpose. Now we want to develop the pages for Client and Project management. So we thought of having our own Web project, instead of merging inside CMSApp web application. This client and Project management application will be hosted as a Site inside Kentico, as we want to use many functionality of Kentico like Users, web parts etc. Please advice what could be the best way to proceed.

0 votesVote for this answer Mark as a Correct answer

Martin Danko answered on February 23, 2015 02:27 (last edited on February 23, 2015 02:27)

Hello Gourisankar,

As your question concerns adding complex functionality to Kentico and would require very in-depth explanations, I would strongly recommend that you consider our paid consulting services which would offer you much more detailed and hands-on support for this project.

You can find more information here: http://www.kentico.com/Support/Consulting/Overview

Your scenario is pretty well suited for the consulting service.

Regards, Martin Danko

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.