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

406 (Not Acceptable) message returns from the service

I'm working on ASP.Net boilerplate service project . I want to send a custom exceptions . I implemented [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public sealed class FriendlyError :…
0
votes
0 answers

ABP - AuthenticationFilter is not working in controller

I would like to implement some custom authentication logic, so I wrote an authentication filter. But for some reason, the AuthenticateAsync just never being called, which makes this attribute no use at all. I have tested the same code in a normal…
Spencer
  • 177
  • 3
  • 20
0
votes
2 answers

ABP - How does abp.auth being evaluated when starting a project?

I added a side-bar menu and maybe twisted a little, somehow the abp.auth isn't working anymore. I checked the abp.js, all I found is abp.auth = abp.auth || {}; abp.auth.allPermissions = abp.auth.allPermissions || {}; So where does abp.auth or abp…
Spencer
  • 177
  • 3
  • 20
0
votes
1 answer

Async Method of DeleteAsync not working

I'm new to asynchronous programming in c#. So here is my code: private async Task testDeleteBank(int id) { await _msBankRepo.DeleteAsync(id); var checkBank = (from A in _msBankRepo.GetAll() where A.Id…
hadie
  • 31
  • 2
0
votes
0 answers

ComponentActivatorException: Instance is already being tracked

I update to TenantManger constructor to include "RoleManager roleManager". I am not getting the exception below. public TenantManager(IUnitOfWorkManager unitOfWorkManager, IRepository userRepository, IRepository tenantRepository,…
Martin
  • 39,309
  • 62
  • 192
  • 278
0
votes
2 answers

System.BadImageFormatException asp.net boilerplate

I have been having issues with boilerplate i am just starting out with the use of it but every time i download the template it gives me this error not sure why it does this. any help would be appreciated
0
votes
2 answers

Enable-Migrations Command giving Error

I was working on ASP.Net boilerplate framework and now that machine is not available where i was working, But i have backup on my Google drive. How i can use that backup properly? Database creation , project running etc??? I am getting error on…
0
votes
2 answers

Asp.Net boilerplate,, How to Move boilerplate project to another Computer?

I was working on ASP.Net boilerplate framework and now that machine is not available where i was working, But i have backup on my Google drive. How i can use that backup properly? Database creation , project running etc??? I am getting error on…
0
votes
1 answer

ASP.NET Boilerplate 3.0 Template

First, thanks for the opportunity, I noticed that the latest template using ABP 3.0 and aspnetcore 2.0 doesn't come with social logins implementations. Also I cannot register user in UI anymore. I would like to know why they were gone. Will these…
0
votes
2 answers

How to use a varchar column other than Id for PK?

I have a table which has Code as PK, but I get the exception below in DefaultEditionCreator.cs once I try to run the application. [Table("Test")] public class Test: FullAuditedEntity { …
0
votes
1 answer

How to pass object in method to call service API in ASP.NET Boilerplate?

I have defined a method defined in AppService file, Signature of method is public PagedResultDto GetSearchData(FetchDataInput searchInput). I'm calling this method from Angular code, but service-proxoes.ts file has generated method in…
Vivek Nuna
  • 25,472
  • 25
  • 109
  • 197
0
votes
0 answers

Controller does not catch JavaScript variable

I am working in ASP.NET Boilerplate (ABP) and AngularJS. I am using controllers (to upload files) with Kendo upload on frontend. To access controller I am using clicking kendo button clicking it like: ($("#files").data("kendoUpload")).options.async…
Dawid
  • 153
  • 3
  • 18
0
votes
1 answer

Asp Boilerplate,,, How to create New Menu in Menu bar?

I want to add a new menu in menu bar, i created a class according to Boilerplate documents, but don't know how to configure menu,, And menu is for all users,, Here is code which i have done yet I created a class extended from navigation provider …
0
votes
0 answers

How to do Xamarin.Forms authentication in ASP.Net Boilerplate with JwtBearer?

How can I authenticate the native Xamarin.Forms mobile application with ASP.Net Boilerplate? Is there any library for Xamarin to authenticate with ASP.Net Boilerplate? Could anyone post an example of how to do this? Many thanks.
0
votes
1 answer

How to work wirth WCF services in ASP.Net Boilerplate?

I want to do CRUD by web-services(WCF), but i am using boilerplate framework , my question is how to work with web-services(WCF) in boilerplate?? any helpful link or tutorial??
MMG
  • 151
  • 1
  • 3
  • 13