Learn ASP.NET MVC
Be ready for coding away next week using ASP.NET MVC 5 and Visual Studio 2015
You know next to nothing about ASP.NET MVC 5 but need to start coding your next application within a week. Don't worry: this book has you covered.
Minimum price
$8.99
$10.99
You pay
$10.99Author earns
$8.79About
About the Book
You're a developer who knows nothing to ASP.NET MVC. Which is fine, except that you need to start coding your next application using ASP.NET MVC 5.
Don't worry: I have you covered. I've been training hundreds of developers like you during years, and converted my experience into this book. I know from experience teaching what takes more time to learn in ASP.NET MVC, and will spend time only where appropriate.
Read this book, and you can code your ASP.NET MVC 5 application using Visual Studio 2015 within a week. Or your money back.
Feedback
Author
About the Author
Arnaud Weil
Arnaud Weil is a born developer: when he was a kid he was controlling his electric train using an Atari ST and some self-made electronics, then as a teenager created and distributed worldwide one of the first Web browsers for some of the first pocket computers, when the Web was just beginning. In fact, he loves coding.
Turning a passion into a career, Arnaud has been coding all kinds of applications from factory tools to smartphone applications to house control solutions. His status as a freelancer allows him to help his clients with many different projects.
But what Arnaud enjoys most is helping other developers: that's why he teaches, speaks, and writes books.
Contents
Table of Contents
Introduction
- What this book is not
- Prerequisites
- How to read this book
- Tools you need
- Source code
1.What is ASP.NET MVC and why use it
- 1.1What is it ?
- 1.2Why use it ?
- 1.3Competing technologies
2.Creating our Web Site
3.ASP.NET MVC inner workings
- 3.1Principles
- 3.2View
4.Create an application and modify the home page
- 4.1Do-it-yourself 1 - Create the application
- 4.2Do-it-yourself 2 - Change the home page
5.Razor
- 5.1Razor syntax
- 5.2Layout views
- 5.3Do-it-yourself 4 - Remove some links
- 5.4Helpers
- I need you, super-hero !
6.Understanding ASP.NET MVC
- 6.1Flashback
- 6.2Routing
- 6.3Controllers
- 6.4Be lazy
- 6.5Let’s go all the way
7.Typing things up
- 7.1The problem with ViewBag and ViewData
- 7.2Using and typing the model
- 7.3Conventions and simplicity: introducing the ViewModel
- 7.4Entity Framework models
- 7.5Do-it-yourself 5 - Create the Product model and DbContext
- 7.6Do-it-yourself 6 - Add code that creates a database with some products
- 7.7Do-it-yourself 7 - Display a products list
8.Updating server data
- 8.1Action parameters
- 8.2Word of caution about URLs
- 8.3Do-it-yourself 8 - Display product details
- 8.4HTTP Post parameters
- 8.5Passing a full blown object
- 8.6Sit and watch - Basic product calculator
- 8.7Do-it-yourself 9 - Add a search box to the products list
9.Updating data scenario
- 9.1Steps
- 9.2Controller
- 9.3Automated generation of controller and views
- 9.4Do-it-yourself 10 - Create the products management back-office
10.Doing more with controllers and actions
- 10.1Actions can generate more than views
- 10.2Do-it-yourself 11 - Add images to the products
- 10.3Input validation
11.Basic security
- 11.1Preventing Cross-Site Scripting
- 11.2Rejecting extra fields
- 11.3Identifying users
- 11.4Do-it-yourself 12 - Secure the back-office
12.Going further
- 12.1Deploying your site
- 12.2Creating Razor helpers
- 12.3Partial views
- 12.4Display and edit templates
Do-it-yourself Cheat Sheet
- Do-it-yourself 1 - Create the application - correction
- Do-it-yourself 2 - Change the home page - correction
- Do-it-yourself 3 - Add code to the home page - correction
- Do-it-yourself 4 - Remove some links - correction
- Do-it-yourself 5 - Create the Product model and DbContext - correction
- Do-it-yourself 6 - Add code that creates a database with some products - correction
- Do-it-yourself 7 - Display a products list - correction
- Do-it-yourself 8 - Display product details - correction
- Do-it-yourself 9 - Add a search box to the products list - correction
- Do-it-yourself 10 - Create the products management back-office - correction
- Do-it-yourself 11 - Add images to the products - correction
- Do-it-yourself 12 - Secure the back-office - correction
Definitions
- Bootstrap
- Dynamic object
- Entity Framework
- Project
- Solution
- Solution Explorer
A word from the author
The Learn collection
Get the free sample chapters
Click the buttons to get the free sample in PDF or EPUB, or read the sample online here
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.