The only hard part about integrating the dynamic web API generation with Aurelia Some people are doing CQRS calls like this <a class="postlink" href="http://blog.sapiensworks.com/post/2016/03/19/cqs-api-client-with-aurelia">http://blog.sapiensworks.com/post/2016/ ... th-aurelia</a> But the dynamic Web API is way better!
Yes of course mate and your stuff is awesome, I just don't like Angular1,2,4 etc!! I had not even heard of Angular Universal but I would prefer to use Aurelia!! Here is a framework using Angular Universal <a class="postlink" href="https://github.com/MarkPieszak/aspnetcore-angular2-universal">https://github.com/MarkPieszak/aspnetco ... -universal</a>
I had a lot of trouble getting the aurelia/asp.net core integration working e.g trying examples like this <a class="postlink" href="http://tutaurelia.net/">http://tutaurelia.net/</a> <a class="postlink" href="https://elanderson.net/2016/10/aurelia-with-an-asp-net-core-api/">https://elanderson.net/2016/10/aurelia- ... -core-api/</a> etc Then I had another look and found this! <a class="postlink" href="https://github.com/aspnet/JavaScriptServices/">https://github.com/aspnet/JavaScriptServices/</a> They have Aurelia /ASP.NET Core integration also Angular 2, React etc However this is with ASP.NET Core 1.0.1 which is for VS 2017!!!! If you are new to the change the main difference between VS2015/VS2017 is that project files are reverting back to .csproj files and project.json is gone as these dependencies will be handled by MSBuild in the project file. Anyway at least whatever asp.net boilerplate does it probably needs to use ASP.NET Core 1.0.1. ASP.NET Core is production ready as I understand it, you just use whatever version you want to use in the global.json after you have installed the new version. Anyway I am trying to create a sample app now. Best Regards, Alistair
Just wondering if anyone has started to do a template for Aurelia, I would be interested to do it.
Best Regards, Alistair
Would you also be able to do or extend the asp.net core examples. I am confused about how to post entities. :D
Great stuff guys but. Can you recommend us an interim step before we can use Angular 2? Should we go with ng-upgrade? <a class="postlink" href="https://scotch.io/tutorials/seamless-ways-to-upgrade-angular-1-x-to-angular-2">https://scotch.io/tutorials/seamless-wa ... -angular-2</a> <a class="postlink" href="http://blog.rangle.io/upgrade-your-application-to-angular-2-with-ng-upgrade/">http://blog.rangle.io/upgrade-your-appl ... g-upgrade/</a>
Best Regards, Alistair
I updated the angular nugets to the ones used in the latest template and it worked, but i dont know why my angular is not getting called seems to be a problem with the busy call. I will keep trying. Best Regards, Alistair
I had a lot of issues trying to get a project running with the latest Angular 1 template. Could you upgrade the sample apps like the SimpleTask app to use the latest nugets please? Also I wasn't clear about the latest breaking changes, could this go in the wiki?
Best Regards, Alistair
Sorry for rushing this! Yes you just need to change directory in the package management console first then you can do the migration comand. dotnet ef migrations add "initial"
Great to see you are getting into ASP.NET Core but the migration is looking for a .dll however I see that a (Project.EntityFrameworkCore.exe is being created instead? Here is the output from the Package Manager Console \Projects\Products\src\TrueAlliance.Products.Web\Views\Shared\Components\LanguageSelection\LanguageSelectionViewComponent.cs(19,49): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. Could not find assembly '.\bin\src\TrueAlliance.Products.Web\bin\Debug\net461\win7-x86\TrueAlliance.Products.EntityFrameworkCore.dll'.
PM> Add-Migration "Initial" Could not find assembly '.\bin\src\TrueAlliance.Products.Web\bin\Debug\net461\win7-x86\TrueAlliance.Products.EntityFrameworkCore.dll'.