MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

WAO in a DNN site  (Mono Support )

Viewed 6229 time(s), 5 post(s) 10/16/2012 7:46:29 PMby rguenette
rguenette

rguenette

10/16/2012 7:46:29 PM
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

This content has not been rated yet. 
48 Reputation 4 Total posts
khorvat

khorvat

10/17/2012 8:09:20 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
rguenette

rguenette

11/26/2012 4:42:28 PM
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.
This content has not been rated yet. 
48 Reputation 4 Total posts
rguenette

rguenette

11/26/2012 4:41:35 PM
It's been 4 weeks since I reply to your post ... any answers for me?

Thanks
This content has not been rated yet. 
48 Reputation 4 Total posts
khorvat

khorvat

11/27/2012 10:33:56 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts