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
0
votes
0 answers

Current user did not login to the application! in boilerplate

I am download angular + asp.net core template(v2x) from net. Successfully create database and run the API layer, then build angular application and run using "npm start". Both application runs successfully. When I login to application by default…
0
votes
1 answer

Dependency injection won't work when GraphQL ObjectGraphTypes in multiple assemblies

I have defined several GraphQL ObjectGraphType and queries in several projects. All of these projects has dependency to asp.net boilerplate GraphQL project. It return error "Castle.MicroKernel.ComponentNotFoundException: "No component for supporting…
kenn3th
  • 1,187
  • 2
  • 22
  • 47
0
votes
1 answer

Get tenantId for mobile app (ASP.NET Boilerplate)

I using asp.net boilerplate as Web- project, and back-end for mobile apps. The app is multitenancy. I have a method to Validate mobile access code. Here is it code [AllowAnonymous] [ProducesResponseType(typeof(UserDataModel), 200)] …
Eugene Sukh
  • 2,357
  • 4
  • 42
  • 86
0
votes
1 answer

How to get DbContext in ABP service?

How to get DbContext instance in application layer? I tried: 1. public class SeedingTestDataAppService : MyAppServiceBase { private readonly MyDbContext _ctx; public SeedingTestDataAppService ( MyDbContext context // Error …
0
votes
0 answers

Run code on periodic timer after services registered

I have a class which I'd like to run a method on periodically. I'd prefer to do this with a timer method, so built the class with a method: StartPolling() which would then call my DoSomething() method every 60 seconds. I tried to start the polling…
Chris
  • 41
  • 5
0
votes
1 answer

Template for asp.net core webapi service

Using the asp.net.boilerplate it appears I will always have to choose a front-end option. It is possible to use this purely for a standardized REST webapi service only?
0
votes
1 answer

How to use Custom mapper with IObjectMapper on the service

Work on aspnetboilerplate asp.net core project, face difficulties on custom mapping. Want to create custom map and want to use it several times as like AUTOMAP profiler.Follow documentation but failed to implement this on my project. My steps…
shamim
  • 6,640
  • 20
  • 85
  • 151
0
votes
0 answers

The Notification System of Abp is not run .What wrong with it?

Notification System used to send some message to specific users.But global event not avaible in js file. code in js abp.event.on('abp.notifications.received', function (userNotification) { console.log("userNotification",…
Fathi
  • 1
  • 1
0
votes
4 answers

Failed to call service from aspnetboilerplate asp.net-core project controller

Work on Aspnet core boilerplate framework stuck on one issue, form my controller failed to call services. Application class library contains IEmployeeService and EmployeeService, how to call them from my EmployeeController. Service public…
shamim
  • 6,640
  • 20
  • 85
  • 151
0
votes
1 answer

IRepositoy.InsertOrUpdateAsync throwing concurrency exception

I was creating a content managment system on ABP using entityframework and .net core. I am getting concurrency exccetion when using InsertOrUpdateAsync. I do not have any data in my table. Please find the Model used to create table. …
django
  • 190
  • 14
0
votes
1 answer

Metadata and Assembley errors After saving the project in the cloud?

I saved my Asp.Net Zero project in Google drive Before re-installing windows 10 in the work-station of my company. Re-opening the project i was surprised with the repeated CS0234 and CS0246 errors: so in the project i get many underlined types or…
A.HADDAD
  • 1,809
  • 4
  • 26
  • 51
0
votes
0 answers

Assembly not found after deleting package and Rebuild?

New to asp.net i am trying to run the project described in asp.net zero docs using visual studio 2017. When i build the project , i get warnings telling the absence of certain assemblies in the…
A.HADDAD
  • 1,809
  • 4
  • 26
  • 51
0
votes
2 answers

ASP.NET Boilerplate Allow Self-Provisioning Tenant Registration

so im trying to create a SaaS application with ASP.NET Boilerplate, and i come into some problem as follows: As i observe the framework, i noted that the "RegisterAsync" function in UserRegistrationManager create user based on the currently active…
0
votes
1 answer

ASP.NET BoilerPlate : Field 'Id' doesn't have a default value

After downloading the latest version, I run the migration command: update-database. Then I started the Host project, which throws an exception: "Field 'Id' doesn't have a default value " Took a look in the tables that the migration script…
0
votes
1 answer

How do I get the DBContext in the ApplicationModule Initialize() method

I'm trying to configure automapper.Collections for my aspnet boilerplate core project, how do I get the DBContext to configure: cfg.SetGeneratePropertyMaps> (); ie in: public override void Initialize() { var thisAssembly =…