Visual Studio 2012 and other updates just landed in the repository

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.
9/4/2012 2:10:54 PM
Gravatar
Total Posts 18439

Visual Studio 2012 and other updates just landed in the repository

Just a quick note for anyone working with the source code from the repository. I just pushed a bunch of changes from my dev branch to the default branch and a few of them are note worthy.

It is now possible to use Visual Studio 2012 or Visual Studio 2010 with the mojoportal.sln soluton for .NET 4. I'm still suing VS 2010 when working with the mojoportal.net35.sln for .NET 3.5. The Visual Studio team did a great job with this release in making the migration to VS 2012 not break the solution in VS 2010 so it is possible to use either one and go back and forht between them. Note that we are not yet targeting .NET 4.5 and may not for a while yet even though we are able to use VS 2012 right away.

The Blog has been updated to use a new comment subsystem that is part of mojoPortal core. The new comment subsystem has a layout more like the forums and shows the user avatar/gravatar. For MS SQL and SQL CE, the upgrade scripts will migrate any existing comments from the legacy blog comment system automatically, but it was not posisble to migrate other db platforms with a sql script because in the other platforms we can't depend on anything built in to generate guids aka uniqueidentifier data type in MS SQL which can be popualted using newid() in MS SQL.

So for other db platforms I implemented a web page utility that can migrate the data and generate the needed guids from .NET code. The utlility is just a .aspx file with inline code and is in the source code repository in the MiscUtilities folder. You can drop it in the root fo a site using the latest code and visit the page and click a button to migrate the data.

Also if all else fails and you just want to continue to use the legacy blog comment system it still exists and can be used by adding this in user.config:

<add key="Blog:UseLegacyCommentSystem" value="true"/>

I'm still working on other blog improvements that I'm hoping to complete for the next release.

Best,

Joe

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