Thank You @alper
but I'm not using UWP for Windows phone development, but for Windows 10 App Store Application.
So what do you suggest me to do? I use WPF? And How to reuse Xamarin Shared Project In a desktop Application. Or have you a sample implementing the use of Session and Services?
Thanks in advance.
Thank you Maliming,
I have found this in documentation. But I cant find the "AbpWebApi" or the "DynamicApiControllerBuilder" in the "Modules" of the object "Configuration".
I have also found this Microsoft article but not "config.MapHttpAttributeRoutes()"
Please help
Hello,
thank you alper for your quick response. But, I can't find how to authenticatate without password. Can you please give me an example of the implimentation of the "TryAuthenticateAsync" method;
thanks in advance.
<cite>ismcagdas: </cite> Hi @DFIELEC,
Does your angular app's configuration contains "/SubDirectory" for appBaseUrl ?
Hello, yes, it contains.
Thank you very much
Thank you very much aaroon, it works.
Now, how to add multiple attributes?
In reality, the repository gives bad results. here an example
public class Parent: FullAuditedEntity
{
[Required]
public virtual string Name { get; set; }
public virtual ICollection<Child> Children{ get; set; }
}
public class Child: FullAuditedEntity
{
[ForeignKey("ParentId")]
public virtual Parent Parent{ get; set; }
[Required]
public virtual int ParentId { get; set; }
public virtual string Name { get; set; }
}
[AutoMapFrom(typeof(Parent))]
public classChildDto : FullAuditedEntityDto
{
public string Name { get; set; }
public int ParentId { get; set; }
public string ParentName { get; set; }
}
public class ChildAppService : MyAppServiceBase, IChildAppService
{
private readonly IRepository<Child> _childRepository;
public ChildAppService(IRepository<Child> childRepository)
{
_childRepository = childRepository;
}
public async Task<ListResultDto<ParentDto>> GetChildren()
{
var children= await _childRepository.GetAllListAsync();
return new ListResultDto<ChildDto>(ObjectMapper.Map<List<ChildDto>>(children));
}
}
in the children list, the children[i].Parent is always null