28 March 2019

ASP.NET MVC 5 (Best Practices) Workshop

Due to high demand, I'm still conducting workshops and seminars on ASP.NET MVC 5 using Visual Studio 2013 with .NET Framework 4.5.1.

For the benefit of the attendees, below are the NuGet packages that I use during the ASP.NET MVC 5 live workshop:

ORM: Entity Framework version 6.2.0 
install-package EntityFramework -Version 6.2.0

DI/IoC: Structuremap
install-package StructureMap.MVC5

Mapping: AutoMapper version 5.1.1
install-package AutoMapper -Version 5.1.1

And for the lazy trainees who always forget the correct format of the connectionString, you may copy then paste the below sample connectionString to your web.config just above the </configuration> end tag:

  <add name="YourDbConnectionString" connectionString="Data Source=YourDatabaseServerName;Initial Catalog=SampleDB;Integrated Security=True"
      providerName="System.Data.SqlClient" />

No comments:

Post a Comment