modified readmes to point to Track 2 content; moved files to right folder
This commit is contained in:
Родитель
d6bf8b16c8
Коммит
da5dd91c64
|
@ -1,3 +1,7 @@
|
|||
# Role based access sample with Microsoft.Azure.EventHubs SDK #
|
||||
|
||||
For more information on Role based access (RBAC) and how to run this sample follow [this](https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-role-based-access-control) link.
|
||||
|
||||
**Note**: This sample uses the legacy Event Hubs library `Microsoft.Azure.EventHubs`. We strongly recommend you to use the new library `Azure.Messaging.EventHubs`.
|
||||
|
||||
Leveraging `Azure.Identity`, the new library simplifies the authentication workflow with `DefaultAzureCredential`. Under the hood, `DefaultAzureCredential` combines commonly used credentials, such as managed identity, authentication information set via environment variables or from a logged in Visual Studio Code Azure Account, to authenticate. It attempts to authenticate using the credentials in a specific order. See [here](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/identity/Azure.Identity#azure-identity-client-library-for-net) for more details.
|
|
@ -1,12 +1,5 @@
|
|||
# Receive events with the Event Processor Host in .NET Standard with a custom role which grants Listen claim for Event Hubs and blob claims for Storage accounts.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
* [Microsoft Visual Studio 2015 or 2017](http://www.visualstudio.com).
|
||||
* [.NET Core Visual Studio 2015 or 2017 tools](http://www.microsoft.com/net/core).
|
||||
* An Azure subscription.
|
||||
* [An event hub namespace and an event hub](event-hubs-quickstart-namespace-portal.md).
|
||||
* An Azure Storage account.
|
||||
|
||||
## Run the sample
|
||||
|
||||
|
@ -43,3 +36,19 @@ To run the sample, follow these steps:
|
|||
6. Update the sample with Event Hubs namespace and Storage account name.
|
||||
7. Run [Sender application](https://github.com/Azure/azure-event-hubs/tree/serkar.AddCustomRbacEhSample/samples/DotNet/Microsoft.Azure.EventHubs/SampleSender) to send some number of messages to your event hub.
|
||||
8. Run the CustomRole sample to receive those events back.
|
||||
|
||||
**Note:** This sample uses the legacy Event Hubs library `Microsoft.Azure.EventHubs`. We strongly recommend you to use the new library `Azure.Messaging.EventHubs`.
|
||||
|
||||
See [this](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/identity/Azure.Identity/samples/DefiningCustomCredentialTypes.md#authenticating-with-the-on-behalf-of-flow) sample that uses the new library to authenticate after the environment variables for client id and secret are set.
|
||||
|
||||
|
||||
|
||||
## Prerequisites
|
||||
|
||||
* [Microsoft Visual Studio 2015 or 2017](http://www.visualstudio.com).
|
||||
* [.NET Core Visual Studio 2015 or 2017 tools](http://www.microsoft.com/net/core).
|
||||
* An Azure subscription.
|
||||
* [An event hub namespace and an event hub](event-hubs-quickstart-namespace-portal.md).
|
||||
* An Azure Storage account.
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Managed Service Identity sample #
|
||||
|
||||
For more information on Managed Service Identity (MSI) and how to run this sample follow [this](https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-managed-service-identity) link.
|
||||
**Note:** This sample uses the legacy Event Hubs library `Microsoft.Azure.EventHubs`. We strongly encourage you to use the new library `Azure.Messaging.EventHubs`. Here is the corresponding sample using the new library: [link](https://github.com/Azure/azure-event-hubs/tree/master/samples/DotNet/Azure.Messaging.EventHubs/ManagedIdentityWebApp).
|
||||
|
||||
For more information on Managed Service Identity (MSI) and how to run this sample follow this [link](https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-managed-service-identity).
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
This sample shows how to write a .NET Core console application that receives a set of events from an event hub by using the **Event Processor Host** library. You can run the solution as-is, replacing the strings with your event hub and storage account values. The sample is also [available as a tutorial](https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-dotnet-standard-getstarted-receive-eph).
|
||||
|
||||
**Note:** This sample uses the legacy Event Hubs library `Microsoft.Azure.EventHubs`. We strongly encourage you to use the new library `Azure.Messaging.EventHubs`. Here is the corresponding sample using the new library: [link](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventhub/Azure.Messaging.EventHubs.Processor/samples/Sample04_ProcessingEvents.md).
|
||||
|
||||
## Prerequisites
|
||||
|
||||
* [Microsoft Visual Studio 2015 or 2017](http://www.visualstudio.com).
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
This sample shows how to write a .NET Core console application that sends a set of events to an event hub. You can run the solution as-is, replacing the `EhConnectionString` and `EhEntityPath` strings with your event hub values. The sample is also [available as a tutorial](https://docs.microsoft.com/azure/event-hubs/event-hubs-dotnet-standard-getstarted-send).
|
||||
|
||||
**Note:** This sample uses the legacy Event Hubs library `Microsoft.Azure.EventHubs`. We strongly encourage you to use the new library `Azure.Messaging.EventHubs`. Here is the corresponding sample using the new library: [link](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventhub/Azure.Messaging.EventHubs/samples/Sample04_PublishingEvents.md).
|
||||
|
||||
|
||||
## Prerequisites
|
||||
|
||||
* [Microsoft Visual Studio 2015 or 2017](http://www.visualstudio.com).
|
||||
|
|
Загрузка…
Ссылка в новой задаче