Thursday, April 14, 2016

How to Create an ASP.NET Core MVC6 Web Application using EF, Identity, Bootstrap and more - Planning and Overview


Introduction

In this series of post I will create a small event handling system entirely in ASP.NET Core. The idea is that it will be built using ASP.NET Core and MVC 6. The main idea is to explore many of the new features in ASP.NET Core. Hopefully there will be some learning in it for you as well. 

The example is available here -> http://mfaevents.azurewebsites.net and will be updated as new features are added.


The initial menu - using AdminLTE/Bootstrap for layout.


The plan is to make an MVC Web Application for handling events, guests and enrollments. In addition I would like to create a simple crossplattform app that can be used to simply check people into the event on arrival. If time permits and you still find it interesting I might create an additional app so that the guest can handle their own profile, enrollments and even an event schedule of some sorts. 

In this post I will keep the overview of the solution as we go along.


Models:

Events
Guests
Enrollments
(Venues) -later
The first step is to create the models, controllers and simple views for basic CRUD methods (create, update, delete).I will start by creating a New Project using the new ASP.NET Web Application (including local authentication). After VS creates the initial structure I add som additional folders. These are the different places I like to place my code going forward. The most important folders are; Controllers, Models, Views and ViewModels.



References contain all the NuGet packages. 

Dependencies contain all the client-side stuff handled with Bower/Npm.