I do have a collapsible panel working with 'data-toggle="collapse"' in html, so I think the means Bootstrap is loaded - yes? When I place
console.log($().collapse);
in 'ngOnInit()' in my component, the browser console message is
undefined
... which would suggest Bootstrap is not loaded?
The most recent Metronic package I could find was metronic-v4.7.5.zip from June 2017. I there a more recent update?
Your posted solution works. Thank you for updating the instructions document.
Until the aspnet-zero-samples/PhoneBook-Angular project on github is updated and tested, those files are basically useless as a reference when problems arise.
There's nothing about AddPhone or DeletePhone "included in the previous post".
Actually if you give it a read again there is code starting at the 3rd line, and it is how I implemented the constructor of PersonAppService, My apologies for not using the code tags to highlight it. But that is beside the main points, which I will get to in a moment. It does appear that I have implemented it correctly. Thank you for correcting the instructions.
In the same page at section "Creating Person Application Service" the instructions say... "Application service interface and DTOs are located in .Application.Shared project." This makes sense given most other DTOs are located in the project. However, going to the github repository ... [https://github.com/aspnetzero/aspnet-zero-samples/tree/master/PhoneBook-Angular]) ... to double check my implementation I discover that the application service interface and DTO folder are in the .Application project.
My questions are:
I have double checked all my code, and as best as I can follow the instructions, I believe I have implemented the code correctly. I remain baffled why it will not pass all Tests.
I've attached the related projects in a zip file if you care to investigate into which folders are the files I implemented the code in, and if the code is correct. Thank you for your assistance. PhoneBookDemo.src.zip
First of all, please note that I corrected the title.
To your point to double check all the steps...
The instructions are a bit cryptic at this point, i.e. "(Note: We injected IRepository<Phone, long> in the constructor and set to _personRepository field, as similar to _personRepository)"
I included in the previous post the code that I wrote so that someone could verify if it follows the above instruction. Please refer to the attached .zip file for the changed code. Thank you. AddPhone-and-DeletePhone-Method-Error.zip
I look forward to its release.
@vladsd: I'm so happy they work for you! I too get notifications with valid links! My ability to report bugs and receive notifications is indicative of having an account, and I don't need to be logged into the forum to receive email. Below is the raw email text. I'm submitting this issue as a bug in the forum notification system.
Hello TimMackey,
You are receiving this notification because you are watching the forum, "ASP.NET Zero Support" at "ASP.NET Boilerplate - Web Application Framework". This forum has received a new topic by sunilkosuri since your last visit, "ForeignKey - Migration". You can use the following link to view the forum, no more notifications will be sent until you visit the forum.
<a class="postlink-local" href="https://forum.aspnetboilerplate.com/viewforum.php?f=5">viewforum.php?f=5</a>
If you no longer wish to watch this forum you can either click the "Unsubscribe forum" link found in the forum above, or by clicking the following link:
<a class="postlink-local" href="https://forum.aspnetboilerplate.com/viewforum.php?uid=27157&f=5&unwatch=forum">viewforum.php?uid=27157&f=5&unwatch=forum</a>
The code you referenced is correct. I used the (erroneous) code posted at <a class="postlink" href="https://aspnetzero.com/Documents/Developing-Step-By-Step-Angular">https://aspnetzero.com/Documents/Develo ... ep-Angular</a>
<input [(ngModel)]="filterText" name="filter" autoFocus class="form-control m-input" [placeholder]="l('SearchWithThreeDot')" type="text">
fyi... I have noticed many other errors and omissions in the instructions, but have been able to eventually figure it out in most cases.
That is the solution! Thank you!
Yes, PhoneBook-Angular solution, version 5.3.0.
When I execute the Test the following error occurs:
Test Name: PhoneBookDemo.Tests.People.PersonAppService_Tests.Should_Create_Person_With_Valid_Arguments Test FullName: PhoneBookDemo.Tests.People.PersonAppService_Tests.Should_Create_Person_With_Valid_Arguments Test Source: C:\PhoneBookDemo\PhoneBookDemo\aspnet-core\test\PhoneBookDemo.Tests\People\PersonAppService_Tests.cs : line 50 Test Outcome: Failed Test Duration: 0:00:07.944
CreatePersonInput -> Person (Destination member list) PhoneBookDemo.PhoneBook.CreatePersonInput -> PhoneBookDemo.PhoneBook.Person (Destination member list)
Unmapped properties: IsDeleted DeleterUserId DeletionTime LastModificationTime LastModifierUserId CreationTime CreatorUserId Id