Pranav K
a53e378cf4
Updating kproj file to match tooling changes
2014-05-18 20:13:56 -07:00
N. Taylor Mullen
9eaa62125f
Trim Razor.Host dependencies.
...
Several dependencies were added to the Razor.Host project that weren't needed. Removed them in order to reduce the dependency chain for tooling.
2014-05-09 11:36:09 -07:00
Andrew Peters
f13865dedc
Updating copyright headers
2014-05-08 23:01:20 -07:00
Wei Wang
dc8b5010a0
Merge branch 'sort-dependencies' into dev
...
Conflicts:
src/Microsoft.AspNet.Mvc.Core/project.json
src/Microsoft.AspNet.Mvc.Razor.Host/project.json
src/Microsoft.AspNet.Mvc.Razor/project.json
2014-05-08 11:16:25 -07:00
Wei Wang
bc9cc68bf0
Fix position of brace
2014-05-08 10:50:10 -07:00
David Fowler
6fb34c6ab7
React to renames
2014-05-08 03:06:18 -07:00
David Fowler
c94cfc5b0e
Updated to use the new Roslyn.
2014-05-07 22:53:45 -07:00
Wei Wang
7b2feab670
Sort dependencies and remove duplicates in dependencies
2014-05-07 18:24:04 -07:00
Pranav K
076dedcca5
Reacting to package and namespace changes
2014-05-06 14:06:29 -07:00
Ryan Nowak
4ece9969bf
HttpAbstractions
2014-05-05 16:29:14 -07:00
Ryan Nowak
a9a7663cbd
Update MVC for reflection package changes
2014-05-05 10:38:07 -07:00
anpete
71acc74899
Merge branch 'dev' of github.com:aspnet/WebFx into dev
2014-05-01 17:42:48 -07:00
anpete
8208cd6b2f
Update file headers
2014-05-01 17:42:33 -07:00
N. Taylor Mullen
af18392815
Re-updated System.IO.FileSystem version.
2014-05-01 17:11:23 -07:00
N. Taylor Mullen
40bb9d0421
Update FileSystem package version.
2014-05-01 17:01:13 -07:00
Ryan Nowak
20c8dece7b
Adding IFilterFactory
...
This is a generalized factory/provider for filters - TypeFilterAttribute
and ServiceFilterAttribute are now implemented in terms of this interface.
2014-04-30 13:18:10 -07:00
Pranav K
3671e8c5b4
Reviving CompareAttributeAdapter and ModelClientValidationEqualToRule
2014-04-22 23:11:24 -07:00
Louis DeJardin
f19fe0cbef
Filters version 2.0
...
This is functionally much more similar to legacy MVC.
Rather than a pure single pipeline, filter execution takes place in more
stages.
2014-04-17 11:45:58 -07:00
Ryan Nowak
40e7fcc9ba
Turning on warnings as errors
2014-04-16 20:21:07 -07:00
Pranav K
b9b652084a
Introducing IClientModelValidator to support client validation
...
* Adding support for validator adapters in DataAnnotationsModelValidatorProvider
* Adding Regex and DataType validators
2014-04-16 06:27:52 -07:00
Ryan Nowak
d2453c5832
Bringing back Razor.Host as an assembly as a TEMPORARY WORKAROUND
...
The tooling team needs this as separate assembly. This will be removed
again soon.
2014-04-10 15:54:47 -07:00
Ryan Nowak
1b4754454b
Relayering MVC Dependencies Part 1/N
...
Merging Mvc.Razor.Host into Mvc.Razor
2014-04-02 18:28:34 -07:00
Pranav K
f1efbde29d
Revive HelperResult to allow using @helper in views
2014-03-28 11:08:15 -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
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
dougbu
478c220ddb
Revert "Merge two `TypeExtensions` classes into Common\TypeExtensions.cs"
...
This reverts commit d534471515 .
2014-03-17 22:53:36 -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
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
Pranav K
123089d5c7
General razor clean up
...
* Change Razor compilation to use ApplicationBasePath to determine the
app root
* Change class name generation to be based on app-relative path.
2014-03-10 11:56:07 -07:00
David Fowler
360f81d0a8
Added required packages for K
2014-03-08 01:10:02 -08:00
Pranav K
28b7597779
Introducing NotNullAttribute for null argument checks
2014-03-07 14:03:28 -08:00
Pranav K
48738b91f4
Updating resx designer file to use updated format
2014-03-03 12:05:00 -08:00
Pranav K
5a22d9b52c
Restore @model support in RazorHost
2014-02-13 12:48:02 -08:00
N. Taylor Mullen
4cd2cce360
Fix build.
...
Removed Equals from SetModelTypeCodeGenerator and removed accidentally
committed file. The Equals method caused a warning without a corresponding
GetHashCode().
2014-02-10 12:30:12 -08:00
N. Taylor Mullen
226d632794
Re-enable the model keyword for Mvc Razor.
2014-02-10 12:00:15 -08:00
Pranav K
a6393e77ab
Moving MvcRazorHost to a separate assembly
2014-01-29 15:20:48 -08:00