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,353
questions
0
votes
1
answer
18
views
WebSocket with asp.net boilerplate framework
I'm trying to use a native WebSocket with asp.net boilerplate (.NET Core 5) but the problem is the WebSocket always returns 0 status for the WebSocket client, and on PostMan the status keeps ...
0
votes
1
answer
38
views
ABP and .Net 5 problem retrieving records
I am working with ABP 6.5.0. I have an App Service that retrieves all the tenants running the GetAll method.
I have overwrite the CreateFilteredQuery and it runs the following code:
protected override ...
0
votes
0
answers
18
views
Does aspnetboilerplate track entity history in backgroundjobs and workers?
It seems aspnetboilerplate does not track entity change history in BackgroundJobs and Workers.
Is any option to enable or implement it?
0
votes
1
answer
79
views
Docker skip project on build
I have dockerfile with this config
FROM mcr.microsoft.com/dotnet/sdk:6.0 as builder
WORKDIR /app
COPY . .
RUN apt-get update;apt-get install curl; apt-get -y install zip
RUN curl "https://...
0
votes
0
answers
22
views
Drop foreign key for UserClaim or change model Code first approach
I created a linked table between Users and Tenants called UserTenants.
Now I want to drop the foreign key column: UserId. The problem is that I can't find the model for UserClaim which I can edit. I'...
0
votes
1
answer
35
views
How should I create a class with functions to be shared across multiple application services with aspnetboilerplate?
I have code/common functionality that needs to be re-used in multiple app services (i.e. say a simple lookup function). I am looking to create a Helper class that isn't really an API, just something ...
0
votes
0
answers
23
views
Periodic Background Worker Base in Boilerplate asp.net
how I can make Timer.Period property dynamic get value from setting
I do This Timer.Period = _settingManager.GetSettingValue(AppSettingNames.ShopsJobTime); but after I change this value it still ...
0
votes
0
answers
89
views
ABP framework adding Custom Claim to JWT
Firstly, We are using the ABP framework for developing our .NET projects and the Identity server as an authentication server. I add custom claims to our token by using the methods shared below. ...
0
votes
0
answers
21
views
AbpMVCAuthorize does not work on HTTPGet method in FileController
I am attempting to modify the FileController controller in Web.Core so the user is required to log in to download a file.
Adding the [AbpMvcAuthorize] to the method causes a 404. Why can't I just add ...
2
votes
0
answers
45
views
ASP.NET Boilerplate: ObjectDisposedException in EventHandler
I use ABP 5.1.0
.Net Core,
I have my class
ItemAsyncEventBaseHandler : IAsyncEventHandler<TEvent>, ITransientDependency
where TEvent : EventData {…}
Then i have class:
CustomHandler: ...
0
votes
1
answer
36
views
Abp Framework global json converter cannot be configure
I would like to define custom json converter and replace with AbpStringToEnumConverter in abp framework. I am trying to change JsonSerializerOptions.Converters with below code but it's not working.
...
1
vote
1
answer
72
views
How to disable MayhaveTenant filter for super admin(Host)? [closed]
I have a form where the list of data will shown.
The entity contains IMayhaveTenant Property.
Now when we created the record by admin user (Host), then we created the tenant first and after that ...
0
votes
0
answers
35
views
How can I change MaxValueLength of NewValue and OriginalValue in EntityPropertyChange.cs?
I am using aspnetzero and I have enabled entity history. Maxvaluelength of NewValue and OriginalValue is 512 chars in AbpEntityPropertyChanges table.
How can I change MaxValueLength of NewValue and ...
0
votes
0
answers
33
views
Mapping table view function for use in app service and ultimately as datatable ajax request in aspnetboilerplate
Im trying my hardest to use a table view function as a datasource for a service in my aspnetboilerplate implementation.
Below is the code i have in the service, i have added the function to the ...
0
votes
0
answers
34
views
ASP.NET Boilerplate: System.ArgumentNullException: 'Value cannot be null. (Parameter 'unitOfWork')'
I've started getting these errors:
public override async Task<ProductDto> CreateAsync([FromForm] CreateProductDto input)
{
CheckCreatePermission();
if (...
0
votes
1
answer
36
views
How to change aspnetboilerplate "an error occured dialog"
I want to change aspnetboilerplate sweetalert to any custom error dialog. I am using ASP.net core with Angular. Whenever there is a exception at server side, this dialog pops up. I can't find the ...
-1
votes
0
answers
71
views
Asp.net boilerplate front end project failed to compile
I have recently downloaded asp.net react boiler plate code from given link.
Asp.net BoilerPlate
The backend part works perfectly fine but front end part gives me error when I run npm start command.
I ...
1
vote
1
answer
63
views
How to talk with ABP API from windows service
This is what I would like to build. A hosted web/api project built on APB where tenants can use the web application to define "Scan Definitions" that run inside their network. A scan ...
0
votes
0
answers
76
views
How to Integrate Sentry logging for Asp.net core in boilerplate framework
I am using .NET Core 3.1 version with abp in my project. I have tried implement with Sentry.aspnetcore package and trying with Sentry.log4net package also. But When I'm using Try catch block for ...
1
vote
0
answers
79
views
ABP: How to re- load Localization text dynamically without restarting API app
I am using ABP v4.7.0 (.NET CORE 2.1) with angular client.
I built some custom localization providers. These providers get translation dictionaries from Azure Blob Storage. I add localization sources ...
0
votes
0
answers
57
views
Asp.net Zero project Optimize
I have create 1 Project on Asp .NET Zero Framework
in that project I have approx. 700 Table
now issue is when I run this project it's take too much time for Register DB Context
Is there any way to ...
0
votes
0
answers
49
views
aspnet boilerplate UseJWTTokenMiddleware with Identityserver4
I updated the existing boilerplate application to the latest version but I am facing issues in the authentication when using JWT after user login I am receiving the below error
An unhandled exception ...
0
votes
1
answer
356
views
Bypass endpoint in OCELOT API gateway endpoint
I have one endpoint which is uploading upto 200MB videos to the server.
Whenever I try to upload more than 3 videos simultaneously, gateway is thowing 404 error with below error message:
warn: Ocelot....
0
votes
0
answers
72
views
I caught huge queries in DB and can not find the source of that
I am actually just looking for opinions if someone had similar experience rather than an exact solution of my problem.
My project is Asp.net core 2.2 mvc project with abp framework, One of my ...
0
votes
1
answer
107
views
Return custom formatted JSON in exception handling
I just started to migrate my project to .NET Core 6, using ASP.NET Boilerplate with Kendo controls.
The application will do some operations (insert/update) and throw some custom error messages to the ...
0
votes
0
answers
33
views
How to generate http services using aspnetboilerplate reactjs app
I want a command to generate services, like npm run generate-proxy on angular, something like restfull-react or nswagger
0
votes
1
answer
43
views
86 / 5.000 Çeviri sonuçları I created my model, but I don't know exactly how to create the Dto. How can I do it?
My intern and I created my model in relation to other tables. Now I need to create the Dto. I'm not completely sure and I'm a little confused when creating relationship structures. I need to create ...
0
votes
0
answers
114
views
deploying Asp.Net boilerplate to Heroku
I have been trying deploying .Net Core Boilerplate to Heroku but is almost impossible,
now I am facing a certificate problem.
I follow the steps here to get a valid certificate
https://docs.microsoft....
0
votes
2
answers
244
views
Ending session on browser close throws Exception
I am working on an Asp.net zero project with frontend in angular and backend in Asp.net core with database in MS SQL Server. I was working on a functionality by which I can call logout function on ...
0
votes
0
answers
179
views
How to check the version of abp in my project
everybody.
I'm a newbie code with abp and involed in an old project which used an old version of abp.
And now I want to check the version of abp.
Thank you.
-1
votes
1
answer
118
views
Angular Boilerplate not reading abp
hello hile working on boilerplate project im now learning to consume services from the backend (asp .net) on angular via http requests, so i was trying to add delete method on mycomponent.ts but my ...
0
votes
1
answer
96
views
MassTransit integration Aspnetboilerplate
I would like to integrate MassTransit with Aspnetboilerplate project to use RabbitMQ as distributed event bus. Then potentially look to integrate Azure Service bus.
I am struggling in how to create a ...
0
votes
0
answers
28
views
How add httponly secure tag to abp.localization.calturename in aspnetboilerplate?
Is it possible to add HttpOnly tag to abp.localization.calturename cookie in aspnetboilerplate?
I'm using aspnetboilerplate mvc themplate
0
votes
1
answer
289
views
Getting OData, DTO, Automapper and UnitOfWork to play nicely in aspnetboilerplate
sI'm trying to get OData working on DTO objects instead of entities, with aspnetboilerplate.
I've made a controller, inspired from AbpODataEntityController.cs that inherits from AbpODataController.
I'...
0
votes
1
answer
75
views
AbpEntityChanges is not recorded for module
I turned on the EntityHistory in the module, but when I edit a data, AbpEntityChanges is not recorded.Now my dbContext looks like this,If I use AbpZeroDbContext, I must have TTenant, TRole, TUser? I ...
0
votes
1
answer
50
views
Filter name MustHaveTenant not found
I use ABP, and I am getting an error:
Filter name MustHaveTenant not found
I don't need multiple tenants.
I checked the ABP document, and I did use this code:
Configuration.UnitOfWork.OverrideFilter(...
0
votes
2
answers
596
views
npm Install : unable to resolve dependency tree
Eveytime i try npm install i go this errors it is a boilerplate project is downloaded from : https://aspnetboilerplate.com/Templates.
I cant generate node_modules folder or start the server it s only ...
0
votes
0
answers
109
views
Razor - Uncaught SyntaxError: illegal character U+200E
In Asp.Net core MVC [aspnetboilerplate.com], I want to print list of number for chart values,
Create values in string like this:
var chartData_1 = "[";
foreach (var item in ...
0
votes
1
answer
197
views
How to control response wrapping in ABP on a per-route basis?
I'm using ABP (aspnetboilerplate) 7.0 thru ASP.NET Zero 11 and I'm trying to get OData working. I've followed the article over at ABP and I've taken inspiration from their sample.
The response of ...
0
votes
0
answers
16
views
Integration with Azure Service Bus
I didn`t find any documentation regarding integration with Azure Service Bus (or other bus, queues)
I tried integrate with ABP.io but it throw extension method problem.
0
votes
0
answers
61
views
Integrate Volo.Abp.EventBus.Azure
When I tried integrate package Volo.Abp.EventBus.Azure, it broke project. Because they have same extension methods which conflict.
Does anyone have this problem ?
In build, if I don`t remove usings
...
1
vote
0
answers
62
views
AspNetBoilerplate: Scaffolding for multiple APIs sharing underlying framework
We are building multiple APIs using ASP Net Boilerplate. I already managed to create a single authentication server for all of them with IdentityServer4, and now I'm trying to create a single solution ...
0
votes
0
answers
100
views
AspNetBoilerplate: Use single authentication provider for multiple applications
We have multiple ASP Net Boilerplate applications and we are trying to use a single authentication provider for all of them, in a way that we can get a bearer token from an authentication API and use ...
0
votes
1
answer
186
views
ASP.NET Boilerplate V7.x not working with compiled models for EF Core 6.x
EF Core 6 provides a feature called "Compiled Models" for better query performance (10x faster) but ABP V7.x cannot run compiled models. It throw the following exception:
Entity 'Edition' ...
0
votes
2
answers
637
views
ABP: Value cannot be null. (Parameter 'unitOfWork')
I upgraded my abp version from 3.5.0 to 7.0.0.
I set method’s attribute UnitOfWork[IsDisabled = true].
Then I run the code like:
xxRepository.GetAllList()
I get the exception:
Value cannot be null. (...
0
votes
0
answers
25
views
Winforms Client AspNetZero 10.2.0
I have an application build out using AspNetZero 10.2.0 and would like to add a Desktop Client to the Project. Does anyone know the right way to set the project up and what packages need to be added? ...
2
votes
0
answers
130
views
Redis backplane with SignalR and AspNetBoilerPlate
I have implemented SignalR with AspNetBoilerPlate with .Net core 3.1. We have an azure server with multiple instances. So I am trying to implement Redis.
I followed this link and installed Microsoft....
0
votes
2
answers
94
views
Aspnetboilerplate ObjectMapper or Logger is null
I have a small assembly that utilises the following NuGet packages Abp, Abp.AspNetCore and Abp.AbpAutoMapper.
For reference I am using Abp 6.4.0
I have added the depends to the module, the main ...
-3
votes
2
answers
126
views
Increase number until mets condition
I have creation of tenant
Here is code
var tenant = new Tenant(tenancyName, name)
{
IsActive = isActive,
EditionId = editionId,
SubscriptionEndDateUtc = subscriptionEndDate?....
0
votes
1
answer
217
views
DDD - What is the best way to Query complex relationships (To do a Select on repository or to use AutoMapper)?
Imagine that I have an object with many relationships and I want to return just one property of each relationship in a list.
public class MyComplexObject
{
public OtherObject1 OtherObject1 { get; ...