Commit Graph

11009 Commits

Author SHA1 Message Date
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
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
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
Praburaj bb241c1a79 Uncommenting code to include ActionName attribute. 2014-04-10 14:23:02 -07:00
Praburaj 1e137c7af9 Getting the application base path from the IoC container. 2014-04-10 14:15:29 -07:00
Praburaj b51f54e98a Adding a view component for cart summary
1. Added a View component named CartSummary
2. Moved the CartSummary.cshtml as default.cshtml to shared\Components
2014-04-10 13:46:58 -07:00
rowanmiller 58d4b48690 Swap database creation to use EF
Swapping database creation to use native support added to EF.
Also swapping to async methods for database initialization.
2014-04-10 09:28:10 -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 26fedbb999 Updated tooling 2014-04-08 01:42:21 -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
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
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
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 e019e67325 Updating CoreCLR package versions 2014-03-28 05:53:01 -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
Pranav K 752e559b2f Space - the final frontier 2014-03-17 16:42:40 -07:00
Pranav K 07465158c2 Modifying csproj generator to not add references to shared projects 2014-03-17 14:14:56 -07:00
David Fowler ecbb52fa40 Updated to use KoreBuild
- Updated solution file to use generated projects
- Updated to use new test runner
2014-03-17 00:37:20 -07:00
David Fowler 5a10bb338b Updated make-roslyn-fast script
- Account for changing assembly names by keeping 2 lists
2014-03-16 03:08:22 -07:00
Levi Broderick 730b16df37 CryptRand.FillBuffer shouldn't throw if the buffer is a zero-length array. 2014-03-14 14:34:20 -07:00
David Fowler 65d461814f Added 4.5.1 support for web projects 2014-03-13 22:18:46 -07:00
Brice Lambson 9be70fb808 Target .NET Framework 4.5.1 in generated csproj files 2014-03-12 14:29:00 -07:00
Louis DeJardin 29b435267b Adding some build targets for convenient git operations 2014-03-12 13:43:01 -07:00
Pranav K 43d4ca4a0d Updating MyGet feed to unblock build 2014-03-11 11:49:22 -07:00
Pranav K ba58f29e31 Updating MyGet feed to unblock build 2014-03-11 11:43:13 -07:00
Chris Ross 704239bca8 Allow zero length sends and receives. 2014-03-11 08:26:42 -07:00