ASP .net app, and server side assembly that needs to read an XSL resource
-
I have an ASP .net app and an additional server side project to perform some transforms via XSL. In the additional server side project I just load an XSL template depending on some params and perform a transformation (the results are passed back to the ASP .net application). I'm not quite sure what could be the best approach to store and access the XSL templates: -> I could implement the XSL "choose" logic in the ASP .net application and have the XSL in a web folder (just pass it back as a param to the external assembly). -> Another idea was to embedd the XSL templates into my servier side assembly, but not sure if this only will work on the "EXE" world and not on the web (or if I could have performance issues). -> The last one that I had was to add it as a resource and mark the copy to output directory,but again I think that won't be situable for the web world. What option will work better in my web app? Regards Braulio
/// ------------------------- Braulio Díez tipsdotnet.com /// -------------------------