diff --git a/MyApp/_pages/amazon-sqs-mq.md b/MyApp/_pages/amazon-sqs-mq.md index 2a923692ed..c8e521e736 100644 --- a/MyApp/_pages/amazon-sqs-mq.md +++ b/MyApp/_pages/amazon-sqs-mq.md @@ -5,7 +5,7 @@ title: Amazon SQS MQ Support for registering Amazon Simple Queue Service (SQS) as an [MQ Server](/messaging) is available in [ServiceStack.Aws](https://www.nuget.org/packages/ServiceStack.Aws) NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/auth/openid.md b/MyApp/_pages/auth/openid.md index 9171dcc847..46f786f6f6 100644 --- a/MyApp/_pages/auth/openid.md +++ b/MyApp/_pages/auth/openid.md @@ -14,7 +14,7 @@ Contained in the [ServiceStack.Authentication.OpenId](http://nuget.org/packages/ ## Install via NuGet -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/autoquery/dynamodb.md b/MyApp/_pages/autoquery/dynamodb.md index cefe93aec6..4816bddecd 100644 --- a/MyApp/_pages/autoquery/dynamodb.md +++ b/MyApp/_pages/autoquery/dynamodb.md @@ -54,7 +54,7 @@ requests when deployed to production To Get Started Install [ServiceStack's AWS Support package](https://github.com/ServiceStack/ServiceStack.Aws) from NuGet: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/autoquery/rdbms.md b/MyApp/_pages/autoquery/rdbms.md index 5b6862bf0c..d7c766e8e5 100644 --- a/MyApp/_pages/autoquery/rdbms.md +++ b/MyApp/_pages/autoquery/rdbms.md @@ -20,7 +20,7 @@ Plugins.Add(new AutoQueryFeature { MaxLimit = 100 }); Which is all that's needed to enable the AutoQuery feature. The AutoQueryFeature is inside [ServiceStack.Server](https://servicestack.net/download#get-started) NuGet package which contains value-added features that utilize either OrmLite and Redis which can be added to your project with: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/aws-getting-started.md b/MyApp/_pages/aws-getting-started.md index 35c188bd55..7753bd7f36 100644 --- a/MyApp/_pages/aws-getting-started.md +++ b/MyApp/_pages/aws-getting-started.md @@ -66,7 +66,7 @@ Now that you're PostgreSQL instance is running, connecting with OrmLite will req ``` -::: nuget +:::copy `` ::: @@ -186,7 +186,7 @@ Now that you're Aurora instance is running, connecting with OrmLite will require ``` -::: nuget +:::copy `` ::: @@ -306,7 +306,7 @@ Now that you're MySQL instance is running, connecting with OrmLite will require ``` -::: nuget +:::copy `` ::: @@ -430,7 +430,7 @@ Now that you're MariaDB instance is running, connecting with OrmLite will requir ``` -::: nuget +:::copy `` ::: @@ -555,7 +555,7 @@ If you are connecting to a new instance without a database, you'll need to creat ``` -::: nuget +:::copy `` ::: @@ -664,7 +664,7 @@ Now you're your Redis nodes are ready, your AppHost can be configured to use the First, you'll need to install `ServiceStack.Redis` NuGet package if your application doesn't already use it. -::: nuget +:::copy `` ::: @@ -793,7 +793,7 @@ Now you're your Memcached cluster is ready, your AppHost can be configured to us First, you'll need to install `ServiceStack.Caching.Memcached`: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/aws-pocodynamo.md b/MyApp/_pages/aws-pocodynamo.md index 1c3c5e1aed..c82246ae62 100644 --- a/MyApp/_pages/aws-pocodynamo.md +++ b/MyApp/_pages/aws-pocodynamo.md @@ -138,7 +138,7 @@ configurations, related items, conventions, aliases, dep-free data annotation at PocoDynamo is contained in ServiceStack's AWS NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/aws.md b/MyApp/_pages/aws.md index 4f21401d80..31027faf2f 100644 --- a/MyApp/_pages/aws.md +++ b/MyApp/_pages/aws.md @@ -50,7 +50,7 @@ It's now more productive than ever to develop and host ServiceStack solutions en All of ServiceStack's support for AWS is encapsulated within the single **ServiceStack.Aws** NuGet package which references the latest modular AWSSDK **v3.1x** dependencies **.NET 4.5+** projects can install from NuGet with: -::: nuget +:::copy `` ::: @@ -536,7 +536,7 @@ configurations, related items, conventions, aliases, dep-free data annotation at PocoDynamo is contained in ServiceStack's AWS NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/azure-service-bus-mq.md b/MyApp/_pages/azure-service-bus-mq.md index b3ecf9c912..e3dff2db76 100644 --- a/MyApp/_pages/azure-service-bus-mq.md +++ b/MyApp/_pages/azure-service-bus-mq.md @@ -5,7 +5,7 @@ title: Azure Service Bus MQ Support for registering Azure Service Bus as an [MQ Server](/messaging) in ServiceStack is available in [ServiceStack.Azure](https://www.nuget.org/packages/ServiceStack.Azure) NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/azure.md b/MyApp/_pages/azure.md index b36e2ee3b4..49354945b1 100644 --- a/MyApp/_pages/azure.md +++ b/MyApp/_pages/azure.md @@ -7,7 +7,7 @@ title: Azure Resources ServiceStack.Azure package provides support to Azure ServiceBus and Azure Blob Storage. All features are incapsulated in single ServiceStack.Azure package. To install package run from NuGet -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/built-in-profiling.md b/MyApp/_pages/built-in-profiling.md index 1ce40aa703..a9d3e8bba0 100644 --- a/MyApp/_pages/built-in-profiling.md +++ b/MyApp/_pages/built-in-profiling.md @@ -14,7 +14,7 @@ The MVC Mini Profiler plugin is only available for classic ASP.NET Framework Web The built-in Mini Profiler is available in ServiceStack's .NET Framework features package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/compiled-razor-views.md b/MyApp/_pages/compiled-razor-views.md index b173c5893f..b29f0b3fe7 100644 --- a/MyApp/_pages/compiled-razor-views.md +++ b/MyApp/_pages/compiled-razor-views.md @@ -9,7 +9,7 @@ The primary benefits of compiled views is improved performance by eliminating co To enable compiled razor views you need to add the [ServiceStack.Razor.BuildTask](https://www.nuget.org/packages/ServiceStack.Razor.BuildTask) NuGet Package to the project containing your Razor `*.cshtml` pages, i.e: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/create-webservice-from-scratch.md b/MyApp/_pages/create-webservice-from-scratch.md index 8bf0d70680..3dfcfcc309 100644 --- a/MyApp/_pages/create-webservice-from-scratch.md +++ b/MyApp/_pages/create-webservice-from-scratch.md @@ -13,7 +13,7 @@ For this tutorial, an empty ASP.NET Web Application (non MVC) is assumed. To install ServiceStack into your application, you have two options to get the binaries: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/csharp-client.md b/MyApp/_pages/csharp-client.md index c466d99cf4..ab08733015 100644 --- a/MyApp/_pages/csharp-client.md +++ b/MyApp/_pages/csharp-client.md @@ -9,13 +9,13 @@ Using DTOs to define your web service interface makes it possible to provide str **ServiceStack.Client** is the primary NuGet package containing ServiceStack's client libraries that can be included in your `.csproj` with: -::: nuget +:::copy `` ::: Earlier **.NET 6.0** can use the [HttpClient-based JsonHttpClient](/csharp-client#jsonhttpclient) in: -::: nuget +:::copy `` ::: @@ -1087,7 +1087,7 @@ As .NET's HttpClient only supports async APIs it needs to use "sync over async" JsonHttpClient can be downloaded from NuGet at: -::: nuget +:::copy `` ::: @@ -1167,7 +1167,7 @@ Whilst the list below contain the built-in clients based on .NET's built-in `Htt The HttpWebRequest clients above are available in: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/csharp-server-events-client.md b/MyApp/_pages/csharp-server-events-client.md index 50c85f772e..239cdd6247 100644 --- a/MyApp/_pages/csharp-server-events-client.md +++ b/MyApp/_pages/csharp-server-events-client.md @@ -5,7 +5,7 @@ title: C# Server Events Client Like ServiceStack's other [C# Service Clients](/csharp-client), the new `ServerEventsClient` is a [portable library](https://github.com/ServiceStackApps/HelloMobile) contained in the `ServiceStack.Client` NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/csv-format.md b/MyApp/_pages/csv-format.md index dc93581983..731c9b17ad 100644 --- a/MyApp/_pages/csv-format.md +++ b/MyApp/_pages/csv-format.md @@ -17,7 +17,7 @@ The CSV Serializer used was developed using the same tech that makes [ServiceSta The `CsvSerializer` is maintained in the [ServiceStack.Text](https://github.com/ServiceStack/ServiceStack.Text) project which can be downloaded from NuGet at: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/deploy-multiple-sites-to-aws.md b/MyApp/_pages/deploy-multiple-sites-to-aws.md index 11a635db00..8f7df7ada5 100644 --- a/MyApp/_pages/deploy-multiple-sites-to-aws.md +++ b/MyApp/_pages/deploy-multiple-sites-to-aws.md @@ -92,7 +92,7 @@ Another requirement is that the application you want to package will require a n You can add it to your application with the following NuGet command in Visual Studio: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/install-rabbitmq-windows.md b/MyApp/_pages/install-rabbitmq-windows.md index 809ea1f442..5922200e31 100644 --- a/MyApp/_pages/install-rabbitmq-windows.md +++ b/MyApp/_pages/install-rabbitmq-windows.md @@ -49,7 +49,7 @@ the state of the Rabbit MQ server instance: To use Rabbit MQ from .NET get Rabbit MQ's [.NET client bindings from NuGet](https://www.nuget.org/packages/RabbitMQ.Client): -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/js-utils.md b/MyApp/_pages/js-utils.md index 4922833df8..1312aca742 100644 --- a/MyApp/_pages/js-utils.md +++ b/MyApp/_pages/js-utils.md @@ -11,7 +11,7 @@ A more flexible approach to read any arbitrary JavaScript or JSON data structure The `#Script` JSON and JS Utils are available from the [ServiceStack.Common](https://www.nuget.org/packages/ServiceStack.Common) NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/json-format.md b/MyApp/_pages/json-format.md index 09ceea486f..fdd00e9f6c 100644 --- a/MyApp/_pages/json-format.md +++ b/MyApp/_pages/json-format.md @@ -13,7 +13,7 @@ run and explore all ServiceStack.Text features from the comfort of your browser ## Install ServiceStack.Text -::: nuget +:::copy `` ::: @@ -110,7 +110,7 @@ JS.eval("{a: 3.itemsOf(arg.reverse().padRight(8, '_')) }", scope) ServiceStack's JS Utils is available in the [ServiceStack.Common](https://www.nuget.org/packages/ServiceStack.Common) NuGet package: -:::nuget +:::copy `` ::: diff --git a/MyApp/_pages/locode/files-upload-aws.md b/MyApp/_pages/locode/files-upload-aws.md index 655bdcd712..28e207cf87 100644 --- a/MyApp/_pages/locode/files-upload-aws.md +++ b/MyApp/_pages/locode/files-upload-aws.md @@ -23,7 +23,7 @@ In this example of integrating AWS S3, we initialize the AWS SDK AmazonS3Client, To use the `S3VirtualFiles` you will need the `ServiceStack.Aws` NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/locode/files-upload-azure.md b/MyApp/_pages/locode/files-upload-azure.md index b32cce1a2e..44b7055ee5 100644 --- a/MyApp/_pages/locode/files-upload-azure.md +++ b/MyApp/_pages/locode/files-upload-azure.md @@ -23,7 +23,7 @@ In this example of integrating Azure Blob Storage, we initialize the `AzureBlobV To use the `AzureBlobVirtualFiles` you will need the `ServiceStack.Azure` NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/logging.md b/MyApp/_pages/logging.md index 81b68000c7..154c626a51 100644 --- a/MyApp/_pages/logging.md +++ b/MyApp/_pages/logging.md @@ -10,37 +10,37 @@ Currently there are 5 different .NET logging providers available on NuGet: **[NLog](https://nuget.org/packages/ServiceStack.Logging.NLog)** -::: nuget +:::copy `` ::: **[Elmah](https://nuget.org/packages/ServiceStack.Logging.Elmah)** -::: nuget +:::copy `` ::: **[Log4Net](https://nuget.org/packages/ServiceStack.Logging.Log4Net)** -::: nuget +:::copy `` ::: **[EventLog](https://nuget.org/packages/ServiceStack.Logging.EventLog)** -::: nuget +:::copy `` ::: **[SlackLog](https://www.nuget.org/packages/ServiceStack.Logging.Slack/)** -::: nuget +:::copy `` ::: **[SerilogLogger](https://www.nuget.org/packages/ServiceStack.Logging.Serilog/)** -::: nuget +:::copy `` ::: @@ -221,7 +221,7 @@ More usage examples are available in [SlackLogFactoryTests](https://github.com/S To Configure Serilog Logging, first download [ServiceStack.Logging.Serilog](https://www.nuget.org/packages/ServiceStack.Logging.Serilog) from NuGet: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/messagepack-format.md b/MyApp/_pages/messagepack-format.md index 51eafc1e24..6248a049af 100644 --- a/MyApp/_pages/messagepack-format.md +++ b/MyApp/_pages/messagepack-format.md @@ -13,7 +13,7 @@ MsgPack is a great addition to your ServiceStack's web services as it has [simil Message Pack is easily installed with the [ServiceStack.MsgPack](https://nuget.org/packages/ServiceStack.MsgPack) NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/mvc-integration.md b/MyApp/_pages/mvc-integration.md index 78261c841d..f5f0a8594d 100644 --- a/MyApp/_pages/mvc-integration.md +++ b/MyApp/_pages/mvc-integration.md @@ -11,7 +11,7 @@ These docs only apply to ASP .NET Framework MVC projects, for [.NET Core](/netco You can easily add ServiceStack to any ASP.NET MVC project by getting it from NuGet with: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/netcore-razor.md b/MyApp/_pages/netcore-razor.md index 62d0764fcb..72b986a8b4 100644 --- a/MyApp/_pages/netcore-razor.md +++ b/MyApp/_pages/netcore-razor.md @@ -16,7 +16,7 @@ Automation, Integration testing, etc. You can find .NET Core Razor features documented in [razor.netcore.io](http://razor.netcore.io) which is maintained in our MVC NuGet package that can be installed with: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/netcore-redis.md b/MyApp/_pages/netcore-redis.md index 9403437a56..6f956e5502 100644 --- a/MyApp/_pages/netcore-redis.md +++ b/MyApp/_pages/netcore-redis.md @@ -7,14 +7,14 @@ Documentation for ServiceStack.Redis can be found on [ServiceStack.Redis Project The [ServiceStack.Redis](https://www.nuget.org/packages/ServiceStack.Redis) NuGet package supports both .NET Framework and .NET Core Applications: -::: nuget +:::copy `` ::: Use [ServiceStack.Redis.Core](https://www.nuget.org/packages/ServiceStack.Redis.Core) instead if you're running [ASP.NET Core Apps on the .NET Framework](/templates/corefx) -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/openapi.md b/MyApp/_pages/openapi.md index 1477707686..daf135e643 100644 --- a/MyApp/_pages/openapi.md +++ b/MyApp/_pages/openapi.md @@ -8,7 +8,7 @@ title: Open API [Open API](https://www.openapis.org/) is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services. ServiceStack implements the [OpenAPI Spec](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) back-end and embeds the Swagger UI front-end in a separate plugin which is available under [OpenAPI NuGet package](http://nuget.org/packages/ServiceStack.Api.OpenApi/): -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/ormlite/autogen-t4.md b/MyApp/_pages/ormlite/autogen-t4.md index fbbaba4bfd..57c3b1fe4d 100644 --- a/MyApp/_pages/ormlite/autogen-t4.md +++ b/MyApp/_pages/ormlite/autogen-t4.md @@ -12,6 +12,6 @@ The recommended way to auto generate Tables and APIs for your existing RDBMS tab [OrmLite's T4 Template](https://github.com/ServiceStack/ServiceStack.OrmLite/tree/master/src/T4) are useful in database-first development or when wanting to use OrmLite with an existing RDBMS by automatically generating POCO's and strong-typed wrappers for executing stored procedures. -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/ormlite/getting-started.md b/MyApp/_pages/ormlite/getting-started.md index 9d40e91afb..08b1ff590d 100644 --- a/MyApp/_pages/ormlite/getting-started.md +++ b/MyApp/_pages/ormlite/getting-started.md @@ -126,19 +126,19 @@ dotnet add package ServiceStack.OrmLite.MySql // MySql Or you can add the following to your `csproj` file. -::: nuget +:::copy `` ::: -::: nuget +:::copy `` ::: -::: nuget +:::copy `` ::: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/ormlite/installation.md b/MyApp/_pages/ormlite/installation.md index 70194f6cd8..67497f42f6 100644 --- a/MyApp/_pages/ormlite/installation.md +++ b/MyApp/_pages/ormlite/installation.md @@ -8,7 +8,7 @@ OrmLite packages are available on NuGet and can be installed using your IDE or b Supports **.NET 6+**, .NET Framework **v4.7.2+** and **.NET Standard 2.0** (.NET 5 and lower) -::: nuget +:::copy `` ::: @@ -16,13 +16,13 @@ Supports **.NET 6+**, .NET Framework **v4.7.2+** and **.NET Standard 2.0** (.NET Uses **[Microsoft.Data.SqlClient](https://devblogs.microsoft.com/dotnet/introducing-the-new-microsoftdatasqlclient/)** ADO .NET provider. Supports **.NET 6+** and **.NET Standard 2.0** (.NET 5 and lower) -::: nuget +:::copy `` ::: Uses **System.Data.SqlClient**. Supports **.NET 6+**, .NET Framework **v4.7.2+** and **.NET Standard 2.0** (.NET 5 and lower) -::: nuget +:::copy `` ::: @@ -30,13 +30,13 @@ Uses **System.Data.SqlClient**. Supports **.NET 6+**, .NET Framework **v4.7.2+** Uses **Mysql.Data**. Supports **.NET 6+**, .NET Framework **v4.7.2+** and **.NET Standard 2.0** (.NET 5 and lower) -::: nuget +:::copy `` ::: Uses [MySqlConnector](https://mysqlconnector.net). Supports **.NET 6+**, .NET Framework **v4.7.2+** and **.NET Standard 2.0** (.NET 5 and lower) -::: nuget +:::copy `` ::: @@ -45,20 +45,20 @@ Uses [MySqlConnector](https://mysqlconnector.net). Supports **.NET 6+**, .NET Fr Uses **[System.Data.SQLite](https://system.data.sqlite.org)**. Supports **.NET 6+**, .NET Framework **v4.7.2+** and **.NET Standard 2.0** (.NET 5 and lower) -::: nuget +:::copy `` ::: Uses **[Microsoft.Data.Sqlite](https://docs.microsoft.com/en-us/dotnet/standard/data/sqlite/)**. Supports **.NET 6+** and **.NET Standard 2.0** (.NET 5 and lower), Apple M1 ARM -::: nuget +:::copy `` ::: Uses [SQLitePCLRaw.bundle_cil](https://ericsink.com/entries/sqlite_llama_preview.html) for a managed implementation free of native binaries. **Still in Preview** but passes 100% test suite. -::: nuget +:::copy `` ::: @@ -67,19 +67,19 @@ Uses **[Microsoft.Data.Sqlite](https://docs.microsoft.com/en-us/dotnet/standard/ The `.Core` packages contains only **.NET 6** and **.NET Standard 2.0** versions which can be used in [ASP.NET Core Apps on .NET Framework](/templates/corefx): -::: nuget +:::copy `` ::: -::: nuget +:::copy `` ::: -::: nuget +:::copy `` ::: -::: nuget +:::copy `` ::: @@ -87,11 +87,11 @@ The `.Core` packages contains only **.NET 6** and **.NET Standard 2.0** versions Unofficial providers contributed and supported by ServiceStack Community users: -::: nuget +:::copy `` ::: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/plugins.md b/MyApp/_pages/plugins.md index 91cbac0d12..2e640cf1aa 100644 --- a/MyApp/_pages/plugins.md +++ b/MyApp/_pages/plugins.md @@ -447,7 +447,7 @@ The ServiceStack.Webhooks plugin is versatile and supports persisting event subs Install [ServiceStack.Webhooks](https://www.nuget.org/packages/ServiceStack.Webhooks) from NuGet: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/protobuf-format.md b/MyApp/_pages/protobuf-format.md index 63b96fb3b1..a7485a6601 100644 --- a/MyApp/_pages/protobuf-format.md +++ b/MyApp/_pages/protobuf-format.md @@ -15,7 +15,7 @@ Otherwise another fast binary serializer that supports attribute-less POCOs is t As it requires an external **protobuf-net.dll** dependency ProtoBuf support is not automatically bundled inside ServiceStack, but it is easily installed with the [ServiceStack.ProtoBuf](https://nuget.org/packages/ServiceStack.ProtoBuf) NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/rabbit-mq.md b/MyApp/_pages/rabbit-mq.md index 3899bb9abf..79a7fa08d3 100644 --- a/MyApp/_pages/rabbit-mq.md +++ b/MyApp/_pages/rabbit-mq.md @@ -21,7 +21,7 @@ enabling a number of messaging features including publishing and receiving messa ServiceStack's Rabbit MQ bindings is available on NuGet at: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/redis-mq.md b/MyApp/_pages/redis-mq.md index d9d95fef3a..100b3d25a8 100644 --- a/MyApp/_pages/redis-mq.md +++ b/MyApp/_pages/redis-mq.md @@ -54,7 +54,7 @@ mqService.RegisterHandler(ExecuteMessage); A redis-based message queue client/server that can be hosted in any .NET or ASP.NET application. All Redis MQ Hosts lives in the [ServiceStack.Server](https://github.com/ServiceStack/ServiceStack/tree/master/src/ServiceStack.Server/Messaging/Redis) project and brings the many benefits of using a Message Queue. -::: nuget +:::copy `` ::: @@ -132,7 +132,7 @@ Probably will help to understand the background concepts behind Redis so you can The `RedisMqServer` is in [ServiceStack.Server](https://www.nuget.org/packages/ServiceStack.Server) project and can be installed with: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/redis-server-events.md b/MyApp/_pages/redis-server-events.md index 061767e21e..dca82050dc 100644 --- a/MyApp/_pages/redis-server-events.md +++ b/MyApp/_pages/redis-server-events.md @@ -34,7 +34,7 @@ The above configuration will use Redis ServerEvents if there's a `RedisHost` **a RedisServerEvents is in the [ServiceStack.Server](http://www.nuget.org/packages/ServiceStack.Server) NuGet Package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/release-notes-v3.md b/MyApp/_pages/release-notes-v3.md index 2fe3d09d9e..db78fc74e2 100644 --- a/MyApp/_pages/release-notes-v3.md +++ b/MyApp/_pages/release-notes-v3.md @@ -48,7 +48,7 @@ We've simplified the build system which now has consistent naming, behavior and ServiceStack now supports Google and LinkedIn OAuth2 providers thanks to [@RobertTheGrey](https://twitter.com/RobertTheGrey) which you can add to your project with: -::: nuget +:::copy `` ::: @@ -153,7 +153,7 @@ Most of the metadata ServiceStack knows about your services are accessible from Whilst OrmLite is foremost a code-first POCO ORM, when you have to work with an existing database, the OrmLite T4 templates by [@gkathire](https://github.com/gkathire) makes it easy to get started quickly by creating code-generated POCO's for all your DB tables as well as strong-typed wrappers for existing stored procedures. These OrmLite T4 Content templates are now available to any project via NuGet: -::: nuget +:::copy `` ::: @@ -781,7 +781,7 @@ By far the biggest feature in this release is ServiceStack's much improved HTML ServiceStack's Razor support comes conveniently packaged inside a [NuGet package](https://nuget.org/packages/ServiceStack.Razor) that you can immediately get going with after creating any empty ASP.NET or Console Application (.NET 4.0+) and running: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/releases/v4_0_19.md b/MyApp/_pages/releases/v4_0_19.md index f09ad8401e..399441c7a0 100644 --- a/MyApp/_pages/releases/v4_0_19.md +++ b/MyApp/_pages/releases/v4_0_19.md @@ -103,7 +103,7 @@ The primary benefits of compiled views is improved performance by eliminating co Enabling compiled views is fairly transparent where you only need to install the new [Razor.BuildTask NuGet Package](https://www.nuget.org/packages/ServiceStack.Razor.BuildTask/) to the project containing your `.cshtml` Razor Views you want to compile: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/releases/v4_0_30.md b/MyApp/_pages/releases/v4_0_30.md index e7599041fb..3b9e6b46ec 100644 --- a/MyApp/_pages/releases/v4_0_30.md +++ b/MyApp/_pages/releases/v4_0_30.md @@ -63,7 +63,7 @@ Whilst our impl-free `ServiceStack.Interfaces.dll` was able to be converted into As of this release all PCL, platform and Silverlight dlls are now merged into the main [ServiceStack.Client](https://www.nuget.org/packages/ServiceStack.Client) NuGet packages so now any clients need only reference the main Client NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/releases/v4_0_42.md b/MyApp/_pages/releases/v4_0_42.md index 546e2f23f9..a8ea0bc37f 100644 --- a/MyApp/_pages/releases/v4_0_42.md +++ b/MyApp/_pages/releases/v4_0_42.md @@ -25,7 +25,7 @@ var response = await client.GetAsync(new GetTechnology { Slug = "servicestack" } JsonHttpClient can be downloaded from NuGet at: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/releases/v6_8.md b/MyApp/_pages/releases/v6_8.md index 6be71dcc2b..8febda50c0 100644 --- a/MyApp/_pages/releases/v6_8.md +++ b/MyApp/_pages/releases/v6_8.md @@ -981,10 +981,10 @@ Now that Npgsql's has achieved a period of stability without introducing major b for the latest stable version of Npgsql **v7.0.2** in all **.NET 6** / **.NET Standard 2.0** and **.NET Framework v4.7.2** builds in [ServiceStack.OrmLite.PostgreSQL](/ormlite/installation#postgresql): -:::nuget +:::copy <PackageReference Include="Npgsql" Version="7.0.2" /> ::: -:::nuget +:::copy <PackageReference Include="ServiceStack.OrmLite.PostgreSQL" Version="6.*" /> ::: diff --git a/MyApp/_pages/request-logger.md b/MyApp/_pages/request-logger.md index 692ea0932c..29b4f5a073 100644 --- a/MyApp/_pages/request-logger.md +++ b/MyApp/_pages/request-logger.md @@ -50,7 +50,7 @@ The [iayos.ServiceStack.RollbarPlugin](https://github.com/daleholborow/iayos.Ser To use `RollbarLoggerPlugin` install the [iayos.ServiceStack.RollbarPlugin](https://www.nuget.org/packages/iayos.ServiceStack.RollbarPlugin) NuGet package: -::: nuget +:::copy `` ::: @@ -74,7 +74,7 @@ The HTTP Request logs can also be configured to persist to a distributed [Redis] To use `RedisRequestLogger` first install the **ServiceStack.Server** NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/service-discovery.md b/MyApp/_pages/service-discovery.md index 244f86adbe..9da18adf0b 100644 --- a/MyApp/_pages/service-discovery.md +++ b/MyApp/_pages/service-discovery.md @@ -12,7 +12,7 @@ by [Scott Mackay](https://github.com/wwwlicious) leverages the hardened distribu highly available features in [consul.io](https://www.consul.io/) to provide automatic registration and de-registration of ServiceStack Services on AppHost **StartUp** and **Dispose** that's available from: -::: nuget +:::copy `` ::: @@ -55,7 +55,7 @@ The [RedisServiceDiscoveryFeature](https://github.com/rsafier/ServiceStack.Disco [Richard Safier](https://github.com/rsafier) has similar goals to provide transparent service discovery but only requires access to Redis-backed datastore, but is otherwise just as easy to install: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/stripe.md b/MyApp/_pages/stripe.md index 47f900e4ba..18a2283460 100644 --- a/MyApp/_pages/stripe.md +++ b/MyApp/_pages/stripe.md @@ -20,7 +20,7 @@ We welcome PR's with support of missing APIs which typically only requires addin Install from NuGet with: -:::nuget +:::copy `` ::: @@ -28,7 +28,7 @@ Install from NuGet with: To use this library in [ASP.NET Core Apps running on the .NET Framework](/templates/corefx), install the **.NET Standard 2.0** only NuGet package instead: -:::nuget +:::copy `` ::: diff --git a/MyApp/_pages/swagger-api.md b/MyApp/_pages/swagger-api.md index 1c01d58da4..34c2c835da 100644 --- a/MyApp/_pages/swagger-api.md +++ b/MyApp/_pages/swagger-api.md @@ -10,7 +10,7 @@ title: Swagger API [Swagger](http://swagger.io/) is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services. ServiceStack implements the [Swagger 1.2 Spec](https://github.com/swagger-api/swagger-spec/blob/master/versions/1.2.md) back-end and embeds the Swagger UI front-end in a separate plugin which is available under [Swagger NuGet package](http://nuget.org/packages/ServiceStack.Api.Swagger/): -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/templates/aspnet-empty.md b/MyApp/_pages/templates/aspnet-empty.md index 4584effbd3..097e8cd9a6 100644 --- a/MyApp/_pages/templates/aspnet-empty.md +++ b/MyApp/_pages/templates/aspnet-empty.md @@ -108,11 +108,11 @@ You can then easily [Convert this empty template into a functional ServiceStack 1) Installing ServiceStack and any other dependency you want to use, e.g: -::: nuget +:::copy `` ::: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/webhooks.md b/MyApp/_pages/webhooks.md index 22bb12cb5d..059eef5cf9 100644 --- a/MyApp/_pages/webhooks.md +++ b/MyApp/_pages/webhooks.md @@ -11,7 +11,7 @@ The [WebHookFeature](https://github.com/jezzsantos/servicestack.webhooks) plugin by [Jezz Santos](https://github.com/jezzsantos) makes it very easy to expose webhook notifications from your ServiceStack services, and helps you manage your user's subscriptions to those webhooks.: -::: nuget +:::copy `` ::: diff --git a/MyApp/_pages/wire-format.md b/MyApp/_pages/wire-format.md index 2b8c7c591e..352872d189 100644 --- a/MyApp/_pages/wire-format.md +++ b/MyApp/_pages/wire-format.md @@ -17,7 +17,7 @@ code-first POCO DTOs. Wire is easily installed with the [ServiceStack.Wire](https://nuget.org/packages/ServiceStack.Wire) NuGet package: -::: nuget +:::copy `` ::: diff --git a/MyApp/wwwroot/css/typography.css b/MyApp/wwwroot/css/typography.css index ffc1a21653..25fc412240 100644 --- a/MyApp/wwwroot/css/typography.css +++ b/MyApp/wwwroot/css/typography.css @@ -80,6 +80,7 @@ } /* custom containers */ +.copy p, .copy p code { color:#fff } .sh-copy { max-height: 34px; } .copied { display: none} .copying .copied { display: block } @@ -87,8 +88,6 @@ .cp p, .cp p code { margin:0; padding:0 } -.nuget-copy p, .nuget-copy p code { color:#fff } - .sh-copy code { font-size: 16px } .sh-copy p, .sh-copy p code { color: rgb(243 244 246) } .sh-copy p::before { content:'$ '; color: rgb(156 163 175) } diff --git a/MyApp/wwwroot/mjs/docs.mjs b/MyApp/wwwroot/mjs/docs.mjs index 89fb4fdc30..82a0743638 100644 --- a/MyApp/wwwroot/mjs/docs.mjs +++ b/MyApp/wwwroot/mjs/docs.mjs @@ -37,7 +37,7 @@ if (active && !isInView(active)) { (active.parentElement.previousElementSibling || active.parentElement.parentElement || active).scrollIntoView() } -/* used in :::sh and :::nuget CopyContainerRenderer */ +/* used in :::copy and :::sh CopyContainerRenderer */ globalThis.copy = function(e) { e.classList.add('copying') let $el = document.createElement("textarea")