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
2 answers

Integrating ASP.NET Boilerplate Module zero with IdentityServer4

I'm trying to use IdentityServer4 with ASP.NET Boilerplate Module zero but i'm getting some errors I'm trying to follow this link http://docs.identityserver.io/en/release/quickstarts/6_aspnet_identity.html My ConfigureServices function public…
1
vote
1 answer

Add Http Status codes in DynamicAPI and/or AbpApiController

I am trying to pass custom Http Status codes in the response headers, when using Asp.Net boiler plate Dynamic API and web api written by inheriting AbpApiController. The following are the two ways I tried, but failed: a) In the AppService, I used…
1
vote
1 answer

MVC/WebApi Stream from HTTPPostedFileBase

I am trying to a pass a stream from a HttpPostedFileBase to a service method without saving to disk. //Controller Action [HttpPost] public void Import() { if (Request.Files.Count == 0) return new…
1
vote
1 answer

Why does my UpdateAsync(user) method fail the first time, claiming user doesn't exist?

I have a method that signs a user in and attempts to update the user if the viewModel is different than user object. The behaviour I'm seeing is confusing. Every time the method executes, if the user was not previously logged in, the line await…
DaveDev
  • 41,155
  • 72
  • 223
  • 385
1
vote
3 answers

Where to put business (game) logic in aspnetboilerplate

I'm new to DDD (Domain Driven Design). In a traditional project I would generally make a persistence, business, and user interface layer. Now with aspnetboilerplate there is a core, application services, entityframework, and ui layer. My…
1
vote
1 answer

How to create Dynamic Web API Controllers for services in different assemblies?

I'm trying to create Dynamic Web Api Controlers for services in my ThirdParty assembly, as well as controllers for the services in my SimpleTaskSystem assembly, with the following: [DependsOn(typeof(AbpWebApiModule))] //We declare depended modules…
DaveDev
  • 41,155
  • 72
  • 223
  • 385
1
vote
1 answer

AngularJS Datatable not updated when using a modal form

I'm using ASP.NET Boilerplate to create a SPA CRUD application with AngularJS and AngularJS datatable. When I for example delete an User everything works fine, but when adding a new User using ngDialog the datatable does not get updated even when…
Sam
  • 1,303
  • 3
  • 23
  • 41
1
vote
1 answer

ASP.NET Boilerplate - Authorization not working

I'm using the ASP.NET Boilerplate framework to create an application with authorization but having trouble making it work. The ajax method is calling the Login method and retrieving the correct data performing the success function and confirming:…
Sam
  • 1,303
  • 3
  • 23
  • 41
0
votes
1 answer

areas routes mapping issue

I'm working with areas controllers as well as simple default controller. I want to make areas controller (Public) as a default route i.e public/home/home but when I go to simple controller i.e account/login it returns wrong url which is…
0
votes
1 answer

MassTransit integration Aspnetboilerplate

I would like to integrate MassTransit with Aspnetboilerplate project to use RabbitMQ as distributed event bus. Then potentially look to integrate Azure Service bus. I am struggling in how to create a simple Eventbus and implement register and…
0
votes
0 answers

Unable to Roll Back transaction in asp net core boilerplate

I am trying to implement roll back the transaction in asp net boilerplate, so if the delete of the subsequent entity throws an exemption I need to roll back the delete of the previous entity, with the following code, the first delete is committed…
0
votes
1 answer

Include into GetAll method (ASP.NET Boilerplate)

I use asp.net boilerplate for my back end I created app service that inherits AsyncCrudAppService But my GettingApproved…
Eugene Sukh
  • 2,357
  • 4
  • 42
  • 86
0
votes
1 answer

ABP IRepository is null when called from Console application

I am trying to call a Domain service from integration test cases, so I create teamManager object using GetRequiredService() : _teamManager = GetRequiredService(); by this I am able to access methods inside TeamManager and inside Teammanager…
0
votes
1 answer

Asp.Net BoilerPlate - PermissionManager.GetAllPermissions() not getting a new permission

I created a default solution from BoilerPlate's website with angular. I need to create a new permission to assign to a user. So I added it in my authorization provider: public class PilotoConciliacaoAuthorizationProvider : AuthorizationProvider { …
Lombardo
  • 21
  • 5
0
votes
1 answer

Problem to Extending Localization Sources in abp v 6.3.0

I need to extend localization sources. According to the descriptions in the documentation, I added the localization sources files in a folder named AbpWebXmlSource and marked embed. After that, I registered them in the PreInitialize() method of…