Generating a Workspace

The first thing you will need generate is a workspace. The current workspace supported is a Visual Studio 2019 Solution. Future plans will include other workspaces such as Eclipse, PhpStorm, etc. There is also front-end framework support for VSCode or any IDE that supports directory based layouts utilizing a "convention over configuration" file layout with a config.json. This can also be supported by command line only, if preferred. The front-end will also be part of the VS Solution in SPA (single page application) format.

First thing to do is navigate to the directory of choice for the location for your workspace. The target layout from this location will be as such:

  • CurrentDirectory
    • Solution file
    • Entities project folder
      • Entities project
    • Services project folder
      • Services project
    • Web project folder
      • Web project
      • ClientApp folder

Generate workspace

To generate a workspace, run the following:

hydra generate workspace --appName <name>

The resulting file/folder layout should look like the following, assuming the appName you provided is "contoso":

If you open the solution file, you will have a solution that should compile, but with no Entities, no Web API Controllers, and a minimal Single Page application which will be replaced later.


© CloudIDEaaS, 1996-2022 • Updated: 10/01/20
Comment or report problem with topic