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

2.0 RTM changes for whatsnew #3934

Merged
merged 7 commits into from
Aug 14, 2017
Merged

2.0 RTM changes for whatsnew #3934

merged 7 commits into from
Aug 14, 2017

Conversation

tdykstra
Copy link
Contributor

@tdykstra tdykstra commented Aug 12, 2017

Review URL

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

@@ -15,57 +15,35 @@ uid: aspnetcore-2.0

# What's new in ASP.NET Core 2.0 Preview
Copy link
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


## ASP.NET Core metapackage

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
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


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
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"

@@ -74,7 +52,9 @@ For information about the status of planned documentation, see the [GitHub issue

## 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
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

@@ -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
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


## Automatic precompilation

Razor view pre-compilation is enabled during publish by default, reducing the publish output size and application startup time.

For information about the status of planned documentation, see the [GitHub issue](https://github.com/aspnet/Docs/issues/3547).

## 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
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
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