Skip to content

Commit a704bf4

Browse files
committed
📄 Docs(README): About Samples
1 parent dca9065 commit a704bf4

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,34 @@ Via dotnet cli
1818
dotnet add package Common.BasicHelper
1919
```
2020

21+
# Samples
22+
23+
We provide some samples in `Commong.BasicHelper.Samples` project.
24+
25+
To run this project, just run commands:
26+
27+
```shell
28+
cd Common.BasicHelper.Samples
29+
dotnet run
30+
```
31+
32+
The output will looks like
33+
34+
```plaintext
35+
info: Microsoft.Hosting.Lifetime[14]
36+
Now listening on: http://localhost:<port>
37+
info: Microsoft.Hosting.Lifetime[0]
38+
Application started. Press Ctrl+C to shut down.
39+
info: Microsoft.Hosting.Lifetime[0]
40+
Hosting environment: Development
41+
info: Microsoft.Hosting.Lifetime[0]
42+
Content root path: <path>
43+
```
44+
45+
`<port>` label is the port number of the server.
46+
47+
Then you can visit `http://localhost:<port>/swagger/index.html` to see the samples.
48+
2149
# Usage
2250

2351
## Extensions

0 commit comments

Comments
 (0)