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]
1,379
questions
0
votes
0
answers
39
views
How to get session value in ASP.NET boilerplate
I am working with an ASP.NET boilerplate 1.5.1 and I need to manage user sessions for some specific functionalities.
How can I set up sessions in an ASP.NET Boilerplate application?
Once set up, how ...
0
votes
0
answers
30
views
when login user tenantId is null, creatoruserId is not auto inserted?
when login user with tenant Id is null, I insert data in table and creator user id is not auto inserted login user id value in asp.net core boilerplate 6.5. I'm using multitenancy. I want to auto ...
0
votes
0
answers
28
views
Aspnet Boilerplate and Vue
I am using the version v8.x of the aspnetboilerplate, including login, register, etc. I have created a new simple entity and that is working fine. Now, I am trying to get the details of a child. For ...
0
votes
0
answers
40
views
Abp Controller does not show up when using [RemoteService(IsEnabled = false)] on EntityAppService
My custom controller does not show up in swagger.
This is my controller:
public class ProductController : ShopController
{
private readonly IProductAppService _productAppService;
...
0
votes
1
answer
25
views
Syncfusion Javascript and Aspnetboilerplate
I am using aspnetboilerplate with JQuery. I want to replace the standard DataTables Grid with Syncfusion's DataGrid in order to test possible replacement. I unfortunately have no luck in getting it ...
0
votes
0
answers
29
views
While posting model object, date properties having 'dd-MM-yyyy' value
I'm facing an issue, in aspnetboilerplate ASP.NET Core 7.
While posting a model object with a date value having 'dd-MM-yyyy' format.
I've tried many options but was unable to resolve the issue.
if ...
0
votes
0
answers
40
views
Dynamic data load on scroll in HTML Dropdown
I am trying to achieve data load on scroll down in an HTML Dropdown. My code is below.
HTML
<div class="dropdown d-inline-block">
<!-- Set to display as inline-block -->
...
0
votes
0
answers
33
views
How to Audit only desired methods or classes in Aspnetboilerplate?
In official documentation you can disable all the audit, or disable methods by [DisableAuditing]. But I want to audit only my desired methods or classes.
I implement MyCustomAuditStore but there isn't ...
0
votes
0
answers
35
views
AbpSession tenantid is not getting set
I am using aspnetzero for my development in .net and angular.
When I enable the multitenancy in my project than abpsession tenantid is not getting set. It is null.
If I disable it than host tenant id ...
0
votes
0
answers
35
views
Can't resolve dependency injection in a new project in asp.net boilerplate
I added a new Blazor project in my asp.net boilerplate application then add the ASP.NET Core web project reference but I'm unable to resolve the dependency injection.
If anyone knows - please help..
0
votes
1
answer
112
views
Problem in receiving SignalR notification in Angular project sent from background worker in .NET Core with aspnetboilerplate
I am working with ASP.NET Boilerplate project for .NET Core and Angular. In my .NET Core project, I have a background worker. My goal is to send notification to the user in every 2 milliseconds. I ...
0
votes
0
answers
43
views
Real time notification form Background Worker in ASP.NET Boilerplate
I am very new in ASP.NET Boilerplate template. I have created a project where frontend is in Angular and Backend is in .NET Core. In my backend I have created a Background Worker using ...
1
vote
0
answers
26
views
Reading appsettings.json key in Entity Framework Core project
I need to read a key (already) defined in Host/MVC [StartUp] project's appsettings.json file in my Entity Framework Core project, a code sample would be very helpful.
What I want is, to read a (seed ...
0
votes
0
answers
41
views
create new tenant in multiple tenant
When I create new Tenant in Debug mode and on public api only login dc tenant in correct mode even though connection string configuration to server in app settings is same.
Please show me how to fix ...
0
votes
2
answers
58
views
aspnetboilerplate .net core, multipage web application v8.1.0 file upload
I am trying to build a file upload with the aspnetboilerplate .net core, multi page web application, version 8.1.0. I am getting null in the controller action method. Here is my code:
var product = _$...
2
votes
1
answer
132
views
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 ...
0
votes
0
answers
31
views
Cannot signin in overriden AuthorizationHelper
My goal is to be able to call the methods of the application services marked with AbpAuthorize without being logged in by passing an api key in the header.
I've overwritten the default authorization ...
0
votes
0
answers
120
views
How ABP framework design its folder structure when it comes to extending an existing module/feature with another module?
I want to know how Abp decides its framework folder structure when it comes to extending an existing module/feature with another module. Honestly, I have little confusion with it. Let me explain it ...
0
votes
1
answer
72
views
App Service stops writing to DB table after throwing exception
Using AspNetBoilerplate. I'm being asked to create a way to provide a user to unsubscribe from a service prior password check which is where I'm stuck.
[AbpAuthorize]
public class ...
0
votes
0
answers
27
views
How is it chosen which dependency to inject?
Why Abp use CustomAuthorizationHelper in logic to check enabling feature, if Abp use your own IoC? All works fine, but i need to know why is this happening.
Using aspnetboilerplate framework. I need ...
0
votes
1
answer
60
views
Error "No component for supporting the service Abp.AspNetCore.MultiTenancy.DomainTenantResolveContributor was found" when run test function
I working with Asp.net boilerplate v.5.12.0
The project works fine with Enabling MultiTenancy
And now we need to use the unit test function but when I start to run it I get this error for all ...
0
votes
0
answers
53
views
ASPBoilerPlate - The timeout period elapsed prior to obtaining a connection from the pool
I am having a .net MVC core application running on a AWS ECS linux fargate . There 2 cases are following :
MSSQL Database is hosted in same VPC as RDS : In this case everything is working fine. ECS (...
0
votes
1
answer
199
views
What is the problem while i am trying to run Asp Net BoilerPlate Project ABP
I have found out a video about first configurations and run the ABP project. I have applied instructions of this video step by step but there are some problems on running.
For example video created ...
0
votes
0
answers
58
views
SideBarNavViewComponent NullReferenceException: Object reference not set to an instance of an object
My company uses ASP.NET Boilerplate, the web framework.
System.NullReferenceException: Object reference not set to an instance of an object.
at LiboPark.Web.Views.Shared.Components.SideBarNav....
0
votes
0
answers
26
views
How to implement domain constraints in Asp.Net Boilerplate
I have an entity (EntityA) with (FieldA, FieldB, FieldC), and a Domain constraint where the combination of FieldA, FieldB, FieldC should be unique.
Currently I am using the default repository and ...
0
votes
0
answers
75
views
How to use Metronic Wizard component in Asp.net Zero Angular
I am using Asp.net zero Angular Template and I want to use Metronic Angular vertical wizard but finding it difficult because there is no documentation by the Asp.net zero team on that. Please I ...
0
votes
2
answers
94
views
Unable to configure relationship for Auditable Entity using Fluent API
I am using asp.net boilerplate template for my project.
Looks like it preferred to use data annotation instead of fluent API.
I like to use Fluent API since it's very clean.
But when I tried to use ...
0
votes
0
answers
26
views
Is there any way to create own source name and localization folder other than App which was created during abpzero startup
I have a requirement to add a new source name apart from App, AbpZero, AbpWeb and Abp... like we get data of language texts in these 4 sources I have to get data separately for new source name. I ...
0
votes
0
answers
53
views
Getting an error while Upgrading abp version 7.4.0 to 8.1.0
I'm currently using aspnetboilerplate template aspnet mvc5x(angularjs).
I getting this error message
Could not install package 'Abp.AutoMapper 8.1.0'. You are trying to install this package into a ...
0
votes
0
answers
272
views
Elsa Workflows + ABP framework: Missing TenantId
I have implemented Elsa Workflows (version 2.10.3) into the ABP framework (using .NET7 and Angular 15) following this instruction: https://community.abp.io/posts/using-elsa-workflow-with-the-abp-...
1
vote
1
answer
198
views
abp missing libs directory project mvc
I just download Abp with this configuration
Multi Page Web Application
Web application with server rendered HTML; ASP.NET MVC & jQuery.
Template Version v8.x
.NET 7
and libs folder is empty
I ...
0
votes
1
answer
152
views
Tenant ID is always NULL after publishing website
I am currently using the Angular and .NET core template for ASP.NET ZERO. When I am serving the admin panel locally and change the tenant it is working fine image.
However when I publish the website ...
0
votes
0
answers
28
views
400 Error: Bad Request in Multi Page Web Application
After downloading a startup template ASP.NET Core “Multi Page Web Application” (without login, register, user, role and tenant management pages) connecting postgre DB, integrating swagger and adding ...
0
votes
0
answers
46
views
ABP Appservice Authorized by default
We're using ABP 7.3
We'd like for all classes inheriting from the [project]AppServiceBase to be authorized by default so their methods are only available to users which are logged in. There are some ...
0
votes
0
answers
284
views
ABP Framework: "ActivatorChain": "Castle.Proxies.InboundDocumentServiceProxy -> RCM.PatientManagement.PatientOptimization.PatientDocumentService"
I have two projects Patient and Platform in ABP Framework. An Exception was thrown when calling the DocumentService in Patient in Platform Project InboundDocumentService. But whenever the service in ...
0
votes
0
answers
67
views
Token of inactive user still works
We're currently using ABP 7.3, .NET 6
I found this article
https://pulsesecurity.co.nz/advisories/aspnetboilerplate-jwt
It mentions that a token is still valid, even after the user has been ...
1
vote
0
answers
28
views
aspnetboilerplate: plugin with own dbcontext and UI
How to create a separate dbcontext and ui for each plugin created for aspnetboilerplate?
https://aspnetboilerplate.com/Pages/Documents/Plugin
0
votes
1
answer
136
views
ASPNETBoilerplate - Custom Claim auto expire after sometime authentication generated claim available
I'm using the .NET 7.0 Ready aspnetboilerplate Framework.
While login the user I've added a few Claims. but the concern are custom added Claim auto-removed after some time.
Can anyone know the reason?
0
votes
0
answers
82
views
Is there a package for Abp.Application.Services.Dto for use in Shared class libraries?
I am trying to create a shared class library to be used by my front-end (MAUI / Blazor) and my back-end API in aspnetboilerplate.
I want the shared library to be as light as possible and was wondering ...
0
votes
0
answers
181
views
Module in Azure Function
I am trying to bootstrap an ABP module in an Azure Function but I get an error:
Castle.MicroKernel.ComponentNotFoundException: 'No component for supporting the service System.IServiceProvider was ...
1
vote
0
answers
89
views
How do you do Integration Tests in ASP.NET Boilerplate if your application requires authentication from a third party single sign on authorizer?
I am using ASP.NET Boilerplate with ASP.NET MVC, not Core. How do I test an MVC Controller where my application requires authentication first from a Single Sign On third party?
I can't find anything, ...
0
votes
0
answers
32
views
What is difference between AbpCoreEf6Sample.Tests and AbpCoreEf6Sample.Web.Tests in test folder?
I'm confused, why there are two test projects in ASP.NET Boilerplate project? Which one is more suitable for writing API integration test in an application?
Versions:
ASP.NET Boilerplate 7.1
.NET ...
1
vote
1
answer
115
views
ABP IRepository<TEntity> from Service Provider is empty
I have a Console app that depends on different projects (I use DependsOn() notation) in my console module.
[DependsOn(
typeof(AbpAutofacModule),
typeof(SecondProjectModule),
// Other ...
0
votes
0
answers
51
views
How to enforce ocelot to send cookies obtained from frontend and resend them to downstream services?
Dears,
Ocelot doesn't send my cookies for requests sent to downstream services
I have frontend, API Gateway and API Backend, each deployed on its own domain
But I can't configure ocelot to resend ...
0
votes
0
answers
422
views
Asp Net ABP: how to map claims from JWT token to ABP User?
We are using ASP.NET Zero based on ASP.NET Boilerplate (.NET Core). We have a Mobile App that authenticates with AWS Cognito and needs to consume some API's and Application Services on our application....
0
votes
0
answers
106
views
Securing AbpServiceProxies/GetAll
Problem description
All the routes (URL(s)) for the API (including parameters to use) are accessible to unauthenticated users by calling this API AbpServiceProxies/GetAll which doesn't require any ...
0
votes
0
answers
487
views
ABP ASP.NET: How to access user details (and claims) from JWT Authentication Token in Application Services and Controllers?
We are using ASP.NET Zero (.NET Core) and we want to use AWS Cognito as Authentication Provider. We are using Cognito to authenticate on Mobile Apps and we also aim to use Cognito to authenticate on ...
1
vote
0
answers
70
views
How could I test my application services in test project?
When I try to run my test case I am getiing this exception:
System.TypeLoadException
Could not load type 'Castle.Core.Pair`2' from assembly 'Castle.Core, Version=5.0.0.0, Culture=neutral, ...
0
votes
1
answer
379
views
fluent validation in abp
I have fluent validation on ItemDto class in Application.Contracts project then in Application.Services I have api method that recieve ItemDto then I call this method from swagger and I want that ...
0
votes
0
answers
119
views
Tenant ID cookie value cannot be read when publishing API on IIS
I am using the Angular and aspnetboilerplate template in a project. When I change the tenant on the login screen it validates that the tenant exists, adds the cookie Abp.TenantId then reloads the page....