Title: const string bug in Mono engine · Issue #1076 · scriptcs/scriptcs · GitHub
Open Graph Title: const string bug in Mono engine · Issue #1076 · scriptcs/scriptcs
X Title: const string bug in Mono engine · Issue #1076 · scriptcs/scriptcs
Description: If I try to run the following code (on OSX using Mono) #r Owin; #r Microsoft.Owin; #r Microsoft.Owin.Hosting; using Owin; using Microsoft.Owin.Hosting; public static void Configure(IAppBuilder app) { app.UseWelcomePage(); } const string ...
Open Graph Description: If I try to run the following code (on OSX using Mono) #r Owin; #r Microsoft.Owin; #r Microsoft.Owin.Hosting; using Owin; using Microsoft.Owin.Hosting; public static void Configure(IAppBuilder app)...
X Description: If I try to run the following code (on OSX using Mono) #r Owin; #r Microsoft.Owin; #r Microsoft.Owin.Hosting; using Owin; using Microsoft.Owin.Hosting; public static void Configure(IAppBuilder app)...
Opengraph URL: https://github.com/scriptcs/scriptcs/issues/1076
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"const string bug in Mono engine","articleBody":"If I try to run the following code (on OSX using Mono)\n\n``` csharp\n#r Owin;\n#r Microsoft.Owin;\n#r Microsoft.Owin.Hosting;\n\nusing Owin;\nusing Microsoft.Owin.Hosting;\n\npublic static void Configure(IAppBuilder app)\n{\n app.UseWelcomePage();\n}\n\nconst string Url = \"http://localhost:8080\";\n\nusing (WebApp.Start(Url, Configure))\n{\n Console.WriteLine(\"Running at {0}...\", Url);\n Console.ReadLine();\n}\n```\n\nIt yields\n\n> Running at ...\n\nWhen I'd expect it to yield\n\n> Running at http://localhost:8080...\n\nAnd the Katana app fails silently (does not listen on the given URI).\n\nIf I change it to\n\n``` csharp\n#r Owin;\n#r Microsoft.Owin;\n#r Microsoft.Owin.Hosting;\n\nusing Owin;\nusing Microsoft.Owin.Hosting;\n\npublic static void Configure(IAppBuilder app)\n{\n app.UseWelcomePage();\n}\n\nvar url = \"http://localhost:8080\";\n\nusing (WebApp.Start(url, Configure))\n{\n Console.WriteLine(\"Running at {0}...\", url);\n Console.ReadLine();\n}\n```\n\nNotice `const string Url` has been replaced by `var url`. Everything works perfectly :smile:\n","author":{"url":"https://github.com/khellang","@type":"Person","name":"khellang"},"datePublished":"2015-08-05T16:10:33Z","url":"https://github.com/scriptcs/scriptcs/issues/1076"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:450c6441-a19d-b82b-a324-d26eb29c6d21 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90D8:34D7A7:5D27E:7CDED:6B001AE2 |
| html-safe-nonce | 1fbf00811ae186a7b70bf308ccded83a34bb08e8d201da1911ba20dd2bc53939 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEQ4OjM0RDdBNzo1RDI3RTo3Q0RFRDo2QjAwMUFFMiIsInZpc2l0b3JfaWQiOiIyMTI5NTI2MzYxNDY1ODIxOTIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7ea2c7d12334e1718143ef240aa00c3a8ed0bf34efef21f0a09d826d4c1045ea |
| hovercard-subject-tag | issue:99240759 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scriptcs/scriptcs/1076/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2ced208ca6e4dc89e8178b73949b47736a72d5447cbe9942e1a6245a27d5c064/scriptcs/scriptcs/issues/1076 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2ced208ca6e4dc89e8178b73949b47736a72d5447cbe9942e1a6245a27d5c064/scriptcs/scriptcs/issues/1076 |
| og:image:alt | If I try to run the following code (on OSX using Mono) #r Owin; #r Microsoft.Owin; #r Microsoft.Owin.Hosting; using Owin; using Microsoft.Owin.Hosting; public static void Configure(IAppBuilder app)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | khellang |
| hostname | github.com |
| expected-hostname | github.com |
| None | a2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4 |
| turbo-cache-control | no-preview |
| go-import | github.com/scriptcs/scriptcs git https://github.com/scriptcs/scriptcs.git |
| octolytics-dimension-user_id | 3758046 |
| octolytics-dimension-user_login | scriptcs |
| octolytics-dimension-repository_id | 8473240 |
| octolytics-dimension-repository_nwo | scriptcs/scriptcs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8473240 |
| octolytics-dimension-repository_network_root_nwo | scriptcs/scriptcs |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 70121d4e855ee0bb7b75cf15d061d91f8863c0f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width