Louis DeJardin
951e8df893
Making core clr friendly
2014-03-19 18:15:50 -07:00
Louis DeJardin
7b038d4e31
Adding standard implementation of IContextAccessor<>
2014-03-19 18:13:03 -07:00
Louis DeJardin
c39a41bd9f
Adding UseContainer middleware
...
Assigns values to HttpContext.ApplicationServices and
HttpContext.RequestServices as call passes through
2014-03-19 18:13:02 -07:00
Pranav K
f8dd52dfe3
Reintroducing BindingBehaviorAttribute attribute
...
* Porting MutableObjectModelBinder tests
* Fix issues in MutableObjectModelBinder introduced by changing from
TypeDescriptors to reflection
2014-03-19 16:52:02 -07:00
Hao Kung
5e36691909
Port ClaimsIdentityFactory and more tests
2014-03-19 15:08:43 -07:00
Chris Ross
951dcbebb7
Add IServerInformation to IBuilder.
2014-03-19 11:35:24 -07:00
harshgMSFT
9cd99a42a7
ActionExecutor implementation WebFx W113
...
The changes include:
1. Action executor changes required for supporting sync and async operations Taksk and Task
2. Adding test project for MVC core - This contains ActionExecutor Tests.
3. Also adding a resources file for MVC core project
2014-03-19 11:10:42 -07:00
dougbu
4bc7c36522
Merge two `TypeExtensions` classes into Common\TypeExtensions.cs
...
- add missing `[NotNull]` attributes
- remove now-unneeded usings for ...ModelBinding.Internal namespace
Also get ModelBinding test project working under CoreCLR
- create separate k10 and net45 folders under test in VS
- add `[InternalsVisibleTo]` to make `TypeExtensions` visible to test assembly
- correct tests' `CultureInfo` use to compile under CoreCLR
- ifdef out CoreCLR tests depending on Moq, ReadOnly, ...
- remove a couple of tests expecting TypeConverter to work
2014-03-19 09:53:40 -07:00
Yishai Galatzer
227121b3f9
CR Feedback
2014-03-19 09:26:20 -07:00
Yishai Galatzer
7d9a6297f9
Fix debug string
2014-03-19 09:26:19 -07:00
Yishai Galatzer
cfb06c0de3
Areas feature - Phase I
...
1. Areas defined by the Area attribute
2. Areas are a routeconstraint on the actiondescriptor
3. Areas find pages through route values
Other changes:
1. Remove Path from ActionDescriptor - It doesn't make sense with this change
2. Add sample Area
2014-03-19 09:26:18 -07:00
Chris Ross
f2835e7185
Rename IResponseCookiesCollection to IResponseCookies.
2014-03-19 09:12:42 -07:00
Chris Ross
732ae3d030
Code review cleanup.
2014-03-19 09:12:29 -07:00
Chris Ross
b9899fc72a
Fix response cookies namespace.
2014-03-19 09:12:27 -07:00
Chris Ross
bc43ccbc30
Change QueryString to include the leading '?'.
2014-03-19 09:12:25 -07:00
Chris Ross
fc8832f69f
Add Claims dependency.
2014-03-19 09:12:23 -07:00
Chris Ross
cbd8401582
Fill in OnSendingHeaders, Redirect, IsSecure.
2014-03-19 09:12:21 -07:00
Chris Ross
ae9545a124
Improve request and response cookie handling.
2014-03-19 09:12:18 -07:00
Pranav K
072e2cc1f1
Updating DataAnnotations version in project.json
2014-03-18 20:56:08 -07:00
Pranav K
eae9d3a951
Update GenericModelBinder.BindModel to use correct overload of
...
Activator.CreateInstance
2014-03-18 16:34:18 -07:00
Ryan Nowak
db7b068f6b
Added back K10 version of the routing sample to the sln
2014-03-18 16:25:44 -07:00
David Fowler
fc3a76d63d
Clean up project.json file
...
- Removed unused dependencies
2014-03-18 16:21:51 -07:00
David Fowler
707a563e08
Remove hacky self host sample and replace with helios sample.
2014-03-18 16:21:50 -07:00
Stephen Halter
aa0b52df4e
ServiceCollection.FallbackServices no longer exists
...
- Pass the fallback service provider to BuildServiceProvider instead
2014-03-18 15:04:49 -07:00
dougbu
3a0add8be8
Cleanup pass: Move Rendering classes to correct namespace
...
- use Microsoft.AspNet.Mvc.Rendering namespace throughout assembly
Also
- move `IdAttributeDotReplacement` from `TagBuilder` to `HtmlHelper`
- remove commented-out code in `HtmlHelper`
- use `var` and `[NotNull]` more
- `String` -> `string`
- correct Resources references; add missing resources
2014-03-18 14:02:39 -07:00
N. Taylor Mullen
4cfef3c6d1
Add tests to verify flexibility of await keyword.
...
Added sample files to evaluate accuracy of generated code for the await keyword. Also added a line mapping test to ensure that we're mapping the keyword correctly.
2014-03-18 12:37:16 -07:00
N. Taylor Mullen
50314ca7e5
Add the ability for users to await expressions.
...
This enabled things like @await Foo(). We special case the await keyword and allow another snippet of code to follow it.
2014-03-18 12:37:07 -07:00
GrabYourPitchforks
ea1f93aa91
Fix bad call to Assembly.GetType in Hosting.
...
CR: chrross
2014-03-18 11:49:41 -07:00
Hao Kung
7adb28a460
Cleanup + more unit tests (Core @ 81%)
2014-03-18 11:26:02 -07:00
dougbu
478c220ddb
Revert "Merge two `TypeExtensions` classes into Common\TypeExtensions.cs"
...
This reverts commit d534471515 .
2014-03-17 22:53:36 -07:00
dougbu
f714425619
Revert "Address CR comments"
...
This reverts commit d815329f71 .
2014-03-17 22:52:39 -07:00
dougbu
d815329f71
Address CR comments
...
- reduce #if use
- remove outdated comment
2014-03-17 22:49:30 -07:00
Louis DeJardin
ca2ef860f5
Adding IServiceProvider interfaces to HttpContext
2014-03-17 21:42:35 -07:00
dougbu
d534471515
Merge two `TypeExtensions` classes into Common\TypeExtensions.cs
...
- add missing `[NotNull]` attributes
- remove now-unneeded usings for ...ModelBinding.Internal namespace
- remove TypeExtensionTests.cs; don't add .NET 4.5-only
`[InternalsVisibleTo]` for low-level `IsCompatibleWith()` extension
2014-03-17 21:02:25 -07:00
David Fowler
cd9d3a3335
Updated hosting to use service describer
2014-03-17 19:24:31 -07:00
David Fowler
a8cc6828dd
Nuke the old MvcSample self host sample
2014-03-17 19:00:12 -07:00
Pranav K
752e559b2f
Space - the final frontier
2014-03-17 16:42:40 -07:00
dougbu
ed1b2ddcc3
Run unit tests during builds
...
- add "test" command
- use latest (forked) XUnit packages
update package references
[PropertyData] -> [MemberData]
Xunit.Extensions -> Xunit or Xunit.SDK
Moq now available for .NET 4.5 only
- delete a couple of unit tests checking for ArgumentNullException
- provide TestCommon classes in Razor and Razor.Host test projects
- make ReplaceCulture internal because it's a shared source
2014-03-17 16:28:25 -07:00
Hao Kung
f77614c97f
Unit test work (Core @ 78%)
...
Starting using Microsoft.AspNet.Testing
Add/Port a bunch more unit tests
2014-03-17 16:03:54 -07:00
Ryan Nowak
e1a8b5e140
Update xunit in text project and add k10 version
2014-03-17 14:48:35 -07:00
Pranav K
07465158c2
Modifying csproj generator to not add references to shared projects
2014-03-17 14:14:56 -07:00
GrabYourPitchforks
063420067e
HostingServices should provide a default implementation of IDataProtectionProvider
2014-03-17 14:09:31 -07:00
N. Taylor Mullen
f8179f03e4
Trigger view rendering asynchronously.
...
This is as simple as modifying the base class to return task and await the ExecuteAsync method. Also added a piece to the sample project to verify functionality.
2014-03-17 12:18:54 -07:00
N. Taylor Mullen
aef8a79081
Update tests to verify async rendering.
...
Also changed naming of the CreateBuilder method in the Razor language to CreateCodeBuilder.
2014-03-17 11:29:19 -07:00
N. Taylor Mullen
5912475a24
Change Execute rendering to be async.
...
Added the using statement required for async rendering.
2014-03-17 11:28:43 -07:00
David Fowler
ecbb52fa40
Updated to use KoreBuild
...
- Updated solution file to use generated projects
- Updated to use new test runner
2014-03-17 00:37:20 -07:00
David Fowler
0247c3a393
Updated RoslynCompilationService to account for new changes to API
2014-03-16 23:42:50 -07:00
David Fowler
5a10bb338b
Updated make-roslyn-fast script
...
- Account for changing assembly names by keeping 2 lists
2014-03-16 03:08:22 -07:00
David Fowler
d7bbcb9644
Fixed service provider building
2014-03-15 14:41:41 -07:00
David Fowler
389815482e
Updated test to use new ServiceCollection
2014-03-14 23:57:41 -07:00