middleware-8

결과 : Good morning Dody, Hello world from Cairo

middleware-7

결과: MapWhenMiddleware| Path: /hello – Path Base:

middleware-5

 

결과 : Path: /world – Path Base: /hello

middleware-4

결과 : /hello path

middleware-3

결과 : Hello world

middleware-2

결과 : This sample uses buffering This allows all your Middlewares to write to Response.

middleware-1

결과 : Hello World Goodbye for now

localization-4

결과 : CookieRequestCultureProvider We are using a cookie named “.AspNetCore.Culture” to switch the request culture. Click here for French cookie and here for English cookie. Request Culture: fr-FR Localized strings: Bonjour Au Revoir Oui Non

localization-2

:: resources :: Common.fr-FR.resx Goodbye Au Revoir Hello Bonjour No Non Yes Oui :: Goodbye Howdy :: Common.en-US.resx Hello So long No Yah Yes Nope 결과 : QueryStringRequestCultureProvider We are using query string to switch the request culture. Culture FR – UI Culture GB Culture US – UI Culture US Request Culture: fr-FR Today’s… Read More »

localization

:: resources :: Goodbye Au Revoir Hello Bonjour No Non Yes Oui 결과 : fr-FR – Bonjour Au Revoir Oui Non