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]

ASP.NET Boilerplate is an open source web application framework and the predecessor of .

Use GitHub for your bug reports and feature requests.

1376 questions
3
votes
1 answer

Required permissions are not granted. At least one of these permissions must be granted: Users

I'm trying to implement a file upload in an ASP.NET Boilerplate project. This is my code: Index.cshtml:
3
votes
2 answers

ReferenceError: internalBinding is not defined

In ASP.NET Zero 5.x, npm run create-bundles fails. I am building a licensed project on the ASP.NET Zero's ASP.NET Core MVC + jQuery base solution, based on ASP.NET Boilerplate framework. This is not a new/mint project, but an existing project that…
CShark
  • 2,183
  • 1
  • 24
  • 42
3
votes
0 answers

How to use ASPNET BoilerPlate with Oracle Database

We are using .Net Core template of ASPNET BoilerPlate framework. It works fine with SQL Server, but now we need to use Oracle 11g instead. Is it possible? If yes, how can we implement it for our project? Thanks and sorry for my English.
3
votes
3 answers

Access to xmlhttprequest at from origin has been blocked by cors policy in Angular 6

I'm using Asp.Net Core Boilerplate framework for my server side project. Angular 6 using for the client side project. Server side project working without any errors. (Showing Swagger API - and APIs are also working) No any compile errors from…
Mohan Perera
  • 370
  • 1
  • 4
  • 15
3
votes
1 answer

What is the purpose of using both Application Service and Manager?

I'm not an experienced programmer. I always browse the source codes to learn some things. ASP.NET Boilerplate is my favorite one. Yesterday, I noticed there is friendship application service (in service/application layer) and friendship manager (in…
3
votes
0 answers

Upload progress Aspnet Boilerplate & Angular 7

How can I track the upload progress using angular 7 and asp.net boilerplate? I see that using HttpRequest I can use the option "reportProgress: true" const req = new HttpRequest('POST', url, formData, { reportProgress: true …
Testador
  • 339
  • 1
  • 3
  • 7
3
votes
2 answers

ASP.NET Boilerplate: Constraining user Input DTO property value to specific set of values

I've recently started using ASP.NET Boilerplate as a starting point for a project I'm working on - Asp.NET Core Web Api + Angular, and I'm having trouble finding some information regarding something that seems to me like a common use issue. I'll try…
spico
  • 31
  • 2
3
votes
1 answer

Overriding Clock.Now time in ABP

How do you override the DateTime value of Abp.Timing.Clock? The projects are all using NuGet packages. I can't change or edit NuGet and release my own personal nuget.dll because then the whole project will give "Error, missing assembly reference."…
3
votes
2 answers

Get DbContext Instance used by asp.net boilerplate repository

I started a new project using Aspnet Boiler plate, but no longer feel like using repositories and tons of hidden engineering done behind the scene. Hence looking forward to get instance the db context instantiated by Abp repositories framework…
Abhijeet
  • 13,562
  • 26
  • 94
  • 175
3
votes
1 answer

Cannot access a disposed object (on DbContext) error on Hangfire recurrent job in ABP

I am trying to set up a Hangfire recurrent job on application startup, but in the job if I try to use an injected IRepository, it gives an error related to the DbContext when it tries to execute a query: System.ObjectDisposedException Cannot access…
Botond Béres
  • 16,057
  • 2
  • 37
  • 50
3
votes
3 answers

No client method with the name 'x' found with SignalR

I have an ASP.NET Boilerplate v3.6.2 project (.NET Core / Angular) in which I need to call a client function from a backend method, so I'm using the ASP.NET Core SignalR implementation. I followed the official documentation, so: In the backend In…
gvdm
  • 3,006
  • 5
  • 35
  • 73
3
votes
1 answer

Can not find webpack.config.js or webpack.config.vendor.js in ASP.NET Core 2.1 SPA Template

I started the project with dotnet core 2.1 spa template which had angular 5. I was trying to add ng2-toasty to the client app and then i realized the webpack.config.* files were missing from the project. Here is the Git repo of the project:…
3
votes
5 answers

Incorrect string value: '\xD8\xA7\xD9\x84\xD8\xB9...' for column 'DisplayName' at row 1

I'm getting the below exception when running server-side code. FATAL 2018-04-25 14:41:59,757 [1 ] Abp.AbpBootstrapper - Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner…
Vivek Nuna
  • 25,472
  • 25
  • 109
  • 197
3
votes
2 answers

Abp.AspNetCore.OData self-referencing loop when accessing odata/$metadata

I am configuring a new OData project using this package. I have configured the project as per the documentation: https://aspnetboilerplate.com/Pages/Documents/OData-AspNetCore-Integration When I access the route /odata/$metadata, I get the following…
tjackadams
  • 815
  • 2
  • 9
  • 26
3
votes
2 answers

Change remoteServiceBaseUrl when building for production

When wanting to deploy to a server, we need to change remoteServiceBaseUrl in /src/assets/appconfig.json. Is there a way to set remoteServiceBaseUrl/appBaseUrl differently depending on the environment?
Worthy7
  • 1,455
  • 15
  • 28