Silverlight + Google Gears

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
10/13/2009 11:57:08 PM
Gravatar
Total Posts 17

Silverlight + Google Gears

Can someone point me to where I can find the source code for page index.aspx as in http://demo.mojoportal.com/Index.aspx.

I am trying to understand the authentication process of the silverlight inside mojo.

Thanks,

10/14/2009 9:53:40 AM
Gravatar
Total Posts 2187

Re: Silverlight + Google Gears

mojoPortal doesn't have an index.aspx. Are you referring to default.aspx?

You can read about and download the Source Code from this page: http://www.mojoportal.com/download.aspx.

Thanks,
Joe D.

10/14/2009 9:56:25 AM
Gravatar
Total Posts 17

Re: Silverlight + Google Gears

This index.aspx is for the Silverllight prototype. I was wondering if there was any initialization on code behind.

10/14/2009 10:02:58 AM
Gravatar
Total Posts 2187

Re: Silverlight + Google Gears

All of the source code for all of the mojoPortal core and features is in the Source Code download, which you can read about on the Downloads page. I can't help you more because I don't know of an index.aspx file in mojoPortal. mojo uses SilverLight but doesn't use an index.aspx page for it.

Sorry I can't help more,
Joe D.

10/14/2009 10:06:03 AM
Gravatar
Total Posts 17

Re: Silverlight + Google Gears

Thanks Joe

Here is the link to the page I am talking about:

http://demo.mojoportal.com/Index.aspx



10/14/2009 10:25:13 AM
Gravatar
Total Posts 2187

Re: Silverlight + Google Gears

Okay, now I got ya. I don't know for sure if that file is included in the source code as it was a test Joe Audette was performing with Silverlight and Google Gears. I am assuming you found this page: http://weblogs.asp.net/joeaudette/archive/2008/11/29/silverlight-google-gears-awesome-at-least-in-firefox.aspx.

We'll just have to wait to see if Joe A. can help ya out here.

Thanks,
Joe D.

10/14/2009 11:07:12 AM
Gravatar
Total Posts 18439

Re: Silverlight + Google Gears

Hi Jon,

The page that loads the Silverlight is actually the app.aspx page located in the Web folder in the source code package. I may have renamed it on the demo site to Index.aspx.

Although the mojoportal-plus-silverlight.sln has a mojoPortal.Silverlight.Web project, that is really not used for integration with mojoPortal. That project simply has a post build event to copy the .xap to the Web/ClientBin and to copy the needed System.Web.Silverlight.dll to the Web/bin folder.

The only code of interest in the app.aspx is code that wires up the silverlight and sets some init params as well as some javascript for google gears.

If you are trying to learn how to authenticate from Silverlight against the built in web services, the code of interest is in the mojoPortal.Silverlight.Framework project, especially in the ServiceProxies folder, as well as in Controls/SignInController.cs and SignInControl.xaml

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.