- A means to automatically generate models based on our database architecture.
- The flexibility to tweak the auto-generated code so that we can ensure our classes are using the correct data types.
- The ability to modify models attributes that do not match what we have in our database.
Introduction A few months ago, I started my new position as a .NET developer. One of the tasks assigned to me was to rewrite a legacy webforms application from VB.NET to C#. Seeing as Microsoft is starting to silently shy away from supporting webform apps (it is no longer a development option in .NET Core), it is my opinion that rewriting this application to use an MVC (Model-View-Controller) architecture will help ensure that future developers who may have never worked with webforms will know how to support it. One of the first challenges I faced was finding a solution that would allow me to configure the model. My solution would require the following: