I get the error at runtime when trying to save a new person. If you follow the step-by-step tutorial, where you add a person and phones, and also add a birthdate, then you will no longer be able to save and you get the error I included in the browser console.
I also checked the generated service-proxies class and it has:
birthDate: moment.Moment;
Other classes also use Moment for dates, but it's unclear from the error why this Moment is not allowed to use the toISOString method.
Just a note: I also set a breakpoint and the API is never hit, which is expected.
Thoughts?
Awesome! Thanks for sharing the solution!
Will this affect the core project's ability to generate MVC controllers?
I've posted a bit on how to do this and always try and provide the resolutions . Check out this thread/posts:
First, thank you to ismcagdas for his help. Here is what we worked out.
In the appsettings.config, the http:// must be present. If you find that it is missing, when you correct the issue, clear the browser cache to ensure the old file doesn't load.
Seems to be working in Chrome now.
Thanks ismcagdas. I've emailed the requested information. While getting the URL, I realized that it is no longer working in Chrome either.
Just tried to run IE when running the API locally and 'ng serve' for the Angular UI.
In Chrome, log in works fine. In IE, the log in redirects me to log in. Not an error, just brings me back to log in.
I went through in very extreme detail and made sure that all the properties were virtual and also noticed I had put my enum for Type inside the Phone class definition. I have no idea why this gave me the issue I saw, but this is resolved.
I ran into this same issue, but the instructions don't seem clear for using Simple Line Icons.
hikalkan mentions above that they are using the Simple Line Icons. In the default menu, "icon-globe" is used. Replacing with "icon-user" works, but replacing it with "icon-user**<ins>s</ins>**" does not work. <ins>So how do I get this to work?</ins>
By the way, if I did want to use Font Awesome, I use the syntax above in the new SideBarMenuItem (e.g. "fa fa-users"), and this works, so thank you for those instructions, but some instructions on the Simple Line Icons would be appreciated.
EDIT: I did find that the icon I was trying to use is listed as "icon-users" on the Metronic site, but when I looked at what Abp was using, it was "icon-people." I'm not sure where the proper names are located, but be aware that they do not match the Metronic site.
Thank you for the response. I get a 404 when I click the link you provided. Perhaps I was not added to some group that I need to be.
However, I'm just looking for documentation on _HOW_to use the Migrator project. The startup documentation only mentions that it can be used as an alternative to using the EF commands Again, here's what the page says:
ASPNET ZERO MIGRATOR APPLICATION
AspNet Zero solution includes a .Migrator (like Acme.PhoneBook.Migrator) project in the solution. You can run this tool for database migrations on development and production (see development guide for more information). However, it links to here (<a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide-Angular#configuration">https://www.aspnetzero.com/Documents/De ... figuration</a>) but there isn't any information on the Migrator project. This is just a documentation error.
The link should go here: <a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide-Core#migrator-console-application">https://www.aspnetzero.com/Documents/De ... pplication</a>, or better the information on the migrator console should be included in the Angular2 project documentation, supposing it works with that project.