878dd516affa3a4686ba7a2b3107acfea1230340
Guides/MVC-Integration.md
| ... | ... | @@ -41,16 +41,44 @@ Ex) if the namespace is in other controller file is ABC.Controllers, then MVC3SK |
| 41 | 41 | |
| 42 | 42 | ###Step 5. Add Reporting and Resources folders to the project |
| 43 | 43 | |
| 44 | -Change namespaces of IzendaStaticResourcesController.cs and IzendaReportingController.cs to match all other controllers in the application. |
|
| 45 | -Ex) if the namespace is in other controller file is ABC.Controllers, then MVC3SK.Controllers -> ABC.Controllers |
|
| 44 | +Add 'Reporting' and 'Resources' from \mvc5r3 to project by dragging and dropping them under Sample_MVCApp in Solution Explorer |
|
| 45 | + |
|
| 46 | + |
|
| 47 | + |
|
| 48 | + |
|
| 49 | +###Step 6. Add mvc5r3\Views\Reporting folder |
|
| 50 | + |
|
| 51 | +Add the Reporting folder in mvc5r3\Views to the project's Views |
|
| 46 | 52 | |
| 47 | 53 |  |
| 48 | 54 | |
| 55 | +###Step 7. Add _sitelayout (mvc5r3\Views\Shared) to the project’s Shared under Views |
|
| 49 | 56 | |
| 57 | +Add _sitelayout (mvc5r3\Views\Shared) to the project’s Shared under Views |
|
| 50 | 58 | |
| 59 | + |
|
| 60 | + |
|
| 61 | +###Step 8. Copy code from Global.asax except the first line and paste in project’s Global.asax |
|
| 62 | + |
|
| 63 | +Copy code from Global.asax except the first line and paste in project’s Global.asax |
|
| 64 | + |
|
| 65 | + |
|
| 51 | 66 | |
| 52 | -You can set the license key and database connection in one of two different ways, depending on how much customization you wish to have with Izenda. We will describe the two below. |
|
| 67 | +###Step 9. Copy specificFilerouter and IzendaResource constraint classes from Globa.asax.cs and paste them above MVCapplication class in Global.asax.cs of the project |
|
| 53 | 68 | |
| 54 | -####InitializeReporting() |
|
| 69 | +Copy specificFilerouter and IzendaResource constraint classes from Globa.asax.cs and paste them above MVCapplication class in Global.asax.cs of the project |
|
| 70 | + |
|
| 71 | + |
|
| 72 | + |
|
| 73 | +###Step 10. Copy RegisterRoutes in MvcApplication class from Global.asax.cs and put it in MvcApplication class of the project’s Global.asax.cs |
|
| 74 | + |
|
| 75 | +Copy RegisterRoutes in MvcApplication class from Global.asax.cs and put it in MvcApplication class of the project’s Global.asax.cs |
|
| 76 | + |
|
| 77 | + |
|
| 78 | + |
|
| 79 | +###Step 11. Change the LicenseKey and ConnnectionString in Global.asax of the project |
|
| 80 | + |
|
| 81 | +Change the LicenseKey and ConnnectionString in Global.asax of the project |
|
| 82 | + |
|
| 83 | + |
|
| 55 | 84 | |
| 56 | -T |
|
| ... | ... | \ No newline at end of file |