raj raj

raj raj

  • 1.4k
  • 251
  • 14.8k

configuration method not executing in startup.cs asp.net mvc C#

Jul 18 2023 3:55 AM

I have created new mvc project and added startup.cs class with one method.

but debug is not coming in this method directly debug is going on homecontroller

but it should come first startup class. why my debug is not coming in configuration method.

public class Startup
    {
        public void Configuration()
        {
            
        }
    }


Answers (2)