Q: Where to add the partial class in the asp.net mvc5? In which folder? I tried to add the partial class in the model folder of asp.net mvc folder structure. I have already added the class using entity framework. I want to create an partial class in the model folder, how to create?

A: Assuming you have a file Person.cs with Person class in Model folder, you can add Person.custom.cs file.
Person.cs
namespace App.Model
{
    public partial class Person
    {
        // class content
    }
}

Person.custom.cs
namespace App.Model
{
    public partial class Person
    {
        // your content
    }
}

