when creating index view of shopping cart in music store example error is
The model item passed into the dictionary is of type 'Music.ViewModels.ShoppingCartViewModel', but this dictionary require...
Id #6699 | Release:
| Updated: Mar 22 at 11:12 AM by lakshmi12 | Created: Mar 22 at 11:11 AM by lakshmi12
I am using the MVC Music store tutorial application. I have changed 3 of the original classnames (renamed them) of the application namely Genre,Album and Artist and have named them as Categories,Br...
Id #6698 | Release:
| Updated: Mar 18 at 9:27 AM by Sabyasachi_Patra | Created: Mar 18 at 9:25 AM by Sabyasachi_Patra
When I am clicking on Classical music, it shows wrong alignment, but when I click on Disco it shows right alignment.
this is my layout.cshtml code:
Id #6697 | Release:
| Updated: Mar 5 at 11:53 AM by Suvro | Created: Mar 5 at 11:49 AM by Suvro
Hi. I'm working on the music store app in vs 2012 mvc4. So i have problem after creating the admin user i.e after adding the notation [Authorize(Roles = "Administrator")].
After adding this not...
Id #6696 | Release:
| Updated: Feb 28 at 11:50 AM by Prawno | Created: Jan 27 at 4:42 AM by IgorTashevski
public class StoreController : Controller
MusicStoreEntities storeDB = new MusicStoreEntities();
// GET: /Store/
public ActionResult Index()
Id #6695 | Release:
| Updated: Jan 18 at 3:38 PM by Suvro | Created: Jan 18 at 3:06 PM by Suvro
Im using Asp.net MVC with MySql.When Im adding EF 6.0.0 and run the solution.The following error occurs.
Description: An error occurred during the processing of a configurat...
Id #6694 | Release:
| Updated: Dec 24, 2013 at 1:26 PM by ajaynetdeveloper | Created: Dec 24, 2013 at 4:32 AM by ajaynetdeveloper
I got the message : "EntityType 'Album' has no key defined. Define the key for this EntityType." when I try to create a new controller. Is it necessary to add the KeyAttribute in the Album Class ?...
Id #6693 | Release:
| Updated: Dec 24, 2013 at 12:44 PM by ajaynetdeveloper | Created: Dec 19, 2013 at 1:33 PM by albert018
Interesting tutorial. Can mvc handle personalized data? For example, could I log in and view my own order history, or would it have to pull back all order history.
Id #6692 | Release:
| Updated: Oct 30, 2013 at 10:15 PM by wj109s5 | Created: Oct 30, 2013 at 10:15 PM by wj109s5
After completing Part-6 which is Model Validation. I can create albums but when updating an existing one I encounter an error on the SaveChanges() line as following:
Store update, insert, or delete...
Id #6691 | Release:
| Updated: Nov 5, 2013 at 7:41 PM by bofcarbon1 | Created: Oct 23, 2013 at 7:36 AM by MdIbrahimIslam
I attached the mdf file in SQL server 2008 and used that database as entity framework database first . Below is the error I got
"Exception Details: System.Data.MappingException: Schema...
Id #6690 | Release:
| Updated: Aug 8, 2013 at 1:14 AM by michaeldgg | Created: Aug 8, 2013 at 1:14 AM by michaeldgg