Quick access

Magazine management website - An ASP.NET MVC 4 Sample

A small example that used ASP.NET MVC 4 in Visual studio 2012 for implemented the Magazine website.
(Up coming version, I am working on new updated version using Visual Studio 2013 RTM, ASP.NET MVC 5, Web API 2 and AngularJS for this example)

dear, When I run web Application and try "Go to administration board" it occur like this:
Server Error in '/' Application.
The model backing the 'SimpleSecurityContext' context has changed since the database was created. Consider using Code First Migrations to update the database ().
can you help me

I downloaded your version testing it find that an error i cannot solve is
'System.Web.HttpPostedFileWrapper' does not contain a definition for 'CreateImagePathFromStream'
when i look at the CreateImagePathFromStream in HttpPostedFileExtension the function with 2 params and just got one param when you call.
<code1>
public static string CreateImagePathFromStream(this HttpPostedFileBase postedFile, IMediaItemStorage imageStorage)
<code2>
if (vm.SmallImage != null)
{
smallImagePath = vm.SmallImage.CreateImagePathFromStream(_itemStorage);
}
not sure you uploaded the latest full version or not, can you please let me know.
Anyway, thank you for your example.

@Henry -
I corrected this by casting to its base type so, snippet should be re-written like this :
if (vm.SmallImage != null)
smallImagePath = ((HttpPostedFileBase)vm.SmallImage).CreateImagePathFromStream(_itemStorage);
In this operation, we used dynamic so, I would like you to refer this link : http://msdn.microsoft.com/en-us/library/system.dynamic.dynamicobject.tryconvert.aspx
for more understanding related to dynamic type casting.

Sir,
I am a beginner in asp.net and I don't know much about this technology.
I request you ,please send me some tutorial which can help me to learn asp.net.
my email id is akkij94@gmail.com
Regards,
Akhilesh

I was wondering is it possible to use this sample for comercial uses?
i will explain, im creating an online environment for developers and i want to use this sample as the default web site on my IIS, was wondering if possible?
really appreciate if it is possible so it will save me time to build on by myself
Thanks
Daniel

Dear can you upload the Step by step tutorial file in pdf format , so that it is easy to learn for beginners like me or can mail on naumankhantareen@gmail.com, thankx for sharing your knowledge.
thanx......