Commit Graph

21729 Commits

Author SHA1 Message Date
Chris Ross 570a14dcd1 Remove unused filesystem dependency. 2014-05-01 14:23:25 -07:00
Chris Ross d8c68b61f0 Add missing namespace to the sample. 2014-05-01 14:15:28 -07:00
Chris Ross 95667dba69 Remove unused filesystem dependencies. 2014-05-01 14:15:11 -07:00
Praburaj 10a280580c Fixing compilation errors in the view components.
Marked one of the controller actions with [HttpGet] to prevent it being chosen for non get methods.
2014-05-01 13:06:13 -07:00
Chris Ross 3a5ad14fe0 Remove unused filesystem dependencies. 2014-05-01 12:46:10 -07:00
AndriySvyryd 6cb896dc0f asf 2014-05-01 12:42:21 -07:00
Chris Ross a78d5ac019 Remove unused FileSystem dependencies. 2014-05-01 12:31:44 -07:00
Praburaj 306513a844 Adding some more formatting to the readme.md to make it more readable. 2014-05-01 11:15:23 -07:00
Praburaj b15aa91661 Modifying the sample to use kvm, k web and k run to run the application.
Also modified the readme file to reflect this. Deleted Selfhost.cmd and CustomHost.cmd.
2014-05-01 10:59:06 -07:00
Praburaj 0fe79d94b3 Updating musicstore code to use the ValidationMessageFor Html helper. 2014-05-01 10:20:11 -07:00
harshgMSFT ab323ac8df Updating Startup.cs to incorporate use route name. 2014-04-30 16:50:35 -07:00
Chris Ross 61924dd73e Fix renamed IContextAccessor APIs. 2014-04-30 15:43:21 -07:00
AndriySvyryd 85a9af832e Run tests for all configured platforms 2014-04-30 12:10:06 -07:00
Wei Wang ce0e1128d5 Make HTTP feature interfaces assembly neutral 2014-04-30 11:46:23 -07:00
Chris Ross 98f4212915 #20 - Add Use extension for inline middleware. 2014-04-30 11:35:49 -07:00
Chris Ross 5557b959c4 #20 - Port Map and MapWhen. Move Run. 2014-04-30 11:35:45 -07:00
harshgMSFT 950ce56ea5 Adding Support for NamedRoutes.
- Interface Changes.
- RouteCollectionExtensions
- Tests for Named Routes
2014-04-30 11:23:54 -07:00
David Fowler 7b4e1fd48e Added DPAPI implementation that works on mono 2014-04-29 23:58:53 -07:00
David Fowler 83663f789b Added support for protected data style DPAPI
- This won't work across core clr and desktop and mono but
 that's ok for the moment because it unblocks things
2014-04-29 23:07:29 -07:00
Praburaj 49e0d42ce7 Improving the sample data insertion time.
1. Using dictionaries instead of lists to look up Artists and Genres by name
2. Sample data insertion time decreased to 333ms from 619 ms with this change.
2014-04-29 16:37:56 -07:00
Suhas Joshi afdd2b4c3c Merge pull request #47 from suhasj/sujosh
Updated method to return CreateUserAdmin and Configuration method to ret...
2014-04-29 16:22:10 -07:00
Suhas Joshi 1a92b3048f Updated CreateAdmin method to return Task and added wait statement 2014-04-29 16:19:43 -07:00
ajcvickers 30dac08fe8 It's DbDatabase! (Updating for changes to database creation APIs) 2014-04-29 10:27:03 -07:00
Praburaj b7a989256f Few changes with this checkin:
1. Enabling a work around to add an album to the store (Due to bug# https://github.com/aspnet/WebFx/issues/339) currently its not possible to create / edit an album in the store.
2. Removing a not necessary route from the webFx routes - A previous CR feedback.
2014-04-28 18:02:21 -07:00
Praburaj e324f989e7 EditorForModel and EditorFor Html helpers are available now.
EditorForModel and EditorFor Html helpers are available now. Updating the sample to use those helpers.
2014-04-28 17:04:55 -07:00
Chris Ross 19d49b06a6 #53 - Add Auth unit tests. 2014-04-28 16:19:00 -07:00
Chris Ross cfe76de294 #53 - Reduce auth exceptions for missing handlers. 2014-04-28 16:18:58 -07:00
Praburaj 80bccdd810 A bug in authorization filter fixed. Modifying sample to use the fix.
A bug in authorization filter at a controller level failing to honor a [AllowAnonymous]
override at an action level was fixed. Modifying the sample to use the fix.
2014-04-28 16:17:23 -07:00
Praburaj e57ca9ab61 A bug in Html Summary when trying to render error messages in a model state error bag is fixed.
Modifying the sample to use the fix.
2014-04-28 16:15:14 -07:00
Praburaj 92904e0d9e Bug in filtering a claim of a specific type and value is now fixed.
Modifying the sample to use the fix.
2014-04-28 16:12:08 -07:00
Chris Ross 8e23200fd2 #3 - Implement IHttpRequestLifetime 2014-04-28 14:54:33 -07:00
Sebastien Ros 4568e74954 Adding null check in ctor 2014-04-28 12:38:38 -07:00
Chris Ross e2d8020727 #20 - Enable SendFile on CoreClr. 2014-04-28 12:32:17 -07:00
Praburaj 4a26d740b5 Issue related to having multiple antiforgery token helpers in a single page is now fixed with latest build.
I'm uncommenting the code to accomodate the fix now.
2014-04-28 12:08:59 -07:00
Praburaj a0f5369a20 Model binding can now handle nullable enums. Bug (https://github.com/aspnet/WebFx/issues/256) was fixed to address this.
Deleting the comment and uncommenting the sample code.
2014-04-28 11:01:46 -07:00
Praburaj 647ac5dac0 Modifying the Helios.cmd, Selfhost.cmd and CustomHost.cmd to start the application on different ports on different hosting models.
This will help us to root cause issues faster with fewer questions.
2014-04-28 10:32:59 -07:00
David Fowler be5a98d38f Added build.sh 2014-04-26 20:52:00 -07:00
David Fowler 01daa33403 Added xml assembly since it's no included on mono by default 2014-04-26 13:03:51 -07:00
David Fowler e90fe3cefa Fixed issues with no finding main project k package if not on mono 2014-04-26 12:53:45 -07:00
David Fowler 90a149ab80 Added initial support for mono 2014-04-26 12:46:37 -07:00
Praburaj acb8421c90 Enabling Url.IsLocalUrl in the music store code 2014-04-25 15:58:20 -07:00
Praburaj 23fb4d8e7d 1. Enabling code to use the [Authorize] filter
2. Marked a few places with bug#s with work arounds
3. Making the app run on CoreCLR by default again (which I reverted by mistake in a previous submit).
2014-04-25 14:06:38 -07:00
ajcvickers 9d25c0b1f1 Updating EntitySet/EntityContext to DbSet/DbContext 2014-04-24 17:19:01 -07:00
Chris Ross 78bb008681 #38 - Provide a default dictionary for HttpContext.Items that returns null for missing values. 2014-04-24 16:27:18 -07:00
Sebastien Ros f5200a1d55 Implementing IAuthorizationService
#7
2014-04-24 16:16:15 -07:00
Praburaj 8bd2d01b11 Adding the switch to turn on Helios errors when deployed to remote.
Currently the detailed errors are displayed only for local requests.
2014-04-24 14:53:19 -07:00
Chris Ross 8ad7b489e2 #18 - Add interfaces for request lifetime management. 2014-04-24 14:44:50 -07:00
Praburaj 470f217374 HttpContext.User is being populated with an anonymous identity with a recent change. So I dont have to check for null before.
Fixing the app accordingly.
2014-04-24 14:35:14 -07:00
ajcvickers cda544c04b IServiceProvider no longer available from EntityConfigurationBuilder. Using ISP passed to context instead. 2014-04-24 14:16:24 -07:00
GrabYourPitchforks 4077c03a7b Hosting: Throw if startup method isn't void-returning. 2014-04-24 12:54:50 -07:00