I hereby claim:
- I am MoienTajik on github.
- I am moientajik (https://keybase.io/moientajik) on keybase.
- I have a public key whose fingerprint is 2DD5 FC89 6B33 D440 B3AD E5DA 5E0E C9D1 C341 C464
To claim this, I am signing this object:
| public class TestController : Controller | |
| { | |
| [HttpGet] | |
| public ActionResult Create() | |
| { | |
| return View(); | |
| } | |
| [HttpPost] | |
| [ValidateAntiForgeryToken] |
| @using GoogleRecaptcha.Infrastructure.HtmlHelpers | |
| @{ | |
| ViewBag.Title = "Create"; | |
| } | |
| <h2>@ViewBag.Title</h2> | |
| <h4>Some test form that needs reCAPTCHA !</h4> | |
| <hr /> |
I hereby claim:
To claim this, I am signing this object:
| [ | |
| { | |
| "code": "ab", | |
| "name": "Abkhaz" | |
| }, | |
| { | |
| "code": "aa", | |
| "name": "Afar" | |
| }, | |
| { |
The following Constrains checks the data type :
| Constraint | Inline | Class | Description |
|---|---|---|---|
| int | {id:int} |
IntRouteConstraint | Constrains a route parameter to represent only 32-bit integer values |
| alpha | {id:alpha} |
AlphaRouteConstraint | Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet. |
| bool | {id:bool} |
BoolRouteConstraint | Constrains a route parameter to represent only Boolean values. |
| public interface IClock | |
| { | |
| DateTimeOffset UtcNow { get; } | |
| } | |
| public static class Clock | |
| { | |
| private static IClock _instance = new SystemClock(); | |
| public static IClock Instance |