Giter Site home page Giter Site logo

jongalloway / mva-introduction-to-aspnet-mvc Goto Github PK

View Code? Open in Web Editor NEW
226.0 99.0 273.0 1.42 MB

Source code for the Introduction to ASP.NET MVC free training course on June 23, 2014 (http://www.microsoftvirtualacademy.com/liveevents/introduction-to-asp-net-mvc)

C# 87.15% CSS 0.36% ASP 0.12% JavaScript 12.37%

mva-introduction-to-aspnet-mvc's People

Contributors

jongalloway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mva-introduction-to-aspnet-mvc's Issues

2 way integration with IE and VS 2015

I'll update the other issue -- when I downloaded the code from git hub and picked up at module 3, VS 2015, not VS 2013 fired up and this made my code match exactly what was in the lecture modules.

But there is one thing -- that 'Design' link isn't in IE 11 for me. I can't do 2 way integration, is there something I need to set up?

The inspect element does link to Visual Studio and that's more than half the battle for me -- being able to get right to the correct source code area to work on. But now that I've tasted the honey (I love Austin Powers) I want the whole hive. How do I get it both ways? How do I get my own cake and eat it too?

Thanks!

Why to use DataType.Email for setting the InputType=Email for Textbox when an Textbox can easily accepts Email Address

I refered to the ASP.net MVC tutorial Series On MVA and i got stuck on one point that why i should use or specify DataType.Email in model just for setting the Type of textBox to Email this thing can be done without affecting the Model class file.? and infect setting the Data Type of the attribute of Model class as string it would easily accept the Email ID as a whole string. So please Clear out this Doubt Thanks in Advance.

Project not compatible with VS community 2015?

I tried to run the code inside Module 2 with VS Community 2015 and I didn't work.

First I got a screen saying that it requires SQL SERVER 2012 but it will be upgraded.

Then when I tried to run it and go to /Reviews it throw this error:

An exception of type 'System.Data.Entity.Core.ProviderIncompatibleException' occurred in EntityFramework.dll but was not handled in user code

Additional information: An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor is being used to specify it or find it in the application's config file. See http://go.microsoft.com/fwlink/?LinkId=386386 for information on DbContext and connections. See the inner exception for details of the failure.

in this line of code
var reviews = db.Reviews.Include(r => r.Album);
of ReviewsController.cs

 // GET: Reviews
   public ActionResult Index()
   {
       var reviews = db.Reviews.Include(r => r.Album);
       return View(reviews.ToList());
   }

BTW It is the same error I got after follow the video and make all the error myself, I thought I have done something not right but looks like it has something to do with the project it self or my config of VS.

I am just learning MVC, so I really have no idea what is happening.

Cannot code along easily with the lecture

Update -- I downloaded the code from Git Hub as opposed to trying to create it myself as I followed along. Doing so and directly opening the .sln files from the downloaded code, brings up VS 2015, not our current version, VS 2013. This now makes the code I'm viewing during the lectures exactly the same. There were differences while viewing along with 2013.

This is partly a learning curve scenario for me with MVC.

At some point I got an error trying to follow along with the lectures, creating the code myself and ended up using the Package Console to install EF 6.1.3. VERY bad idea. Then I got other error messages explaining what happened (EF 6.1.3 not compatible, basically) and trying to fix it created other problems.

End result was ... I just deleted all the solutions I had up to the middle of the 3rd lecture, The Power of Visual Studio.

It would be a lot to ask for a PPT deck showing what to add where to do the code on my own. But if I had this I could get close to where I'm at now. Jon Galloway just put in the code for either Artists or Albums at time index 25:39, something like that and I'm left holding the bag. :)

Other than that, great video and I love it. The upside is, re-creating everything will be great practice. Again, if there could also be a PPT display saying "Here's what you do to create the code for Module 2, here's Module 3, etc." this would be great. As if you're work isn't detailed enough already, right? :)

Thanks.

MVC

MVC Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.