Commit Graph

27752 Commits

Author SHA1 Message Date
Victor Hurdugaci 7569703906 Add schema version to kproj files 2014-11-25 10:49:23 -08:00
Victor Hurdugaci bf0c8c95b0 Add schema version to kproj files 2014-11-25 10:47:58 -08:00
Victor Hurdugaci eb99bf25a3 Add schema version to kproj files 2014-11-25 10:39:01 -08:00
Victor Hurdugaci 0c841f934e Add schema version to kproj files 2014-11-25 10:36:04 -08:00
Harsh Gupta d00c7ef597 Adding support for property level binding using IBinderMetadata and enabling FromXXX attributes to be decorated on properties. 2014-11-24 21:33:02 -08:00
Hao Kung a475177376 Fix samples 2014-11-24 18:00:48 -08:00
Hao Kung a9827a4310 GetDefaultServices -> AddHosting
Also stop adding options
2014-11-24 17:33:11 -08:00
Hao Kung d8041cbbae React to identity changes 2014-11-24 16:41:16 -08:00
Hao Kung f3e9381f16 GetServices -> AddDataProtection 2014-11-24 16:40:13 -08:00
Hao Kung 27432d9453 React to GetDefaultServices/TryAdd changes 2014-11-24 16:38:45 -08:00
Hao Kung 21a6f44c38 GetDefaultServices -> AddRouting with TryAdd 2014-11-24 16:37:10 -08:00
Hao Kung 240ed82b31 React to AddDataProtection change 2014-11-24 16:32:33 -08:00
Hao Kung d2c12e85b8 Samples fix for missing return url
Fixes: https://github.com/aspnet/Identity/issues/262
2014-11-24 16:29:02 -08:00
Suhas Joshi f61b1496b2 Updating commands for non windows machines 2014-11-24 14:27:43 -08:00
Hao Kung d4733f9238 React to GetDefaultServices changes 2014-11-24 13:41:14 -08:00
Hao Kung 66f9803d06 Replace IIdentityMessageService with IUserMessageProvider 2014-11-24 13:41:02 -08:00
NTaylorMullen c947e9ffaa Changed TagHelper attributes to be SpanKind.Code if not string typed.
- Also added tests to validate that non string TagHelper attributes inherit the SpanKind.COde behavior.
- Removed a block wrapping around single markup spans.
2014-11-24 11:21:20 -08:00
N. Taylor Mullen e7941b5a84 React to aspnet/Razor#210 changes.
- Added the ErrorSink pass through values for our overridden classes.
2014-11-24 11:16:27 -08:00
N. Taylor Mullen 0d60da296d Add and modify tests to validate TagHelperDescriptorResolver doesn't throw.
- Modified existing tests that expected the resolvers to throw to no longer throw.
- Added new test to validate that unexpected errors that are thrown are also handled.

#210
2014-11-24 10:30:11 -08:00
N. Taylor Mullen ed9c432889 Modify TagHelperDescriptorResolver and dependencies to not throw.
- Changed the TagHelperDescriptorResolver, TagHelperTypeResolver and AddOrRemoveTagHelperSpanVisitor to not throw when they're unable to understand the users directive lookup text.
- This involved utilizing the new ParserErrorSink to capture errors found during TagHelperDescriptor resolution.

#210
2014-11-24 10:30:01 -08:00
Pranav K aebfecdf87 Reacting to DI changes 2014-11-24 10:10:51 -08:00
David Fowler 075edc516c Handle null configuration in HostingServices.Create 2014-11-23 22:48:28 -08:00
Doug Bunting a42fa3c800 Touch up tag helper sample
- provide list of users on Index page
 - currently uses only the `<a/>` helper but left `<label/>` and `<input/>` comments
- get date picker working on Create and Edit pages
 - add `[DataType]` annotation
 - use format browsers recognize

nits:
- move "Create New" link to the bottom of `~/Home/Index`
- correct code comment about assigning to a `ViewBag` property
2014-11-22 11:42:17 -08:00
Doug Bunting 823229279a Extend MVC Sample functional test to include all Home views 2014-11-22 10:36:46 -08:00
Doug Bunting ab8a77bb70 Avoid NREs in MVC sample
- see e.g. results of `GET ~/Home/Post`
- use parentheses to avoid `?` confusing Razor

nit: remove unused Home/Test.cshtml view
2014-11-22 10:36:39 -08:00
Glenn Condron bd5c07d66a Move default hosting environment code 2014-11-21 17:04:04 -08:00
Hao Kung 85530742ef Replace AddDefaultIdentity
Break it into
AddIdentity<>.AddEntityFrameworkStores.AddDefaultTokenProviders()
2014-11-21 15:10:35 -08:00
Hao Kung 2f02fc6091 Fix SelfHost to default to config environment
Fixes MusicStore
2014-11-21 15:01:52 -08:00
ajcvickers c84a6b436f Stop using context.Configuration. 2014-11-21 11:51:35 -08:00
ajcvickers 6f8407bca4 Reacting to EF change 2014-11-21 11:42:38 -08:00
ajcvickers 3b6e988f92 Remove use of context.Configuration 2014-11-21 11:36:37 -08:00
Ryan Nowak e54bf866e0 Simplifying InlineConstraints tests
Right now these use a commandline adapter to inject some data into the
tests, but it's really not needed. Instead, these routes use a prefix to
ensure that the scenario under test is isolated.
2014-11-21 11:28:44 -08:00
Hao Kung 0edfde8e20 Revert "Disable tests for now"
This reverts commit 0d7c28413f.
2014-11-21 10:52:16 -08:00
Pranav K ba1d66d683 Fixing build break 2014-11-21 09:40:02 -08:00
SonjaKhan 44b50b46f9 updating the page generator and base view to work with razor helper functions 2014-11-21 09:26:36 -08:00
Pranav K 0e4ec38efe Replacing Assert.Equal(null, Assert.Equal(true \ false etc with
appropriate Xunit equivalents
2014-11-21 08:28:55 -08:00
Doug Bunting 1f67f69205 Add missing license headers
- #EngineeringDay
2014-11-20 23:25:52 -08:00
Doug Bunting a477bd5cb1 Add missing license headers
- #EngineeringDay
- skip generated files such as Resources.Designer.cs and files under
  test\Microsoft.AspNet.Razor.Test\TestFiles\CodeGenerator\CS\Output
2014-11-20 23:17:48 -08:00
Doug Bunting 7eb106676c Add missing license headers
- #EngineeringDay
- license present but incorrect in just a few files
- skip generated files such as Resources.Designer.cs and files under
  test\Microsoft.AspNet.Mvc.Razor.Host.Test\TestFiles\Output
2014-11-20 22:54:05 -08:00
Doug Bunting 315908af5f Apply VS' FormatDocument and RemoveAndSort to all *.cs files
- #EngineeringDay
- VS does not yet format auto-properties nicely; reverted what it did

Also revert changes under
- test/Microsoft.AspNet.Mvc.Razor.Host.Test/TestFiles
2014-11-20 21:15:46 -08:00
Hao Kung 0d7c28413f Disable tests for now
Filed https://github.com/aspnet/MusicStore/issues/292
2014-11-20 18:38:39 -08:00
Hao Kung 4267d9b25f React to hosting changes 2014-11-20 18:13:03 -08:00
Hao Kung eedb08d75d Fix build break 2014-11-20 18:01:50 -08:00
Hao Kung 781bdce0eb Add IServiceManifest 2014-11-20 17:54:10 -08:00
Ryan Nowak eb6598e1b9 Fix flaky NoContentFormatter test 2014-11-20 17:48:00 -08:00
Hao Kung d9893b260a React to fallback changes 2014-11-20 17:43:55 -08:00
Hao Kung 9f351a09a2 React to fallback changes 2014-11-20 17:42:14 -08:00
Hao Kung 63c8e1889b Add IServiceManifest 2014-11-20 17:37:35 -08:00
Hao Kung 5f06906087 React to fallback changes 2014-11-20 17:25:16 -08:00
Hao Kung ac6f1223df Hosting changes reacting to fallback being removed
- HostingServices.Create() is the supported way to create a service
collection with kre services imported
- IHostingEnvironment is now a normal service
- IConfigureHostingEnvironment is how you configure it
2014-11-20 17:23:31 -08:00