aleteia_learner
aleteia_learner
CC#
Created by aleteia_learner on 2/8/2023 in #help
❔ Is this Redirect rule correct ?
Am I correct in thinking that this redirect rule will not match anything ? Because there is no string between the ^$ Please let me know if my assumption is right or if I'm missing something here ?
<rule name="Root Hit Force HTTPS Redirection" enabled="true" stopProcessing="true">
<match url="^$" ignoreCase="false" />
<conditions>
<add input="{HTTPS}" pattern="^OFF$" />
<add input="{HTTP_METHOD}" pattern="GET" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/" redirectType="Permanent" />
</rule>
<rule name="Root Hit Force HTTPS Redirection" enabled="true" stopProcessing="true">
<match url="^$" ignoreCase="false" />
<conditions>
<add input="{HTTPS}" pattern="^OFF$" />
<add input="{HTTP_METHOD}" pattern="GET" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/" redirectType="Permanent" />
</rule>
2 replies
CC#
Created by aleteia_learner on 12/15/2022 in #help
❔ Not able to read Entries of a zip file
3 replies
CC#
Created by aleteia_learner on 11/15/2022 in #help
✅ Best practice usage of HttpClient in .Net Framework 4.5
Hello everyone 👋 hope you’ll. Are having a good day/evening. What is the recommended approach of using http client in a dot net framework 4.5.2 project ? Please note that I’m not able to use dependency injection in this project
9 replies