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 )

11735 put(a) pogledan, 5 odgovor(a) 16.10.2012. 19:46:29Kreirao(la) rguenette
rguenette

rguenette

16.10.2012. 19:46:29
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

Ovaj sadržaj još nije ocijenjen. 
48 Reputacija 4 Ukupno objava
khorvat

khorvat

17.10.2012. 8:09:20
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
rguenette

rguenette

26.11.2012. 16:42:28
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.
Ovaj sadržaj još nije ocijenjen. 
48 Reputacija 4 Ukupno objava
rguenette

rguenette

26.11.2012. 16:41:35
It's been 4 weeks since I reply to your post ... any answers for me?

Thanks
Ovaj sadržaj još nije ocijenjen. 
48 Reputacija 4 Ukupno objava
khorvat

khorvat

27.11.2012. 10:33:56
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava