Commit Graph

39740 Commits

Author SHA1 Message Date
Pranav K d58a6c8c1b Don't calculate checksum in design time mode 2014-09-29 15:33:33 -07:00
DamianEdwards 750d459d02 Minor MusicStore.Spa grunt updates 2014-09-29 15:26:19 -07:00
Pranav K 5369842384 Ensure pragma checksum is prepended to generated file
Fixes #160
2014-09-29 14:45:26 -07:00
Praburaj f16a0c0f19 Adding some mocks for MicrosoftAccount 2014-09-29 14:41:43 -07:00
Hao Kung 545ca2907f Bye Bye Primary Ctors :( 2014-09-29 11:35:49 -07:00
David Fowler 6279229a7c Removed primary ctor usage 2014-09-28 09:20:06 -07:00
DamianEdwards 1d52705f8a Bunch of MusicStore.Spa updates:
- Refactored grunt config into grunt folder with json file for each task using grunt-ide-support package
- Using attribute routing
- Add exclusions for non-K files to the project.json
- Deleted unused Default.html file
- Fixed paths in TemplateController to work in K
- Fixed @model declarations in ng template views
2014-09-26 23:00:53 -07:00
Kiran Challa fdeff1188b [Fixes #926] Protocol & Host name ignored when creating action link 2014-09-26 17:20:56 -07:00
David Fowler b9d433168e Convert memory streams to the byte[] before passing it to roslyn 2014-09-26 16:56:15 -07:00
DamianEdwards 6bbc74434d Fix grunt clean in MusicStore.Spa to not delete wwwroot\bin 2014-09-26 14:07:31 -07:00
DamianEdwards a6ef46102e Added TRX bindings to the Gruntfile.js in MusicStore.Spa 2014-09-26 12:02:46 -07:00
DamianEdwards ccc077bd00 Updated MusicStore.Spa to fix it due to latest changes 2014-09-26 11:53:32 -07:00
Chris Ross 19b1db41de Remove WindowsAuth middleware package. 2014-09-26 11:40:56 -07:00
Praburaj 63732198cc Updating the solution
Created some solution folders like the VS templates.
2014-09-26 11:08:01 -07:00
Hao Kung bd7ae6d8c0 Move extension method to IServiceCollection 2014-09-26 11:07:39 -07:00
Chris Ross 88da31af7c Cleanup. 2014-09-26 08:59:44 -07:00
Chris Ross 66144c864e #67 - Fire disconnect notifications even for gracefull disconnects. 2014-09-26 08:59:42 -07:00
David Fowler 8b62057aa3 Don't close the stream when reading AssemblyMetadata 2014-09-26 03:06:02 -07:00
David Fowler 17dd874996 Only turn off identity columns for artists and genres. 2014-09-26 02:46:22 -07:00
David Fowler cbde5ba982 Disable store generated properties for the Ids. 2014-09-26 02:36:17 -07:00
David Fowler 57cf391581 React to EF changes
- Id properties are automatically identity columns
- Disable identity generation for the CustomPocoTest since they
were setting the id manually
- Refactored the CustomDbContext so the the TValue is TKey instead
2014-09-26 01:27:29 -07:00
DamianEdwards 75d3937959 Updated MusicStore.Spa with webroot 2014-09-25 17:04:33 -07:00
Chris Ross fd135e29b6 Renaming GetOrAdd to GetOrSet. 2014-09-25 16:56:04 -07:00
Chris Ross 6f7560e33b Rename GetOrAdd to GetOrSet. 2014-09-25 16:34:25 -07:00
Hao Kung 08c6522bf4 Reenable external signout
resolved issued with middleware ordering in AddIdentity
2014-09-25 15:57:22 -07:00
Ryan Nowak 3cd6d3e060 Adding Api Explorer 2014-09-25 15:31:51 -07:00
Hao Kung c5d3d32445 Remove UseUserNameAsEmail feature 2014-09-25 15:29:14 -07:00
Hao Kung 76a6c103ce Disable corresponding external signout asserts 2014-09-25 15:23:10 -07:00
Hao Kung 2cb14932f7 Disable sign out external cookie temporarily
Potential SignOut bug is preventing this from working correctly for now
2014-09-25 15:15:07 -07:00
Hao Kung 3c277090de Use ApplicationCookie options in more places
- Remove ClaimsIdentity.AuthenticationType now that
ApplicationCookie.AuthenticationType is available
- Also set Expires on a cookies that need them
2014-09-25 14:57:50 -07:00
Praburaj 6d9bc21e83 Disabled tests by mistake
Enabling them back.
2014-09-25 11:58:11 -07:00
Praburaj 42e23bd261 Enabling the E2E automation for social logins. 2014-09-25 11:48:58 -07:00
YishaiGalatzer 6600e68fc0 Create a pre compilation module and apis to allow meta programming
to precompile razor pages.

This is limited to sites where the .cshtml are still deployed. It's
current purpose is to speed up startup. Deploying without the razor
files is a separate feature.
2014-09-25 11:26:11 -07:00
Praburaj 3e6ce61f27 Enabling social logins
Removing hacks and using identity helpers.
2014-09-24 16:42:05 -07:00
Hao Kung 57002ba359 Replace AlphaNumericUserName with Regex option 2014-09-24 15:41:19 -07:00
Praburaj ef11294897 Squashed commit of the following:
commit ca4defa086a411094f9e90fbe3acef337d6613bb
Author: Praburaj <praburaj.t@microsoft.com>
Date:   Wed Sep 24 15:13:28 2014 -0700

    Enabling account validation, 2FA, Forgot password in the sample

    Some identity helpers are still missing. Work arounds are applied to enable them working. Will clean it up as soon as identity helpers are available.

commit 6072c45537946c29588cfad92ce5e69ecd21656b
Author: Praburaj <praburaj.t@microsoft.com>
Date:   Tue Sep 23 20:08:59 2014 -0700

    Using QueryHelpers.ParseQuery for parsing query string.

    Removed the helpers implemented in the test project.

commit 632dd8d43fafb6307b3e504731431479aa96ec50
Author: Hao Kung <haok@microsoft.com>
Date:   Tue Sep 23 17:24:42 2014 -0700

    Remove comment

commit 913fd251a39edcf0182b36be17879484ae90fd90
Author: Hao Kung <haok@microsoft.com>
Date:   Tue Sep 23 17:23:12 2014 -0700

    React to identity changes
2014-09-24 15:36:24 -07:00
jhawk42 4d2b2a14d5 Win7PlusCoreSystem 2014-09-24 15:17:58 -07:00
Praburaj 647a5b6031 Enabling account validation, 2FA, Forgot password in the sample
Some identity helpers are still missing. Work arounds are applied to enable them working. Will clean it up as soon as identity helpers are available.
2014-09-24 15:13:28 -07:00
Hao Kung 3f4f846cbb Add social auth and two factor
- Merge Authentication into Core
- Add social login support
- Add two factor support
- Rework options model for startup
2014-09-24 15:05:51 -07:00
Chris Ross 56483cb0ed #54 - Throw if anyone tries to modify the response headers after they are sent. 2014-09-24 13:39:09 -07:00
Kiran Challa 43c7ddb9b7 Making UrlHelper's methods virtual 2014-09-24 13:01:34 -07:00
David Fowler 71964a813c Renamed configurations to frameworks in project.json 2014-09-24 01:28:18 -07:00
Praburaj 1867d11a43 Using QueryHelpers.ParseQuery for parsing query string.
Removed the helpers implemented in the test project.
2014-09-23 20:08:59 -07:00
Chris Ross c2934912af #121 - Make the query parsing API public. 2014-09-23 15:13:08 -07:00
Chris R 14bca1d49b Merge pull request #35 from turchenkoalex/bug-27
Issue #27: Error page middleware returns an empty body on OS X
2014-09-23 12:48:42 -07:00
Pranav K 11ee402eec Reviving support for instrumentation in CSharpCodeVisitor
Fixes #42
2014-09-22 17:59:29 -07:00
jacalvar f2dab5eaa7 [Fixes #1156] EmptyResult should not set status code (or do anything for that matter) 2014-09-22 14:12:00 -07:00
Ryan Nowak 131c973853 Fix for #90 - removing Enum.HasFlags
This is a perf improvement of about 500ms for our razor code generation
benchmark on my dev box. That's about .8% of the overall execution time of
this benchmark.

This change will remove a bunch of unnessary allocations from the
parsing/code-generation path, and should improve responsiveness.

For reference Enum.HasFlags performs boxing of the enum value, and then
does a type comparison to see if the types are the same. This is
significantly more costly than a normal bitwise and comparison, and it
results in allocations.
2014-09-22 12:45:52 -07:00
Pranav K 7dc6019839 Adding quotes around boolean value in project.json to make
JavaScriptSerializer on Mono happy
2014-09-22 11:38:34 -07:00
Ryan Nowak 2d9b3dd4fb Fix for #91 - Turn some commonly allocated types into structs
These types are allocated for every state transition in the parser (State)
or every character that's read (character reference) and are fairly
compact. Turning them into structs will remove a significant number of unnecessary
allocations in the parser.

For our razor code generation benchmark, making these changes yields about
500-750ms of speedup (out of 40000ms) or about 1%.
2014-09-22 11:28:54 -07:00