Click here to Skip to main content
15,920,468 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have an asp.net web application in c#. now I want to make a tool that will add new aspx pages and will add necessary dlls from folders and will rebuild the project. Can anyone help me or give me an overview how to do that from a desktop application.

What I have tried:

I have done a sever control to make changes inside an aspx page and adding files and folders inside a project. but this time I need to create pages and master pages and config files also.
Posted
Updated 4-Jun-16 20:40pm
Comments
Sergey Alexandrovich Kryukov 5-Jun-16 2:16am    
This is called Content Management System (CMS). The short overview would make little sense; and serious overview would be a bit too much for a Quick Answer. I suggest you learn the topic.

But why would you create another one? How would you think it may even pay off? From the other hand, what's the problem? And why a desktop application? A usual CMS would itself be a Web-based system, a Web application...

Quite usually, CMS are open-source, so you can learn how they work. I think the basic principles of their operation are clear, but if you want to design one such thing from scratch, you would need to invent a lot of good things. I'm not sure you have an idea of how much of inventiveness and hard work it may require. Would you need it all? Well, doing something ad hoc, highly specialized, would hardly worth the effort.

—SA
Sudipta Ghosh 5-Jun-16 9:46am    
Thanks Sergey. I have seen a tool that take datas from excel sheet and makes a web project. Although the main logic for those projects are same (only logical changes in one or two pages). So, can't I just add some aspx pages to a solution from another desktop or web application?
Thanks again for your valuable comment.

1 solution

Please see my comment to the question.

Based on my reasoning, I cannot believe that answering your question could really help you. If you had your own interesting ideas of some CMS, especially some very compact one, and could create some prototype of it, it would be the totally different story, but then you would not ask this question. This way, I tend to come to the conclusion that you have to learn what existing CMS do (before you even think how they operate or can be implemented), and, first of all, consider using of one of such available systems. Later on, you could come to understanding of how they work and probably think at the possibility to develop something on your own. But it would makes sense if you have more productive and interesting ideas compared to the well-known and implemented ones.

Please see:
Content management system — Wikipedia, the free encyclopedia[^],
List of content management systems — Wikipedia, the free encyclopedia[^].

Sorry for not answering your question exactly as you formulate it, but it's not clear what kind of help would you expect. If you really mentioned to develop the functionality which can be used to "make changes inside an ASPX page and adding files and folders", it's hard for me to imagine what prevents you from developing the functionality which can be used to "create pages and master pages and config files". That's why we have the section of the question titled "What I have tried". Perhaps you need to understand what it means.

—SA
 
Share this answer
 
v2
Comments
Karthik_Mahalingam 5-Jun-16 2:48am    
5
Sergey Alexandrovich Kryukov 5-Jun-16 10:51am    
Thank you, Karthik.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900