Skip to main content
0 votes
0 answers
5 views

Lock out a user using ASP.NET Core Identity

Has anyone figured out a way to lock out users using ASP.NET Core Identity? I've found you can set LockoutEnd to a datetime in the future and that user will not be able to log in. However, users don't ...
Jonathan Wood's user avatar
0 votes
0 answers
3 views

How to specify DynamicTemplate when creating an index using the .NET library?

I'm in the process of migrating from the NEST library to the new Elasticsearch .NET library, and I'm encountering a compile-time error while trying to create a CreateIndexRequest. Here's the code I've ...
Jay's user avatar
  • 2,144
0 votes
0 answers
4 views

How to query Elasticsearch server using the .NET library by looking at multiple values on the same field?

I'm using the Elasticsearch .NET library to query an index, but I'm encountering an issue with constructing a Terms query. Here's the code snippet I tried: var result = await elasticClient.SearchAsync&...
Jay's user avatar
  • 2,144
0 votes
0 answers
4 views

log4net cannot Configure in .NET class library called from Win32 exe

I have a native win32 (C++) application that references and uses classes from a C# .NET80 Class Library. The Class Library uses log4net 3.0.2. When the class library initializes log4net using ...
user1757226's user avatar
0 votes
0 answers
8 views

Getting The Wrong Status Codes From HTTP Client Requests

I wrote a simple windows forms application that helps me test HTTP status codes. I've been having an issue where I'm getting bogus status codes from HTTPClient request though. Code below: private ...
Hunter Nelson's user avatar
0 votes
0 answers
11 views

ASP.NET Migrations

So I have built my web app almost entirely successful but I still have only one issue. I have extended the IdentityUser with ApplicationUser but that doesn't matter at all. In the configuration of ...
32 denka's user avatar
0 votes
0 answers
10 views

CreatedAtAction for a Post request of register

I have an AuthController class with a register Post request: public class AuthController(UserManager<User> userManager, IMapper mapper) : BaseApiController { [HttpPost("register")] ...
ckarakoc's user avatar
0 votes
0 answers
17 views

returning specific generic type based on constraint

I have a method that is giving me a compile error as follows: interface INoun {} class Person : INoun {} class Place : INoun {} class Thing : INoun {} enum NounTypes { Person,Place,Thing } //... ...
ewok's user avatar
  • 21.3k
0 votes
0 answers
14 views

Comparing Screenshot images with OpenCV & C# .NET

I have been working on a solution that aims to improve our companies screenshot comparison. Currently, we are seeing lots of failures due to pixel differences etc. I have implemented a solution in ...
DeltaRage123's user avatar
2 votes
1 answer
16 views

Blazor app doesn't load and uses large amounts of RAM when layout is declared in _Imports.razor

I created a .NET 9 Blazor web app project with VS 2022 17.12.0, and included personal accounts for the auth. I want to set up an admin section, that only authenticated users can access it. To test ...
Avrohom Yisroel's user avatar
0 votes
0 answers
6 views

Authenticating Blazor Hybrid App on a Blazor Web App

I am looking to develop a Blazor hybrid application that would work on android and windows and also a Blazor Web application to serve as a server for the hybrid application. I was looking for the best ...
Slothie's user avatar
  • 59
0 votes
0 answers
5 views

how to add a vertex to a Bezier curvewith smooth control points

Given two end point (P0, P3), two control points(P1,P2) and a new vertex on the curve(v), I would like to calculate the two new control points for the new vertex that are aligned in smooth method ...
SA_Archer's user avatar
  • 103
0 votes
0 answers
10 views

How does one access the Request Stream when using HttpClient when building a proxy?

I am building a simple proxy server in .NET 8. The process is as follows: A client POSTs a request (possibly a large one) My proxy server gets that request and needs to process the incoming stream to ...
twreynol's user avatar
  • 413
-7 votes
0 answers
27 views

How can I get increments and decrements by coding in Behance? [closed]

I want to learn how to increase the value of the crypto I bought by writing code for Behance.How can I do this? I want to learn how to increase the value of the crypto I bought by writing code for ...
Farid's user avatar
  • 1
0 votes
0 answers
7 views

Native iOS lib seems to be trimmed when Release build used in MAUI

I'm trying to use native iOS library lib.a in MAUI. It works well in Debug build, but when I try to build Release I see Undefined symbols for architecture arm64 errors. I saw these errors previously, ...
Aliaksei Kartashou's user avatar

15 30 50 per page
1
2 3 4 5
108205