hello-world-startup-basic-request-headers-typed

결과 : There are more common HTTP headers properties available in HttpContext.Request.GetTypedHeaders()Accept: text/html

hello-world-startup-basic-request-headers-names

결과 : Request Headers from Microsoft.Net.Http.Headers.HeaderNames •Accept = Accept •AcceptCharset = Accept-Charset •AcceptEncoding = Accept-Encoding •AcceptLanguage = Accept-Language •AcceptRanges = Accept-Ranges •AccessControlAllowCredentials = Access-Control-Allow-Credentials •AccessControlAllowHeaders = Access-Control-Allow-Headers •AccessControlAllowMethods = Access-Control-Allow-Methods •AccessControlAllowOrigin = Access-Control-Allow-Origin •AccessControlExposeHeaders = Access-Control-Expose-Headers •AccessControlMaxAge = Access-Control-Max-Age •AccessControlRequestHeaders = Access-Control-Request-Headers •AccessControlRequestMethod = Access-Control-Request-Method •Age = Age •Allow = Allow •Authority = :authority… Read More »

hello-world-startup-basic-request-headers

결과 : Request Headers •Accept : text/html, application/xhtml+xml, image/jxr, */* •Accept-Encoding : gzip, deflate •Accept-Language : ko-KR •Connection : close •Host : localhost:44323 •User-Agent : Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

hello-world-startup-basic-multiple-urls

결과 : Hello world responding on http://localhost:1000 and http://localhost:5000

hello-world-startup-basic-multiple-environment

결과 : Hello world Startup Development

hello-world-startup-basic-multiple

결과 : Hello from multi start1

hello-world-startup-all-package-trimming

결과 : For the build command, use dotnet build /p:TrimUnusedDependencies=true For further options,open thisfor the command line for trimming.

hello-world-no-startup

결과 : Look Ma, no Startup class

hello-world-env-development

결과 : Development Mode Hellow world

hello-world-application-environment

결과 : Application Name: WebApplication1 Application Base Path: D:\Sample\MVC\WebApplication2\WebApplication1\bin\Debug\netcoreapp2.2\ Target Framework: .NETCoreApp,Version=v2.2 Version: 1.0.0.0