# \#aspnet

**URL:** https://community.auth0.com/tag/aspnet/270.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Secure a C# MCP Server with Auth0](https://community.auth0.com/t/secure-a-c-mcp-server-with-auth0/198026)

<div class="topic-metadata">

**Author:** [@andrea.chiarelli](https://community.auth0.com/u/andrea.chiarelli)\
**Replies:** 1\
**Last updated:** [March 12, 2026, 5:06pm UTC](https://community.auth0.com/t/secure-a-c-mcp-server-with-auth0/198026 "2026-03-12T17:06:16Z")

</div>

Learn how to build and secure an MCP server in .NET using Auth0. Read the full post here.

---

## [Secure a .NET RAG System with Auth0 FGA](https://community.auth0.com/t/secure-a-net-rag-system-with-auth0-fga/192644)

<div class="topic-metadata">

**Author:** [@andrea.chiarelli](https://community.auth0.com/u/andrea.chiarelli)\
**Replies:** 1\
**Last updated:** [October 1, 2025, 12:50pm UTC](https://community.auth0.com/t/secure-a-net-rag-system-with-auth0-fga/192644 "2025-10-01T12:50:26Z")

</div>

This blog post shows youhow to secure an AI chatbot built with .NET Blazor using the RAG pattern and make sure that users can only access information from documents they have permission to view.

---

## [Fine-Grained Authorization in ASP.NET Core with Auth0 FGA](https://community.auth0.com/t/fine-grained-authorization-in-asp-net-core-with-auth0-fga/191501)

<div class="topic-metadata">

**Author:** [@andrea.chiarelli](https://community.auth0.com/u/andrea.chiarelli)\
**Replies:** 1\
**Last updated:** [September 5, 2025, 9:37am UTC](https://community.auth0.com/t/fine-grained-authorization-in-asp-net-core-with-auth0-fga/191501 "2025-09-05T09:37:12Z")

</div>

Learn how to enhance authorization control in ASP.NET Core using Auth0’s Fine-Grained Authorization (FGA).

---

## [Password hashing on custom login script for custom database integration with ASP.NET Membership Provider](https://community.auth0.com/t/password-hashing-on-custom-login-script-for-custom-database-integration-with-asp-net-membership-provider/72813)

<div class="topic-metadata">

**Author:** [@matei.r](https://community.auth0.com/u/matei.r)\
**Replies:** 1\
**Last updated:** [November 9, 2021, 12:49pm UTC](https://community.auth0.com/t/password-hashing-on-custom-login-script-for-custom-database-integration-with-asp-net-membership-provider/72813 "2021-11-09T12:49:59Z")

</div>

Hello, I wanted to post this to help anyone that may be facing the same problem and spare them the pain. The problem we had was that the password hashing done in Auth0’s predefined login templates for the ASP NET Members…

---

## [Hex Problems with asp.net core 2](https://community.auth0.com/t/hex-problems-with-asp-net-core-2/9388)

<div class="topic-metadata">

**Author:** [@alboy060694](https://community.auth0.com/u/alboy060694)\
**Replies:** 1\
**Last updated:** [December 17, 2018, 3:11pm UTC](https://community.auth0.com/t/hex-problems-with-asp-net-core-2/9388 "2018-12-17T15:11:44Z")

</div>

Hey guys, sry for my bad english. I have user the Quick setup options, i become alltime this error: An unhandled exception occurred while processing the request. XmlException: ‘.’, hexadecimal value 0x00, is an invali…

---

## [Should I share access\_token with Javascript](https://community.auth0.com/t/should-i-share-access-token-with-javascript/9247)

<div class="topic-metadata">

**Author:** [@jeff.espenschied](https://community.auth0.com/u/jeff.espenschied)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 6:01pm UTC](https://community.auth0.com/t/should-i-share-access-token-with-javascript/9247 "2018-12-14T18:01:25Z")

</div>

I have a traditional ASP.NET MVC application that I have configured to authenticate users with Auth0. In that app, I am calling my own API that is also setup with authentication through Auth0. I also want to call that AP…

---

## [Unauthorized 401 with Azure SQL](https://community.auth0.com/t/unauthorized-401-with-azure-sql/7913)

<div class="topic-metadata">

**Author:** [@vishalm](https://community.auth0.com/u/vishalm)\
**Replies:** 3\
**Last updated:** [January 18, 2018, 10:40pm UTC](https://community.auth0.com/t/unauthorized-401-with-azure-sql/7913 "2018-01-18T22:40:03Z")

</div>

I am doing some testing in regards to importing users from my current database(Azure SQL). I have set all my connection settings as needed and also added the IP Addresses to my Azure SQL firewall, but still receiving Una…

---

## [Redirected to Facebook after logout (Owin, wsfederation)](https://community.auth0.com/t/redirected-to-facebook-after-logout-owin-wsfederation/8957)

<div class="topic-metadata">

**Author:** [@andreas.westling](https://community.auth0.com/u/andreas.westling)\
**Replies:** 1\
**Last updated:** [December 28, 2017, 6:26pm UTC](https://community.auth0.com/t/redirected-to-facebook-after-logout-owin-wsfederation/8957 "2017-12-28T18:26:27Z")

</div>

I’m using Owin middleware to configure ws-federated authentication for my MVC application. I’ve enabled Facebook as a social connection. Everything works when logging in using Facebook, but when loggin out I’m always re…

---

## [Configure ASP .NET Web API middleware to accept HS256 and RS256](https://community.auth0.com/t/configure-asp-net-web-api-middleware-to-accept-hs256-and-rs256/8678)

<div class="topic-metadata">

**Author:** [@sarala.muralikrishna](https://community.auth0.com/u/sarala.muralikrishna)\
**Replies:** 4\
**Last updated:** [November 10, 2017, 10:21pm UTC](https://community.auth0.com/t/configure-asp-net-web-api-middleware-to-accept-hs256-and-rs256/8678 "2017-11-10T22:21:12Z")

</div>

I am developing an restful API using ASP .NET Web API, as you can imaging there will be many clients using it developed in many different languages. I see that in Auth0 samples for .NET core example they setup to use HS2…

---

## [ASP.NET Web Site or ASP.NET Web Application?](https://community.auth0.com/t/asp-net-web-site-or-asp-net-web-application/8313)

<div class="topic-metadata">

**Author:** [@iamsaanvig](https://community.auth0.com/u/iamsaanvig)\
**Replies:** 1\
**Last updated:** [September 27, 2017, 2:54pm UTC](https://community.auth0.com/t/asp-net-web-site-or-asp-net-web-application/8313 "2017-09-27T14:54:07Z")

</div>

When I start a new ASP.NET project in Visual Studio, I can create an ASP.NET Web Application or I can create an ASP .NET Web Site. What is the difference between ASP .NET Web Application and ASP .NET Web Site? Why would…

---

## [Roles in ASP.NET System.Web sample](https://community.auth0.com/t/roles-in-asp-net-system-web-sample/7740)

<div class="topic-metadata">

**Author:** [@ben4](https://community.auth0.com/u/ben4)\
**Replies:** 1\
**Last updated:** [August 4, 2017, 6:17pm UTC](https://community.auth0.com/t/roles-in-asp-net-system-web-sample/7740 "2017-08-04T18:17:51Z")

</div>

I am trying to use the sample code to authenticate users in my site which I have successfully done. However, in the sample there is some commented out code that is related to roles and claims. When I uncomment these, th…

---

## [ASP.NET Core MVC calling api](https://community.auth0.com/t/asp-net-core-mvc-calling-api/7638)

<div class="topic-metadata">

**Author:** [@matteolocher](https://community.auth0.com/u/matteolocher)\
**Replies:** 1\
**Last updated:** [August 1, 2017, 8:13pm UTC](https://community.auth0.com/t/asp-net-core-mvc-calling-api/7638 "2017-08-01T20:13:59Z")

</div>

I have a microservice architecture with a ASP.NET Core MVC application as a frontend. All the microservices are also implemented as ASP.NET Core services (Rest Services). I created a Client in my dashboard and a API for …

---

## [Getting Could not Create Type 'ASP.LoginCallback' error with ASP.NET SDK](https://community.auth0.com/t/getting-could-not-create-type-asp-logincallback-error-with-asp-net-sdk/6958)

<div class="topic-metadata">

**Author:** [@nick2](https://community.auth0.com/u/nick2)\
**Replies:** 1\
**Last updated:** [June 9, 2017, 9:34pm UTC](https://community.auth0.com/t/getting-could-not-create-type-asp-logincallback-error-with-asp-net-sdk/6958 "2017-06-09T21:34:54Z")

</div>

After attempting to integrate our ASP .NET C# application with Auth0 and after installing the package and taking care of all of the steps I am left with a compile error of: Could not create type 'ASP.LoginCallback' An…

---

## [JWT Decode .NET broke when setting RS256](https://community.auth0.com/t/jwt-decode-net-broke-when-setting-rs256/6773)

<div class="topic-metadata">

**Author:** [@Steve\_McNiven-Scott](https://community.auth0.com/u/Steve_McNiven-Scott)\
**Replies:** 2\
**Last updated:** [May 29, 2017, 8:19pm UTC](https://community.auth0.com/t/jwt-decode-net-broke-when-setting-rs256/6773 "2017-05-29T20:19:37Z")

</div>

This is the decode method I was using, worked fine, but when we moved to the RS256 it tanks when “verify” is true. Otherwise everything decodes okay… is this a concern?
