A
Andrew Feldman
Is someone from MS listening? Every thread I've seen on this topic
goes dead. Even the MVP's don't seem to have an answer.
My problem:
I'm working with ASP.NET 2.0 Beta 1. I have all web application
instance-specific code factored into the /code directory of my web
project. I have custom EventArgs/Handler's for my current web app
instance that I would like to create and use dynamically via
reflection, from a web control in the same web project. The statement
Type.GetType("myCustomEventArgsType") returns null. I've seen some
posts online about specifying the assembly qualified name as in
"myCustomEventArgsType,Code", but this appears to be an out of date
piece of advice as the dynamically generated assembly has an
autogenerated name. The funny thing is that intellisense picks up this
type at design time, it is just unavailable, or unreachable, at
runtime.
This "feature" severely limits the dynamic capabilities of web
applications built in Whidbey. As we all know this was all possible in
1.1 as the web project was compiled into a well known DLL. I know big
changes are coming in Beta 2, but I would like to know for sure whether
these changes will alleviate this problem, and if there is any possible
work around in current Beta 1 bits. Thank you.
goes dead. Even the MVP's don't seem to have an answer.
My problem:
I'm working with ASP.NET 2.0 Beta 1. I have all web application
instance-specific code factored into the /code directory of my web
project. I have custom EventArgs/Handler's for my current web app
instance that I would like to create and use dynamically via
reflection, from a web control in the same web project. The statement
Type.GetType("myCustomEventArgsType") returns null. I've seen some
posts online about specifying the assembly qualified name as in
"myCustomEventArgsType,Code", but this appears to be an out of date
piece of advice as the dynamically generated assembly has an
autogenerated name. The funny thing is that intellisense picks up this
type at design time, it is just unavailable, or unreachable, at
runtime.
This "feature" severely limits the dynamic capabilities of web
applications built in Whidbey. As we all know this was all possible in
1.1 as the web project was compiled into a well known DLL. I know big
changes are coming in Beta 2, but I would like to know for sure whether
these changes will alleviate this problem, and if there is any possible
work around in current Beta 1 bits. Thank you.