1.

How We Can Register The Area In Mvc?

Answer»

When we have created an area make sure this will be registered in “Application_Start” event in Global.asax. Below is the code SNIPPET where area REGISTRATION is done –

PROTECTED VOID Application_Start()

{

AreaRegistration.RegisterAllAreas();

}

When we have created an area make sure this will be registered in “Application_Start” event in Global.asax. Below is the code snippet where area registration is done –

protected void Application_Start()

{

AreaRegistration.RegisterAllAreas();

}



Discussion

No Comment Found