From 7a2b517b7262aeb1223c9d91c7174526991c1cac Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Fri, 11 May 2018 14:03:53 -1000 Subject: [PATCH] Update preview to RC1 (#6375) * remove preview * rc --- .../fundamentals/startup/sampleCompatibility/WebApp1.csproj | 2 +- aspnetcore/mvc/controllers/filters.md | 2 +- .../razor-pages/filter/sample/PageFilter/PageFilter.csproj | 4 ++-- aspnetcore/security/enforcing-ssl.md | 2 +- aspnetcore/security/enforcing-ssl/sample/WebHTTPS.csproj | 2 +- .../samples/WebApiSample.Api/WebApiSample.Api.csproj | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/aspnetcore/fundamentals/startup/sampleCompatibility/WebApp1.csproj b/aspnetcore/fundamentals/startup/sampleCompatibility/WebApp1.csproj index 179f61814c..047843f3c2 100644 --- a/aspnetcore/fundamentals/startup/sampleCompatibility/WebApp1.csproj +++ b/aspnetcore/fundamentals/startup/sampleCompatibility/WebApp1.csproj @@ -9,7 +9,7 @@ - + diff --git a/aspnetcore/mvc/controllers/filters.md b/aspnetcore/mvc/controllers/filters.md index b9aa042b57..4f49d385ad 100644 --- a/aspnetcore/mvc/controllers/filters.md +++ b/aspnetcore/mvc/controllers/filters.md @@ -18,7 +18,7 @@ By [Rick Anderson](https://twitter.com/RickAndMSFT), [Tom Dykstra](https://githu *Filters* in ASP.NET Core MVC allow you to run code before or after specific stages in the request processing pipeline. > [!IMPORTANT] -> This topic does **not** apply to Razor Pages. ASP.NET Core 2.1 preview and later supports [IPageFilter](/dotnet/api/microsoft.aspnetcore.mvc.filters.ipagefilter?view=aspnetcore-2.0) and [IAsyncPageFilter](/dotnet/api/microsoft.aspnetcore.mvc.filters.iasyncpagefilter?view=aspnetcore-2.0) for Razor Pages. For more information, see [Filter methods for Razor Pages](xref:mvc/razor-pages/filter). +> This topic does **not** apply to Razor Pages. ASP.NET Core 2.1 and later supports [IPageFilter](/dotnet/api/microsoft.aspnetcore.mvc.filters.ipagefilter?view=aspnetcore-2.0) and [IAsyncPageFilter](/dotnet/api/microsoft.aspnetcore.mvc.filters.iasyncpagefilter?view=aspnetcore-2.0) for Razor Pages. For more information, see [Filter methods for Razor Pages](xref:mvc/razor-pages/filter). Built-in filters handle tasks such as: diff --git a/aspnetcore/mvc/razor-pages/filter/sample/PageFilter/PageFilter.csproj b/aspnetcore/mvc/razor-pages/filter/sample/PageFilter/PageFilter.csproj index bb7367e8c1..d14453c362 100644 --- a/aspnetcore/mvc/razor-pages/filter/sample/PageFilter/PageFilter.csproj +++ b/aspnetcore/mvc/razor-pages/filter/sample/PageFilter/PageFilter.csproj @@ -5,8 +5,8 @@ - - + + diff --git a/aspnetcore/security/enforcing-ssl.md b/aspnetcore/security/enforcing-ssl.md index e499b1ae70..02a2f6350f 100644 --- a/aspnetcore/security/enforcing-ssl.md +++ b/aspnetcore/security/enforcing-ssl.md @@ -69,7 +69,7 @@ Requiring HTTPS globally (`options.Filters.Add(new RequireHttpsAttribute());`) i Per [OWASP](https://www.owasp.org/index.php/About_The_Open_Web_Application_Security_Project), [HTTP Strict Transport Security (HSTS)](https://www.owasp.org/index.php/HTTP_Strict_Transport_Security_Cheat_Sheet) is an opt-in security enhancement that is specified by a web application through the use of a special response header. Once a supported browser receives this header that browser will prevent any communications from being sent over HTTP to the specified domain and will instead send all communications over HTTPS. It also prevents HTTPS click through prompts on browsers. -ASP.NET Core 2.1 preview1 or later implements HSTS with the `UseHsts` extension method. The following code calls `UseHsts` when the app isn't in [development mode](xref:fundamentals/environments): +ASP.NET Core 2.1 or later implements HSTS with the `UseHsts` extension method. The following code calls `UseHsts` when the app isn't in [development mode](xref:fundamentals/environments): [!code-csharp[sample](enforcing-ssl/sample/Startup.cs?name=snippet1&highlight=10)] diff --git a/aspnetcore/security/enforcing-ssl/sample/WebHTTPS.csproj b/aspnetcore/security/enforcing-ssl/sample/WebHTTPS.csproj index fdcd2916ba..8b1e878924 100644 --- a/aspnetcore/security/enforcing-ssl/sample/WebHTTPS.csproj +++ b/aspnetcore/security/enforcing-ssl/sample/WebHTTPS.csproj @@ -6,7 +6,7 @@ - + diff --git a/aspnetcore/web-api/define-controller/samples/WebApiSample.Api/WebApiSample.Api.csproj b/aspnetcore/web-api/define-controller/samples/WebApiSample.Api/WebApiSample.Api.csproj index c7d994116a..9f7be001dc 100644 --- a/aspnetcore/web-api/define-controller/samples/WebApiSample.Api/WebApiSample.Api.csproj +++ b/aspnetcore/web-api/define-controller/samples/WebApiSample.Api/WebApiSample.Api.csproj @@ -10,8 +10,8 @@ - - + +