Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "aaron"

ASP.NET Zero with jQuery uses ASP.NET Identity cookies. You should check the "Remember Me" checkbox when you login.

You can make it checked by default in Login.cshtml:

<input type="checkbox" name="rememberMe" value="true" checked /> @L("RememberMe")

From the documentation on NLayer Architecture:

Application Layer Application layer mainly includes Application Services that use domain layer and domain objects (Domain Services, Entities...) to perform requested application functionalities. It uses Data Transfer Objects to get data from and to return data to presentation or distributed service layer. It can also deal with Authorization, Caching, Audit Logging, Object Mapping, Session and so on...

Domain Layer This is the main layer that implements our domain logic. It includes Entities, Value Objects, Domain Services to perform business/domain logic. It can also include Specifications and trigger Domain Events. It defines Repository Interfaces to read and persist entities from data source (generally a DBMS).

@affern Summernote is used in MVC project's _Editor.cshtml.

PrimeNG Editor is now used in Angular project's demo-ui-editor.component.html as of Aug 2017. The suggestions above were made before that.

Can you show the error in Logs.txt?

Related question: https://stackoverflow.com/questions/4472369/returning-a-distinct-iqueryable-with-linq

var query = (from u in UserManager.Users
             join ou in _userOrganizationUnitRepository.GetAll()
             on u.Id equals ou.UserId
             select u)
             .GroupBy(u => u.Id)     // This line +
             .Select(g => g.First()) // this line, instead of Distinct()
             .WhereIf(
                !input.Filter.IsNullOrWhiteSpace(),
                u =>
                    u.Name.Contains(input.Filter) ||
                    u.Surname.Contains(input.Filter) ||
                    u.UserName.Contains(input.Filter) ||
                    u.EmailAddress.Contains(input.Filter)
                );

You can property-inject, like this:

public class ProvinceAppService : ResourceAssessmentsNetworkAppServiceBase, IProvinceAppService
{
    public IAsyncQueryableExecuter AsyncQueryableExecuter { get; set; }

    public ProvinceAppService(IRepository<Province.Province> provinceRepository)
    {
        // ...
        AsyncQueryableExecuter = NullAsyncQueryableExecuter.Instance;
    }
}

My previous post already shows the do part.

Showing 1101 to 1110 of 1543 entries