This file contains 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
public class Program | |
{ | |
public static void Main() | |
{ | |
JobHost host = new JobHost(); | |
host.RunAndBlock(); | |
} | |
} |
This file contains 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
class Program | |
{ | |
public static void Main() | |
{ | |
JobHost host = new JobHost(); | |
//host.RunAndBlock(); | |
host.Call(typeof(Program).GetMethod("ProcessSomethinng")); | |
} | |
} |
This file contains 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
//code extracted | |
<ipSecurity enableReverseDns="true" allowUnlisted="false"> | |
<add ipAddress="123.123.123.123" allowed="true" /> | |
<add domainName="learnwithshahriar.wordpress.com" allowed="true" /> | |
</ipSecurity> |
This file contains 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
//code extracted | |
<ipSecurity allowUnlisted="false" denyAction="Unauthorized"> |
This file contains 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
//code extracted | |
<ipSecurity allowUnlisted="true"> | |
<add ipAddress="123.200.0.0" subnetMask="255.255.0.0" allowed="true" /> | |
</ipSecurity> |
This file contains 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> | |
<security> | |
<ipSecurity allowUnlisted="false"> | |
<add ipAddress="123.123.123.123" allowed="true" /> | |
</ipSecurity> | |
<dynamicIpSecurity> | |
<denyByRequestRate enabled="true" maxRequests="15" requestIntervalInMilliseconds="5000"/> | |
</dynamicIpSecurity> | |
</security> | |
</system.webServer> |
This file contains 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.web> | |
<httpRuntime enableVersionHeader="false"/> | |
</system.web> |
This file contains 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> | |
<httpProtocol> | |
<customHeaders> | |
<remove name="X-Powered-By"/> | |
</customHeaders> | |
</httpProtocol> | |
</system.webServer> |
This file contains 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> | |
<security> | |
<requestFiltering removeServerHeader="true"/> | |
</security> | |
</system.webServer> |
This file contains 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
//Number keyboard show | |
<input type="number" min="0" inputmode="numeric" pattern="[0-9]*" title="Non-negative integral number"> | |
or | |
<input type="tel" class="form-control" name="phone" id="phoneInput" placeholder="(000) 000-0000" required/> | |
//URL specifc keyboard | |
<input type="url" /><br /> | |
//Email specifc keyboard | |
<input type="email" /><br /> |