Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Singularity - ASP.NET Application Development Framework

0.00/5 (No votes)
24 Aug 2009 1  
Better than DotNetNuke, Entity Framework, NHibernate and ASP.NET MVC V2

Introduction

Singularity is an ASP.NET Application Development Framework which makes it easier for .NET developers to create ASP.NET websites. For example, using this framework, one can easily develop text and video blogging websites, social networking websites and CMS systems. You could download latest version from Singularity Home Page.

 

000.GIF

Background 

Singularity is based on the notion of 'Write Less Do More'. It is better than Entity Framework, NHibernate and ASP.NET MVC V2 in terms of maintainability, addressing agility of today’s website and total cost of ownership. Following are the reasons why?

Points of Interest

1. Singularity provides a model of "writing no or minimal code" through Service, Category and Attribute concept.

2. You could define new Services, Categories and Attributes on the fly with all those required, range validation and regular expression validations. No coding required!

3. Services, Categories and Attributes are rendered as Input Forms, Search Forms and Advanced Search Forms. No coding required!

4. You could change from TextBox to RichTextBox to TextArea on the fly. Similarly you could change from DropDownList to RadioList on the fly. No coding required!

5. 'Singularity' wraps 50+ ASP.NET server control including AJAX control toolkit. You could register your own ASP.NET controls with framework to extend it. You could set control’s properties using a Key-Value XML.

6. Singularity Foundation Library (SFL) is a collection of utility classes that one can use to build ASP.NET apps in shortest amount of time. For example, if you wish to build your own Data Access Layer, Singularity Foundation Library (SFL) provides an excellent starting point. It has a Save() wrapper around MSDAB that do all the magic of insert, update, delete with or without transaction. 

Using the code

Please follow instructions below to install. You could download latest version from Singularity Home Page.

   1. Click Download button above to obtain Singularity Community Edition ZIP.
   2. Unzip and restore SQL Server 2005 database from backup available under folder \App.Web\App_Data\Singularity.bak
   3. Create a SQL Server 2005 user.
          * User name = sig and
          * Password = sig.
   4. Create an IIS virtual directory named sig at folder App.Web. Make sure ASP.NET 2.0 is selected in IIS virtual directory settings.
   5. Open browser, enter URL http://localhost/sig and hit ENTER to view Singularity Home Page.
   6. Click Sign In link at the top of the home page. To Sign In as Admin, enter Email = admin@mysitename.com and Password = admin.

Troubleshooting

   1. If you get SQL Server priviliages error for ASPNET user, please run following SQL script on Singularity database:
          * exec sp_grantlogin 'MachineName\ASPNET'
          * use database_name
          * exec sp_grantdbaccess 'MachineName\ASPNET'
          * exec sp_addrolemember 'db_owner', 'MachineName\ASPNET'

History

Keep a running update of any changes or improvements you've made here.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here