In an ASP.NET Web Site Project, what is the best option to manage modular widgets
Posted
by Juan Sagasti
on Stack Overflow
See other posts from Stack Overflow
or by Juan Sagasti
Published on 2010-03-18T21:09:47Z
Indexed on
2010/03/18
21:11 UTC
Read the original article
Hit count: 331
We are creating a modular Web Site Project and all the UI is based on simple html pages with javascript widgets.
These widgets obtain the data from a WCF class located in the app_code folder.
Each widget has 3 files [ js, css , cs] and an image directory: , and we want all these files to be located under the same directory, say: /widgets/mywidget/
The problem is that the .cs file needs to be in the app_code folder to be compiled dynamically and that would break our widget modularity forcing the installator to distribute the widget code in two places.
One of the options is use compiled assemblies instead of .cs files and use Assembly.Load() or smthg similar to load them when needed.
What other options do you see?
© Stack Overflow or respective owner