Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update dotnet template to netcoreapp2.1, fix Index.cshtml #987

Merged

Conversation

milkshakeuk
Copy link
Contributor

Update the dotnet template but as well as updating the Index.cshtml which fixes #979

@milkshakeuk
Copy link
Contributor Author

the reason this Travis Build is failing is because of a malicious dependency of event-stream called flatmap-stream see here

@3cp
Copy link
Member

3cp commented Nov 29, 2018

You can rebase/merge latest master now.

@EisenbergEffect
Copy link
Contributor

@milkshakeuk We've merged the event-stream fix into master. If you can rebase and ping me, I'll do a final review and we'll get this in. Thanks!

…ork with latest webpack config optimization block
@milkshakeuk
Copy link
Contributor Author

@EisenbergEffect the pull request has been rebased and is ready for review.

@EisenbergEffect
Copy link
Contributor

EisenbergEffect commented Nov 29, 2018

@huochunpeng Can you do a review as well? Looks good to me. Let me know your thoughts.

@3cp
Copy link
Member

3cp commented Nov 29, 2018

Hoho, I know nothing about dotnet :-)

@3cp
Copy link
Member

3cp commented Nov 29, 2018

I will have a look tomorrow, but my exp is probably limited at the cli side. @chrisckc could you have a look?

@3cp
Copy link
Member

3cp commented Nov 29, 2018

Most code are dotnet templates that I am not familiar. But the few lines of cli code look good to me.

@EisenbergEffect
Copy link
Contributor

It looks fine as well, from what I can tell, but I'm not the expert. Let me see if I can get a core team .NET user to give this a test as well

@Alexander-Taran
Copy link
Contributor

@milkshakeuk could you explain
.SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
and
UseHsts()
lines..
They seem opinionated
And if so - should be commented.
As in "as better developers we want to enforce https early.."
That is if I'm getting this line right.

And compatibility I don't get.
I've lost track of .net core

@milkshakeuk
Copy link
Contributor Author

@Alexander-Taran the changes I have added are taken pretty much verbatim from the result of dotnet new mvc .

None of what I have added is opinionated on my part but if your interested in the reasons behind the SetCompatibilityVersion see here.

There is also some information in the official docs relating to UseHsts.

@EisenbergEffect
Copy link
Contributor

Thanks for working on this @milkshakeuk ! Merging it in for the next release.

@EisenbergEffect EisenbergEffect merged commit 535dd8d into aurelia:master Nov 30, 2018
@milkshakeuk milkshakeuk deleted the fix-asp-net-core-spa-template branch November 30, 2018 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ASP.NET Core template app does not run
4 participants