Commit Graph

37701 Commits

Author SHA1 Message Date
Ryan Nowak 32645e93c8 Add expression rewriting to Razor
This change rewrites simple and safe Expression<Func<T, U>> expressions
into accesses to readonly fields. This allows us to cache the actual
expression and avoid repeatedly allocating and compiling it.

The rewrite is limited to cases where we know that the expression doesn't
capture, and where we support that kind of expression for evaluating
viewdata. In practice this means 'indentity' and property accessors are
allowed.
2015-10-16 12:28:50 -07:00
Chris R f588677bb4 #506 Update to Rc1 IdentityModel, update ValidateUserInfoEndpointResponse. 2015-10-16 12:11:54 -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
Ajay Bhargav Baaskaran 6ef2fe44ca [Fixes #3250] Remove RouteGroup from RouteValues 2015-10-16 10:57:22 -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
N. Taylor Mullen 2d4092ca32 Add line pragmas to dynamic attributes.
- This enables debugging and proper error reporting for dynamic attributes. Without the pragmas errors would showcase generated Razor C# instead of their corresponding .cshtml files.
- Did not have to do any `TagHelper` specific changes since they utilize the same core attribute rendering logic.
- Updated generated C# files for tests.

#569
2015-10-16 09:41:12 -07:00
Ryan Nowak 221df71425 Incorporate StringSegment from primitives 2015-10-16 08:39:58 -07:00
Glenn Condron 56db20c863 Merge pull request #989 from aspnet/glennc/readmeUpdate
Update README.md
2015-10-16 00:02:32 -07:00
Eilon Lipton b5712ef176 Remove a bunch of unused test code
The tests were testing nothing but themselves!
2015-10-15 23:00:10 -07:00
Eilon Lipton 3c925fc4bf Fix package descriptions with proper casing
#468
2015-10-15 22:30:11 -07:00
Doug Bunting 9b004611e5 Address PR comments for 2e2043f (PR #3317)
- remove redundant `null` check in `InputFormatter`
- improve comments
- rename `ObjectResult.SelectFormatterBasedOnTypeMatch()` -> `SelectFormatterNotUsingAcceptHeaders()`
2015-10-15 20:26:03 -07:00
Stephen Halter 8e818e3549 Address PR feedback 2015-10-15 16:52:37 -07:00
Hao Kung 8359038927 Address remaining PR feedback + misc cleanup 2015-10-15 16:51:12 -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
Stephen Halter 513abb4561 Log errors in OnStarting and OnCompleted 2015-10-15 15:35:38 -07:00
Stephen Halter b98425d3b1 Log unhandled exceptions thrown from the AppFunc 2015-10-15 15:35:36 -07:00
N. Taylor Mullen ed617d17e9 Remove linemappings file. 2015-10-15 15:20:57 -07:00
Kiran Challa c36b89aa16 Unskip a test as it has been fixed in dnx 2015-10-15 14:26:10 -07:00
Chris R 7d62a188e1 Merge pull request #440 from benaadams/move-request-identifier
Expose TraceIdentifier on Httpcontext
2015-10-15 14:16:30 -07:00
Ben Adams e01a05d214 Move RequestIdentifierFeature to HttpContext
Rebased #435
Allow lazier instantiation
Expose TraceIdentifier on Httpcontext
Also resolves #412

Add tests
2015-10-15 22:00:45 +01:00
Chris R 08d17b2631 React to Authentication changes. 2015-10-15 13:47:22 -07:00
Kiran Challa 475771250b [Fixes #41] Api review changes 2015-10-15 13:16:34 -07:00
Kiran Challa fbf66168fe React to Cors api review changes 2015-10-15 13:05:08 -07:00
Kirthi Krishnamraju 18b63b9dbf fix build break 2015-10-15 11:47:32 -07:00
Kirthi Krishnamraju 10ad8b5bdf Remove unused namespace 2015-10-15 11:30:32 -07:00
Pranav K 68e4a0e666 Removing extraneous CoreCLR and Roslyn feeds from NuGet.config 2015-10-15 11:29:59 -07:00
Chris R c93e4f09f2 React to Authentication changes. 2015-10-15 10:09:33 -07:00
glennc 0d8f91f382 remove aspnetbeta8 form nuget.config. The packages are now on NuGet.org 2015-10-15 10:05:05 -07:00
Chris R d2835b6d22 React to Authentication changes. 2015-10-15 09:35:48 -07:00
Chris R dbe4327932 React to Authentication API changes. 2015-10-15 09:24:14 -07:00
David Fowler d565659de7 Merge pull request #420 from benaadams/Features-perf
Remove FeatureReference indirection
2015-10-15 04:03:23 -07:00
Hao Kung 027bc5c6b8 React to AuthN changes 2015-10-14 23:17:13 -07:00
Hao Kung 409b50269a Add RemoteAuthenticationHandler base/error handling logic 2015-10-14 23:08:43 -07:00
Hao Kung fd17481a73 React to AuthZ changes 2015-10-14 17:04:31 -07:00
Pranav K 2dcec8fe51 React to Kestrel package rename
Fixes #3323
2015-10-14 16:39:13 -07:00
Stephen Halter 611eaeb761 Add test for large blocks not taken from slab 2015-10-14 16:11:38 -07:00
Stephen Halter 7c27c5c0e7 Better handle blocks not taken taken from slabs
- If the block needs to be larger than 4032 bytes it won't be backed by a slab
2015-10-14 16:05:35 -07:00
Ben Adams 1f4ca55799 Features performance
Use FeatureCacheHelpers static methods rather than struct FeatureReference by default for lower allocation
2015-10-14 23:59:29 +01:00
ASP.NET Push Bot 39c901ee4e ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@66364c7eb4
2015-10-14 15:44:50 -07:00
Ajay Bhargav Baaskaran d40e6612a4 Moving the order of generated hidden tags for checkbox to end of the form
- #2994
- Affects both HtmlHelper and TagHelper scenarios
- Checkboxes not enclosed in a form will generate inline hidden tags
- Added necessary properties to FormContext
- Added some functional and unit tests
2015-10-14 15:43:13 -07:00
Glenn Condron 3e526a568d Update README.md 2015-10-14 15:04:24 -07:00