Questions tagged [aspnetzero]
ASP.NET Zero is a starting point for new web applications with a modern UI and SOLID architecture, with source code for common methods like authentication, logging etc Home: https://aspnetzero.com/ Documentation : https://github.com/aspnetzero/
48
questions
0
votes
0
answers
26
views
ABP Backend and ASPNETZERO frontend - Angular
I am very new to the ABP. We were using ASPNETZERO and now we got ABP.IO commercial/
We are in the process of migrating our application from ASPNETZERO to ABP.IO.
We would like to do step by step.
...
0
votes
0
answers
125
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
172
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 ...
0
votes
0
answers
16
views
How to authenticate site X using auth0 which is integrated with Site Y?
I am building an enterprise application using Asp.net zero with Asp.net Core 3.1 & Angular 10.
I want to authenticate with auth0 at site X via site Y.
In Forward, I can redirect site X to site Y ...
0
votes
0
answers
47
views
Error loading discovery document and blocked by CORS policy
I have already spent almost week on this issue and researched the various similar issue and applied but nothing works. Here is the detail of issue.
I am using the npm package "angular-oauth2-oidc ...
0
votes
0
answers
153
views
Login through ASP.NET Zero using Access Token
I would like to login automatically to my apps like a single sign in. I have a WordPress website that consumes my ASP.NET Zero API and also have a ASP.NET Zero website. Right now I can get and store ...
0
votes
1
answer
75
views
service.CreateAsync() always returns Id as 0 in ABP
I'm using generated entities from ABP Suite. Sometimes I need Id of inserted entity. But when CreateAsync method is called it returns 0. It internally calls InsertAsync and not InsertAndGetIdAsync. So ...
0
votes
0
answers
35
views
Azure app service auto-scaling with Aspnetzero application
We have developed application using aspnetzero and have configured hangfire for background jobs. We use periodic jobs provided by aspnetzero framework and in memory cache.
We have certain background ...
0
votes
0
answers
40
views
Widget chart in aspnetzero jquery
I am trying to implement an apex pie chart in aspnetzero dashboard, when creating the widget everything works fine, but when I try to create the same widget I get the pie chart in the previous widget ...
0
votes
0
answers
85
views
Is it possible to call IdentityServer which made in .net core 6 through asp.net zero with angular as client app?
I have made an IdentityServer in .net core 6.
Now I wanted to call that identity server from the client app (backend asp.net zero .net core and frontend angular).
In the angular App of the asp.net ...
0
votes
0
answers
52
views
aspnet.zero user is logged out when he has not enough permissions
I'm using aspnet zero and .NET 6. Whenever a user has not enough permissions the user is being logged out. Is there a way to change this behavior? For example show an error message instead? Rather ...
0
votes
0
answers
9
views
Parameters for ExternalAuthenticate API of ASPNETZERO
I have been integrating the google sign in via External Authentication API of ASP NETZERO. there are two parameters in that authProvider and providerAccessCode. What do I need to pass in these ...
0
votes
1
answer
101
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 ...
1
vote
1
answer
306
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
45
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
139
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 ...
1
vote
1
answer
1k
views
Undocumented TypeError: Failed to fetch when uploading file on swagger (.net core 3.1)
I am facing this error when I am trying to upload excel file (length around 4 MB) on swagger api (.Net core 3.1).
Its working on local as well as on other Azure app services (azure.net) but when I am ...
0
votes
2
answers
546
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
119
views
"name claim is missing" with AspNetZero and Okta
I'm trying to use Okta SSO to authenticate my users in AspNetZero app.
When I click on the OpenID in the bottom of the login page, I'm redirected to Okta login and then I'm back to my app login page ...
0
votes
0
answers
234
views
Using DevExtreme & Devexpress Report & Asp.Net Zero together
As Described HERE AspNetZero can use Devexpress reporting. Also, we used devextreme in our solution before this.
But when I run the application I got two errors!
SampleReport:1213 Uncaught ...
1
vote
0
answers
465
views
Location is not defined asp net zero angular universal
i did setup the angular universal in asp net zero angular version. Here I'm using angular 9. Everything works fine and under dist folder browser and server is also created. But after the successful ...
0
votes
1
answer
508
views
app is not defined at client in ASP.NET Zero
I started building an application using ASP.NET Boilerplate, and as I am getting familiar with the framework I am considering a move to the paid ASP.NET Zero version. I would like to assess the effort ...
1
vote
0
answers
323
views
Startup Error with AspNet Zero only on publish
I have recently updated my site on IIS with changes that I made, with the update I did not do any nuget package upgrades or added any new assemblies to the project but I am now getting the following ...
0
votes
1
answer
260
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
183
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
234
views
Aspnetboilerplate - Globalization and localization of Data annotations of entities
I'm using the aspnetboilerplate framework and would like to translate the data model annotations.
I added the code for translation in: Project.Web.Mvc/Startup/Startup.cs
services.AddLocalization(
...
0
votes
1
answer
157
views
Asp Zero how to add DropDownlist to Users page?
I'm new to Asp Zero and i want to know how to add Dropdownlist and fill it from Lookups table
My objective is that i have Departments and each departments will have some their documents archived on ...
-1
votes
1
answer
169
views
aspnetzero prevent soft delete if row is referenced in another table
I am Using ASPNETZero in my Application Where the Entities are Soft Deleted with the help of the below Code Snippet.
var query = Repository.GetAll()
.Where("Id == @0", input.Id)
...
1
vote
0
answers
261
views
Mvc.Authorization.AbpAuthorizationFilter - System.ArgumentNullException: Value cannot be null. (Parameter 'unitOfWork')
I upgraded abp framework to 6.3.1 and also upgraded .Net framework version. After upgrade, getting below exception -
Mvc.Authorization.AbpAuthorizationFilter -
System.ArgumentNullException: Value ...
0
votes
1
answer
703
views
nswag error in .NET 5.0, Process is terminating due to StackOverflowException
I am using aspnetzero framework. After upgrading .Net core to .Net5, I am facing an issue when running refresh.bat. It's throwing below mentioned error
Executing file '..\EMA.Web.Host\nswag\service....
0
votes
1
answer
462
views
What is the best way to upgrade Abp Framework 4.1.0 to latest version 6.3.1?
What is the best way to upgrade Abp Framework 4.1.0 to latest version 6.3.1? And does it upgrades EF core version and .Net core version?
0
votes
1
answer
117
views
Use multitenancy or custom solutions
It is not an issue but a question or advice on what is better approach given the concepts of abp. In my case there are different kind of roles that interact with some core entities. Let say.
Entities:
...
0
votes
2
answers
146
views
How to ignore nested transactions using in-memory Sqlite on Unit Tests?
I am using AspNetZero/ AspNetBoilerplate to do some automated tests and I configured my Module to not disable transactions
Configuration.UnitOfWork.IsTransactional = false;
But it is not working ...
0
votes
1
answer
489
views
Multi-Tenancy in ABP
I'm considering using ABP / ASPNetZero for my SaaS application.
I know that it supports multi-tenancy, but it appears like the tenant setup is manual.
I would like to create an online app that when a ...
0
votes
1
answer
865
views
ASP.NET Zero solution for both identityserver and client
Before getting into the issue, let me tell you what I am trying to achieve.
I need to implement sort of SSO in all of my applications. For which I want to use ASP.NET Zero solutions as
SSO Provider as ...
1
vote
1
answer
230
views
AspNetZero V8.0 - Debugger ends immediately
I just started coding with AspNetZero V8.0 solution. I purchased this version a couple of years ago. I had kept the raw downloaded solution in a GIT Repo without any changes.
Recently I downloaded the ...
0
votes
0
answers
397
views
Angular app displaying white page in iframe even with all content loaded
I have an ASP.NET Core 3.1 site (using Asp.NET Zero) with Angular 10, in which one page has an iframe, which displays web pages from a subdomain (old VB.NET WebForms 4.0 site):
<iframe [src]="...
0
votes
1
answer
309
views
Send DevExterme LoadOptions to aspnetzero
As mentioned in following document
Developing-Step-By-Step-Angular-DevExtreme-Using-GetPeople-Method-from-Angular
this.dataSource = new CustomStore({
key: "id",
load:...
0
votes
1
answer
128
views
Value is not passing from service-proxies.ts file to Appservices.cs
I am trying to fetch email id value from text box and want to send it in api method in cs file. But it is not working, I have tried below code..can any one help me.
Value is successfully coming in ...
1
vote
1
answer
128
views
Not getting values from linq query in aspnetzero framework
I am executing following query. I am doing this in aspnetzero framework and doing this in UserAppService.cs file.
var rt = _dbContextProvider.GetDbContext().Users
.Where(e => e....
0
votes
1
answer
881
views
A single user can login to multiple tenants with one email id
I am using ASPNETZERO multi-tenancy solution and I want to achieve following solution in that.
My need is like One user share all details among all Tenants.
Let's say there is user1 registered in ...
-1
votes
1
answer
125
views
style problem when adding entity with RAD power tools
all run ok, but when add new view .. it show like the image
i did use yarn & npm run create-bundles.
I did try with modal or without modal.
1
vote
0
answers
360
views
Aspnet Zero Nswag generating service proxies
I am using Aspnet Zero they generating service proxies in typescript using NSWAG. Now I want to generate these service proxies separately in every single file. Any idea of how to achieve it?
0
votes
0
answers
258
views
Aspnet Zero Time on client side is incorrect when daylight saving is on
In AspNet Zero Core + Angular Project. I have Set Clock Provider to UTC Clock.Provider = ClockProviders.Utc; in Startup.cs
as stated in the document which causes timezone selection in settings for ...
1
vote
1
answer
272
views
AspNetZero .NetCore + Angular project - api versioning
I have a AspNetZero .NetCore + Angular project and I need to implement api versioning to the project for backwards compatibility. I followed a few examples online, but they either don't specify all ...
0
votes
0
answers
134
views
Switch role wise screen in asp net zero, if one user has multiple roles
I have checked asp net-zero document for role-wise change display screen based on roles permissions but in asp net-zero, A user can have zero or more roles. If a user has more than one role, the user ...
0
votes
0
answers
215
views
How to make controller for Inserting one to many data
I have models that have a one-to-many relationship. I want to insert data by using a single call. Can you help me how can I write mine for the controller?
I am using Asp.net core 3.1. Bellow is my ...
0
votes
1
answer
397
views
Insert value '0' on identity column and let it auto-generate an identity
I'm using an application called AspNetZero (much like AspNet Boilerplate) and I created a migration script in this application.
The migration script looks like this:
migrationBuilder.CreateTable(
...