Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Sample code for the app created in the Try .NET MVC course

Notifications You must be signed in to change notification settings

codeschool/TryDotNetMvc-CourseSampleCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Try .Net Mvc - Sample Project

This is a combination of the Try .Net MVC slides and challenges

How to run this project

To run this code, just clone the repo and make sure you've got the following installed:

  1. An IDE or text editor (like Visual Studio Code which is what I used to update this project)
  2. .NET Core, which you can directly from Microsoft's .NET Core download page
  3. If you're running from command line, goto to the project's root directory and type dotnet restore first, and then dotnet run to build and run the application so that it's available locally at http://localhost:5000.

Differences between this project and what was in the course

  1. The project was upgraded from .NET Core was RC1 to .NET Core 1.1. (This changed using Microsoft.AspNet.Mvc; to using Microsoft.AspNet.Core.Mvc; all other changes don't impact what was covered in the course)

  2. Instead of both Equipment and Character using the HomeController and Home Index, they're using the EquipmentController and CharacterController respectively.

  3. The navigation in the _Layout.cshtml file was updated to make both the Character and Equipment content accessible through the navigation for usability's sake. (this file was not discussed in Try .NET MVC)

.NET auto-generated README

When you create a .NET project from a template, it auto-generates a README. We've left the contents of that README below in case you're interested. Have fun!

Welcome to ASP.NET Core

We've made some big updates in this release, so it’s important that you spend a few minutes to learn what’s new.

You've created a new ASP.NET Core project. Learn what's new

This application consists of:

  • Sample pages using ASP.NET Core MVC
  • Gulp and Bower for managing client-side libraries
  • Theming using Bootstrap

How to

Overview

Run & Deploy

We would love to hear your feedback

About

Sample code for the app created in the Try .NET MVC course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published