Skip to main content

Questions tagged [asp.net-core]

ASP.NET Core is an open-source, cross-platform framework for building web applications. Use this tag for questions about ASP.NET Core applications. Use a specific version tag when your question is specific to a particular version of ASP.NET Core.

asp.net-core
-1 votes
0 answers
8 views

Send a form using ajax on ASP.NET Core 8 MVC

I want to implement a form in which there are various types of inputs, such as several text and file type inputs for sending photo, and the information must be sent through ajax and with a model, and ...
Ashkan Amjad's user avatar
0 votes
0 answers
5 views

How do I Copy Metronic(8.2.6) Files into my Asp.net Core project?

I'm a beginner at metronic,and now i have metronic8(8.2.6) Files. I create asp.net core admin Project,and want use Metronic for UI.but i don't know how to copy Metronic's JS/CSS etc files into my ...
JeanLi_DEV's user avatar
0 votes
0 answers
35 views

Mock constructor arguments of inherited classes which differ from parent class costructor arguments

I'm writing tests for controllers actions of ASP.Net Core application. All controllers of my app inherited from base controller, let's call it MyBaseController. Constructor of this class looks like ...
Ivan Kozlov's user avatar
0 votes
0 answers
44 views

How can I improve performance and increase the speed of processing data so that it takes short time read and process 500,000 records

I'm having a .net core console application that reads parts of the JSON files stored in a folder the part of the JSON that I'm reading contains greater than 500,000 records in it, I'm able to read all ...
Janeth Jackson's user avatar
1 vote
1 answer
28 views

How to insert a custom object into an User using foreign key

I'm currently having problem with displaying a custom object property because the program doesn't seem to insert the associated value from the table with appropriate foreign key. Here are the codes ...
Trung Đặng Đức's user avatar
0 votes
1 answer
60 views

How is it possible to start more threads than my machine's logical cores? [closed]

I have created below program to understand the threads. Below program creates 1000 threads and created the loop to run for very very long. for(int i = 0; i < 1000; i++) { var j = i; Console....
Sivarajan Sivanesan's user avatar
0 votes
1 answer
20 views

How to validate token without kid

Microsoft.IdentityModel.Tokens.SecurityTokenSignatureKeyNotFoundException: 'IDX10503: Signature validation failed. Token does not have a kid. Keys tried: '[PII of type 'System.Text.StringBuilder' is ...
Somesh Banjare's user avatar
0 votes
1 answer
27 views

Error during XSLT transformation: An error occurred while loading document 'https://ex.com/example.xml'. See InnerException forcomplete description

I keep getting an error during XSLT transformation: An error occurred while loading document 'https://www.example.com/myxml/example.xml'. See InnerException for a complete description of the error. I ...
Tom McDonald's user avatar
  • 1,782
0 votes
1 answer
24 views

Enable interactive render mode on Blazor templates accounts pages

Question: I'm working on a Blazor project where the template for all account pages is set to RenderMode.Server. I want to make some of these account pages interactive, so I tried to enable the ...
ace90210's user avatar
0 votes
0 answers
23 views

Json parse error while using /login method from WebApiCore Identity provided by [email protected]

While configuring authentication and autorization with web.api endpoints and using: \packages\microsoft.aspnetcore.identity.entityframeworkcore\8.0.6 \packages\microsoft.entityframeworkcore.sqlserver\...
Pedro Figueiredo's user avatar
0 votes
0 answers
25 views

Should I create separate Customer and Staff entities with ASP.NET Core Identity and Entity Framework Core

I'm currently developing a multi-tenant, single database web application using ASP.NET Core and Entity Framework Core. I have two kinds of users: Customers Staff Customers are not tied up to any ...
Developer Account's user avatar
0 votes
1 answer
45 views

Is it possible to return IQueryable from a repository? [closed]

I have an ASP.NET Core Web API. I'm using the repository pattern, where the GetAll method returns an IQueryable collection to filter the data on the database side. Is this correct? Here's the ...
Андрей's user avatar
-1 votes
0 answers
23 views

Issue in a controller of an ASP.NET Core MVC app

I don't know what the problem is. My data is being saved, but toast message and redirection to an action method are not working. The fun part is - while debugging, it executes both ending conditions ...
Fahad_88's user avatar
0 votes
1 answer
48 views

ASP.NET Core MVC with Microsoft Entra ID: Denying Access to Unauthorized Tenants in Multitenant App

I am working on an ASP.NET Core MVC application that uses Microsoft Entra ID for authentication. The application is designed to be multitenant, and I want to restrict access to users from only ...
StanSm789's user avatar
0 votes
1 answer
56 views

asp net core causes an error Fetch: TypeError

I am writing an application on asp net core with Razor Pages. I to long think about how process POST requests (OnPost in razor pages), after reading this page "https://learn.microsoft.com/ru-ru/...
Vasiliskb's user avatar

15 30 50 per page
1
2 3 4 5
7