9dba95913cc0f1501279c1f821ef7c5fa4598a31
Guides/Webforms-Basic-Integration.md
| ... | ... | @@ -55,8 +55,8 @@ You will get a conflict around the NewtonJSON DLL and its' XML configuration fil |
| 55 | 55 | |
| 56 | 56 | You'll see conflicts for four files: |
| 57 | 57 | |
| 58 | +* Global.asax -This crucial to merge as it contains Izenda's CustomAdHocConfig class and InitializeReporting() method. |
|
| 58 | 59 | * Web.Config - This will contain basic web application configuration settings. |
| 59 | -* Global.asax -This crucial for InitializeReporting() method and AdHocConfig class. |
|
| 60 | 60 | * Default.aspx - This file is simply a placeholder in Izenda. It redirects users to the ReportList page. |
| 61 | 61 | * Default.aspx.cs - This is the code file for the above page. It redirects users to the ReportList page. |
| 62 | 62 | |
| ... | ... | @@ -72,20 +72,19 @@ We will walk through merging Izenda's Web.Config and Global.asax in the next ste |
| 72 | 72 | |
| 73 | 73 |  |
| 74 | 74 | |
| 75 | -**b.** Add Izenda's AdHocConfig class into the NewWebsite's Global.asax. |
|
| 75 | +**b.** Add Izenda's CustomAdHocConfig class. |
|
| 76 | 76 | |
| 77 | 77 |  |
| 78 | 78 | |
| 79 | -###Step 4. Change Namespaces of Controllers |
|
| 79 | +###Step 4. Set Friendly URL Redirect Mode to Off |
|
| 80 | 80 | |
| 81 | -Change namespaces of IzendaStaticResourcesController.cs and IzendaReportingController.cs to match all other controllers in the application. |
|
| 82 | -Ex) if the namespace is in other controller file is ABC.Controllers, then MVC3SK.Controllers -> ABC.Controllers |
|
| 81 | +In order to avoid routing issues, you'll need to set the RedirectMode to off. Open \App_Code\RouteConfig.cs and set the RedirectMode as seen below. |
|
| 83 | 82 | |
| 84 | - |
|
| 83 | + |
|
| 85 | 84 | |
| 86 | -###Step 5. Add Reporting and Resources folders to the project |
|
| 85 | +###Step 5. Set Friendly URL Redirect Mode to Off |
|
| 87 | 86 | |
| 88 | -**a.** Add 'Reporting'and 'Resources'from \mvc5r3 to project by dragging and dropping them in Solution Explorer as below |
|
| 87 | +In order to avoid routing issues, set the RedirectMode to off, as seen below. |
|
| 89 | 88 | |
| 90 | 89 |  |
| 91 | 90 |