Skip to content

Commit e1fa7be

Browse files
add template to CLI templates
1 parent d2c0840 commit e1fa7be

12 files changed

+9
-1028
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ When utilizing the `nitric new` command to initiate a new project, the available
9999
| [url-shortener](./v1/url-shortener/) | URL Shortener with Pub/Sub | APIs, Topics, Key Value Stores |
100100
| [websocket-app](./v1/websocket-app/) | A basic websockets example | APIs, WebSockets, Key Value Stores |
101101

102+
### C#
103+
104+
| [dotnet-starter](./v1/dotnet-starter/) | .NET REST API Starter | APIs |
105+
102106
### Websites
103107

104108
| Name | Description | Features |

cli-templates.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ templates:
2929
label: Go - Starter
3030
desc: A simple REST API
3131
path: ./v1/go-starter
32+
- name: csharp-starter
33+
label: C# - Starter
34+
desc: A simple REST API
35+
path: ./v1/dotnet-starter
File renamed without changes.
File renamed without changes.

v1/csharp-starter/nitric.yaml renamed to v1/dotnet-starter/nitric.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: csharp-starter
22
services:
33
- match: services/**/*.csproj
4-
start: dotnet run --project $SERVICE_PATH
4+
start: dotnet watch --non-interactive --project $SERVICE_PATH
55
runtime: dotnet
66

77
runtimes:

0 commit comments

Comments
 (0)