Chris Ross
a748266eb6
Update to use new tooling.
2014-04-16 15:57:28 -07:00
Praburaj
5c3d268327
Deleting a view page related to social login which is not in alpha scope (previously missed to remove this).
2014-04-16 14:17:16 -07:00
Chris Ross
f8b1679240
Update to new project tooling.
2014-04-16 14:16:46 -07:00
Praburaj
439398b7ab
Some minor cleanup:
...
1. Removing a couple of unused enum items which is not required for alpha
2. Cleaning up an unused namespace in Startup.cs
2014-04-16 14:16:07 -07:00
harshgMSFT
72732868c6
Adding DisplayName, Label HtmlHelpers.
2014-04-16 11:41:47 -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
Levi Broderick
6bc6da1c7d
Fix build break: inadvertently removed PBKDF2.cs and related functionality
2014-04-15 22:10:09 -07:00
GrabYourPitchforks
1959aa9e7f
Merge from internal DataProtection repo.
2014-04-15 18:03:41 -07:00
Praburaj
41700cf56d
Changes with this checkin:
...
adding a work around to test the account/manage user feature. With this I can verify password changes work fine.
2014-04-15 17:19:58 -07:00
Praburaj
348d4a11de
Html.ActionLink WebFx bug# 246 is fixed now. Enabling the code to use the helper.
2014-04-15 16:49:46 -07:00
Praburaj
843c952928
Removing some more view pages related to the external login. Also fixed the corresponding views
...
that were trying to render them.
2014-04-15 16:42:13 -07:00
Ryan Nowak
f34ed467e4
Fix for #246 - ActionLink generating wrong urls
...
There's an overload that's missing from ActionLink but is present on url
helper, making it very easy to mistakenly pass the wrong data. In the case
of #246 , the controller name is treated as the route-values and the
route-values treated as html attributes, leading to the wrong link being
generated.
2014-04-15 15:23:59 -07:00
harshgMSFT
5810215306
Updating the Kproj file to contain the missing reference to NonActionAttribute.cs
2014-04-15 15:14:32 -07:00
sornaks
646b711b11
Adding the missed project files for WebFX:156 - Introducing RedirectToAction and RedirectToRoute
2014-04-15 13:49:57 -07:00
Hao Kung
d4c0e7dd90
Remove set password logic not needed for alpha
2014-04-15 12:23:21 -07:00
Praburaj
7fd711df54
Html.ActionLink generating an incorrect url when trying to generate a link to a different controller + action.
...
Adding a work around with information of a corresponding bug. The work around will go away once we have a fix.
2014-04-15 12:11:05 -07:00
Praburaj
69dae2d216
Enabling code to use RedirectToAction helpers.
2014-04-15 11:45:17 -07:00
Chris Ross
f12117fe1f
Remove temp IAppBuilder support.
2014-04-15 11:28:42 -07:00
Hao Kung
b079480383
Add SignOut to SignInManager
2014-04-15 11:21:22 -07:00
Hao Kung
70b45dbe2d
AccountController identity cleanup
...
Use SignInManager where appropriate
Misc cleanup of controller actions
2014-04-15 11:03:18 -07:00
Sornakumar
ecd8ddeae4
WebFX 156: Adding support for RedirectToAction and RedirectToRoute
2014-04-15 10:45:57 -07:00
Glenn
251d824d23
Update README.md
2014-04-14 18:21:19 -07:00
Praburaj
46da4ba9e4
Changes with this checkin:
...
Removing all code related to External login from Account controller.
I also added a little ugly work around to initiate a static UserManager for testing purpose. This should go away shortly.
With this change user can register a user, login & logout.
2014-04-14 18:20:57 -07:00
Praburaj
f95588f0dd
Enabling code to do drop down lists in music store.
2014-04-14 17:26:39 -07:00
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