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
6
votes
1 answer

Query source has already been associated with an expression

I have a multilingual entity (the translated strings are stored in a separate table) and I would like to filter across the translated string of the current UI culture. If there is no translated string for the current UI culture, I would like to take…
Alex
  • 71
  • 5
6
votes
2 answers

.ToListAsync() not found when using WhereIf

I am reading this tutorial. I want to use async query with EF Core. It works well when i use like this: var tasks = await _taskRepository .GetAll() //.WhereIf(!string.IsNullOrEmpty(input?.Title), x => x.Title.Contains(input.Title)) …
Mahmut Gundogdu
  • 543
  • 4
  • 12
6
votes
1 answer

How to use Npgsql in ASP.NET Boilerplate Core 2.0 template?

I have spent many hours trying to use PostgreSQL with ASP.NET Boilerplate Core 2.x + Module Zero (which looks awesome!). I added Npgsql.EntityFrameworkCore.PostgreSQL & Npgsql.EntityFrameworkCore.PostgreSQL.Design dependencies to…
6
votes
2 answers

Web API Authorization via HttpWebRequest

I have a function to call my Web API. It works well if TestCallingRemotely is set to [AllowAnonymous]. var httpWebRequest = (HttpWebRequest)WebRequest.Create( …
6
votes
1 answer

How to stop or pause Quartz job

I have executed 2 jobs (MyJob1 and MyJob2) as below: public async Task < ActionResult > ScheduleJob() { await _jobManager.ScheduleAsync < MyJob1 > ( job => { job.WithIdentity("Job1Identity", "MyGroup") .WithDescription("This is…
Hoang Tran
  • 886
  • 3
  • 13
  • 32
6
votes
4 answers

Should I be calling an AppService from another AppService?

Context Currently I'm working in a Documents and Records Management System (DRMS?). Because of some technical limitations I need to store a "view" file and a "source" file (DOCX or XLSX). A view file is a PDF file for users to print, download and…
IvanGrasp
  • 118
  • 10
6
votes
3 answers

Asp.Net Boilerplate,, How to Get current Login User?

I want to get the user data which is currently logged in,, ?? I have to send current user ID to a table in database How to do this??
MMG
  • 151
  • 1
  • 3
  • 13
6
votes
2 answers

How do I get visibility / debug high memory usage in a dotnet Core application running on IIS

We have an application we have recent ported to use the Aspnet boilerplate framework and are having a number of issues regarding memory usage. Our initial symptom was intense memory usage with no alleviation in times of high use. Memory use…
5
votes
1 answer

System.MissingMethodException: Method not found: 'System.Type Microsoft.EntityFrameworkCore.Metadata.ITypeBase.get_ClrType()'

Good Day Developers, Please I updated my .Net5 to .Net6 and I have this errors on adding migration: System.MissingMethodException: Method not found: 'System.Type Microsoft.EntityFrameworkCore.Metadata.ITypeBase.get_ClrType()'. at…
5
votes
3 answers

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 issue with export Module not found: Error:…
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
5
votes
1 answer

ASPNET Boilerplate, extending audit log

I am trying to extend the AuditLog entity in ASPNETBOILETPLATE framework in order to add some new properties to it. I have tried to extend the AuditLog class (ExtendedAuditInfo) and implement a customised version of AuditStore Class…
Mahyar Mottaghi Zadeh
  • 1,178
  • 6
  • 18
  • 31
5
votes
2 answers

ABP Property 'tz' does not exist on type 'typeof moment'

I downloaded .NET Core & ReactJS template from aspnetboilerplate.com . I initialized the db. In reactjs folder, I ran npm install and npm start commands. I get this error: Property 'tz' does not exist on type 'typeof moment'. I tried these…
emert117
  • 1,268
  • 2
  • 20
  • 38
5
votes
1 answer

How to set session timeout / expiry time in ASP.NET Core MVC?

I am using ASP.NET Zero version 7 of ASP.NET Core, MVC and jQuery project. I am trying to set session timeout / expiry time to automatically log out from the application when the application is idle for some time. Can anybody please let me know how…
5
votes
0 answers

In-process hosting on .NET Core 2.2 slowed down API response time

I have recently upgraded .NET Core web API from 2.1 to 2.2. Microsoft claims that the new InProcess hosting model should be up to 4x faster than OutOfProcess hosting model. However, when I set IIS hosting model to InProcess…
5
votes
1 answer

ASP.NET Boilerplate token expiration

I'm using ASP.NET Boilerplate. I have an application in Angular (external to ABP) that I would like to consume my API. For that, I get an access token via /api/TokenAuth/Authenticate, and then I use the token in the calls to my API. The problem is…
1 2
3
91 92