sharp-architecture

A storage mechanism has already been configured for this application

I am getting this error whenever my S#arp Architecture attempts to start and this is an problem with SQL Server (for example: SQL Server is not runing), after I start SQL Server and hit refresh, I get this error: A storage mechanism has already been configured for this application ...

Fluent NHibernate SchemaExport to SQLite not pluralizing Table Names

I am using SQLite as my db during development, and I want to postpone actually creating a final database until my domains are fully mapped. So I have this in my Global.asax.cs file: private void InitializeNHibernateSession() { Configuration cfg = NHibernateSession.Init( webSessionStorage, ...

Will the Sharp Architecture ModelBinder properly constitute an object using a jQuery ajax request?

Do you know if it's possible to make an AJAX request and have the model binder properly constitute an object based on the parameter provided? For example: $.ajax({ type: 'POST', url: '../Create', data: ( { 'SkillTypeRequest.Id': 0, 'SkillTypeRequest.Event.Id': eventId, 'SkillTyp...

IgnoreProperty and Reveal.Member on Fluent NHibernate 1.1.0.685 on component type

I'm trying to ignore the property which is a ReadOnlyCollection and map the private property. I'm getting the following error: Could not find a setter for property 'MyCollection' in class 'Project.Core.MyClass' This is the automapper for that class which is a component. mapping.IgnoreProperty(x => x.MyCollection); mapping.HasMany<Col...

Cannot set a default Nhibernate isolation level (eg via mapping)

This has been a problem that has existed on 3 projects for me. I have tried the following: <property name="connection.isolation">ReadCommitted</property> Set in hibernate.cfg.xml Using fluent nhiberate: MsSqlConfiguration.MsSql2008.IsolationLevel(IsolationLevel.ReadCommitted); Set in global.asax.cs I have always been forced to s...

Getting Sharp Architecture template to work with Visual Studio 2010

I've download SharpArchApplicationTemplate_1_6_VS2010.zip I have read through this: http://wiki.sharparchitecture.net/VSTemplatesAndCodeGen.ashx However, this is aimed at VS 2008 I'm using 2010, and I can't see how to install the template(s)? Have I downloaded the wrong thing? I can't see anything on the wiki relating to 1.6 installa...