Commit Graph

37701 Commits

Author SHA1 Message Date
SteveSandersonMS bdd7cfd38b Update ReactSpa to Webpack 2 (plus awesome-typescript-loader) 2017-01-30 11:21:12 +00:00
SteveSandersonMS be3fb6e876 Update Angular2Spa to Webpack 2 (plus awesome-typescript-loader for improved build speed) 2017-01-30 11:21:12 +00:00
SteveSandersonMS d69b65e572 Bump NodeServices/SpaServices package versions to 1.1.0-rtm for release 2017-01-30 09:57:00 +00:00
Cesar Blum Silveira 71cbfd770f Merge branch 'rel/1.1.1' into dev 2017-01-29 14:28:37 -08:00
Cesar Blum Silveira c11aedd272 Call OnStarting before verifying response length (#1303).
- Also don't close connection when Content-Length set but no bytes written.
2017-01-29 14:21:11 -08:00
Cesar Blum Silveira 6ab1dcf70a Merge branch 'rel/1.1.1' into dev 2017-01-29 14:19:56 -08:00
Cesar Blum Silveira e2a2e9a620 Fix memory leak caused by closure allocations in KestrelThread (#1264). 2017-01-29 13:58:13 -08:00
Ryan Nowak 93981ab13e Update codegen to be compatible with MVC 2017-01-27 16:47:33 -08:00
Ryan Nowak 25831260f7 Make CodeWrite public 2017-01-27 16:38:13 -08:00
Jass Bagga 7449ffad74 Add include and exclude attributes to EnvironmentTagHelper
Addresses #5671
2017-01-27 14:46:53 -08:00
Pranav K 2276c9eafe Include file names as part of printing Razor parse errors
Fixes #67
2017-01-27 12:32:32 -08:00
Joonas Westlin d44c9aee1e Added printing of route values when a route is not matched 2017-01-27 11:31:05 -08:00
Ryan Nowak 2b2cf6efec Correct an issue with codegen for taghelperprefix
The issue here is that when a taghelper prefix is in use it will be
including in the HTML output, when it should be chopped off.

See the diff in the codegen for examples.
2017-01-27 11:13:46 -08:00
Pranav K 0f4ce625ed Update to VS 2017 RC3 2017-01-27 11:04:42 -08:00
Kiran Challa 17dc23a024 [Fixes #5637] Make CookieName of CookieTempDataProvider configurable 2017-01-27 11:01:26 -08:00
Ryan Brandenburg 03cdd15e5c SaveTempDataFilter handle write to body 2017-01-27 10:54:00 -08:00
Kiran Challa fb7c25b662 Added OriginalQueryString property to IStatusCodeReExecuteFeature interface 2017-01-27 10:48:59 -08:00
Cesar Blum Silveira 224eff81e8 Merge branch 'rel/1.1.1' into dev 2017-01-27 10:31:24 -08:00
SteveSandersonMS e5178d2938 Update peerDependency on aspnet-webpack-react to allow Webpack 2.2.0+ as well as 1.x 2017-01-27 15:32:19 +00:00
SteveSandersonMS e4d00a2da3 Update aspnet-webpack to support Webpack 2-style configs that export a function 2017-01-27 14:44:25 +00:00
SteveSandersonMS 345b4f64b5 Update aspnet-webpack-react to support Webpack 2.x-style configs 2017-01-27 11:18:26 +00:00
Cesar Blum Silveira ce0686a03b Merge branch 'rel/1.0.3' into dev 2017-01-26 17:23:01 -08:00
Ryan Nowak d187edbd76 Use the TagHelperBinder to dedupe taghelpers
This change does deduplication of taghelpers during the binding/rewriting
phase. This is needed when a taghelper has multiple sets of html
attributes that are required (behaves like an OR). This is used lots in
MVC.

The old codebase used to do this in the codegen phase, but it seems
beneficial to do as early as possible.
2017-01-26 15:36:42 -08:00
Ajay Bhargav Baaskaran 98d5d1c70e Flow parser errors over to the CSharpDocument 2017-01-26 15:32:03 -08:00
Arthur Vickers e7c039caca Remove obsolete file. 2017-01-26 14:21:43 -08:00
Kiran Challa b240929cf4 Merge branch 'rel/1.1.1' into dev
Conflicts:
	NuGet.config
	src/Microsoft.AspNetCore.JsonPatch/project.json
	test/Microsoft.AspNetCore.JsonPatch.Test/project.json
2017-01-26 14:02:29 -08:00
Kiran Challa 7a487a880a [Fixes #48] Regression: List add must support adding items where index is same as count of elements 2017-01-26 13:48:12 -08:00
Ryan Nowak 0bf9abbedf Hardcoding the right value for MVC 2017-01-26 13:39:55 -08:00
Ryan Nowak 6a95002f0e Fix lowering of taghelpers inside a section
The IR lowering phase was attaching the 'tag helper fields' node to the
builder instead of to the top-level node (document). This meant that
things wouldn't be where we expect when the first tag helper occurrence is
inside a directive block (section).

Found this porting MVC to use the new Razor codebase.
2017-01-26 13:06:06 -08:00
Kiran Challa cd4afdc083 [Fixes #116] Set 'no-store' also in Cache-Conrol header 2017-01-26 12:56:15 -08:00
Ajay Bhargav Baaskaran 7725c20c47 Enabled Razor.Evolution tests on linux 2017-01-26 12:34:35 -08:00
Arthur Vickers f35a3b4918 Remove obsolete calls to AddEntityFramework 2017-01-26 12:03:21 -08:00
Pranav K 3e214e2399 Introducing IPageModelActivatorProvider
Fixes #5480
2017-01-26 11:31:14 -08:00
Jass Bagga 0795ec1d9a Add tests for Replace operation with null checks for property (#56)
See #32
2017-01-26 11:28:35 -08:00
Michael Friis 8ce50e3fb3 Add details on running in Docker Windows containers 2017-01-26 11:10:14 -08:00
Ryan Nowak 243446d225 Quick fix for MVC. Hardcoding fullname of HelperResult. 2017-01-26 10:37:52 -08:00
David Fowler eafbe74160 Fixed parameter count mismatch when invoking methods with wrong case (#162)
* Fixed parameter count mismatch when invoking methods with wrong case
- Hub methods were being tracked with 2 dictionaries, one for parameter names
the other for callbacks. This change introduces a single dictionary that stores
the hub name to a HubMethodDescriptor. That descriptor stores the parameter types
and method info for the bound hub method.
- The callback is now just an invoke method on the HubEndPoint itself.
- Added tests for case sensitivity in hub method names
2017-01-26 18:25:49 +00:00
Ryan Brandenburg 51b3e82701 OnStarting throws when Response.HasStarted 2017-01-26 10:21:29 -08:00
Ryan Nowak 9df4674ee5 Make property attributes public in IR 2017-01-26 09:13:04 -08:00
Ryan Nowak 936c43a96c Make instrumentation pass public for MVC 2017-01-26 08:26:27 -08:00
Doug Bunting cc584ada39 Remove extra lines in 1840d68 2017-01-26 08:20:52 -08:00
Andrei Ignat 1840d6823b Addresses #5694 (#5695)
* Add "
`Microsoft.AspNetCore.StaticFiles": "1.2.0-*"`
to project,json
Add
`app.UseStaticFiles();`
in the
`public void Configure(IApplicationBuilder app)`
from `Startup` class.

Addresses #5694
2017-01-26 08:18:19 -08:00
moozzyk c997ea8165 Converting pipelines to channels 2017-01-26 08:04:58 -08:00
moozzyk 1119bcf1b3 Sharing channel connections 2017-01-26 08:04:56 -08:00
David Fowler 05cc7792df Synchronize the background scan and closing of connections
- It was possible for the application to be torn down during
a background scan. When that happened, the timer would be disposed
before the end of the scan and would throw an ObjectDisposedException
when timer resumption happened. This change introduces a lock that avoids that
race.

Fixes #161
2017-01-26 07:50:29 +00:00
Pranav K 8f085c8e5d Create an x86 process to target 32-bit applications
Fixes #47
2017-01-25 17:46:26 -08:00
Pranav K a031c4badb Update OpenId package versions 2017-01-25 17:09:26 -08:00
Jass Bagga 9b1271ba19 Remove obsolete DefaultHtmlGenerator ctor (#5711) 2017-01-25 16:25:12 -08:00
David Fowler 162cd1fc06 Handle misbehaving user code (#159)
* Handle misbehaving user code
- Execute EndPoint logic on a threadpool thread
- Turn synchronous exceptions into async ones to unify the
error handling
- Added tests
2017-01-25 23:45:43 +00:00
David Fowler 934f6a70d1 Various fixes in HttpConnectionDispatcher (#151)
- The connection state object is manipulated by multiple parties in a non thread safe way. This change introduces a semaphore that should be used by anyone updating or reading the connection state. 
- Handle cases where there's an active request for a connection id and another incoming request for the same connection id, sse and websockets 409 and long polling kicks out the previous connection (https://github.com/aspnet/SignalR/issues/27 and https://github.com/aspnet/SignalR/issues/4)
- Handle requests being processed for disposed connections. There was a race where the background thread could remove and clean up the connection while it was about to be processed.
- Synchronize between the background scanning thread and the request threads when updating the connection state.
- Added `DisposeAndRemoveAsync` to the connection manager that handles`DisposeAsync` throwing and properly removes connections from connection tracking.
- Added Start to ConnectionManager so that testing is easier (background timer doesn't kick in unless start is called).
- Added RequestId to connection state for easier debugging and correlation (can easily see which request is currently processing the logical connection).
- Added tests
2017-01-25 22:27:55 +00:00