Commit Graph

45021 Commits

Author SHA1 Message Date
Eilon Lipton ec4482b20d Create README.md 2015-11-01 17:25:55 -08:00
Ben Adams ea6f6b10dc Don't capture connection on closure 2015-11-01 13:27:17 +00:00
Chris R a6a17f296d React to ServerFactory changes. 2015-10-31 07:35:42 -07:00
Pranav K c0b9dd1208 Reacting to RequestDelegate rename 2015-10-30 19:00:26 -07:00
Pranav K a9d5876cd9 Fixing tests 2015-10-30 18:58:33 -07:00
Ben Adams dd7c4b374d Fix LibuvCopier DNXCore compile error 2015-10-31 01:53:24 +00:00
Chris R 52f4a83139 React to WebEncoders changes. 2015-10-30 17:59:19 -07:00
John Luo 5f91ce2f2b Reacting to Hosting changes 2015-10-30 16:51:16 -07:00
John Luo facf3ad0da Missed update for test when reacting to hosting changes 2015-10-30 16:18:50 -07:00
Cesar Blum Silveira e934f5e4ed Strong name everything. 2015-10-30 15:36:55 -07:00
John Luo b466c3b7d7 Reacting to Hosting changes 2015-10-30 14:19:55 -07:00
John Luo c71c7a3810 Reacting to RequestDelegate namespace change 2015-10-30 14:14:34 -07:00
Doug Bunting 53060be2d7 Content negotiation fails in subsequent requests accepting same media type
- #3140
- clone `MediaTypeHeaderValue` instance before updating it when content negotiation succeeds
  - avoids changes to `MediaTypeConstants` properties and `OutputFormatter.SupportedMediaTypes` entries
  - `MediaTypeHeaderValue.Clone()` does not exist in our DNX Core fork of this class
  - in previous implementation, was called defensively rather than when required
- update `WebApiCompatShimBasicTest` functional tests to use `MvcTestFixture<TStartup>` everywhere
  - #3140 blocked that final migration
  - remove `TestHelper` since it's no longer referenced

nits:
- remove comments mentioning `TestHelper`
- correct spelling of "negotiation"
2015-10-30 14:10:31 -07:00
John Luo 83f20ece7d Reacting to RequestDelegate namespace change 2015-10-30 13:58:05 -07:00
John Luo 092f689c6a Reacting to Hosting IServerFactory refactoring 2015-10-30 13:00:53 -07:00
John Luo 3933a1904e Refactoring IServerFactory #395 2015-10-30 13:00:07 -07:00
Cesar Blum Silveira 8a06966024 Strong name Microsoft.AspNet.JsonPatch. 2015-10-30 12:57:49 -07:00
ryanbrandenburg 5763eb580a * Move logging to new style 2015-10-30 12:43:17 -07:00
David Fowler c80946260a Change the namespace of RequestDelegate
- change it to Microsoft.AspNet.Http
2015-10-30 12:25:21 -07:00
Chris R b773229333 React to WebEncoders changes. 2015-10-30 11:49:04 -07:00
Chris R 84cfe5640d React to WebEncoders changes. 2015-10-30 11:45:48 -07:00
Chris R 1a59b385a0 React to WebEncoders changes. 2015-10-30 11:39:39 -07:00
Chris R 99aa148342 Remove un-used namespace. 2015-10-30 10:56:00 -07:00
Pavel Krymets af2c32f612 React to xunit change. Fix build error 2015-10-30 10:52:59 -07:00
Chris R 99901ed4fe React to HtmlEncoder type changes. 2015-10-30 10:49:35 -07:00
Chris R 21373740c7 React to WebEncoders change. 2015-10-30 10:39:39 -07:00
Scott Addie 3c46662d91 Delete unused config.json file from MvcSample.Web 2015-10-30 10:25:12 -07:00
Chris R 7b9e3adcf3 Remove deleted WebEncoders.Core package from NuGetPackageVerifier 2015-10-30 10:23:47 -07:00
Muchiachio bd9fc5dc68 Using IsDefined over GetCustomAttribute<T>
- Replaced Type.GetCustomAttribute<T> with Type.IsDefined where the
attribute instance is only used to check if it's defined, to increase
performance.

Resolves #3416
2015-10-30 10:19:22 -07:00
Pranav K 08be63c3fc Add ForbiddenResult
Fixes #3242
2015-10-30 10:13:58 -07:00
Chris R be4fb46281 #391 Migrate to System.Text.Encoding.Web 2015-10-30 10:13:02 -07:00
Ryan Nowak 1312ed8b71 Remove Linq and boxed Enumerator allocations from conneg 2015-10-29 18:40:22 -07:00
N. Taylor Mullen 5ad1a27f6e React to aspnet/Razor#580.
- Updated `MvcRazorHost` to configure `Type` full names.
- Updated code generation tests.
2015-10-29 16:26:00 -07:00
N. Taylor Mullen 978e2bb474 React to aspnet/Razor#196.
- `TagHelper`s now auto-fill enums. Updated files to reflect new auto-filling enum changes.
2015-10-29 16:24:56 -07:00
N. Taylor Mullen a76f16cda8 Removed `TagHelper` infrastructure `using` statements.
- The using statements had a chance to conflict with user code. Removed them and changed the default configured type names to be `global::` full name based.
- Updated test file `TagHelperDescriptor.TypeName`s to have namespaces to make them easier to read.

#580
2015-10-29 16:23:38 -07:00
ASP.NET Push Bot a4314d1b30 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@879aa15baf
2015-10-29 15:49:37 -07:00
Pranav K f177f0c760 Add ForbidAsync overload for automatic authentication scheme. 2015-10-29 14:55:39 -07:00
Chris R 36c267843a Merge branch 'release' into dev 2015-10-29 14:51:02 -07:00
Stephen Halter 4ad38625c7 Get the current runtime path via PlatformServices.Default
- This fixes an issue whith ApplicationDeployer on Mono.
  Instead of giving the dnx path, Process.GetCurrentProcess().MainModule.FileName
  would give the path to the Mono executable.
2015-10-29 14:50:51 -07:00
Chris R 1db7574ad6 Update to release NuGet.config for AzureAd. 2015-10-29 14:49:20 -07:00
N. Taylor Mullen d361c3a716 Update `TagHelperSample` conditionalcomment page. 2015-10-29 14:36:20 -07:00
Stephen Halter 777f523135 Update System.Net.Sockets dependency in test project to 4.1.0
- This only affects the test project
- The Socket.*Async extension methods are available for net46 but not net451
  so we ifdef.
2015-10-29 14:31:44 -07:00
Stephen Halter fe654598f6 Merge branch 'release' into dev 2015-10-29 14:30:02 -07:00
Stephen Halter 85202b0174 Merge branch 'benaadams/read-to-null-buffer' into release 2015-10-29 12:24:40 -07:00
Stephen Halter 1722150ee9 Do nothing in KestrelThread.Stop if libuv fails to load
This prevents DllNotFoundExceptions from being masked by NullReferenceExceptions
2015-10-29 12:21:25 -07:00
Rowan Miller 9247f6624c Merge branch 'release' into dev 2015-10-29 12:06:18 -07:00
Pavel Krymets e4d1259da5 Remove usage of CallContextLocator 2015-10-29 12:06:12 -07:00
Victor Hurdugaci 0b14bc135b Show type load exception on the startup error page 2015-10-29 11:43:31 -07:00
Rowan Miller ddf6a45f80 💚 Skip LocalDb dependent test on Mono
Some tests rely on LocalDb and therefore do not run on Mac/Linux. We
have https://github.com/aspnet/Diagnostics/issues/176 open to address
this, but in the meantime some of the tests are skipped. Adding one more
test that we missed.
2015-10-29 11:42:57 -07:00
Troy Dai e9a6061023 Make Frame implements IHttpConnectionFeature
Provide RemoteIPAddress as well as RemotePort
2015-10-29 10:08:35 -07:00