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
N. Taylor Mullen
b1c49a2535
Remove CodeDOM from net45 Razor.
...
Removed all System.CodeDOM related code from net45. This involved modifying some existing code paths and most of all reducing the complexity of all of the CodeGenerators. Added some factory creation methods to build CodeBuilders. Ran code analysis and made adjustments to pass analysis.
2014-03-14 16:05:23 -07:00
Chris Ross
4d511b3aef
Make IServerFactory not assembly neutral temporarily.
2014-03-14 15:13:00 -07:00
Levi Broderick
730b16df37
CryptRand.FillBuffer shouldn't throw if the buffer is a zero-length array.
2014-03-14 14:34:20 -07:00
David Fowler
c3e0279aac
Updated to use service collection
2014-03-14 14:22:20 -07:00
Ryan Nowak
1a430f90ed
porting to web sample
2014-03-14 13:06:27 -07:00
Ryan Nowak
51e5a5bf19
Fix for issue #57
...
Replaced ActivatorUtilties with ITypeActivator in WebFX.
2014-03-14 12:51:20 -07:00
Ryan Nowak
a5cb050b97
Using AutoFac to register open generic service types
2014-03-14 12:46:17 -07:00
Chris Ross
085188996c
Initial port of Secuirty base package from Katana.
2014-03-14 12:43:45 -07:00
David Fowler
930986d6a2
Migrate samples from hacky self host to helios
...
- MvcSample should be deleted and all new code should be written in MvcSample.Web
2014-03-14 10:25:13 -07:00
Pranav K
90e6897247
Fixing build
2014-03-14 10:22:37 -07:00
Chris Ross
2b7272fe07
Review feedback.
2014-03-14 10:17:46 -07:00
Pranav K
d86298ffe1
Switching over placeholder attributes to use DataAnnotation attributes
2014-03-14 09:48:40 -07:00
David Fowler
65d461814f
Added 4.5.1 support for web projects
2014-03-13 22:18:46 -07:00
Yishai Galatzer
3461c44a5e
Move filteritem out to it's own class
2014-03-13 18:29:54 -07:00