Commit Graph

16116 Commits

Author SHA1 Message Date
Pavel Krymets e3ceeb43ba Fix build 2015-10-21 10:36:02 -07:00
Pavel Krymets f8fd2f9ac9 React to hosting changes 2015-10-21 10:23:53 -07:00
Rowan Miller d27d18fe5a 💚 Fix more calls to UseDatabaseErrorPage
Some more calls that I missed in my previous commit. The overload being used in the templates has swapped to a builder pattern (see aspnet/Diagnostics#184). But rather than updating to the new signature, just swapping to the parameterless overload since it enables everything by default (same as UseDeveloperExceptionPage()).
2015-10-21 10:22:43 -07:00
Pavel Krymets f36faf2a72 React to hosting changes 2015-10-21 10:20:10 -07:00
Rowan Miller 42a5a28210 💚 React to API change in UseDatabaseErrorPage
The overload being used in the Startup.cs has swapped to a builder pattern (see https://github.com/aspnet/Diagnostics/issues/184). But rather than updating to the new signature, just swapping to the parameterless overload since it enables everything by default (same as UseDeveloperExceptionPage()).
2015-10-21 10:00:03 -07:00
Cesar Blum Silveira 77f29142aa Disable tests that randomly hang on Linux (#442). 2015-10-20 14:12:05 -07:00
Pranav K 47365e421f Add generations TFMs to Hosting packages 2015-10-22 12:19:45 -07:00
N. Taylor Mullen 8e946798a1 Remove compilation options from services.
- This was a temporary work around to allow MVC to build.
- Reacts to aspnet/Mvc#3383
2015-10-22 11:01:51 -07:00
Chris R 4702752384 #411 Default webroot to wwwroot if the directory exists. 2015-10-22 09:27:53 -07:00
David Fowler f2e7c49c36 Don't add platforms services if no available 2015-10-22 08:42:31 -07:00
Chris R 10822b3b4f #411 Move webroot from project.json to config. 2015-10-22 06:10:33 -07:00
Pranav K 39c355002b Switching to using generations TFM 2015-10-21 21:38:02 -07:00
Pavel Krymets 7cc3e11a9e Add compiler configuration to services and another overload for test server creation
.. to alow host service configuration
2015-10-21 14:44:20 -07:00
John Luo 99f5febc3b Changing argument type of serverFeatures to IFeatureCollection 2015-10-21 10:46:01 -07:00
Pavel Krymets 3774b6055f React to xnd dependency injection refactorings 2015-10-21 09:31:22 -07:00
Rowan Miller 2e884f20f7 📝 Add doc comments to database error page 2015-10-20 10:18:10 -07:00
Rowan Miller 1c26436041 Bring back "Apply Migrations" button on database error page
Mostly just a revert of the commit that removed this functionality, with a few changes:
* Perform proper JavaScript encoding in the script part of the database error page Views/BaseView.cs
* Use the builder pattern in the UseXyz extension methods on IApplicationBuilder (per #184). Also applying this to DatabaseErrorPageOptions to keep things consistent.
* Fixing a few tests that were getting the context from DI but putting it in a using block so that it got disposed (rather than letting DI handle disposing).
2015-10-20 09:29:15 -07:00
Rowan Miller 111dab7ddf 🐛 No database error page for existing databases
When there is an existing database and no migrations are present, then we should just display the standard error page as they are not using migrations and need to adjust their mapping code to match the existing schema.
Resolve #182
2015-10-20 09:23:42 -07:00
John Luo 828e8d755e reacting to telemetry rename 2015-10-19 17:21:15 -07:00
John Luo 793504843e reacting to telemetry rename 2015-10-19 17:17:40 -07:00
DamianEdwards 7ed6a6cb57 Add doc-comments for main APIs
- Coherence-Signed#75
2015-10-19 16:33:19 -07:00
Doug Bunting 207e97db7a Fix DNX Core testing on Windows
- avoid `cmd /C dnvm.cmd ...` because `cmd` does not report `.cmd` script exit code correctly
  - change both `_dnu.shade` and `_k.shade` though `_k.shade` is more-often an issue
- @moozzyk reported problem in [discussion](https://github.com/aspnet/Universe/pull/299#discussion-diff-41954492) of PR #299
2015-10-19 15:41:13 -07:00
DamianEdwards 8bab053107 CR feedback 2015-10-19 14:32:04 -07:00
Cesar Blum Silveira f00c7c6d06 Fix CoreCLR test pass on Linux (fixes #442). 2015-10-19 14:27:01 -07:00
DamianEdwards dade325ac8 CR feedback 2015-10-19 14:19:03 -07:00
Stephen Halter 8f0d1179ab Allow Nagle’s algorithm to be disabled via IKestrelServerInformation.NoDelay 2015-10-19 12:44:21 -07:00
DamianEdwards 585c445366 More doc-comments & added IsStaging 2015-10-19 10:59:39 -07:00
DamianEdwards 5279786748 Added doc-comments to IHostingEnvironment
- Coherence-Signed#75
2015-10-19 10:51:08 -07:00
Pranav K 0ea0a44e15 Refactoring script to create master branch 2015-10-19 10:45:56 -07:00
Chris R b437669e93 React to ISecureDataFormat changes. 2015-10-19 10:06:56 -07:00
Cesar Blum Silveira f784b1bf43 Enable Microsoft.AspNet.WebSockets.Protocol.Test on CoreCLR. 2015-10-16 16:47:52 -07:00
Cesar Blum Silveira cea46e7851 Disable Microsoft.AspNet.Cryptography.KeyDerivation.Test on CoreCLR. 2015-10-16 15:49:25 -07:00
Arthur Vickers 1b87767472 Fix bug in test where key value was not being set. 2015-10-16 15:27:39 -07:00
Stephen Halter c809beec18 Don't allocate Exceptions unnecessarily
- Allocate Exceptions in the ReadStart callbacks if necessary instead
  of in UvStreamHandle.
- This also fixes a bug in ListenerSecondary where it should have
  previously been looking at the error code instead of the read count.

#237
2015-10-16 15:25:37 -07:00
Cesar Blum Silveira f0438d69eb Enable Microsoft.AspNet.TestHost.Tests on CoreCLR. 2015-10-16 15:09:54 -07:00
Kirthi Krishnamraju 5f4f6194b8 Add logic in test infrastructure to get runtime for coreclr on mac 2015-10-16 14:45:23 -07:00
Victor Hurdugaci ec7d04a178 Use cmd for fast delete 2015-10-16 11:47:37 -07:00
Cesar Blum Silveira 551d559ada Enable Microsoft.AspNet.Session.Tests on CoreCLR. 2015-10-16 11:35:58 -07:00
Cesar Blum Silveira 4165ee02c1 Enable some tests on CoreCLR. 2015-10-16 11:15:34 -07:00
Cesar Blum Silveira fb6bbee561 Call correct build.sh when building repos. 2015-10-16 11:00:52 -07:00
ryanbrandenburg 7dac0986c2 * Fix PageGenerator
* Generate pages on build
 * Add copyable stacktrace to error page
2015-10-16 10:44:55 -07:00
Chris R b144f5fd7c React to HttpRequestIdentifierFeature default change. 2015-10-16 10:15:56 -07:00
Victor Hurdugaci 69ed946970 Move compiler shared to its own folder 2015-10-16 10:11:09 -07:00
あまみや ゆうこ 912aaaa9d2 To correct word spell 2015-10-16 09:49:04 -07:00
Ryan Nowak 221df71425 Incorporate StringSegment from primitives 2015-10-16 08:39:58 -07:00
Stephen Halter 8e818e3549 Address PR feedback 2015-10-15 16:52:37 -07:00
Chris R 4083c18d1e Merge pull request #441 from benaadams/patch-2
Comment cleanup
2015-10-15 16:45:24 -07:00
Ben Adams 3276115877 Comment sp 2015-10-16 00:40:37 +01:00
Pranav K f8b39bea63 Reacting to Cors rename 2015-10-15 16:00:05 -07:00
Stephen Halter 7b315d2470 Close connection gracefully in Frame.ProduceEnd
- Try sending a FIN before closing the socket
- Don't attempt to send a FIN twice for the same connection
2015-10-15 15:35:40 -07:00