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,345
questions
0
votes
1
answer
15
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 ...
0
votes
0
answers
22
views
TenantNotification class in ASPNET zero
I want to get CreatorUserId In TenantNotification.cs in aspnet zero. Can you guide me how can i do this.i was trying to figure out but avail.
//
// Summary:
// Represents a published notification ...
0
votes
0
answers
43
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
38
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
32
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 ...
0
votes
0
answers
33
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
28
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
19
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
81
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
60
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
77
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
21
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
0
answers
13
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
75
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
87
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
84
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
58
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
65
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
19
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
179
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
62
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
34
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
398
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
63
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
110
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
13
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
32
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
39
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
44
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
110
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
271
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
22
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
73
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
74
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
124
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
154
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; ...
1
vote
0
answers
64
views
Boilerplate: SignalR: Multiple connection call on page refresh
I am using aspboilerplat framework of .Net core + Angular.
I am trying to integrate signalr into the same. I am able to integrate it but getting one issue while we reload the page, there are two ...
1
vote
1
answer
246
views
SignalR not working with Ocelot API Gateway
I am using ASP.Net boilerplate architecture for my project and using Ocelot API Gateway.
Without using gateway, I can access signalr successfully from my angular App.
But when I try to access signalr ...
0
votes
0
answers
79
views
Abp setting manager not reading values from database
I am using Abp in my .NET Core 3.1 application. The version of Abp is Abp.AspNetCore(5.10.1). I am facing an issue that when i update any setting, the setting get stored in the database but when i ...
0
votes
0
answers
36
views
token issue facing while accessing web application using Iframe which developed on Asp.Net Boilerplate(Angular + Asp.net Core)
Is there a way to load my web application within Iframe? web app developed on asp.net boilerplate (Asp.Net Core + Angular)
Scenario: Created HTML static page with iframe link of the website. I can ...
0
votes
0
answers
123
views
Edition in Asp.netBoilerplate targetversion v7.x
I have downloaded the new version of asp.net boiler plate v7.x .net6 but when I add-migration Irecieved this erroe (Entity 'Edition' has a global query filter defined and is the required end of a ...
0
votes
1
answer
85
views
Azure B2C in Asp.netBoilerplate
I am using AspNetBoilerplate template (.NET CORE 3.1). I am trying to add Azure b2c AD authentication
following official help: https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-...
0
votes
0
answers
25
views
AspNetBoilerplate - Communicate with tenant db from api request / Edition and features ui
Apologies if this has already been asked, I have been developing a project based on AspNetBoilerplate and have a couple questions if someone has some time to point me in the right direction.
Firstly I ...
0
votes
0
answers
35
views
Activating CookieAuthenticationProvider.validateInterval cause "UserId not found" exception in aspnectidentity
I'm using startup aspnetboilerplate template Angularjs+MVC5 version 5.13
with following code in Startup
app.UseAbp();
app.UseOAuthBearerAuthentication(AccountController.OAuthBearerOptions); ...
1
vote
2
answers
151
views
Abp AllowAnonymous for child methods
I'm using Abp framework with MVC. I have an anonymous method that calls a bunch of methods inside it which all of the them have [Authorize] attribute. I want to call this parent method and all of the ...
0
votes
0
answers
24
views
AspNet Boilerplate: abp-ng2-module with Angular 13.x
I am having a rough time trying to install abp-ng2-module into an Angular 13 project.
The error I get is:
Could not resolve dependency
It seems that abp is referecing angular/common 12.2.8 ? How can I ...
0
votes
0
answers
122
views
Filtering queries by by user and role / scoping data
I am using ABP Commercial to implement a custom CRM system. I am looking for an example, a best practice, a library, or even a framework for scoping data according to user IDs and roles.
Simple ...
0
votes
0
answers
59
views
How unit test custom repository. [aspnetboilerplate]
I have custom repository. But default tests (it is not unit tests, looks like integration) using in memory db, and for unit test my repository, I need create a lot of relations just for test, it`s ...
0
votes
0
answers
24
views
How I can use [UseCase] attribute without CurrentUnitOfWork.SaveChanges()
I need audit changes for my entity, and I need use custom reason message.
I can use it by [UseCase] attribute, but with it I need use await _unitOfWorkManager.Current.SaveChangesAsync(); manually like ...
0
votes
0
answers
16
views
Which is most recent version number of aspnetboilerplate which I can use with ASP.NET Web Forms?
Which is most recent version number of aspnetboilerplate which I can use with ASP.NET Web Forms, .NET 4?