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/

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/

52 questions
2
votes
1 answer

Delegating user related topics to another Asp Net Zero project

I'm wondering and trying to achieve the following scenario with Asp Net Zero 12.0.0 - ASP.NET CORE & Angular: A project that keeps all the users, permissions, roles, user groups, charts and pretty much everything related to users. Another project…
Saleh Ahmadi
  • 75
  • 2
  • 2
  • 16
1
vote
1 answer

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 is there any way to map Id from saved…
angelica
  • 27
  • 6
1
vote
1 answer

How to disable MayhaveTenant filter for super admin(Host)?

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 assigned tenant Id into the same entity. After that…
1
vote
1 answer

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 trying to configure my code on azure virtual…
1
vote
0 answers

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 compilation below error is…
1
vote
0 answers

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 error when I browse any page I checked first in…
Donald Jansen
  • 1,937
  • 4
  • 22
  • 41
1
vote
0 answers

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 cannot be null. (Parameter 'unitOfWork') Any…
devson
  • 990
  • 8
  • 22
1
vote
1 answer

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 code for use in my project. All I have done so…
exlnt
  • 293
  • 3
  • 20
1
vote
1 answer

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.Id == 11) …
1
vote
0 answers

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?
1
vote
1 answer

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 the steps, or are specific to mvc, and this project…
0
votes
1 answer

Can we modify AbpUserConfiguration/GetAll or reduce the response time by any means

In my application, the response time for the API call - AbpUserConfiguration/GetAll is around 3-7 seconds, not just the first time. This API is called when the user logs in. Is there any way that I can optimize this to make the UI load…
DevUser
  • 1
  • 1
0
votes
0 answers

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 is getting set, which I want to set in case of…
Aashima
  • 1
  • 1
0
votes
0 answers

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 helper to identify the user the api key instead of…
Angel
  • 1
  • 1
0
votes
0 answers

How to fix MT3001 error when deploying a Xamarin.Forms iOS app with AspNet Zero to an iPhone device?

I have a Xamarin.forms IOS application and it's using AspNet Zero. The application works well on the emulator for both debug and release but when I try and deploy it to a real (IPhone) device in release mode and debug mode, I get the error…
jmdee
  • 1
  • 1
1
2 3 4