Knowledge is power. We love to share it.

News related to Mono products, services and latest developments in our community.


MonoX on GitHub

12/17/2012Categories: MonoX

Recently we have started to publish a lot of great MonoX-related code to our GitHub page. Besides full source for MonoX demo pages, we included several important code samples that will hopefully make your lives easier when developing new web applications on top of our platform.

Here is the list of the current repositories:

MonoX-Demo-Pages (MonoX CMS Demo Pages)

I think that this is one of the most interesting samples. The purpose of this repository is to allow the developers to check how different parts of MonoX demo pages work together. It includes the source for all pages - User profile pages, Blog, Discussion, Group pages, etc.

MonoX-Data-Access-Layer (MonoX CMS Data Access Layer (DAL) based on the LLBLGen Pro ORM)

If you've ever tried to extend MonoX data model you may find it a bit tedious, especially if you need to create your own Data Access Layer. We have exposed MonoX DAL source code to enable all users to easily extend it. Although you will have to obtain a license for the LLBLGen Pro Designer in order to generate a custom DAL, it will enable you to open a DAL project, add new entities for tables that you've created in the database and generate a new DAL in just a few clicks. After this process is finished, you will have the access to your newly created entities across the MonoX project.

MonoX-Localization-Resources (MonoX Localization Resources)

If there is a language that is not supported by the MonoX out-of-the-box, you can fork this repository, add your language or change the existing one, recompile it and use the new resources immediately. You can even submit a pull request so we can validate the localized resources and include your language in the official MonoX build.

MonoX-Templates (MonoX CMS front end design templates)

We have just started to publish full source for the MonoX templates, starting from version 4.2 version, and ending with 4.7 responsive design templates. We will create more templates in the near future so stay tuned.

MonoX-Sample-Solution (MonoX Profile Samples)

This is a repository holding a small sample solution with a few WebParts. It illustrates the usage of a user profile Web parts, which a very common task in all social networking projects.

MonoX-Notification-Module (MonoX Notification Module that uses SignalR for async communication)

This sample solution illustrates the usage of SignalR framework for asynchronous client/server communication.

MonoX-Twitter-Module (Twitter Feed Module)

Build a simple MonoX Twitter feed module based on this sample.

MonoX-AppFabric-CacheProvider (MonoX AppFabric Cache Provider)

MonoX allows you to deploy your application to the cloud by using various providers. With this provider you can push your cache to multiple AppFabric nodes.

MonoX-Couchbase-CacheProvider (MonoX Couchbase Cache Provider)

This provider allows you to push your cache to multiple Couchbase nodes.

WAO-ViewState-Providers (WAO (Web Application Optimizer) ViewState Providers)

MonoX has ability to optimize all pages by compressing the page output and moving the ViewState out of the process. Use the code contained within this repository to understand what's going on behind the scenes and implement your own providers.


Rated 1.80, 5 vote(s). 
I think your project is very promising. I'll think about using some of your social web parts in my web site. But at the moment I'm just playing around to see how your platform works.
Keep it up. See you later
By mrudul
Hi. I started looking at Monox. It looks very promising. I have an issue, while trying to add a new entity to MonoX-Data-Access-Layer . I am using VS 2012, LLBLGen pro 4.0.
1. Add a new entity
2. generated the code and move the new DLL's to website bin folder (MonoSoftware.MonoX.DAL.dll & MonoSoftware.MonoX.DALDBSpecific.dll)

Now when i compile my portal project, I getting error like

Error 3 The type 'MonoSoftware.MonoX.DAL.EntityClasses.AspnetRolesEntity' cannot be used as type parameter 'TEntity' in the generic type or method 'MonoSoftware.MonoX.DAL.HelperClasses.EntityCollection<TEntity>'. There is no implicit reference conversion from 'MonoSoftware.MonoX.DAL.EntityClasses.AspnetRolesEntity' to 'SD.LLBLGen.Pro.ORMSupportClasses.IEntity2'. C:\ViziFit\Source\MonoX\MonoX\Samples\WebPartSample\Newsletter\NewsletterSubscription.ascx.cs 205 53 Portal

Error 4 The type 'SD.LLBLGen.Pro.ORMSupportClasses.IEntity2' is defined in an assembly that is not referenced. You must add a reference to assembly 'SD.LLBLGen.Pro.ORMSupportClasses, Version=, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27'. C:\ViziFit\Source\MonoX\MonoX\Samples\WebPartSample\Newsletter\NewsletterSubscription.ascx.cs 205 53 Portal

Help is appreciated
By mrudul
this is to follow-up to my last comment to provide you with more detailed error message

Server Error in '/monox' Application.

Method not found: 'SD.LLBLGen.Pro.ORMSupportClasses.EntityField2 MonoSoftware.MonoX.DAL.HelperClasses.AspnetApplicationsFields.get_ApplicationName()'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingMethodException: Method not found: 'SD.LLBLGen.Pro.ORMSupportClasses.EntityField2 MonoSoftware.MonoX.DAL.HelperClasses.AspnetApplicationsFields.get_ApplicationName()'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[MissingMethodException: Method not found: 'SD.LLBLGen.Pro.ORMSupportClasses.EntityField2 MonoSoftware.MonoX.DAL.HelperClasses.AspnetApplicationsFields.get_ApplicationName()'.]
MonoSoftware.MonoX.Repositories.MembershipRepository.GetApplicationId(Boolean enableCache) +0
MonoSoftware.MonoX.Repositories.MembershipRepository.GetApplicationId() +123
MonoSoftware.MonoX.Utilities.PageUtility.GetPageProperties(String appRelativeCurrentExecutionFilePath) +185
MonoSoftware.MonoX.BasePage.GetPageProperties() +82
MonoSoftware.MonoX.BasePage.get_PageProperties() +63
MonoSoftware.MonoX.BasePage.OnPreInit(EventArgs e) +117
System.Web.UI.Page.PerformPreInit() +66
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2372

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034