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
3
votes
1 answer

How to delete tenant completely?

I'm developing a multitenant application and would like to have to option to remove a tenant. This however seems to be less trivial than one would assume. My goal is to delete all references to the tenant everywhere in the database. I understand…
Niklas Jonsson
  • 173
  • 2
  • 8
3
votes
0 answers

Adding Metronic 5 components to ASPNET.Zero template

I need some advice on what the best practice is in adding Metronic 5.0 components into my ASP.NET zero template. I was expecting that Metronic 5 would include directives for Angular 2 but it is not the case and all components are set to a field via…
Mohammad Shadmehr
  • 675
  • 11
  • 26
3
votes
1 answer

EF Core 2.0 update database again, once all migrations run

It's a simple task I think. My requirement is to run one .sql file after all migrations runs successfully. it contains few alter statements. the system is in a way that I must have to run this Sql, there are no other way like I just update my…
3
votes
1 answer

ASP.NET Boilerplate + IdentityServer

I tried to implement IdentityServer as it is explained at https://aspnetboilerplate.com/Pages/Documents/Zero/Identity-Server But the sample does not work. I started a Core 2.0 Angular project from ASP.NET Boilerplate. Is there any updated working…
3
votes
1 answer

How to list tenant users with specific role from the host?

I'm working on a project that is built with ASP.NET Boilerplate. The template that I use is .NET Core with Angular, including Module Zero. Multi-tenancy is enabled. The task that I am currently working on is to allow administrators of the host to…
3
votes
1 answer

UseHangfireServer throws exception

I have a problem with my ASP.NET Boilerplate Core 2.0 application. I worked a lot on my application layer and now I want to try the code in the MVC project. But when I try to start the application I get the following…
mg92
  • 63
  • 1
  • 7
3
votes
0 answers

Use a controller from a different Solution

I'm trying to use a controller and a partial view from another soluction. I wanna to use one of the controller and a partial view inside the management solution in the shell solution. Is that possible?
3
votes
2 answers

The instance of entity type 'xTestType' cannot be tracked because another instance of this type with the same key is already being tracked?

I'm trying to delete multiple rows from a table. But it gives the following error after the first iteration. I can see primary key Id as 0 on all the xTestType object. that might be the issue. Why is it always giving Id 0. foreach (var temp in…
3
votes
1 answer

Adding aspnetboilerplate.com to existing angular project

I've created a project using the excellent aspnetboilerplate.com but i am trying to use it with my existing Angular project. I am trying to setup the authentication features (user logging in, etc). I've added the following packages to my…
user2859298
  • 1,373
  • 3
  • 13
  • 28
3
votes
1 answer

ABP EF Core multiple DbContext access in IDomainService throws transaction error

The specified transaction is not associated with the current connection. Only transactions associated with the current connection may be used. How do I use multiple DbContext in one transaction? Update 1 If I use ExistingConnection, then all the…
3
votes
5 answers

Can't create component as it has dependencies to be satisfied in ASP.NET Boilerplate

I am getting an error while running a test. How do I solve this? public class TestAppService : TestAppServiceBase, ITestAppService { private readonly ITestRepository _testRepository; public TestAppService(ITestRepository testRepository) …
Vivek Nuna
  • 25,472
  • 25
  • 109
  • 197
3
votes
1 answer

Error "Must set UnitOfWorkManager before use it"

I'm developing the service within ASP.NET Boilerplate engine and getting the error from the subject. The nature of the error is not clear, as I inheriting from ApplicationService, as documentation suggests. The code: namespace…
John Bull
  • 933
  • 1
  • 12
  • 20
3
votes
3 answers

ASPNETBOILERPLATE - App service method not returning related entities in .NET Core

I am in the process of converting my .NET MVC5 template into .NET Core MVC template of ASPNETZERO. So all the code I am converting is working just as I need in my MVC5 template solution. My method code is shown below. public async…
exlnt
  • 293
  • 3
  • 20
3
votes
2 answers

Custom API response HTTP status codes with ABP Framework

Is there any way to return custom HTTP Status Codes (like 4xx) with ASP.NET Boilerplate? I would like to set custom application specific HTTP codes in context of validation to add more granularity. Currently ABP would set 200(OK) for all validation…
Edgars Pivovarenoks
  • 1,526
  • 1
  • 17
  • 31
2
votes
1 answer

High memory usage with Aspnet Core + Signalr + EF Core (with Aspnetboilerplate)

I am creating this game server using Aspnetboilerplate, with EFCore, and SignalR. However the server uses around 200MB of memory during startup, and every each call goes up around 2MB of private bytes in IIS. And after the user disconnect, these…