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,351
questions
1
vote
0
answers
160
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
444
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
144
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
59
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
128
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
141
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
28
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
49
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
274
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
26
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 ...
1
vote
0
answers
203
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
73
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
30
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
20
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?
0
votes
0
answers
113
views
Can I use the AbpAuthorize attribute with roles and not permissions?
I thought that in the Asp. Net Boilerplate, I would do the authorization not by permissions, but by roles. Is it possible?
0
votes
0
answers
113
views
aspnetboilerplate template project create tenant with connection string can't creating DB
I have download template project from aspnetboilerplate and run successfully. Actually, I want to check what will happen when creating a new tenant with connectiong string, so i clicked the add button ...
1
vote
2
answers
238
views
ABP Framework: Background Job Disable Retry
I am using background job for some definition operations. Some of the definitions can completed in 2 minutes, some in 10 minutes.
I don't want it to retry on fail. The job shouldn't retry when it ...
1
vote
1
answer
213
views
Migrator fails with MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown data type: 'datetime2'
I am building a project from startup template .Net Core v3.x and Angular. The project works fine with MSSQL server. I am trying to use MySql v8.0.27 instead, but when I run the Migrator I get the ...
0
votes
0
answers
75
views
Unable to Roll Back transaction in asp net core boilerplate
I am trying to implement roll back the transaction in asp net boilerplate, so if the delete of the subsequent entity throws an exemption I need to roll back the delete of the previous entity, with the ...
1
vote
0
answers
152
views
SignalRHelper how to authorize by http with base url, and for connecting to ws use another ws url with another baseUrl
We are using asp.net zero + angular.
How we can authorize connection by http with AppConsts.remoteServiceBaseUrl but connect to ws by another url ?
Or maybe we can configure another way to authorize ...
3
votes
3
answers
3k
views
Module not found: Error: Package path ./locales is not exported from package after angular update to 13
TypeScript 2.4 added support for dynamic import() expressions, which allow us to asynchronously load and execute ECMAScript modules on demand.
Trying to dynamically import the localize but facing the ...
0
votes
1
answer
146
views
ASP.NET Zero (ABP) call simple action in controller
I JUST want to call simple method from a controller but on calling, I get ERR_CONNECTION_RESET.
As I now this error is for services but I haven't any service for this controller or method!
I call ...
0
votes
1
answer
107
views
Check if string has any of List<string> values
I have a class that has list of strings as a property:
public class FiltersDto
{
public int? MinPrice { get; set; }
public int? MaxPrice { get; set; }
public int? BathroomCount { get; ...
2
votes
0
answers
92
views
asp.net core version 5 boilerplate is working on production
Asp.net core boilerplate version 5 is not working on production. Following error occurred after publishing on server.
Spin.js not present
moment is not defined
Cannot read properties of undefined (...
0
votes
0
answers
114
views
Customized crud application service with aspnetboilerplate/abp
I have some complex sql queries and views and would like to make a custom Crud Application Service for these queries/views. Does aspnetboilerplate/abp allow you to do this? Does anyone know how?
...
0
votes
0
answers
60
views
How to add my db schema name to controller Url in abp.io?
In ABP I can generally customize my controller URLs by UrlControllerNameNormalizer like
options.ConventionalControllers.Create(typeof(MyApplication).Assembly, opts =>
{
opts....
0
votes
0
answers
73
views
Injection of application service in NavigationProvider
Description
I have injected an application service in my project's navigation provider in order to generate dynamic data based menus.
But I faced a problem that NavigationProvider doesn't accept ...
0
votes
1
answer
235
views
How to implement leptonX theme
I was trying to add the new leptonX theme provided by ABP framework. But i couldn't find a doc for the MVC project. There is one for the angular. Have anybody tried adding to MVC project?
0
votes
0
answers
51
views
AspNetBoilerplate Authentication Claims For Social Logins
Im attempting to integrate the Microsoft social logins with AspNetBoilerplate but im struggling authenticating the user.
Could someone explain how to log the user in successfully within the ...
0
votes
0
answers
77
views
aspnetboilerplate - Send websocket message in Abp.Quartz background job
I'm using aspnetboilerplate free startup template with version 6.5.0:
I've implemented Abp.Quartz for my background job process.
I would like to know on how to send a websocket message at the ...
0
votes
0
answers
102
views
ASPNET boilerplate Get Request with complex object in input model
I add a service in my ApplicationService class like this:
public async Task<object> GetTargetsLocations(MyModel model)
{
....
}
and I define in MyModel class List of Sample class like this:
...
-1
votes
1
answer
199
views
Error while executing 'npm install' in aspnet boilerplate react template
[![NPM ERROR][1]][1]
I have downloaded aspnet boilerplate react template, backend for Dotnet core works fine but react application didn't. Whenever I execute npm install it through the same error.
[1]:...
1
vote
1
answer
245
views
ASP.NET Boilerplate: Active Directory Ldap Authentication Invalid Username or Password
I've setup a test solution to experiment with Ldap Authentication.
I've followed the documentation and looked into this as well, then I've setup my MyLdapAuthenticationSource in the Core project along ...
0
votes
0
answers
184
views
Hosting angular part of asp.net boilerplate in "wwwroot" folder of the API
I was trying out asp.net boilerplate and and opted for the solution with separate angular / core projects ... But since my cheap web hosting allows only one app I've been trying to copy content from ...
1
vote
1
answer
49
views
Inject multiple stores to scenes with Asp.net Boilerplate
Which is the correct way of injecting multiple stores into a scene? I couldn't find any example about this. Everyone injects just one store into a scene. Is there a rule or concept in Asp.net ...
0
votes
0
answers
93
views
AspNet Boilerplate "Application is shutting down..."
We are working with a client project that uses AspNet Boilerplate framework.
There is an odd behavior there, where if the app is started in debug mode, it outputs the text "Application is ...
0
votes
1
answer
163
views
Is it possible to add array of data in child entity?
I have issue that I hope someone here will be able to help me.For this exercise I`m using aspnetboilerplate framework.
So I create 3 entity and they ALL work good (at least I guess they work good)
...
0
votes
2
answers
315
views
Call a validation method in application service
How can to call a method from a validator class in application service Whenever needed and throw exception messages and show its in 'aspnetboilerplate' based project?
1
vote
1
answer
99
views
Get data from relationship with AsyncCrudAppService
I am using asp.net boilerplate and I want to return from an api call a DTO having a property which has to be get from the relation of the entity.
The service is simple inhereting from ...
1
vote
1
answer
121
views
Add default value for one entity for tenants from host in AspNetBoilerPlate
Scenario :
My multitenant project is based on ASPNetBoilerPlate.
I have a "WORK" entity which is IMayHaveTenant. Every tenant must see default Works which is in HOST And also His Works too ...
1
vote
2
answers
610
views
One to many relationship doesn`t retrieve data in entity framework
I`m in process of learning C# & .NET and EF (with aspnetboilerplate) and I came up with idea to create some dummy project so I can practice. But last 4 hour Im stuck with this error and hope ...
0
votes
1
answer
74
views
Is the Aspnet boilerplate documentation misleading regarding the use of Background workers lifetime
Is the Aspnet boilerplate documentation misleading regarding the use of Background workers and their lifetime?
Looking at the documentation - https://aspnetboilerplate.com/Pages/Documents/Background-...
0
votes
1
answer
127
views
Required permissions are not granted. At least one of these permissions must be granted: Managing organization tree
I am using ASP.NET Zero MVC/jQuery edition for .NET Core.
I am attempting to create an Organization Unit (OU) for a tenant from a controller on the host side and running into an issue.
The following ...
0
votes
0
answers
138
views
Can't access an ASP.NET application started in a docker container
I started a docker container with an ASP.NET app inside. The logs say that the application started successfully and is alive, but when I try to access the home page of the app I get the ...
0
votes
0
answers
125
views
Abp Boilerplate NET core DevExpress XtraReport WebDocumentViewer can´t print or export
I'm able to generate and display the report, if I export the report from the controller with:
rptReport.ExportToPdf(filePath); (works fine)
When the report is displayed on the view, when I click print,...
0
votes
1
answer
81
views
ASP.NET Boilerplate misleading naming convention and files structure
ASP.NET Boilerplate creators claim their framework uses already familiar tools and implements best practices around them to provide you a SOLID development experience.
But I can't understand what the ...
0
votes
0
answers
67
views
Asp.Net BoilerPlate - How to override RolePermissionSetting
I have a project using ASP.NET Boilerplate. I want to audit when Permission is granted or prohibited to a user.
So i tried to extend RolePermissionSetting
public class ExtendedRolePermissionSetting : ...
1
vote
1
answer
359
views
Swashbuckle Swagger Generator: StringBuilder out of Memory
We have a fairly sizable ASP.NET Boilerplate .NET Core 3.1 project and Swashbuckle appears to run out of memory when generating the Swagger JSON.
We encounter the following error:
RequestAborted: ...
0
votes
1
answer
58
views
Asp.Net BoilerPlate - PermissionManager.GetAllPermissions() not getting a new permission
I created a default solution from BoilerPlate's website with angular.
I need to create a new permission to assign to a user. So I added it in my authorization provider:
public class ...
0
votes
0
answers
38
views
Replacing Built In SettingManager
I'm trying to replace built in ISettingManager service.
I've already have my own IHubSettingManager
public interface IHubSettingManager
{
Task<string> GetSettingAsync(string Name, long ...