Base solution for your next web application

Activities of "sampath"

Hi Halil, Can you give us a guidance for implementing angular unit testing with the Jasmine ? I know it is not related to the ASP.net Zero. But it's really nice if we can have such a sample for it also.If you can give us an example how to do it with the Phone book app,it's really appreciated.Later you can add that example to this page also : [http://www.aspnetzero.com/Documents/Developing-Step-By-Step]). Hope you'll give feedback for this.Thanks.

Hi Halil, Yep,That was the problem.I have changed that into 4.5.2 and then it worked.Thanks a lot :)

I have tried to install latest Abp 0.7.6 nugget package into my Application layer.But it gives below mentioned error.Could you tell me why ? Thanks in advance.

Install-Package : Could not install package 'Abp 0.7.6.0'. You are trying to install this package into a project that targets 
'.NETFramework,Version=v4.5.1', but the package does not contain any assembly references or content files that are compatible with that 
framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package Abp
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

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.

Could you tell me how to update all the 'ASP.NET Boilerplate Nuget Packages' at once ? Let's say on the latest release where it's having around 10 Nugets. So without updating them one by one where is there any method to update them all at once ? Thanks in advance.

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 ! :)

Could you tell me how can I know about the latest releases of the ASP.net Boilerplate ? As an example about the ver : ABP v0.7.6.0 ? Which steps should I follow to notify me about it through email ? Thanks in advance.

Hi Halil, Awesome ! Thanks a lot for the clarification :)

I would like to add more to this question. ;)

  1. At the time when ABP will have ASP.net 5 version,can we upgrade our existing apps into that version without any breaking changes ?

  2. Now Angular 2 Beta has been released.So When ABP will have that version ?

  3. 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>
Showing 161 to 170 of 187 entries