https://github.com/ewdlop/dotnetaspireappnote
https://learn.microsoft.com/en-us/dotnet/aspire/get-started/aspire-overview
https://github.com/ewdlop/dotnetaspireappnote
dot-net-aspire microservice
Last synced: 5 months ago
JSON representation
https://learn.microsoft.com/en-us/dotnet/aspire/get-started/aspire-overview
- Host: GitHub
- URL: https://github.com/ewdlop/dotnetaspireappnote
- Owner: ewdlop
- License: mit
- Created: 2024-06-02T01:07:43.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-10T05:21:40.000Z (about 1 year ago)
- Last Synced: 2025-02-10T06:23:33.435Z (about 1 year ago)
- Topics: dot-net-aspire, microservice
- Language: CSS
- Homepage: https://github.com/dotnet/aspire-samples
- Size: 276 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Security: SECURITY.md
Awesome Lists containing this project
README
# DotNetAspireApp
https://learn.microsoft.com/en-us/dotnet/aspire/get-started/aspire-overview
https://www.docker.com/
https://devblogs.microsoft.com/dotnet/introducing-dotnet-aspire-simplifying-cloud-native-development-with-dotnet-8/
##
dotnet Command Cheatsheet
=========================
1. **Create a New Project:**
- `dotnet new console -n MyConsoleApp`
- `dotnet new webapi -n MyWebApi`
- `dotnet new mvc -n MyMvcApp`
2. **Build a Project:**
- `dotnet build`
- `dotnet build MyProject.csproj`
3. **Run a Project:**
- `dotnet run`
- `dotnet run --project MyProject.csproj`
4. **Restore Dependencies:**
- `dotnet restore`
- `dotnet restore MyProject.csproj`
5. **Add a Package:**
- `dotnet add package `
- `dotnet add package Newtonsoft.Json`
6. **Remove a Package:**
- `dotnet remove package `
- `dotnet remove package Newtonsoft.Json`
7. **List Project Dependencies:**
- `dotnet list package`
- `dotnet list package --outdated`
8. **Publish a Project:**
- `dotnet publish`
- `dotnet publish -c Release`
- `dotnet publish --self-contained`
9. **Run Tests:**
- `dotnet test`
- `dotnet test MyTestProject.csproj`
10. **Add a Reference to Another Project:**
- `dotnet add reference `
- `dotnet add reference ../MyLibrary/MyLibrary.csproj`
11. **Remove a Reference:**
- `dotnet remove reference `
- `dotnet remove reference ../MyLibrary/MyLibrary.csproj`
12. **List Project References:**
- `dotnet list reference`
13. **Global Tools:**
- Install a global tool: `dotnet tool install -g `
- Update a global tool: `dotnet tool update -g `
- Uninstall a global tool: `dotnet tool uninstall -g `
- List installed tools: `dotnet tool list -g`
14. **Project Templates:**
- List all templates: `dotnet new --list`
- Install a new template: `dotnet new --install `
- Uninstall a template: `dotnet new --uninstall `
15. **Information Commands:**
- `dotnet --version` (Displays the SDK version)
- `dotnet --info` (Displays environment information)
16. **Help Commands:**
- `dotnet --help`
- `dotnet --help` (e.g., `dotnet build --help`)
Use the `--help` flag with any command to get more detailed information about its usage and options.