Skip to content

2.0 RTM changes for whatsnew#3934

Merged
Rick-Anderson merged 7 commits into
masterfrom
td-whatsnew
Aug 14, 2017
Merged

2.0 RTM changes for whatsnew#3934
Rick-Anderson merged 7 commits into
masterfrom
td-whatsnew

Conversation

@tdykstra
Copy link
Copy Markdown
Contributor

@tdykstra tdykstra commented Aug 12, 2017

Review URL

@Rick-Anderson @scottaddie Ready for review but wait on merging

Comment thread aspnetcore/aspnetcore-2.0.md Outdated
@@ -15,57 +15,35 @@ uid: aspnetcore-2.0

# What's new in ASP.NET Core 2.0 Preview
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the word "Preview" from the title

Comment thread aspnetcore/aspnetcore-2.0.md Outdated
A new ASP.NET Core metapackage includes all of the packages made and supported by the ASP.NET Core and Entity Framework Core teams, along with their internal and 3rd-party dependencies. You no longer need to choose individual ASP.NET Core features by package. All features are included in the [Microsoft.AspNetCore.All](https://www.nuget.org/packages/Microsoft.AspNetCore.All) package. The default templates use this package.

The version number of the `Microsoft.AspNetCore.All` metapackage represents the latest ASP.NET Core version (aligned with the .NET Core version).
For more information, see [Microsoft.AspNetCore.All metapackage for ASP.NET Core 2.x](xref:fundamentals/metapackage).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2.x --> 2.0

Comment thread aspnetcore/aspnetcore-2.0.md Outdated
## Runtime Store

If there are features you don’t use in your application, the new package trimming features will exclude those binaries in the published application output.
Applications that use the `Microsoft.AspNetCore.All` metapackage automatically take advantage of the new .NET Core Runtime Store. The Store contains all the runtime assets needed to run ASP.NET Core 2.0 applications. When you use the `Microsoft.AspNetCore.All` metapackage, no assets from the referenced ASP.NET Core NuGet packages are deployed with the application because they already reside on the target system. The assets in the Runtime Store are also precompiled to improve application startup-time.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove dash between "startup" and "time"

Comment thread aspnetcore/aspnetcore-2.0.md Outdated
## Logging update

In ASP.NET 2.0, logging is incorporated into the dependency injection (DI) system by default. You add providers and configure filtering in the *Program.cs* file instead of in the *Startup.cs* file. And the default `ILoggerFactory` supports filtering in a way that lets you use one flexible approach for both cross-provider filtering and specific-provider filtering. For more information, see [Introduction to Logging](xref:fundamentals/logging).
In ASP.NET 2.0, logging is incorporated into the dependency injection (DI) system by default. You add providers and configure filtering in the *Program.cs* file instead of in the *Startup.cs* file. And the default `ILoggerFactory` supports filtering in a way that lets you use one flexible approach for both cross-provider filtering and specific-provider filtering.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASP.NET 2.0 --> ASP.NET Core 2.0

Comment thread aspnetcore/aspnetcore-2.0.md Outdated
@@ -137,14 +121,12 @@ For information about the status of planned documentation, see the [GitHub issue

ASP.NET Core has always helped HTMLEncode your content by default, but with the new version we’re taking an extra step to help prevent cross-site request forgery (XSRF) attacks: ASP.NET Core will now emit anti-forgery tokens by default and validate them on form POST actions and pages without extra configuration.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • HTMLEncode --> HTML encode
  • Convert the colon after "attacks" to a period

Comment thread aspnetcore/aspnetcore-2.0.md Outdated

## Razor support for C# 7.1

The Razor engine has been updated to work with the new Roslyn compiler. That includes support for C# 7.1 features like Default Expressions, Inferred Tuple Names, and Pattern-Matching with Generics. To use C #7.1 in your project, add the following property in your project file and then reload the solution:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Razor engine --> Razor view engine
  • Remove extra space before "To use"
  • C Review Request #7.1 --> C# 7.1

@scottaddie
Copy link
Copy Markdown
Member

@tdykstra The word "Preview" will also need to be removed from the TOC node.

@Rick-Anderson Rick-Anderson changed the title 2.0 RTM changes for whatsnew DO NOT MERGE: 2.0 RTM changes for whatsnew Aug 13, 2017
@tdykstra tdykstra changed the title DO NOT MERGE: 2.0 RTM changes for whatsnew 2.0 RTM changes for whatsnew Aug 14, 2017
@Rick-Anderson Rick-Anderson merged commit 73ae24c into master Aug 14, 2017
@Rick-Anderson Rick-Anderson deleted the td-whatsnew branch August 14, 2017 16:58
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.

4 participants