<commit_before>---
services: service-fabric
platforms: dotnet
author: vturecek
---

# Service Fabric IoT Sample #

This sample project demonstrates a multi-tenant IoT solution using Azure IoT Hub for device message ingress and Azure Service Fabric for device message access and processing. 

## Setup

 1. [Install Visual Studio 2017](https://www.visualstudio.com/). Any version will do. Make sure you have the following workloads installed:
    - Azure development
    - .NET Core cross-platform development
 2. [Set up your Service Fabric development environment](https://azure.microsoft.com/documentation/articles/service-fabric-get-started/).
 3. [Create an IoT Hub in Azure](https://azure.microsoft.com/documentation/articles/iot-hub-csharp-csharp-getstarted/#create-an-iot-hub) or use an existing IoT Hub in your Azure subscription that is not currently being used in a production application. The sample application will run without IoT Hub, but you won't be able to send devices messages through without it. If you're creating a new IoT Hub to run the sample, you can simply use the **F1 - Free** tier under **pricing and scale tier** in the Azure portal.

*Looking for the Visual Studio 2015 version? It's in the [vs2015 branch](https://github.com/Azure-Samples/service-fabric-dotnet-iot/tree/vs2015)*

## Deploy<commit_msg>Updating with sample metadata.<commit_after>---
languages:
- csharp
products:
- azure
topic: sample
---

# Service Fabric IoT Sample #

This sample project demonstrates a multi-tenant IoT solution using Azure IoT Hub for device message ingress and Azure Service Fabric for device message access and processing. 

## Setup

 1. [Install Visual Studio 2017](https://www.visualstudio.com/). Any version will do. Make sure you have the following workloads installed:
    - Azure development
    - .NET Core cross-platform development
 2. [Set up your Service Fabric development environment](https://azure.microsoft.com/documentation/articles/service-fabric-get-started/).
 3. [Create an IoT Hub in Azure](https://azure.microsoft.com/documentation/articles/iot-hub-csharp-csharp-getstarted/#create-an-iot-hub) or use an existing IoT Hub in your Azure subscription that is not currently being used in a production application. The sample application will run without IoT Hub, but you won't be able to send devices messages through without it. If you're creating a new IoT Hub to run the sample, you can simply use the **F1 - Free** tier under **pricing and scale tier** in the Azure portal.

*Looking for the Visual Studio 2015 version? It's in the [vs2015 branch](https://github.com/Azure-Samples/service-fabric-dotnet-iot/tree/vs2015)*

## Deploy
{'fraction_non_alphanumeric': 0.08672897196261682, 'fraction_numerical': 0.014953271028037384, 'mean_word_length': 4.330677290836653, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '431884', 'n_tokens_mistral': 768, 'n_tokens_neox': 677, 'n_words': 316}