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

ASP.NET Boilerplate Framework with ADO.NET

How to use ADO.NET with the multi tenant application. I would like to to use ado.net with SQL server. please advise if there are any samples.
Lokesh B R
  • 272
  • 1
  • 8
0
votes
0 answers

Xunit Test for ASP.NET Boilerplate

For ASP.NET Boilerplate, I am trying to implement Xunit test for the project. Is there any method to provide the parameters to test methods and configure the test methods process order. In the normal test project, I could use [InlineData("Test", 3)]…
Edward
  • 28,296
  • 11
  • 76
  • 121
0
votes
2 answers

ASP.NET Boilerplate IRepository extension method

For Organization Units, we used the code below to get entities in an Organization Unit including its child Organization Units. Is it reasonable and how to extend the IRepository to add this feature to all entities? public virtual List
Edward
  • 28,296
  • 11
  • 76
  • 121
0
votes
1 answer

Check for existing record in ICustomValidate of ASP.NET Boilerplate

For ICustomValidate in ASP.NET Boilerplate, we can validate the value for the field. I am wondering whether it is able and recommended to check whether the added name of the Student already exists, in the ICustomValidate. For example, when creating…
Edward
  • 28,296
  • 11
  • 76
  • 121
0
votes
1 answer

How to make use of Castle.MicroKernel.Registration.Lifestyle.PerWebRequest within Abp?

I want to register an existing instance of a class using life style PerWebRequest on JwtTokenValidated event handler. I am using ASP.NET Core OWIN. I am using AspNetBoilerplate.
0
votes
0 answers

How can I combine windows login and anonymous authentication by using AD in asp.net boilerplate (.net mvc)? IIS HTTP Error 404.15

I have followed the instructions like the guide said: LDAP/Active Directory and How to use LDAP in ASP.NET Boilerplate (Free Startup Template) But with no success. Below is my trial and error: User Scenario: Most of the users are from the domain,…
Spencer
  • 177
  • 3
  • 20
0
votes
1 answer

Unable to connect to any of the specified MySQL hosts when I publish ABP to Ubuntu with Docker

I've tried to publish My Asp Boilerplate project to Ubuntu using Docker , but I got a problem. Unable to connect to any of the specified MySQL hosts. --- End of stack trace from previous location where exception was thrown --- at…
0
votes
1 answer

ASP .NET Boilerplate + MongoDb

I am using ASP.Net boilerplate framework + SQL Server 2016 in my project. Recently I have faced a challenge with migration from SQL Server to MongoDB. I have found that it is possible with ASP .NET boilerplate and installed required NuGet packages,…
0
votes
0 answers

Load Application Services Created under library in AbpModule

I am using the Asp.Net Boilerplate framework. I have created one plain Asp.Net core library called Test.ApplicationService. I have added one Application Service in it called TestAppService. I have also created one more AbpModule project called…
saajshek
  • 51
  • 6
0
votes
2 answers

How to get entity by specific field (not primary key)?

I have done get data by Id (primary key) with success. But if I call Get by another field, why is it always Id that is used? Here is my code: ITempatAppService.cs public interface ITempatAppService:IApplicationService { GetTempatOutput…
0
votes
2 answers

How to add new Dynamic Web API to ABP?

I want to add new API to ASP.NET Boilerplate's template for ASP.NET Core. I've tried to make it, but I always get response code 500 on Swagger. How can I add new API? Update Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component…
0
votes
1 answer

ABP Boilerplate using SQL CE

I have a simple ASP.NET application using EntityFramework and a SQL Server EF DB. The problem is that if I try to use SQL CE (Compact Edition), my application services throws an exception on the second call to the repository with the…
Gianpiero
  • 3,349
  • 1
  • 29
  • 42
0
votes
1 answer

Conflicting styles in downloaded template

When we download a free template (e.g. ASP.NET Core + jQuery), the default setup sees both Bootstrap and Materialize on the same page. The two frameworks have conflicting class names. Is it assumed that we will comment out one or the other?
jazb
  • 5,498
  • 6
  • 37
  • 44
0
votes
1 answer

AspNetBoilerplate client side validation

I'm trying out aspnetboilerplate and I love it so far. I downloaded the template with just ASP.NET Core MVC. The one thing I don't quite understand is when I have a Model class i.e. public class CreateSubjektInput { [StringLength(11), Required] …
Jones
  • 375
  • 1
  • 4
  • 14
0
votes
1 answer

Invalid Column Name after renaming

I have renamed a property of one of my models from CompanyId to CustomerId. I went into the database and renamed the column there as well. I'm getting an error that 'CompanyId is an invalid column name'. This old column name is no longer referenced…
Karl VH
  • 1
  • 2