This extension provides various snippets to quickly generate slightly more complex frequently used C# classes.
All these snippets are prefixed with "snip" as well as "snip-?" to bundle them up neatly by category.
E.g. to insert a new Web Api Controller, start typing "snip". A list of snippets will pop up. You can either press down to select the API snippet, or continue typing "snip-api" to select the specific snippet automatically.
This will generate your entire API controller for you, ready for dependency injection.
- Removed generic repo snippets because you really shouldn't be doing that
snip-bootstrap-login
Generates a Bootstrap login formsnip-bootstrap-nav
Generates a Bootstrap nav templatesnip-bootstrap-card
Generates a sample Bootstrap card
snip-kubernetes-nodeport
Kubernetes NodePort definitionsnip-kubernetes-clusterip
Kubernetes ClusterIP definition
snip-kubernetes-pod-definition
Simple Kubernetes pod definitionsnip-kubernetes-replicaset
Kubernetes ReplicaSet definitionsnip-kubernetes-deployment
Creates a sample Kubernetes deployment definition file
snip-ef-startup-config
Sample EF Core startup.cs configurationsnip-ef-mock-config
Sample EF Core unit test utilising in-memory mock storage and setup- removed hard-coded UseSqlServer() from EF DbContext class
snip-docker-compose
Sample Docker Compose v3.x YAML file
- Our first bugfix yay!
- Added dockerfile support
snip-docker
Adds a skeleton of docker file contents
snip-sql-mars
SQL Server connection string with multiple active resultsets.snip-sql-mars-creds
SQL Server connection string with multiple active resultsets and user credentials.- CI/CD YAML support
snip-yaml-job-simple
A simple CI/CD YAML job definitionsnip-yaml-dynamic
A dynamically created test environment definition with a shutdown-activated teardown script
snip-sql-integrated
SQL Server Connection String with Integrated Securitysnip-generic-irepository
Generic Repository Interfacesnip-generic-repository
Generic Repository Interface Implementationsnip-api
Api Controllersnip-ef
EF DbContextsnip-api-client
Json Api Generic Client Base
naturally it is up to you to add the requisite Nuget packages. This isn't magic.