Still working on integrating ironPython in a web application and just tryed to do some ajax stuff with AjaxPro. Duriing implementation i realized that i can't use AjaxPro like the way i do it in c# or vb. not at least of the problem with the method attributes but the real problem is the matter of fact that objects i created in the python enviroment aren't available by ajaxpro because the generated html script looks like this
<script type="text/javascript" src="/webapp/ajaxpro/IronPython.NewTypes.System.Object_1,snippets1.ashx"></script> ...and this thing does not exist :( I think a nice way would be to extend the hosting application with some objects they life next to all classic .NET objects so that a external caller could not see a difference. But this wouldn't work because the hosting app isn't dynamic, or does it? One thought was to use IronPython.Compiler to create a 'real' assembly and then load it into the hosting application but that sounds a little bit strange. So my question is : Is it possible to create objects in the hosting application from a python script that are callable from extern by reflection (i think ajaxpro does it by reflection) ? If i'm absolutly on the wrong way to relize this let me know. thanks, bernd -- View this message in context: http://www.nabble.com/Adding-methods-in-hosting-application-during-runtime-tf2277947.html#a6326609 Sent from the IronPython forum at Nabble.com. _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com