View Component in ASP.NET MVC 4

1.6k views Asked by At

I can't find any examples for implementing a View Component in ASP.NET MVC Framework 4.5. I love to work with them in .NET Core, but it's really hard to find if they exist in ASP.NET MVC Framework 4.5.

1

There are 1 answers

0
Willy David Jr On BEST ANSWER

There is no such thing as ViewComponent in ASP.NET MVC in .NET Framework 4.5 or later versions. Or even on ASP.NET MVC 5 or later versions.

These ViewComponents exist on ASP.NET Core technologies which were previously called ASP.NET MVC 6.

You can check the list of versions here: https://en.wikipedia.org/wiki/ASP.NET_MVC

And also related reference: What is the difference between ASP.NET MVC 6 and ASP.NET Core 1.0 and the reason behind the core framework?