Hi Halil, Yes,Newsletter is the best option I think.B'cos when I watch the GIT repo, I'll be notified each and every conversion on that repo. Which is annoying.So hope you'll implement newsletters in future.Thanks.
Hi, A 1 :
ASP.NET Boilerplate provides several attributes and extension methods to define mappings. To use it, add Abp.AutoMapper nuget package to your project. Then, use attribute AutoMap for two way mapping, AutoMapFrom and AutoMapTo for one way mapping. Use MapTo extension methods to map one object to another. Example mapping definition:
Here is the Link : [http://www.aspnetboilerplate.com/Pages/Documents/Data-Transfer-Objects#DocAutoMapping])
A 2 : Here is the Articles and Tutorials section (first section) : [http://www.aspnetboilerplate.com/Pages/Documents])
Hope this will help to you. Good Luck ! :)
Hi Halil, Awesome ! Thanks a lot for the clarification :)
I would like to add more to this question. ;)
At the time when ABP will have ASP.net 5 version,can we upgrade our existing apps into that version without any breaking changes ?
Now Angular 2 Beta has been released.So When ABP will have that version ?
Will we have issues when upgrade our existing apps into Angular 2 ?
Thanks in advance.
Here is the Solution : cheers :)
Web\App\common\views\layout\sidebar.cshtml
<ul class="sub-menu" ng-if="menuItem.items.length">
<li ui-sref-active="active" ng-repeat="childMenuItem in menuItem.items">
<a ui-sref="{{childMenuItem.url}}" ng-if="!childMenuItem.items.length">
<i class="{{childMenuItem.icon}}"></i>
<span class="title">{{childMenuItem.displayName}}</span>
</a>
<a href="javascript:;" class="auto" ng-if="childMenuItem.items.length">
<i class="{{childMenuItem.icon}}"></i>
<span class="title">{{childMenuItem.displayName}}</span>
<span class="arrow "></span>
</a>
<ul class="sub-menu" ng-if="childMenuItem.items.length">
<li ui-sref-active="active" ng-repeat="childMenuItem2 in childMenuItem.items">
<a ui-sref="{{childMenuItem2.url}}">
<span><i class="sub-menu-icon {{childMenuItem2.icon}}"></i> {{childMenuItem2.displayName}}</span>
</a>
</li>
</ul>
</li>
</ul>
Hi Halil, Yeah,If you can add JsReporting tool into ABP by default,then your framework will have huge value. Hope you'll think about it too.Good Luck ! :)
Hi Halil, Thanks a lot for the quick response. Do you have any experience with the JsReport ? Hence it's a JavaScript implementation, I think we can use it easily with the Angular.What's your thoughts about it ? Thanks in advance.
Url : <a class="postlink" href="http://jsreport.net/">http://jsreport.net/</a>
Hi Halil,
OK sure. Thanks a lot.You too have a Great week ahead ! :)
Hi Halil,
Thanks for the reply.Me too think this is due to lazy loading issue.Is there any way to use eager loading with below mentioned query ? Thanks in advance.
var ownerDetail = await _ownerDetailRepository.FirstOrDefaultAsync(p => p.Id == input.OwnerDetail.Id);
Note : I know how to do it in general.But I would like to know how to it with ABP ?
Eager loading sample :
var blog1 = context.Blogs
.Where(b => b.Name == "ADO.NET Blog")
.Include(b => b.Posts)
.FirstOrDefault();
Hi Halil,
Thank you so much :)
The problem was on the "AddressDto" mapping.I have done as you said and now it's working.Thanks again :)
Mapper.CreateMap<Address, AddressDto>()
.ReverseMap()
.ForMember(address => address.Id, options => options.Ignore());