Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "maliming"

please refer: <a class="postlink" href="https://timmlotter.com/blog/asp-net-identity-invalidate-all-sessions-on-securitystamp-update/">https://timmlotter.com/blog/asp-net-ide ... mp-update/</a>

<a class="postlink" href="https://aspnetzero.com/Documents/Extending-Existing-Entities">https://aspnetzero.com/Documents/Extend ... g-Entities</a>

This tutorial is a step by step guide to learn how to add new properties to existing entities, from database layer to UI layer.

The website chooses an IP. LAN A and LAN B respectively access the IP addresses that they can access. IIS does a local reverse proxy for another IP

[attachment=0:341icla8]3.jpg[/attachment:341icla8]

By default, you can access the website. If the website is bound to IP, please bind both IPs.

Can you share the error stack information?

services.ConfigureApplicationCookie(options =>
{
	options.Events.OnValidatePrincipal = context =>
	{
		//You can judge here.
		return Task.CompletedTask;
	};
});

<a class="postlink" href="https://github.com/aspnet/Security/blob/a0d6d3e88f974ac8b66890b34d2c28ebd3f25de0/src/Microsoft.AspNetCore.Authentication.Cookies/CookieAuthenticationHandler.cs#L178">https://github.com/aspnet/Security/blob ... er.cs#L178</a>

Note: There may be performance issues

I think the problem lies in the asynchronous of foreach. If you haven't solved the email, you can send the project to me (you can streamline the code)

<a href="mailto:[email protected]">[email protected]</a>

If you want to let the user quit immediately, you need to verify the user information for each request (there will be performance issues,).

Answer

What is the error message in the log when http 500 appears?

You can take a look at this [https://aspnetzero.com/Documents/Development-Guide-Core#token-based-authentication]) document with information about Token

Showing 2901 to 2910 of 2998 entries