Question: I wanna get from a page 2 values - lat and long. The source code contains this piece of JS:

```
new GLatLng(53.299671, -6.267786)

```

Can anyone suggest me the best method/regex?

Answer: 
Just adding to Kevin Cloet's answer to Smarx's blog. To set RequireHttps attribute only in Release mode,
you can use HttpContext.Current.IsDebuggingEnabled

```
    public static void RegisterGlobalFilters(GlobalFilterCollection filters) {

        if (!HttpContext.Current.IsDebuggingEnabled) {
            filters.Add(new RequireHttpsAttribute());
        }
    }

```

Please refer to this link:
<https://stackoverflow.com/a/27324439/1933168>
Adding to the answers already mentioned here.
This is obvious once you think about it but wasn't to me when I first read this post.

You do have to ensure you are opening up port 80 and binding it to your site via your ServiceDefinition file for this to work.

Sample entries look like:

```
   <Sites>
      <Site name="Web" physicalDirectory=".\SitesRoot">
        <VirtualDirectory name="www" physicalDirectory=".\SitesRoot\dist" />
        <Bindings>
          <Binding name="HttpsEndpoint" endpointName="HttpsEndpoint" />
          <Binding name="HttpEndpoint" endpointName="HttpEndpoint" />
        </Bindings>
      </Site>
    </Sites>

    <Endpoints>
      <InputEndpoint name="HttpsEndpoint" protocol="https" port="443" certificate="MY_SSL_CERT.pfx" />
      <InputEndpoint name="HttpEndpoint" protocol="http" port="80" />
    </Endpoints>

```