Set up MVC and WebAPI as separate projects
Allowing them to: Operate under different configurations. Use different database setups. Maintain clear boundaries, ensuring API endpoints are not accessible from MVC, and vice versa.
Allowing them to: Operate under different configurations. Use different database setups. Maintain clear boundaries, ensuring API endpoints are not accessible from MVC, and vice versa.