Commit Graph

14348 Commits

Author SHA1 Message Date
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
Praburaj 0f25f9ff6b Html.ActionLink helper available.
Enabling music store code to use the Html.ActionLink helper.
2014-04-09 12:04:53 -07:00
Praburaj 8610e016b3 Setting the full path to load the Config.json.
Specifying just the name of the file works fine on selfhost or IISExpress. When app is hosted in IIS, Config.json is being searched in the w3wp3.exe's folder path resulting in an exception.
So fixing the path of Config.json by retrieving the application base path from AppDomain.
2014-04-09 10:43:52 -07:00
Praburaj f4cee29842 Html.BeginForm works now on Partial views.
So uncommenting some code which uses this in music store app.
2014-04-08 16:45:49 -07:00
Praburaj ccc257f8fc Adding environment based config to the music store project with a Config.json file for local.
If the same set of values (those present in config.json) is present in the environment variables
then ones from environment variables be picked up. This will be the antares scenario where the portal variables
flow in as environment variables with a specific prefix.
2014-04-08 14:21:19 -07:00
Praburaj c0250392b2 Enabling @RenderSection in the Music store code. 2014-04-08 12:48:12 -07:00
Praburaj 0db736b056 Uncommenting code to use [HttpPost] verb attribute. 2014-04-08 12:25:42 -07:00
Praburaj 3d54a24244 Removing the rendering package from music store app to fix a build error. Rendering and Core are merged now. 2014-04-08 10:42:10 -07:00
David Fowler a8a47a0489 Removed all assembly infos. 2014-04-08 09:25:29 -07:00
David Fowler 26fedbb999 Updated tooling 2014-04-08 01:42:21 -07:00
David Fowler 7e7c940c63 Updated to use the new tooling 2014-04-08 01:10:29 -07:00
Praburaj f5e9d4d8aa Merge branch 'dev' of github.com:aspnet/MusicStore into dev 2014-04-04 17:21:34 -07:00
Praburaj 45e6e71bc8 Making a few more changes including:
1. Adding a view component
2. Adding more partial views from the sample and enabled a few of them.
3. Updating Account controller to accomodate all the recent identity changes.
4. Enabling some available Url helpers like Url.Content
5. Adding a ~ to all the scripts and images as this bug is fixed now.
2014-04-04 17:19:27 -07:00
Hao Kung 4d1bd6095b Fix identity API changes in Startup.cs 2014-04-04 14:59:38 -07:00
Hao Kung 5bb8f602f1 Fix build issues in Startup.cs
Update for Identity API changes
2014-04-04 14:55:47 -07:00
Pranav K e4af75dddf Fixing issue in Starup.cs to unblock build 2014-04-04 10:47:28 -07:00
Pranav K f4904e1803 Fixing PathString.Add(PathString) to handle trailing slashes correctly
Fixes #31
2014-04-03 12:55:45 -07:00
Praburaj 4709bca281 A few changes with this checkin:
1. Removing copyright text from all files per a code review feedback
2. Adding a cookie based session to the application to retrieve the cart Id.
3. Enabled the Accounts controller as we now have the necessary Http abstractions for User, SignIn, SignOut etc.
4. Changing self hosting scripts to run on coreclr by default.
5. Enabling the layout page on all required views.
6. Adding a favico.ico
7. Renaming the Cart property in the EF context to CartItems as it returns a CartItems list.
8. Uncommenting some code which was previously accessing unavailable APIs. They are available now (but yet to validate them).
2014-04-02 18:40:25 -07:00
sornaks 9f3433acec WebFX 156 - Introducing RedirectPermanent.
Merging RedirectPermanent to Redirect.
2014-04-02 15:24:20 -07:00
Chris Ross ee37c75544 Rename Auth Context API Ack to Accept 2014-04-01 17:08:09 -07:00
Chris Ross dfc0c5d323 Change GetAuthType to use a context object instead of a delegate. 2014-04-01 16:29:47 -07:00
Chris Ross c638c74bc9 Move AuthManager methods to Context and Response. 2014-04-01 16:03:54 -07:00
Chris Ross 63dc9ad719 Auth: Remove GetAuthType predicate overload. 2014-03-31 12:00:55 -07:00
Chris Ross 60d892b529 Revert new project dependnecy. 2014-03-31 11:28:27 -07:00
Pranav K bacc8d1737 * Adding trace listener to ProjectKClone
* Setting Max degrees of parallelism to 4 since too many connections is
* causing MyGet to time out
2014-03-31 11:22:42 -07:00
Chris Ross 097138e813 Auth: Validate acks. 2014-03-31 11:12:22 -07:00
Chris Ross 4347ddfd0f Security contracts. 2014-03-31 11:12:20 -07:00
rowanmiller dabb68cc6d Fix EF InvalidOperationException on Startup
The code that does an 'UPSERT' of seed data on app start was querying
existing instances and attaching as modified of seed instances on the
same context. Now that we track query results this will throw because
the context has two instances of the same entity (same key value).

Swapping to use a temporary context to query existing data.
2014-03-31 10:45:41 -07:00
Pranav K bbf51f3556 Re-adding suitable builds 2014-03-31 10:11:55 -07:00
Pranav K b705f363ab Update snapshot dependencies to not use suitable build 2014-03-31 06:27:56 -07:00
David Fowler 351964878f Updated task package 2014-03-29 03:19:45 -07:00
Pranav K eaddb29577 Updating CoreCLR package versions 2014-03-28 06:03:23 -07:00
Pranav K e019e67325 Updating CoreCLR package versions 2014-03-28 05:53:01 -07:00
Pranav K b366cb1cd0 Updating CoreCLR package versions 2014-03-27 18:30:24 -07:00
Praburaj 2a19ec7b2a Simplifying the options to the error page middleware. 2014-03-27 16:23:58 -07:00
Praburaj 4fc1857994 Fixing a code review comment to change the app name from "BugTracker" to "MusicStore" 2014-03-27 16:20:25 -07:00
Praburaj 5eacb62b62 A few changes with this checkin:
1. Adding scripts to self host & custom host Music store
2. Updating readme
3. Cleanup some helper classes that are not necessary.
4. Adding error page middleware for diagnostics.
5. Flipping the switch to run helios on "K" by default.
2014-03-27 16:10:16 -07:00
Pranav K 8b2137189e Add finish build triggers along with snapshot dependencies when updating TeamCity dependencies 2014-03-26 17:16:00 -07:00
Pranav K ccaaaeb392 Adding asmdiff.shade 2014-03-25 22:19:14 -07:00
rowanmiller fe9770cc80 Use OnModelCreating & OnConfiguring (plus some other cleanup)
Swapping context to use OnModelCreating & OnConfiguring now that models
are cached
Adding some [Required] annotations to properties that are really
required in the domain model
Renaming Cart => CartItem because that's what it really is :)
Allowing database to hold some null data now that we can materialize it
(although we can't save it yet)
2014-03-25 16:01:01 -07:00
rowanmiller 965046813e Swapping data access to use EF
Enabling data access against new EF stack.
Uses SQL Server when running on Net45 and an in-memory database for K10
(because SQL Client isn't available on K10 yet).
Various workarounds in place to compensate for missing features in EF
(all marked with "// TODO [EF]..."
2014-03-25 12:50:36 -07:00
Pranav K 1d507e9b47 Change existence check to account for packages that are updated without
revving version
2014-03-25 10:19:54 -07:00
Pranav K 34afda9dfc Adding tooling for mirroring project k packages 2014-03-25 09:56:15 -07:00
Praburaj 5497541e08 Updating the music store application with the latest code.
Changes include
(1) Inclusion of all views (with non compiling code commented out)
(2) Inclusion of all models with data annotations
(3) images & setting up of static files
(4) MVC application setup and scripts to run the application
(5) Scripts to clean up the temporary files and capture LKG build.
2014-03-24 15:15:43 -07:00
David Fowler a5dbcac2b7 Use new test infrastructure. 2014-03-23 14:25:24 -07:00
Ryan Nowak 2207acb917 Incorporate breaking change from DI 2014-03-21 17:53:18 -07:00
Chris Ross 9a4678d40f Change config order. 2014-03-20 21:14:22 -07:00
Chris Ross 982cf2a1d6 Code review cleanup. 2014-03-20 21:14:20 -07:00
Chris Ross 11762840cd Add an Initialize step to IServerFactory. 2014-03-20 21:14:18 -07:00
Chris Ross 2c49d89094 Code review cleanup. 2014-03-20 11:19:42 -07:00