Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scaffolding command to c-sharp service emitter #5602

Open
4 tasks
markcowl opened this issue Jan 14, 2025 · 0 comments
Open
4 tasks

Add scaffolding command to c-sharp service emitter #5602

markcowl opened this issue Jan 14, 2025 · 0 comments

Comments

@markcowl
Copy link
Contributor

Add a scaffolding command that does the following to the c-sharp service emitter package

http-server-csharp-scaffold <directory> <path-to-spec>
  • Check for existence of dotnet cli and error out with a helpful message if not present
  • Instantiate a new MVC project
  • Run tsp compile on the given typespec project, using the emit-scaffolding option and <output-dir>/generated as the output path
  • Emit instructions for building and launching the project

est: 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant