harshgMSFT
1536daa107
Adding NonAction Attribute
2014-04-14 16:18:16 -07:00
dougbu
246bb2e3dd
Add `DropDownList()` and `DropDownListFor()` HTML helpers
...
- copy over legacy MVC's `SelectExtensions`, `SelectListItem` and `SelectListGroup`
- plus expected `SelectList` and `MultiSelectList`
- fixup select HTML helpers to meet WebFx standards and work in new world
- usual stuff: `[NotNull]`, `var`, `String` -> `string`, long lines, ...
- remove `IDictionary<string, object> htmlAttributes` overloads
- move longest extension method overloads into correct classes / interfaces
- add `ViewDataEvaluator.Eval()` overload for an `object` container
- rename lower-level helpers to make purposes more obvious
- nit: move Raw() methods up from bottom of HtmlHelper.cs
- use `DropDownList[For]()` in MVC sample
2014-04-14 16:05:07 -07:00
Praburaj
24293783f5
Using ViewBag in a view component instead of ViewData.
2014-04-14 15:08:54 -07:00
Praburaj
eeb9326101
Having a layout page in a ViewComponent was the reason for StackOverFlow exception. Removing that fixed the problem.
...
Using ViewData instead of ViewBag in a ViewComponent.
Copying over some of the icons from the original music store required for this view component.
2014-04-14 14:13:30 -07:00
Praburaj
b97cedb4eb
Updating the Readme.md to remove a manual clean up step instruction as the scripts already perform that.
2014-04-14 12:38:10 -07:00
Praburaj
9127f5b930
A few changes with this checkin
...
1. Adding cookies middleware to the music store app
2. Enabling login, register & related management pages to render some UI for testing
3. Updated the LKG.json
2014-04-14 12:35:56 -07:00
Pranav K
634f069c3c
Adding support for generating resx files from build
...
* Adding support for resx file generation as part of watch command
2014-04-14 12:32:39 -07:00
Glenn
20386a68aa
Update README.md
...
Updated getting started
2014-04-14 10:09:00 -07:00
dougbu
271c849923
Fix #231 ; add `ViewBag` to `ViewComponent`
...
- update MVC sample to demonstrate use and that `ViewBag` is scoped
- nit: add a bit of padding between border and tag cloud words
2014-04-12 14:10:16 -07:00
Pranav K
c31e0f295f
Removing unused Owin packages that are causing build failure
...
* Adding Microsoft.AspNet.AppBuildSupport.Tests to sln
2014-04-12 13:57:49 -07:00
dougbu
0e7dff9ca7
Get CoreCLR test builds compiling again
...
- no Mock without .NET 4.5
- reverts part of "Reviving support for IValidatableObject in CoreCLR"
- that was commit 0f6df5405b .
2014-04-12 13:45:11 -07:00
Pranav K
a20f65627f
Removing unused Owin packages that are causing build failure
2014-04-12 12:39:30 -07:00
Praburaj
b37c811266
CR feedback
...
1. Creating a separate file for AssemblyNeutralInterface.
2. Removing the user name and password settings from web.config.
2014-04-11 16:36:28 -07:00
Praburaj
1b62b248e4
Some of the identity classes changed name. Fixing the same in Music store to fix a build break.
2014-04-11 16:35:04 -07:00
Hao Kung
538e8dabea
Move POCO to Core
...
- Move POCO types to core
- Keep Entity pocos initially (will try to remove soon)
- Reenable Entity unit tests now that blocking data bugs have been fixed
2014-04-11 15:00:49 -07:00
Chris Ross
165effebde
Abstractions: Pull in k10 dependency for IdnMapping.
2014-04-11 10:52:45 -07:00
Pranav K
0f6df5405b
Reviving support for IValidatableObject in CoreCLR
2014-04-10 22:09:57 -07:00
Praburaj
aaae435cc3
Adding a [HttpGet] attribute to enable the Delete album from the store functionality.
...
This action corresponds to a confirmation page to delete the item.
2014-04-10 17:22:55 -07:00
dougbu
0d9c052e43
Restore ability to run some tests using CoreCLR
...
- revert part of "Made a few more changes since we have new tooling"
- was commit b1fd5cc689
2014-04-10 17:15:17 -07:00
dougbu
ba08f8e8d8
Cleanup Display, Partial, and Validation extensions
...
- correct file and class names for some HH extensions
- three class names were correct but didn't match containing file
- three class and file names matched but didn't start with HtmlHelper
- clean up trailing whitespace and long lines in changed Extensions.cs files
- `HtmlHelperPartialAsyncExtensions`, `HtmlHelperRenderPartialAsyncExtensions`
and `HtmlHelperValidationExtensions` lacked some `[NotNull]` attributes
- merge extension files by concept
- Display / DisplayFor / DisplayForModel methods all into `HtmlHelperDisplayExtensions`
- Partial / RenderPartial methods all into `HtmlHelperPartialExtensions`
- use `IHtmlHelper<TModel>` everywhere
2014-04-10 17:12:16 -07:00
Chris Ross
7edb32f526
Cookies: Do redirects for 401s if Active, regardless of challenges.
2014-04-10 16:32:44 -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
Chris Ross
ef5b9feb39
Update sample dependencies.
2014-04-10 15:04:53 -07:00
Praburaj
bb241c1a79
Uncommenting code to include ActionName attribute.
2014-04-10 14:23:02 -07:00
Chris Ross
b889e45666
Update sample dependencies.
2014-04-10 14:20:43 -07:00
Praburaj
1e137c7af9
Getting the application base path from the IoC container.
2014-04-10 14:15:29 -07:00
Chris Ross
9281e7e67a
Update System.Runtime.InteropServices dependency.
2014-04-10 14:11:22 -07:00
Wei Wang
86d327366f
Fix wrong order of arguments passed to ArgumentException ctor
2014-04-10 13:56:50 -07:00
Praburaj
b51f54e98a
Adding a view component for cart summary
...
1. Added a View component named CartSummary
2. Moved the CartSummary.cshtml as default.cshtml to shared\Components
2014-04-10 13:46:58 -07:00
dougbu
d7110017fd
Sample should be built in VS
...
- catches errors because some methods are used only from views or controllers
2014-04-10 11:52:58 -07:00
Ryan Nowak
408d4056b1
Rearrange ViewContext
2014-04-10 11:40:57 -07:00
Ryan Nowak
cda73e95a8
Integrate dictionary helper with existing code paths
2014-04-10 11:21:35 -07:00
rowanmiller
58d4b48690
Swap database creation to use EF
...
Swapping database creation to use native support added to EF.
Also swapping to async methods for database initialization.
2014-04-10 09:28:10 -07:00
dougbu
f0c6512b61
Catch up with previous `ActionNameAttribute` addition
2014-04-10 09:27:45 -07:00
David Fowler
0bda88145d
Removed declared ANIs and referenced Microsoft.Net.Runtime.Interfaces instead
2014-04-09 22:14:59 -07:00
David Fowler
e3c64aeb55
Updated to use the new tooling
2014-04-09 22:08:21 -07:00
David Fowler
1a9c0ad548
Reduce project.json dependencies
2014-04-09 21:33:59 -07:00
Glenn
32723607f5
Update README.md
2014-04-09 17:26:31 -07:00
David Fowler
0f11463bef
Update GetRuntime.cmd
...
Removed KoreBuild
2014-04-09 16:11:34 -07:00
David Fowler
3f26dd5af9
Update K.cmd
...
Fixed spaces
2014-04-09 16:11:06 -07:00
harshgMSFT
53b76380eb
Adding ActionName Attribute
2014-04-09 15:48:30 -07:00
Glenn
069af090d0
Update README.md
2014-04-09 15:18:35 -07:00
dougbu
1da2d6d9dc
Checkin VS auto-update to .kproj file
2014-04-09 14:31:33 -07:00
dougbu
82b071c80e
Add CR-requested comment
2014-04-09 14:30:12 -07:00
Javier Calvarro Nelson
89e532873e
Bumped the version of System.Threading.Tasks to 4.0.10.0 to fix the build break in the remaining project.json
2014-04-09 14:05:01 -07:00
Javier Calvarro Nelson
73a00a1b21
Bumped the version of System.Threading.Tasks to 4.0.10.0 to fix the build break
2014-04-09 14:00:06 -07:00
Javier Calvarro Nelson
8ca4a331e2
Created an in memory host for testing purposes and added the appropriate
...
APIs to allow sending requests through the pipeline easily.
2014-04-09 12:58:58 -07:00
dougbu
f0a97772f5
Add remaining HTML input helpers
...
- add `CheckBox[For]()`, `Hidden[For]()`, `Password[For]()`, and
`RadioButton[For]()`
- also make `FormatValue()` visible to users, as it is in legacy MVC
- and spread the boxes out a bit in MyView 😺
2014-04-09 12:52:47 -07:00
David Fowler
b1fd5cc689
Made a few more changes since we have new tooling
...
- Remove runtime interface declarations and use
Microsoft.Net.Runtime.Interfaces package
- Made tests compile for net45 and made default
intellisense view net45 for unit tests since Moq
doesn't work
2014-04-09 12:24:16 -07:00
David Fowler
a970fa04ab
Updated to use the new tooling
2014-04-09 12:24:16 -07:00