Mono Support WAO in a DNN site 

Viewed 11990 time(s), 5 post(s), 10/16/2012 7:46:29 PM - by rguenette
10/16/2012 7:46:29 PM
48 Reputation 4 Total posts

Hi,

Is it possible to use your Web Application Optimizer on a DotNetNuke website?

My web.config contains all the necessary code. http://wao.mono-software.com/Pages/ViewState/DiskProvider.aspx?WAOTypeParam=ViewState

I pasted the PageStatePersister override code in the Default.aspx.cs page from the root folder.

Am I missing something or is WAO not compatible with DNN?

Thanks

1
10/17/2012 8:09:20 AM
15993 Reputation 2214 Total posts

Hi,

yes it is possible to use the WAO on any ASP.NET based Web Site which includes the DNN. Can you please check if you have something like this in the rendered page html:

<input type="hidden" name="__VIEWSTATE_WAOKEY" id="__VIEWSTATE_WAOKEY" value="VIEWSTATE_yse5j3sndrmliw54ppexiog1_-1456084107_634859784565675134" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="" />
Can you also check if you received any exception while testing the Default.aspx ?

Regards

2
11/26/2012 4:42:28 PM
48 Reputation 4 Total posts

Hi Khorvat,

Sorry for the delay ...

To answer your questions, in my page source, I can see the viewstate __VIEWSTATE_WAOKEY and I do not have any exceptions when loading the Default page.

Do I need to add lines of code in my DNN modules (user controls)? Maybe the WAO compression is done before the module insertion in the Default page?

Thanks

2012-11-26 : Just edited my post so maybe you will receive an alert.

3
11/26/2012 4:41:35 PM
48 Reputation 4 Total posts

It's been 4 weeks since I reply to your post ... any answers for me?

Thanks

4
11/27/2012 10:33:56 AM
15993 Reputation 2214 Total posts

Sorry for a delay, in case that you have __VIEWSTATE_WAOKEY in your page and you don't have the whole view state  in your page the WAO ViewState optimization is working as expected. Can you please let us know if you have or don't have the ViewState in your page ?  

You should have this:

<input type="hidden" name="__VIEWSTATE_WAOKEY" id="__VIEWSTATE_WAOKEY" value="VIEWSTATE_yse5j3sndrmliw54ppexiog1_-1456084107_634859784565675134" />
And this should be empty:
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="" />
If you aren't sure please send us html source code (rendered output) of one of your pages.

Regards

5
This is a demo site for MonoX. Please visit Mono Software for more info.