I really like the Ria Services approach and I see Lightswitch as the next higher level of abstraction, but my scenario is this:
I need to define a Lighswitch application without relying on the constructor and tiresome clicks. If I have access to the API that the designer uses, then I can automate the creation of applications, I can parameterize it and apply custome logic to generate custom variants of the same type of application, I can even wrap it in DSL. As a programmer, I want to use Lightswitch to develop metaprogram applications.
I'm a programmer. While I can use the "Write Code" drop-down list to insert code blocks into the Application, ApplicationDataService, EntityObject, and ScreenObject classes, I would like to define names, screens, relationships, and queries using code / markup / DSL.
Obviously, Lightswitch executes metaprograms when I use the constructor, but I would like to do it myself. What I would like to do is create a lightwitch application - without having to click on a tool or designer. In Lightswitch, the pieces are obviously there (the developer uses them), but they do not appear as an open API. being a visual studio plugin, maybe there is a VSIX API extension that I can use to automate Lightswitch? Show me the code.
source share