Victor Hurdugaci
16a05755bf
React to DNX renames
2015-07-29 11:01:20 -07:00
Doug Bunting
bb158ec6ee
Build break: React to aspnet/Razor@e722f90
...
- aspnet/Razor@e722f90 removed `HashCodeCombiner` from `public` surface of Razor assembly
- not actually needed since `IReadOnlyTagHelperAttribute` implementations provide a solid `GetHashCode()`
2015-07-29 09:40:14 -07:00
Victor Hurdugaci
e96b4d7b94
React to DNX renames
2015-07-29 04:49:49 -07:00
Victor Hurdugaci
15c0e16a91
React to DNX changes
2015-07-29 03:38:40 -07:00
Victor Hurdugaci
50612d7d74
React to DNX renames
2015-07-29 02:05:08 -07:00
Victor Hurdugaci
322fd0ff92
Fix namespaces
2015-07-29 01:48:15 -07:00
Victor Hurdugaci
4154dbb8c3
Fix dnx arguments
2015-07-29 01:30:00 -07:00
Victor Hurdugaci
343d698286
React to DNX renames
2015-07-29 01:04:59 -07:00
Victor Hurdugaci
81e8830c67
React to DNX renames
2015-07-29 00:30:44 -07:00
Victor Hurdugaci
dfe427d3b3
React to DNX renames
2015-07-29 00:01:20 -07:00
Stephen Halter
47d7f73bdc
Fix SocketOutput so that it can now complete large writes
...
- Complete in this context means that the callback gets invoked.
- Previously, calls to write would never complete if the buffer contained
more than 64 KB (_maxBytesPreCompleted).
- This is tested by SocketOutputTests.CanWrite1MB.
2015-07-28 16:57:24 -07:00
Stephen Halter
cce9d8f09c
Make SocketOutput more testable
...
- Added a MockLibUv class
- Create a SocketOutputTests class
2015-07-28 16:57:22 -07:00
Stephen Halter
c345849707
Don't use QueueUserWorkItem to trigger write callbacks immediately
...
- In this case we are off the event loop, so we can invoke the callback directly.
- Increase _maxBytesBufferedBeforeThrottling
2015-07-28 16:57:21 -07:00
Stephen Halter
74fa82bca7
Complete WriteAsync Tasks early when there are less than 64KB buffered
2015-07-28 16:57:19 -07:00
Stephen Halter
5b06a76367
Add sample that can produce large responses
2015-07-28 16:57:17 -07:00
Stephen Halter
d723f9da21
Reduce calls to uv_write by calling it with multiple buffers when possible
2015-07-28 16:57:16 -07:00
Chris R
2b5206ac18
#134 Remove unused fixed buffer.
2015-07-28 15:01:08 -07:00
N. Taylor Mullen
3b5692a5a5
Removed extra IVT from `Microsoft.AspNet.Razor`.
...
- Added tests to validate `IsStringProperty` on `TagHelperAttributeDescriptor`s.
#464
2015-07-28 14:58:59 -07:00
N. Taylor Mullen
e722f90481
Transition `HashCodeCombiner` to use the `aspnet/Common` variation.
...
- Updated `LocationTagged<TValue>` to handle `null` implicit values.
- Removed `InternalsVisibleTo` declaration on `Microsoft.AspNet.Razor` to the runtime test project.
- Updated `TagHelperDescriptor` tests to utilize helper methods to construct `TagHelperDescriptor`s. This was needed since the `InternalsVisibleTo` declaration was removed.
#449
2015-07-28 10:45:08 -07:00
N. Taylor Mullen
b66da76c5c
Format project.json's.
2015-07-28 10:43:51 -07:00
N. Taylor Mullen
4d0821f953
Transition Razor test comparers to new project.
...
- Changed namespaces for test comparers.
#461
2015-07-28 10:38:09 -07:00
bchavez
bdab4d95fd
Using QueryHelpers helps avoid issue #365 .
2015-07-28 10:13:52 -07:00
Kiran Challa
8d583a4718
[ Fixes #157 ] ErrorPage middleware doesn't show source code lines of Razor files
2015-07-28 08:49:53 -07:00
Hao Kung
3b26a6e265
Rebase to dev
2015-07-27 14:58:20 -07:00
Dan Friedman
d1c4e000ac
Set ViewBag.LoginProvider in error scenarios
...
Failure to do so will leave certain fields blank in the view.
2015-07-27 14:57:42 -07:00
Hao Kung
6931ebe41d
Fix but with RemoveRoleClaim
2015-07-27 14:53:38 -07:00
N. Taylor Mullen
a66490c012
Format runtime tests project.json.
2015-07-27 12:03:06 -07:00
Louis DeJardin
166ec72484
Merge pull request #145 from aspnet/lodejard/multiloop
...
Multiple threads processing connections
2015-07-27 11:49:08 -07:00
Louis DeJardin
5e6e5fec01
Adding an IKestralServerInformation.ThreadCount property
...
Will default to 1 until multi-loop stability is ensured
2015-07-27 11:40:39 -07:00
Kiran Challa
06c8c79a0b
Added repository information to Localization project
2015-07-27 11:13:59 -07:00
Louis DeJardin
10bce6a2ec
Constrain the timing on the dispatch test
2015-07-26 19:11:17 -07:00
Louis DeJardin
e39fe60da0
Removing commented code
2015-07-24 16:19:15 -07:00
BrennanConroy
5aa94c27f7
Update project.json
...
How did this work before?
2015-07-24 15:57:49 -07:00
Louis DeJardin
baeb3e7962
Fixing write2.Dispose() to avoid creating closure
2015-07-24 15:47:31 -07:00
Louis DeJardin
17a846ad8e
Method not used by descendants
2015-07-24 15:44:27 -07:00
Louis DeJardin
62ec11be7e
Adding internal Constants class
2015-07-24 15:43:43 -07:00
Louis DeJardin
f935567cfd
Read callback status is always 0 for any error and EOF
2015-07-24 15:36:45 -07:00
Louis DeJardin
b93845be19
Removing debug code
2015-07-24 15:25:44 -07:00
Louis DeJardin
598250a1d8
Fixing pipe name in test
2015-07-24 15:23:01 -07:00
N. Taylor Mullen
3ab6f56284
Fix `DesignTimeDescriptorFactory.CreateDescriptor` call to properly retrieve type from `TypeInfo`.
...
- Added `TagHelperDescriptorFactory` level tests to validate correct information is being pased to the `TagHelperDesignTimeDescriptorFactory`.
#457
2015-07-24 15:07:07 -07:00
Louis DeJardin
3d45602513
Catch Accept because of EAGAIN
2015-07-24 14:02:42 -07:00
Louis DeJardin
42246fd51b
Using named pipes to dispatch connections to multiple threads
2015-07-24 13:50:13 -07:00
Louis DeJardin
ceeb4edabd
Adding UvPipeHandle
2015-07-24 13:50:10 -07:00
Kirthi Krishnamraju
ed9b0f59b5
Updated code to generate resx file only if file names does not have locales
2015-07-24 09:26:46 -07:00
Eilon Lipton
6e45aecbc6
Update KestrelWebSocketHelpers.cs
...
Fixing build break.
2015-07-24 08:54:49 -07:00
Doug Bunting
6106375306
Add `HttpOkResult`, `HttpOkObjectResult`, and `Ok()` methods in `Controller`
...
- #2825
- new class names align with existing types such as `HttpNotFoundResult` and `HttpNotFoundObjectResult`
- remove similar types from WebApiCompatShim and use replacements in `ApiController`
- `NegotiatedContentResult<T>` remains because Core doesn't have an exact replacement
nits:
- add missing periods in some `Controller` doc comments
2015-07-23 18:49:36 -07:00
Ryan Nowak
e91ce4560f
Fix #2338 - Add ViewComponentResult
...
Makes it easier to render a view component from inside a controller. This
makes it possible to implement behavior where an ajax request refreshes
part of a page.
2015-07-23 17:52:52 -07:00
Kirthi Krishnamraju
8fdc275262
Added Localization repo to makefile
2015-07-23 16:00:31 -07:00
N. Taylor Mullen
c87dd8d9de
Fix EditorBrowsableAttribute detection to apply to individual attributes.
...
- Prior to this change we'd return early and not generate any found descriptors if ANY property on a `TagHelper` had editor browsable never.
- This issue was hidden from tests due to us using the wrong comparer. Updated the comparer and failures occurred without the `TagHelperDescriptorFactory` change (yay).
#454
2015-07-23 15:26:46 -07:00
moozzyk
72a41c78b9
Fixing dnx.exe arguments in deployer to fix server tests
2015-07-23 13:40:28 -07:00