I was going to try Subsonic, you can generate DAL with buildProvider element in an ASP.NET website project. But I get curious why Web applications or windows applications do not support BuildProvider.
PS: I know for Subsonic there is one other option to use it with other than BuildProvider, but I just get curious.
...
I've read that you cannot use a BuildProvider with Web Applications in Visual Studio (or more specifically, you can use it, but your code isn't part of the project)
Are there any other ways to generate code on the fly using a Web Application project?
With or without using third-party tools?
...
I have created a simple BuildProvider as a starting point, and althogh I get no errors, I don't have access to the generated class either. In fact, i don't know if my BuildProvider was even invoked. Is there a way to debug a BuildProvider? How do I know if there is a problem with my CodeDom or if it's something else?
Thanks!
...
Hi All!
How can I determine the actual filename (App_Code_xxx.dll) of the types (classes) which is being built by my build provider.
For instance I have a build provider which injects classes based on some configuration. Say MyNameSpace.MyClass. When this build provider is consumed by the Web App. I just want to know the actual file(.d...
Following on from my earlier question around loading views from DLLs under ASP.NET MVC, I've come across the issue of having Views and Controls be strongly typed. An exception is thrown indicating that the type cannot be resolved.
I found this article which describes implementing a web.config section which allows that strongly typed vi...