Questions tagged [asp.net-boilerplate]

ASP.NET Boilerplate is a starting point for new modern web applications using best practices and most popular tools. It's aimed to be a solid model, a general-purpose application framework and a project template.

Template

ASP.NET Boilerplate easily creates startup template for your project. It includes most used framework and libraries by default. Also allows you to choice Single-Page (Angularjs or Durandaljs) or Multi-Page architecture, EntityFramework or NHibernate as ORM.

Architecture

ASP.NET Boilerplate implements NLayer architecture (Domain, Application, Infrastructure and Presentation Layers) and Domain Driven Design (Entities, Repositories, Domain/Application Services, DTO's...). Also implements and provides a good infrastructure to implement best practices such as Dependency Injection.

Framework

ASP.NET Boilerplate is an application framework built on latest ASP.NET MVC & Web API technologies. It makes easy to use dependency injection, logging, validation, exception handling, localization and so on. It makes these not only itself but also using most popular framework and libraries.

More information at www.aspnetboilerplate.com

206 questions
1
vote
1 answer

How to retrieve (Jwt) access token from current user and pass it to a mobile application in asp.net boilerplate (abp)?

I am new to asp.net boilerplate (abp.io). I made a project as backend for an existing mobile application. So I need to retrieve Jwt token from current logged in user and pass it for mobile application which calls Login api. So please help me how to…
1
vote
1 answer

ASP NET Angular deployment on Azure gives 404 resource not found for any file or route

I've been trying to deploy my ASP.NET Boilerplate project to Azure and so far I've succeeded to publish my project to Azure using Visual Studio publish. Right now I have my back-end up and running and I can access the swaggerUI page and execute API…
Jobje325
  • 55
  • 12
1
vote
0 answers

Default localization XML file in different Culture

We are currently using ASP.NET ZERO (ABP). Throughout the course of implementation the XML files with LocalizedTexts got bigger and bigger. To manage LocalizedTexts we are using a build-in manager: We use XML (file.xml) file with culture "en" and…
CabbageMan
  • 11
  • 2
1
vote
1 answer

Masstransit unti tests problem and ISendEndpointProvider within DI

I want to unit test services which uses Masstransit(rmq) to send messages. According to the doc, there is InMemoryTestHarness class for this. But I can't figure out how can I use it in my scenario. I use AbpBoilerplate framework, so first of all I…
Sharov
  • 458
  • 8
  • 38
1
vote
1 answer

Get all parent table rows and all children's table rows in ABP .NET core framework

I'm using built-in CRUD operations in ABP .NET Core but when it returned the data from the GetAll method, its retuned all parent rows, but return null in their list of children. public class MainProjectAppService : AsyncCrudAppService
1
vote
1 answer

I am trying to implement permissions in asp.net boilerplate and I can't seem to get it right

I am getting the error message: Required permissions are not granted. At least one of these permissions must be granted: [Plug entity] Please also advice on how to grant the permissions. Here is my code: namespace Sprint.Plug { …
1
vote
1 answer

Use Gregorian Date with non English Culture in Abp framework .NET Core 3

When changing the language in ASP.net boilerplate (.NET core 3 with Angular) the date in the UI has been changed to Ar Culture I wanna use Gregorian Date with Ar Culture. Is there any straight forward solution without lots of workarounds I found…
Abdulaziz
  • 654
  • 3
  • 12
  • 37
1
vote
1 answer

Use AbpCastleLog4NetModule in Abp Module

I have this Class library(.net standard) which contains an Abp module and I want to log exceptions via AbpCastleLog4NetModule. this class library is going to be used in an .net core console…
Sara Nikta Yousefi
  • 1,467
  • 5
  • 21
  • 35
1
vote
0 answers

AutoMapper.AutoMapperMappingException: Missing type map configuration or unsupported mapping

I'm using ASP.NET Boilerplate (.NET Core v3). The problem is Create function returns "500 Internal Server Error", though Get and GetAll are working without any problems. Below id AppService class Code using System; using…
burg.developer
  • 378
  • 1
  • 12
1
vote
1 answer

Service call to service at Aspnet Zero Boilerplate

I have a couple of simple services that exchange information: public class Service2: PPlusAppServiceBase { private readonly IAbpSession _session; public Service2(IAbpSession session) { _session = session; …
1
vote
1 answer

How to assign TenantId to abpsession in login process API?

Application(aspnetboilerplate) is a standalone API service. For login used TokenAuthController/Authenticate as post request, it's logging but cannot be getting the Tenant details there. As the AbpSession.TenantId is not set. Below is the code.…
shamim
  • 6,640
  • 20
  • 85
  • 151
1
vote
1 answer

Problem running ABP Web API within IIS Application (Virtual Directory)

I created an app with ASP.NET Boilerplate (ABP) using the Module Zero Core template (Angular and ASP.NET Core, except I'm using .NET Full Framework 4.x). It works fine when I do a standard deployment to IIS (Angular running on port 80, ASP.NET Web…
Joel Leach
  • 126
  • 9
1
vote
1 answer

Is it possible to extend IEntityHistoryStore to store per-table rather than track all in the same table?

In asp.net boilerplate, we have the need to track changes to entities. I see that ABP has entity tracking (new) but it's storing all changes across entities in one table, which won't work for us. Is it possible to create a custom IEntityHistoryStore…
1
vote
1 answer

Can not resolve reference to "package" referenced by "project"

I am trying to run the Mobile project of ASP.NET Zero following their docs for Developing-Step-By-Step-Xamarin. When I build the project, I get this error: XA2002: Can not resolve reference: Abp.AutoMapper, referenced by…
A.HADDAD
  • 1,809
  • 4
  • 26
  • 51
1
vote
3 answers

How to add a line break in ASP.NET Boilerplate menu from Navigation Provider with localization

I have defined menu items using the Navigation Provider with localization. How can I add a line break in the middle of the menu name? Navigation Provider public override void SetNavigation(INavigationProviderContext context) { …