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

How to list tenant users with specific role from the host?

I'm working on a project that is built with ASP.NET Boilerplate. The template that I use is .NET Core with Angular, including Module Zero. Multi-tenancy is enabled. The task that I am currently working on is to allow administrators of the host to…
3
votes
2 answers

Entity Framework 1-to-1 relationship with ASP.NET Boilerplate

How to set 1:1 relationship with the below-mentioned models when we use ASP.NET Boilerplate? Thanks in advance. Note 1: I have seen this nice answer about the EF 1-to-1 relationship. But unfortunately, I don't know how to set it with ASP.NET…
Sampath
  • 63,341
  • 64
  • 307
  • 441
3
votes
2 answers

Use SignalR as Broadcaster for EventBus Events

I recently started a new project with the AspBoilerplate (Abp) and to use SignalR as some kind of broadcasting mechanism to tell the connected clients if some records in the databse changed or were added or removed. If i use the SignalR Hub as a…
BoeseB
  • 695
  • 4
  • 17
3
votes
1 answer

Getting new DbContext when unit testing with Asp.Net Boilerplate

I'm working on a project built on Asp.Net Boilerplate, and now I have to unit test the services using the real repositories with a real database connection (no mocking). I've been using the last post of BringerOd in…
2
votes
0 answers

ASP.NET Core application is saying SSL certificate has expired, but it has not expired

I have an ASP.NET Zero application connected to an single sign-on (SSO) application using OpenIdConnect. The SSO application is using Identity Server and the ASP.NET Zero application is validating against the SSL certificate on the SSO. The SSL…
ckeedee
  • 87
  • 2
  • 9
2
votes
2 answers

AsyncCrudAppService Breaks Swagger When Providing TCreateInput and TUpdateInput

I recently downloaded a Single Page Web Application (Angular) from https://aspnetboilerplate.com/Templates using 3.x target version. I just simply added a few entities and then started to follow the steps on this page…
Sean W.
  • 863
  • 5
  • 14
2
votes
1 answer

EventBus is not triggering event on ASP.NET Core using Abp

I am trying to use EventBus as described here. Here is my EventData class public class UpdateEntryEventData: EventData { public long? AttributeId { get; set; } public int? TenantId { get; set; } public Guid Id { get;…
2
votes
1 answer

How to implement Multiple Notifiers with ASP.NET Boilerplate?

I'm using ASP.NET Boilerplate (with .NET Core). I'm trying to implement notification system as mentioned in official doc under Multiple Notifiers, but I encountered: System.NullReferenceException: 'Object reference not set to an instance of an…
Abdulaziz
  • 654
  • 3
  • 12
  • 37
2
votes
3 answers

Error: Failed to complete negotiation with the server: Error: Not Found

I'm using SignalR with ASP.NET Boilerplate .NET Core 3.1 but I encounterd this problem Error: Failed to complete negotiation with the server: Error: Not Found How could I resolve this problem without skip negotiate (solution mentioned here…
2
votes
0 answers

How To Upgrade "Abp-zero-Template" in .Net Core and Angular

I Have been trying this for several days.I am facing an error while up-gradation.I have upgraded all ABP nuget packages and downloaded dotnet core 3.1(SDK) and In Angular, AngularCLI is updated but "abp-zero-template" is not also getting the error…
2
votes
1 answer

How to Call Application service from Web Api in ASP.Net Boilerplate MVC project?

ASP.NET Boilerplate (.Net Framework v4.7.2 & MVC) I am creating a web api controller(AgentInfoController) for an application service class(AgentInfoAppService), which depends on a repository IAgentInfoRepository. From AgentInfoController, I am able…
2
votes
3 answers

How to get current user id on Angular and Asp.Net Boilerplate?

Is there any way to get the current user on Angular using Angular + Asp.Net Boilerplate? I know that I can get it on the API. But I want to send the object to the API with the current user id.
Testador
  • 339
  • 1
  • 3
  • 7
2
votes
0 answers

Extending AbpUserRoles to add new column - aspnetboilerplate

I'm trying to extend AbpUserRoles in order to add new column into it. I was able to do that as following: public class MyUserRole : Abp.Authorization.Users.UserRole { public int MyCustomColumn { get; set; } public MyUserRole() { } …
Zeeshan
  • 2,884
  • 3
  • 28
  • 47
2
votes
1 answer

Second DB Context not usable in unit tests

After I managed to get multiple Database Context working in asp.net boilerplate (with some help here ASP.NET Boilerplate multiple databases and DbContexts), I ran into another problem. In the unit tests, when I use one of the additional database…
Bertus van Zyl
  • 582
  • 5
  • 17
1
2
3
13 14