Commit Graph

21729 Commits

Author SHA1 Message Date
Victor Hurdugaci 0a71973513 Add schema version to kproj files 2014-11-25 11:03:55 -08:00
Victor Hurdugaci 8b93a0c018 Add schema version to kproj files 2014-11-25 11:01:35 -08:00
Victor Hurdugaci 4a2dd8f279 Add schema version to kproj files 2014-11-25 10:54:18 -08:00
Victor Hurdugaci 7569703906 Add schema version to kproj files 2014-11-25 10:49:23 -08:00
Victor Hurdugaci bf0c8c95b0 Add schema version to kproj files 2014-11-25 10:47:58 -08:00
Victor Hurdugaci eb99bf25a3 Add schema version to kproj files 2014-11-25 10:39:01 -08:00
Victor Hurdugaci 0c841f934e Add schema version to kproj files 2014-11-25 10:36:04 -08:00
Hao Kung a9827a4310 GetDefaultServices -> AddHosting
Also stop adding options
2014-11-24 17:33:11 -08:00
Hao Kung d8041cbbae React to identity changes 2014-11-24 16:41:16 -08:00
Hao Kung f3e9381f16 GetServices -> AddDataProtection 2014-11-24 16:40:13 -08:00
Hao Kung 21a6f44c38 GetDefaultServices -> AddRouting with TryAdd 2014-11-24 16:37:10 -08:00
Hao Kung 240ed82b31 React to AddDataProtection change 2014-11-24 16:32:33 -08:00
Suhas Joshi f61b1496b2 Updating commands for non windows machines 2014-11-24 14:27:43 -08:00
Pranav K aebfecdf87 Reacting to DI changes 2014-11-24 10:10:51 -08:00
David Fowler 075edc516c Handle null configuration in HostingServices.Create 2014-11-23 22:48:28 -08:00
Glenn Condron bd5c07d66a Move default hosting environment code 2014-11-21 17:04:04 -08:00
Hao Kung 2f02fc6091 Fix SelfHost to default to config environment
Fixes MusicStore
2014-11-21 15:01:52 -08:00
ajcvickers 6f8407bca4 Reacting to EF change 2014-11-21 11:42:38 -08:00
ajcvickers 3b6e988f92 Remove use of context.Configuration 2014-11-21 11:36:37 -08:00
Hao Kung 0edfde8e20 Revert "Disable tests for now"
This reverts commit 0d7c28413f.
2014-11-21 10:52:16 -08:00
SonjaKhan 44b50b46f9 updating the page generator and base view to work with razor helper functions 2014-11-21 09:26:36 -08:00
Doug Bunting 1f67f69205 Add missing license headers
- #EngineeringDay
2014-11-20 23:25:52 -08:00
Hao Kung 0d7c28413f Disable tests for now
Filed https://github.com/aspnet/MusicStore/issues/292
2014-11-20 18:38:39 -08:00
Hao Kung 4267d9b25f React to hosting changes 2014-11-20 18:13:03 -08:00
Hao Kung 63c8e1889b Add IServiceManifest 2014-11-20 17:37:35 -08:00
Hao Kung 5f06906087 React to fallback changes 2014-11-20 17:25:16 -08:00
Hao Kung ac6f1223df Hosting changes reacting to fallback being removed
- HostingServices.Create() is the supported way to create a service
collection with kre services imported
- IHostingEnvironment is now a normal service
- IConfigureHostingEnvironment is how you configure it
2014-11-20 17:23:31 -08:00
Praburaj 58b1ae1712 A regression introduced in a recent change
With this fix a case is regressed.
ba5d235a32

If file information is not available if function is empty then line needs to be sent. With the regression empty lines were printed in error page where symbol information is not available. This fixes it. Thanks Chris for identitying this and fixing.
2014-11-20 16:24:04 -08:00
Praburaj 5ae536fe0a Some fixes
1. Updating some startup classes like templates
2. Update a test that runs on mono with right CLR.
2014-11-20 16:04:48 -08:00
Doug Bunting 9d7f971833 Add xml-docs-test target to end of default build
- #EngineeringDay
- correct couple of XML doc issues in the repo (simplify references)
2014-11-20 10:16:01 -08:00
Doug Bunting 3b0e289387 Apply VS' FormatDocument and RemoveAndSort to all *.cs files
- #EngineeringDay
- this repo was relatively clean
2014-11-20 10:09:28 -08:00
Doug Bunting 1a101d7815 Delete trailing whitespace
- #EngineeringDay
- Total replaced: 105  Matching files: 44 in *.cs files
- Total replaced: 27  Matching files: 1 in all other files
2014-11-20 09:40:12 -08:00
Praburaj 12858aef79 Fixing port number to 5001 as social logins need this port number to work
Minor formatting in json.
2014-11-19 16:23:02 -08:00
Praburaj f72b23c871 Test flakiness - Moving the first request into a retry block
Sometimes the first request to the application results in exceptions like 'No connection could be made because the target machine actively refused it'. Adding a retry to mitigate that.
2014-11-19 13:35:55 -08:00
DamianEdwards dbee8c1f6b And you get NoCache, and you get NoCache, and you get NoCache
- NoCache for everybody!
2014-11-18 17:35:38 -08:00
DamianEdwards 62e84ae620 Make MusicStore.Spa..NoCacheAttribute try *really* hard to prevent caching 2014-11-18 17:19:21 -08:00
DamianEdwards 22ad9b9572 MusicStore.Spa changes:
- Upgraded to Angular 1.3 (Fixes #267)
- Fix XHR GET caching issue in IE with new NoCacheAttribute
- Slight fix in admin home page (album list) to ensure initial data fetch has the sort expression in the query
2014-11-18 17:08:12 -08:00
Praburaj ba5d235a32 Function name not passed to LoadFrame method when file name is not present in stacktrace
When file names are missing from exception stack trace the above line of code does not pass the detected function name. As a result issue described in bug : https://github.com/aspnet/Diagnostics/issues/49 happens.

This issue happens on mono. With this fix method names show up in the error page middleware output on mono.
2014-11-18 17:06:08 -08:00
rowanmiller ef544d9baa Update Microsoft.AspNet.Diagnostics.Entity to build in this repo
Previous commit copied code verbatim from EF repo
This commit updates it to build in this repo
2014-11-18 15:12:13 -08:00
Chris Ross 977a08ddca Add DataProtection to samples. 2014-11-18 14:59:56 -08:00
Chris Ross b37966f7ef Fix DataProtection DI dependencies. 2014-11-18 14:51:36 -08:00
Ajay Bhargav Baaskaran 91c3a550f1 changed contracts.assert to debug.assert 2014-11-18 13:52:42 -08:00
Chris Ross b44ffdb745 #111 - Remove DataProtectionOptions from the service collection. 2014-11-18 13:02:58 -08:00
Ryan Nowak 5c116db6a5 Add a sample of building a customize 'MapRoute' method
This is a sample of the pattern for building a MapRoute method that
customizes routing by adding constraints, datatokens, or defaults. This is
the replacement for adding data to the route directly.

Also fixed up the sample to work. It was massively out of date.
2014-11-18 11:58:29 -08:00
Ryan Nowak 01345eca91 Fix for #92 - Make Constraints, DataTokens, and Defaults readonly
The properties on TemplateRoute for DataTokens and Defaults are now
readonly. This prevents modifying these collections in a way that
invalidates cached data, or violates thread-safety.

To do the same for constraints, this change includes a substantial refactor
of how we realize inline constraints, and moves the constraint resolver
out of the parsing phase.

This allow creates a builder for the constraint map, that will make it
easier to implement features like optional constraints, and is reusable
for anyone building their own type of routing system.
2014-11-18 11:24:25 -08:00
rowanmiller fad5ba4323 Copy of Microsoft.AspNet.Diagnostics.Entity code from EntityFramework
Straight copy of code with no modification so that we have a baseline of changes made to port the code to the Diagnostics repo
2014-11-17 15:49:09 -08:00
Chris Ross 8caec74f03 Add a HotAdd/Remove prefix sample. 2014-11-17 09:24:52 -08:00
Chris Ross ecf9454efe Make prefix add & remove thread safe. 2014-11-17 09:24:46 -08:00
Chris Ross 46a11be2ed #39 - Hot add/remove prefixes. #13 - Support Add/Remove(string). 2014-11-17 09:24:42 -08:00
Chris Ross 6a4f49a188 Fix facebook endpoint tests. 2014-11-15 08:13:56 -08:00