Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating from ASP.NET MVC5 to MVC6, Part 1 #5

Merged
merged 17 commits into from
Apr 6, 2015
Merged

Conversation

ardalis
Copy link
Contributor

@ardalis ardalis commented Mar 26, 2015

This is the first article. It was getting long, and there are features of the new MVC 6 starter template that aren't feature complete yet, so I'm breaking it up into a series. In fact, as long as this article is, it might be better broken up already (shifting the configuration of bundling and minification to its own separate article).

@ardalis
Copy link
Contributor Author

ardalis commented Mar 27, 2015

Add migrating config article as well. Skeleton of auth/identity article can be ignored for now.


.. _`Steve Smith`: Author_

Migrating from ASP.NET MVC 5 to ASP.NET 5 and MVC 6 requires a few steps to complete, since ASP.NET 5 introduces a number of new concepts. In this article you will learn how to migrate from the ASP.NET MVC 5 Starter Web Project to ASP.NET MVC 6, including initial setup, basic controllers and views, and static content and client side dependencies.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASP.NET MVC 5 Starter Web Project

ASP.NET MVC 5 Starter Web Project default project template

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and static content

Create the Destination Solution
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

We will begin our migration by creating a new, empty ASP.NET 6 solution. Create a new project in Visual Studio 2015, choose an ASP.NET Web Application, and then choose select the ASP.NET 5 Empty template.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASP.NET 6 => ASP.NET 5

@danroth27
Copy link
Member

Let's not use zip files. I prefer to see the sample projects checked in in a samples directory that can be built and referenced.

@danroth27
Copy link
Member

This is a good start for an MVC 5 migration doc, but I think there is a bunch of stuff that is different in MVC 6 that we still need to cover:

  • Areas
  • Global filters
  • MVC options configuration in general
  • DI
  • Attribute routing

@ardalis
Copy link
Contributor Author

ardalis commented Apr 6, 2015

Thanks for the feedback - my plan is to have additional articles to cover the additional MVC 6 features, while keeping this one a bit simpler and shorter.

ardalis added a commit that referenced this pull request Apr 6, 2015
Migrating from ASP.NET MVC5 to MVC6, Part 1
@ardalis ardalis merged commit c4320a9 into dotnet:master Apr 6, 2015
@danroth27 danroth27 mentioned this pull request Apr 8, 2015
scottaddie pushed a commit that referenced this pull request Apr 24, 2018
@Pentadome Pentadome mentioned this pull request Nov 1, 2019
trobinson41 pushed a commit to trobinson41/Docs that referenced this pull request May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants