C # MVC versions in VisualStudio

1

I am currently working with VisualStudio 2017, C # and have worked with ASP templates 4.5.2 as shown in the image:

I am a web programmer and I do not have much knowledge about these Microsoft tools, I have become accustomed to working with VisualStudio 2017 and the version of MVC that you see in the image. Can anyone explain to me the difference of working with an earlier version such as VisualStudio 2008, can I work with MVC in the same way? What version of MVC would it be in this case? Any basic explanation helps me understand these differences, thank you.

    
asked by Walter Cordova 31.07.2018 в 16:14
source

1 answer

1

The versions are differentiated more than anything in the facilities that offer you to write less code. For example, in more recent versions you can provide Helpers additional to those in version 3.

Here you can find the differences between MVC versions .

One difference between the Visual Studio versions is that the compiler can work with more recent C # language versions that also allow you to write less code, an example would be the lambda operator

public string NombreCompleto
{
    get
    {
        return string.Concat(Nombre, " ", Apellido, " ", Apellido2);
    }
}

can be reduced to

public string NombreCompleto => string.Concat(Nombre, " ", Apellido, " ", Apellido2);

Here you can see the differences in the C # language versions .

p>     
answered by 31.07.2018 / 18:27
source