Base solution for your next web application
Open Closed

Getting Started + Step by Step Walkthrough for 'Dummies' #2348


User avatar
0
joshboilered created

Had a few snags getting a few things setup correctly following the instructions so thought I'd share my 'Getting Started' Step by step "gotcha's" for the next guy not familiar with .net core leveraging .net framework 4.6.1. I'm walking through this now and will update as I run into gotchas not documented.

Enviro setup gotcha's: (or gotme's)

When you download the solution from asp.net zero, you need to do these steps first;

  1. Ensure you have VS2015, update 3 + preview tools
  2. Check the version of your OS and IDE (64 vs 32 bit)
  3. Download the following for your machine environment to aligned to your OS and IDE (I had all the right 64 bit sdk's, but was missing one of the 32 bit) 3.a .net 4.6.1 3.b. .net core 1.1 (earlier versions also needed 1.0.1 in Decemberish version, didn't check if that's changed)
  4. typescript 2

Restart your machine, load Zero and you should be golden to follow the rest of the Getting Started steps.

Step by Step gotchas: (or gotme's)

Although Zero is referencing .Net Framework 4.6.1, its still a .net core application. So you need to use the new localhost db connection string for .net core (if you aren't setting up SQL locally) which has changed since 4.x.

  1. Server=(localdb)\mssqllocaldb; 5.a. Update both connection strings; .web.mvc and .migrator
  2. I had to revert to an older Hangfire version to get it to play nicely.
  3. I'm also finding that if you change the route in Startup.cs to Account/Login, the url's in left nav menu class need to have /Index appended. Haven't figured out why.

TBC... as I dev


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @joshBoilered , appriciate your contribution :).