This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="Redirect rule for Redirects"> | |
<match url=".*" /> | |
<conditions> | |
<add input="{Redirects:{REQUEST_URI}}" pattern="(.+)" /> | |
</conditions> | |
<action type="Redirect" url="{C:1}" appendQueryString="false" /> | |
</rule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="Remove WWW" stopProcessing="true"> | |
<match url="^(.*)$" /> | |
<conditions> | |
<add input="{HTTP_HOST}" pattern="^(www\.)(.*)$" /> | |
</conditions> | |
<action type="Redirect" url="http://{C:2}{PATH_INFO}" redirectType="Permanent" /> | |
</rule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WebApplication2> info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1] | |
WebApplication2> Request starting HTTP/1.1 GET http://localhost:54955/api/Foos?$expand=man%28$expand=chu%29 | |
WebApplication2> info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1] | |
WebApplication2> Route matched with {action = "Get", controller = "Foos"}. Executing action WebApplication2.Controllers.FoosController.Get (WebApplication2) | |
WebApplication2> info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1] | |
WebApplication2> Executing action method WebApplication2.Controllers.FoosController.Get (WebApplication2) - Validation state: Valid | |
WebApplication2> info: Microsoft.EntityFrameworkCore.Infrastructure[10403] | |
WebApplication2> Entity Framework Core 2.1.1-rtm-30846 initialized 'AppContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None | |
WebApplication2> info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2] | |
WebApplication2> Executed action method |