"Whenever I jump out of the tutorials I get stuck"

​You know what you want to be doing: building applications using ASP.NET Core MVC

​And you have a plan...


... follow some tutorials, maybe watch a Pluralsight course or two. Learn enough to get started and you’ll be off building that application you’ve got all figured out in your head.


So you start following a tutorial and before you know it you’ve typed out endless lines of code.


You’ve added tons of classes and methods to your application and have precisely no idea what you’ve typed or why.


​Every tutorial throws more ​terminology at you; models, controllers, view models, Razor (or is that Razor Pages?), Entity Framework. ​ Where do you even begin?


So you decide to watch a video instead.


The video looks really good, the author seems to know their stuff. But as the play-head ticks steadily across the bottom of the screen, you find yourself zoning out; your eyes glaze over, the words flow in one ear and straight out the other; no​thing sticks.

​No matter how many tutorials you follow, you still can't build anything of your own

Then it dawns on you; you’ve just ​spent several hours of your precious time “learning” ASP.NET Core and still don’t understand how it all fits together or where to even start building your own application.


You want to learn ASP.NET Core. Everyone’s talking about it; it looks really interesting and you know you can learn this stuff.


You have the skills, you’re prepared to put in the time, if only you could get over this speed bump you’d be off and building apps in no time.


The thing is, with a bit of direction you absolutely ​could build your applications using ASP.NET ​Core MVC.


​If you knew exactly which ​aspects of MVC to learn first and how to ​break your application ​down into tiny pieces, you could take your ideas and turn them into working features.


You ​could ​fast-forward past the tutorials and docs and get to the fun bit; where you ​build ​the applications ​​​you've already ​designed in your head.


You just need to know how to get up and running​.

​​As a WinForms developer of far too long, I am thoroughly enjoying ​Practical ASP.NET Core MVC and consider it fantastic value for money!


Having no web experience (except classic ASP back in early 2000’s!), I found the modern web to be massively confusing with all the web frameworks, etc…far too much to even scratch the surface!


Any plans for a follow up Web API course by chance? :)

​​Grahame Kelsey

Build something real with Practical ASP.NET Core MVC

Learn precisely the parts of MVC you need to build your ideas with Practical ASP.NET Core MVC.


You'll skip straight past the frustration that comes with trying to build a project using an unfamiliar framework.


Create something real; with step-by-step directions, explanations of key concepts and precise steps you can apply to your own application.

​Learn a tried and trusted approach to build any feature;

  • Brainstorm ideas for your app
  • Take one tiny feature idea at a time
  • ​Create a rough mock-up of the interface
  • check
    Build your tiny feature in the simplest possible way
  • check
    ​Stick to hard-coded data initially
  • check
    ​Introduce databases and Entity Framework
  • check
    ​​Refactor to ensure your app remains easy to develop

Work through the book and you’ll create a real application which evolves over time as new feature requests come in.

​I really enjoyed ​Practical ASP.NET Core MVC

​It especially helped me understand a bit better how to work with relations between models (using both navigation property and id).

 Also, I’m trying to follow the mindset of keeping things as simple as possible at each step and then progressing slowly but steadily while adding bits (view > model, hard coded data first, then a service, then database).


Anyway thanks again and have a nice weekend!

​​Erik Langhaug

​Master HTTP Gets and Posts

​MVC is built on HTTP requests, usually GETS and POSTS.


​If you're building ​forms to capture user input you're going to need to render ​those forms (with a GET) and accept the posted data back ​(via a POST) so you can save it to your database.

Protect your app from request forgery

​It's very easy to accidentally expose your site to malicious requests and attempts to trick your users into handing over their details.


​The good news is you can protect yourself from these risks ​with ASP.NET Core (​by using something called Tag Helpers).


Make your data dynamic with Entity Framework Core

​​The book starts by employing hard-coded data so you can get your features up and running quickly.


Sooner or later though you'll want to put that data in a database and EF Core will help you create, read and update said data.


By the end of the book you'll be able to:

  • ​Build your features using Controllers, Views and ViewModels
  • ​Do the simplest thing to get your features up and running quickly (in minutes, not hours)
  • ​Spot when your controllers are getting too big and refactor the business logic away
  • check
    Introduce Entity Framework Core to an existing application
  • check
    ​Get your features up and running without building a database first
  • check
    Use tag helpers to simplify your views
  • check
    ​Keep your application protected from Cross Site Request Forgery
  • check
    ​Add validation to your forms to protect your app from bad user input
  • check
    ​Diagnose errors that crop up along the way

​Your ​book is the best one.


You are able to explain those concepts that a programmer needs to understand.

​Danilo Gozzola​

Here's a sneak peek of what you'll build

The ​Premium Package

Everything you need to take your ideas and build them using ASP.NET Core MVC with a little added javascript and Web API to make your application spring into life.

​Practical steps to build your application plus ​guide to more advanced features, downloadable source code and and ​how to add Microsoft Identity to ​the mix.

Practical ASP.NET Core MVC Ebook (PDF)

​Build your ideas using ASP.NET in hours not weeks.


Step by step guidance, explanations of the underlying concepts and a pragmatic, iterative approach to build your features.


Bonus #1: Downloadable Source Code (Practical ASP.NET Core MVC)

Sometimes you just need to browse the code in one place and figure out how it all clicks together.


Bonus #2: Upping the ante (​PDF)

​Towards the end of the book are some ideas for additional features to build ​​to really flex your new found MVC ​skills!


​​Get this comprehensive 40 page guide detailing how I would approach those features (including mockups, requirement breakdowns and detailed explanations).

​​​

​​You'll see how to make your application come to life with a little javascript and Web API.


Bonus #3: Downloadable Source Code (Upping the ante)

​Explore and pick apart my solutions for the additional features ​referenced in the  book.


​Bonus #4: Screencast - Add MS Identity to an existing MVC application

​See how to take the app you build with Practical ASP.NET Core MVC and extend it to ​support authentication and authorization, enabling your users to sign up and sign in to the app.


​Plus free ​content updates.

​Just the ebook

​Build a real application from scratch using ASP.NET Core MVC 2.1, take your ideas and ​transform them into working software.

Practical ASP.NET Core MVC Ebook (PDF)

​Build your ideas using ASP.NET in hours not weeks.


Step by step guidance, explanations of the underlying concepts and a pragmatic, iterative approach to build your features.

Who wrote this?

​Hey, I'm Jon Hilton and I've been "doing" software development for more years than I care to remember (about 20 in fact).


My first site was ​a Red Dwarf fan site which I built when I was 16 and, well, I haven't really stopped "hacking" away at web sites and applications since.


I develop software for a company called Remote as well as blogging ​at jonhilton.net and building training materials/courses and books (like this one).


Think of me as primarily here to help you level up your development skills and find your way ​in the (often confusing) world of Microsoft software development.

Frequently Asked Questions

ASP.NET Core moves pretty fast, is this book up to date?

Yep, the ​book uses ASP.NET Core 2.1 and will be updated for future releases of Core 2.x.

Wh​​​​at if I get stuck or hit a problem? What help is available?

If you encounter a problem with the book, or just get stuck, get in touch and let me know what’s up.


I’ll do my best to get you back up and running.

Does the ​book c​​​​over SQL Server, ASP.NET Web API or building SPA applications (using Angular etc.)

No and for a good reason.


There’s so much you could try to learn when you’re starting out with ASP.NET MVC (Core) but this can really muddy the waters and leave you lost in the ecosystem before you’ve even got the basics under your belt.


This ​book takes a pragmatic approach to learning fundamental concepts first so you’ve got a solid platform from which to dive into different areas of the framework.

​Get up and running with ASP.NET MVC Core
or your money back

I don’t want you to miss out on this ​book and I'm confident it will get you up and running with MVC so here’s my offer to you.


Take the book for a spin.


If​, after you’ve run through the ​book and tried the steps for yourself, you feel you haven’t gained the ability and understanding to tackle your own ASP.NET MVC projects, I will cheerfully refund your money, no questions asked, any time within the next 30 days.


© Jon Hilton All rights Reserved

Privacy Policy