Louis DeJardin
e4b9bd265c
Adjusting Kestrel to run cross platform
2014-06-27 20:01:44 -07:00
Louis DeJardin
9c29ccdd32
Cross-platform LoadLibrary, adjusting libuv apis
2014-06-27 19:45:31 -07:00
Louis DeJardin
08a3685f53
Moving native resources, updating loading code
2014-06-27 19:33:48 -07:00
Ryan Nowak
c17d33154f
Fix for #617 - ViewResult can be constructed without a view engine
...
We want result types to be constructable without services.
2014-06-27 17:05:09 -07:00
dougbu
172a5a5500
Address review comments
...
- XML comments for changed `TemplateInfo` properties
- correct `DefaultDisplayTemplateTests` and `DefaultEditorTemplateTests` namespaces
- add a couple of low-level `TemplateInfo` tests
2014-06-27 15:56:51 -07:00
dougbu
bbf470bd34
Also test `string.Empty` model
2014-06-27 15:56:47 -07:00
dougbu
6eb1e38e33
Add `@Html.Display()` and `@Html.Editor()` tests with values in `ViewData`
2014-06-27 15:56:43 -07:00
dougbu
1a4d59ae14
Enable us to unit test `@Html...For()` methods
...
- add more `DefaultTemplatesUtilities.GetHtmlHelper()` overloads, all
returning a strongly-typed helper
- also correct that method to ensure template helpers each get a unique
`IHtmlHelper` instance
2014-06-27 15:56:35 -07:00
dougbu
88cd886a5b
Ensure `TemplateInfo.FormattedModelValue` & `HtmlFieldPrefix` are not `null`
...
- Fixes #705
2014-06-27 15:56:21 -07:00
AndriySvyryd
e32d1b069f
Using the default namespace for the resources class
2014-06-27 15:40:38 -07:00
Pranav K
e7c2faff32
Unwrap nullable types in PropertyHelper prior to looking up properties
...
Fixes #721
2014-06-27 15:27:51 -07:00
Praburaj
ecbf6e27fa
Adding more diagnostics to the test
...
Adding logic to throw and stop the tests if the response from the server is not OK.
2014-06-27 13:00:33 -07:00
Pranav K
0f0d44c6b3
Fixing ModelChunkVisitorTest to match resource name
...
Fixing stylecop issues
2014-06-27 11:55:24 -07:00
N. Taylor Mullen
83f585e583
Addressed stylecop and CR issues.
...
#568
2014-06-27 11:23:30 -07:00
N. Taylor Mullen
2ad175b687
Add @model specific tests to validate output.
...
#568
2014-06-27 11:23:27 -07:00
N. Taylor Mullen
54d6b0b113
Modify tests to use new ModelCodeGenerator.
...
#568
2014-06-27 11:23:24 -07:00
N. Taylor Mullen
b808c48faf
Add Model specific code generation.
...
By adding model specific code generation we are able to map the generic "base type" code to the cshtml file. This also involved utilizing the CreateClassDeclaration method in the Microsoft.AspNet.Razor library. Lastly Added a MvcCSharpChunkVisitor to add one more abstraction layer between the Microsoft.AspNet.Razor code and the Mvc code; this makes it so Mvc follows the same class structure as the base Razor parser.
#568
2014-06-27 11:23:21 -07:00
DamianEdwards
b9fd70b930
Fixing more tslint errors
2014-06-27 11:11:41 -07:00
DamianEdwards
f1a82e6456
Fixing tslint errors
2014-06-27 11:00:37 -07:00
Pranav K
2aacdeca4a
Modify AssociatedMetadataProvider to use PropertyHelper to create accessor
...
Additionally change it to use TypeExtensions.GetReadableProperties to get
property list. This causes it to ignore indexers which should not be
considered.
Fixes #595
2014-06-27 10:50:37 -07:00
DamianEdwards
aae0635911
Updating MusicStore.Spa for latest MVC changes
2014-06-27 10:48:11 -07:00
N. Taylor Mullen
c7545a0354
Add a virtual BuildClassDeclaration method to CSharpCodeBuilder.
...
This extensibility point needs to be an override and not a pure visitor due to how the class declaration is created (only 1 right way to write the class).
#76
2014-06-27 10:26:52 -07:00
Chris Ross
13f4c242ab
Rename T to TFeature, Creator to Factory.
2014-06-27 09:52:56 -07:00
Chris Ross
f4a397dfcc
OWIN: Support dynamically creatable features.
2014-06-27 09:21:06 -07:00
Chris Ross
f5173e44ae
Expand feature support for OWIN->K.
2014-06-27 09:21:04 -07:00
Pranav K
3c092cb083
Moving model binders from DI to MvcOptions
2014-06-26 21:49:46 -07:00
Ryan Nowak
ba506b2976
fix build break - this wasnt referencing the right helios package
2014-06-26 14:18:41 -07:00
Ryan Nowak
f194723230
Adding tests for convention-based routing
2014-06-26 14:00:42 -07:00
Chris Ross
3aae5cb4fa
Fix one more test.
2014-06-26 11:06:26 -07:00
Chris Ross
1d3e6b0dd0
Fix breaks from GetFormAsync, IReadableStringCollection.Keys.
2014-06-26 10:56:56 -07:00
Glenn
9b763815c2
Merge pull request #87 from graemechristie/patch-1
...
Fix reference to kvmsetup.sh to reference kvminstall.sh
2014-06-26 10:41:49 -07:00
Chris Ross
0103307aac
Fix https tests.
2014-06-26 10:24:44 -07:00
Chris Ross
e7508af2d9
Include IHttpClientCertificateFeature changes.
2014-06-26 10:16:57 -07:00
Chris Ross
df730a47a9
Rename CancellationToken parameter.
2014-06-26 10:11:29 -07:00
Chris Ross
55e491e354
Make CancellationToken a default param.
2014-06-26 09:32:54 -07:00
Chris Ross
ff31b958fe
#80 - Add CancellationToken to GetClientCertAsyc, GetFormAsync.
2014-06-26 09:32:44 -07:00
David Fowler
e4911323a6
React to resource changes
...
#59
2014-06-25 23:48:19 -07:00
David Fowler
e6ec6e0aba
React to resource changes
2014-06-25 22:48:32 -07:00
Louis DeJardin
63637be073
Listener.Dispose should block until operation is complete
2014-06-25 20:57:12 -07:00
Brice Lambson
efd257a7be
Run tests on both k10 and net45
2014-06-25 09:46:41 -07:00
Ryan Nowak
0d7f38e10e
Commonize code to limit functional tests to a single site each
2014-06-25 09:00:34 -07:00
dougbu
dd2216fa89
Remove K10 configuration from AutofacWebSite
2014-06-24 20:33:21 -07:00
dougbu
23146787dc
NET45-ify our Autofac functional test
...
- see loads of load failures after `kvm.ps1 upgrade -svrc50` otherwise
2014-06-24 19:33:50 -07:00
dougbu
5149c7cd19
Get ModelBinding test project working on K10 again
...
- restore `ClientRulesWithCompareAttribute_ErrorMessageUsesResourceOverride` since
DataAnnotations has fixed underlying problem
2014-06-24 19:33:47 -07:00
Pranav K
9bf6982168
Reacting to HttpAbstractions changes
2014-06-24 16:36:36 -07:00
Chris Ross
82f72581c9
Add an explict Count to IHeaderDictionary to resolve ambiguity.
2014-06-24 15:47:08 -07:00
Hao Kung
ba5ca5602e
Cleanup style cop violations
2014-06-24 14:58:18 -07:00
Chris Ross
f08b6a8d53
#3 - Add Count, Keys, and ContainsKey to IReadableStringCollection
2014-06-24 14:51:51 -07:00
Chris Ross
8eb8cc1154
Remove deleted sample from sln.
2014-06-24 10:22:31 -07:00
Chris Ross
8f31665478
Make IServerFactory AssemblyNeutral.
2014-06-24 10:22:28 -07:00