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
Yishai Galatzer
5849ba8544
Cleanup after refactoring
2014-03-13 18:15:24 -07:00
Yishai Galatzer
c4481cf390
One more refactoring
2014-03-13 17:26:21 -07:00
Yishai Galatzer
fc168d63f6
refactor to return ordered filter list from filter provider
...
Arrange filters to a pipeline in the action invoker
Allow providing the original filter definition to a type and service filter
2014-03-13 17:26:21 -07:00
Chris Ross
6a5cb913c8
Review cleanup. Cleaner Startup auto-detect. Fix tests.
2014-03-13 14:25:30 -07:00
Pranav K
d9867b4831
Changing IModelValidatorProvider DI to be transient for now
2014-03-13 12:04:45 -07:00
Chris Ross
7ddfc9cde4
Initial import from Katana.
2014-03-13 10:57:15 -07:00
Hao Kung
4c1f4e26ff
Fix typos
2014-03-13 10:42:16 -07:00
Chris Ross
ee4bb6de87
Review feedback. Style cleanup. Updated build template files.
2014-03-13 09:33:29 -07:00
Pranav K
e434918337
Reintroduce model validation
2014-03-12 21:55:50 -07:00
Stephen Halter
cca3f92c5f
Temporarily migrate the MvcSample project to Autofac
2014-03-12 15:17:41 -07:00
Chris Ross
a3eb280275
Implement Program.Main and ServerManager. Add Startup search.
2014-03-12 15:07:37 -07:00
Ryan Nowak
543e818acd
Add support for host based on Host header
2014-03-12 14:29:51 -07:00
Brice Lambson
9be70fb808
Target .NET Framework 4.5.1 in generated csproj files
2014-03-12 14:29:00 -07:00
Hao Kung
113bab1a1d
Port ConfirmEmail, IQueryableUserStore tests
...
Also add missing IQueryableUserStore to InMemory
2014-03-12 13:43:28 -07:00
Louis DeJardin
29b435267b
Adding some build targets for convenient git operations
2014-03-12 13:43:01 -07:00
Hao Kung
c914772696
Code review feedback
...
Rename UnitTestHelper to IdentityResultAssert
Rename some classes
Use Theory for Password Validator uber mixed test
2014-03-12 13:14:46 -07:00
Hao Kung
8fde3dfb62
Delete junk file that got added
2014-03-12 12:14:30 -07:00
Hao Kung
33715664e2
Port more tests (InMemory @ 92%, Core @ 60%)
2014-03-12 12:13:29 -07:00
Ryan Nowak
00f15669dc
More CR feedback on URL generation
2014-03-12 11:12:52 -07:00