azure-cosmos-dotnet-v2/samples/code-samples/Readme.md

47 строки
2.4 KiB
Markdown
Исходник Обычный вид История

2020-08-08 00:59:42 +03:00
## <a id="Introduction"></a>Introduction ##
2015-04-15 20:26:24 +03:00
These samples demonstrate how to use the .NET Client SDK to interact with the [Azure DocumentDB](http://azure.microsoft.com/services/documentdb) service
2020-08-08 00:59:42 +03:00
## <a id="Building"></a>Building the sample ##
2015-04-15 20:26:24 +03:00
2016-03-26 01:05:40 +03:00
Open in solution Visual Studio, hit build the solution and enjoy ...
2015-04-15 20:26:24 +03:00
The solution has been configured to restore missing NuGet packages, so it should "just work", but in case it does not, you will need to manually install the DocumentDB NuGet package. To do this, open the NuGet package console on the solution and select the "Restore" button top left.
If the button is not there, then just manually search for the package (DocumentDB) and install it.
2015-06-02 01:58:16 +03:00
Before you can run any of the samples you do need an active Azure DocumentDB account.
So head over to [Azure](http://portal.azure.com) and sign-up for your account.
2015-04-15 20:26:24 +03:00
2020-08-08 00:59:42 +03:00
## <a id="Description"></a>Description ##
2015-04-15 20:26:24 +03:00
Azure DocumentDB is a fully managed, scalable, queryable, schema free JSON document database service built for modern applications and delivered to you by Microsoft.
These samples demonstrate how to use the Client SDKs to interact with the service.
2015-06-02 01:58:16 +03:00
- **CollectionManagement** - CRUD operations on DocumentCollection resources
2015-04-15 20:26:24 +03:00
- **DatabaseManagent** - CRUD operations on Database resources
- **DocumentManagement** - CRUD operations on Document resources
- **IndexManagement** - shows samples on how to custimize the Indexing Policy for a Collection should you need to.
2015-06-02 01:58:16 +03:00
- **Partitioning** - Samples for common partitioning scenarios using the .NET SDK
2015-04-15 20:26:24 +03:00
- **Queries** - Samples on how to query for Documents in DocumentDB showing LINQ and SQL
- **ServerSideScripts** - Samples on how to create and execute Stored Procedures, Triggers and User Defined Functions.
2015-06-02 01:58:16 +03:00
- **UserManagement** - CRUD operations on User and Permission resources
2016-02-03 00:45:53 +03:00
2016-02-03 00:44:51 +03:00
- **Spatial** - How to work with GeoJSON and DocumentDB geospatial capabilities
2015-04-15 20:26:24 +03:00
After walking through these samples you should have a good idea of how to get going and how to make user of the various Azure DocumentDB APIs.
2015-06-02 01:58:16 +03:00
There are step-by-step tutorials and more documentation on the [DocumentDB domentation](http://azure.microsoft.com/en-us/documentation/services/documentdb/) page so head on over, sign-up, and learn about this cool new NoSQL document database.
2015-04-15 20:26:24 +03:00
2020-08-08 00:59:42 +03:00
## <a id="More"></a>More information ##
2015-04-15 20:26:24 +03:00
For more information please refer to the [Azure DocumentDB](http://azure.microsoft.com/services/documentdb) service page.