<commit_before>---
lodash: true
title: ASP.NET (OWIN) Tutorial
name: ASP.NET (OWIN)
image: /media/platforms/asp.png
tags:
  - quickstart
snippets:
  dependencies: server-platforms/aspnet-owin/dependencies
  setup: server-platforms/aspnet-owin/setup
  use: server-platforms/aspnet-owin/use
alias:
  - aspnetowin
  - owin
---

# ASP.NET (OWIN) Tutorial

<%= include('../_includes/_package', {
  pkgRepo: 'auth0-aspnet-owin',
  pkgBranch: 'master',
  pkgPath: 'examples/basic-mvc-sample',
  pkgFilePath: 'examples/basic-mvc-sample/BasicMvcSample/Web.config',
  pkgType: 'replace' + account.clientParam
}) %>

This tutorial explains how to integrate Auth0 with an ASP.NET application (WebForms, MVC and even Web API) that uses the ASP.NET 4.5 OWIN infrastructure.

## Tutorial

### 1. Install Auth0-ASPNET-Owin NuGet package

Use the NuGet Package Manager (Tools -> NuGet Package Manager -> Package Manager Console) to install the **Auth0-ASPNET-Owin** package, running the command:

${snippet(meta.snippets.dependencies)}<commit_msg>Update aspnet-owin.md<commit_after>---
lodash: true
title: ASP.NET (OWIN) Tutorial
name: ASP.NET (OWIN)
image: /media/platforms/asp.png
tags:
  - quickstart
snippets:
  dependencies: server-platforms/aspnet-owin/dependencies
  setup: server-platforms/aspnet-owin/setup
  use: server-platforms/aspnet-owin/use
alias:
  - aspnetowin
  - owin
---

# ASP.NET (OWIN) Tutorial

<%= include('../_includes/_package', {
  pkgRepo: 'auth0-aspnet-owin',
  pkgBranch: 'master',
  pkgPath: 'examples/basic-mvc-sample',
  pkgFilePath: 'examples/basic-mvc-sample/BasicMvcSample/Web.config',
  pkgType: 'replace' + account.clientParam
}) %>

This tutorial explains how to integrate Auth0 with an ASP.NET application (WebForms, MVC and even Web API) that uses the ASP.NET 4.5 OWIN infrastructure.

## Tutorial
::: panel-info System Requirements
This tutorial and seed project have been tested with the following:

* MicroSoft Visual Studio 2015
* Auth0-ASPNET-Owin  v1.0.2

:::

### 1. Install Auth0-ASPNET-Owin NuGet package

Use the NuGet Package Manager (Tools -> NuGet Package Manager -> Package Manager Console) to install the **Auth0-ASPNET-Owin** package, running the command:

${snippet(meta.snippets.dependencies)}
{'fraction_non_alphanumeric': 0.1252236135957066, 'fraction_numerical': 0.009838998211091235, 'mean_word_length': 4.403381642512077, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4613055', 'n_tokens_mistral': 793, 'n_tokens_neox': 744, 'n_words': 200}