Questions tagged [aspnetboilerplate]

Use this tag to ask questions about the previous ASP.NET Boilerplate, a web applications framework. Bug reports and feature requests should be posted to GitHub. For the successor use [tag:abp]

ASP.NET Boilerplate is an open source web application framework and the predecessor of .

Use GitHub for your bug reports and feature requests.

1376 questions
51
votes
8 answers

How to set Swagger as default start page?

How do I set Swagger as the default start page in ABP template instead of /Account/Login? I'm using ASP.NET MVC 5.x + Angular 1.x. Update Current code: public static void RegisterRoutes(RouteCollection routes) { …
50
votes
14 answers

What could cause an error related to npm not being able to find a file? No contents in my node_modules subfolder. Why is that?

I'm trying to run npm install in the angular project folder I got from ASP.NET Boilerplate and I'm getting an error that is "related to npm not being able to find a file." D:\Dev\AspNetBoilerplate\MyProject\3.5.0\angular>npm install npm WARN…
jlavallet
  • 1,267
  • 1
  • 12
  • 33
26
votes
3 answers

response: 413 Request Entity Too Large

When POSTing a request which can contain one or more files (as base64 string) I get this error response: ERROR 2018-11-22 09:54:18,244 [13 ] Mvc.ExceptionHandling.AbpExceptionFilter - The remote server returned an unexpected response: (413)…
Jurjen
  • 764
  • 1
  • 10
  • 24
24
votes
2 answers

Which is the real ASP.NET Boilerplate project?

Might be a dumb question for many but we are thinking of adopting ASP.NET Boilerplate for our next project. Just a bit confused as there seems to be 2 different websites for it and 2 different Git repositories. First one is…
DP001
  • 371
  • 2
  • 7
18
votes
14 answers

Database operation expected to affect 1 row(s) but actually affected 0 row(s)

I'm trying to insert records in two tables, but getting the exception. Could you please help me to resolve the issue. First I tried the below code. await _testRepository.InsertAsync(test); await _xyzRepository.InsertAsync(xyz); Then I tried this…
15
votes
3 answers

BadHttpRequestException: Reading the request body timed out due to data arriving too slowly. See MinRequestBodyDataRate on ASP.NET core 2.2

I'm using aspnetboilerplate solution developed with ASP.NET core 2.2 . The backend is deployed on azure and it uses the SQL server provided. Sometimes, when the backend has a lot of requests to handle, it logs this exception: ERROR 2020-11-20…
C1X
  • 665
  • 4
  • 14
  • 25
13
votes
3 answers

Querying Data in a System-Versioned Temporal Table in Entity Framework Core

We are implementing a solution to query a temporal table. When enabling a temporal table on SQL server for any table, SQL will automatically add a second table with extra “_History” at the end of the table to track history. For example, if we have a…
13
votes
4 answers

How to get more detailed exception in ABP?

I created a CrudAppService. When I invoke its dynamic API by using swagger, I get a generic 500 error with this description: { "result": null, "targetUrl": null, "success": false, "error": { "code": 0, "message": "An internal error…
pinale
  • 2,060
  • 6
  • 38
  • 72
13
votes
4 answers

Can't bind to 'value' since it isn't a known property of 'p-dataTable'

I'm developing aspnetzero application with angular but when I'm assigning value of categories property in p-dataTable I'm getting this error in browser console: Can't bind to 'value' since it isn't a known property of 'p-dataTable' I have three…
redux17
  • 665
  • 5
  • 11
  • 30
12
votes
1 answer

How to map IdentityServer4 Identity to any WebApp (.Net MVC Boilerplate, .Net Core Boilerplate)

I'm creating an SSO server, to centralize all users in ActiveDirectory(AD) and manage them there instead of the database of each specific application. To made this server I used IdentityServer4(Idsr4) with Ldap/AD Extension I've setted the Idsr4 to…
Mirusky
  • 372
  • 3
  • 16
11
votes
4 answers

IdentityServer External auth provider - auth-callback - Redirection - 400 Bad request

I am following https://www.scottbrady91.com/Angular/SPA-Authentiction-using-OpenID-Connect-Angular-CLI-and-oidc-client and https://www.scottbrady91.com/Angular/Migrating-oidc-client-js-to-use-the-OpenID-Connect-Authorization-Code-Flow-and-PKCE to…
9
votes
2 answers

How to deploy a react app to mutiple environments without multiple builds?

I'm setting up a CI/CD pipeline using Azure DevOps to automatically deploy a React application to multiple environments. As I understood things, the environments variables (REACT_APP_*) are used during the npm build. How do I set up the build phase…
9
votes
4 answers

This MySqlConnection is already in use

I created an RecurringJob with Hangfire, but when the job is finish I'm getting the following ERROR: ERROR 2018-12-05 15:20:05,982 [fc937] Hangfire.AutomaticRetryAttribute - Failed to process the job '81': an exception…
Yunhai
  • 91
  • 1
  • 1
  • 5
9
votes
2 answers

Failed connection handshake error when using AspNetCore.SignalR in ABP under IIS

My Environment .NetCore SDk - 2.1.300 Microsoft.AspNetCore.SignalR - 1.0.0 IIS - Version 10.0.12393.0 in Window Server 2016 Sample Code for AspNetCore.SignalR I follow the instructions by link…
Lakin Lu
  • 4,376
  • 3
  • 10
  • 12
9
votes
4 answers

The instance of entity type 'Product' cannot be tracked because another instance with the same key value is already being tracked

I made a test with code below to update the Product: var existing = await _productRepository.FirstOrDefaultAsync(c => c.Id == input.Id); if (existing == null) throw new UserFriendlyException(L("ProductNotExist")); var updatedEntity =…
1
2 3
91 92