routing monorail shared hosting

2009-04-29 Thread Josh Coffman
I figured its about time I look at adding routing to my MR site, only I'm on a shared hosting plan. Is this even possible? I'm fine with only routing urls with .ashx at the end. Thanks, Josh --~--~-~--~~~---~--~~ You received this message because you are

how to use Multi-template in MonoRail MVC?

2009-04-29 Thread male110
would you like to tell me how to use Multi-template in MonoRail MVC? When user vist your Website,they can select Different template. you'd better give me a demo thanks very mutch --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: routing monorail shared hosting

2009-04-29 Thread Ben Lovell
On Wed, Apr 29, 2009 at 8:01 AM, Josh Coffman joshcoff...@gmail.com wrote: I figured its about time I look at adding routing to my MR site, only I'm on a shared hosting plan. Is this even possible? I'm fine with only routing urls with .ashx at the end. Thanks, Josh Should be fine. I've

Performance Issue

2009-04-29 Thread Darius Damalakas
I need to create some thousand of records. For each record I have selected a payerCompanyID and recipientCompanyId fields with HQL query (aggregation, summing, ant stuff). Is it possible somehow to insert into database a new Bill record without fetching Company from database? Now i have this:

Profiling AR applications

2009-04-29 Thread Flominator
Hi there, do you have any best practices about profiling AR applications? I've now tried out ANTS, AutomatedQA and Rational Quantify, but got none of them working ... ANTS doesn't seem to show enough information, AutomatedQA closes the application immediatelly and Quantify keeps on throwing

Re: Profiling AR applications

2009-04-29 Thread Darius Damalakas
NHProf ? On 29 Bal, 12:47, Flominator flomina...@gmx.net wrote: Hi there, do you have any best practices about profiling AR applications? I've now tried out ANTS, AutomatedQA and Rational Quantify, but got none of them working ... ANTS doesn't seem to show enough information, AutomatedQA

Re: How to select with HQL a constant decimal value?

2009-04-29 Thread Darius Damalakas
yes, i've done that already, and i've overcome this problem. as far as i understand the problem, it's HQL parser which does not understand how to treat numbers with 'm' in the end, am i right? On 29 Bal, 08:26, Ayende Rahien aye...@ayende.com wrote: Darius,Create another overload for the

Re: Profiling AR applications

2009-04-29 Thread Ayende Rahien
Usually, dotTrace with the HotSpots features give the best image of that On Wed, Apr 29, 2009 at 1:58 PM, Flominator flomina...@gmx.net wrote: I'm trying to find out what takes so much time. On 29 Apr., 11:49, Stefan Sedich stefan.sed...@gmail.com wrote: What are you trying to profile?

Re: routing monorail shared hosting

2009-04-29 Thread James Curran
On Wed, Apr 29, 2009 at 3:01 AM, Josh Coffman joshcoff...@gmail.com wrote: I figured its about time I look at adding routing to my MR site, only I'm on a shared hosting plan. Is this even possible?  I'm fine with only routing urls with .ashx at the end. You will need to have the extension

Re: Performance Issue

2009-04-29 Thread Darius Damalakas
Great! thank you mery much. It also explains why a call to ActiveRecordMediatorCompany.FindByPrimaryKey(0) does not fail, even there is no such Company in the database I even checked NHibernate in action (i've got a June 2008 version). Chapter 4.4.1 Retrieving objects by identifier explains

Re: Windsor, FluentNH - Web

2009-04-29 Thread Wayne Douglas
that's so wierd!! I was taking a look this morning! Going to see how easy it is to plug in MR in space of ASP.NET MVC... :D w:// On Wed, Apr 29, 2009 at 3:26 PM, Roberto roberto.masc...@gmail.com wrote: I think you could give a look to Sharp Architecture (S#arp architecture)

Re: Windsor, FluentNH - Web

2009-04-29 Thread Roberto Maschio
i don't like too much the scaffolding. so i need to study it and find if could be optional. we have opportunity and resources of re-start from scratch our main project, and mvc+Nh+wcf+castle could be a great way :) 2009/4/29 Wayne Douglas wa...@codingvista.com: that's so wierd!! I was taking

Re: Windsor, FluentNH - Web

2009-04-29 Thread Roberto Maschio
i hope, this week is the first one i could give a good look at that project, i hope that could be our new infrastructure. 2009/4/29 Wayne Douglas wa...@codingvista.com: scaffolding is just a feature isnt it? I don't think you _have_ to use it? w:// On Wed, Apr 29, 2009 at 3:42 PM, Roberto

Re: Performance Issue

2009-04-29 Thread Ken Egozi
you're welcome. On Wed, Apr 29, 2009 at 2:29 PM, Darius Damalakas darius.damala...@gmail.com wrote: Great! thank you mery much. It also explains why a call to ActiveRecordMediatorCompany.FindByPrimaryKey(0) does not fail, even there is no such Company in the database I even checked

Re: ActiveRecord/Nhibernate locking table

2009-04-29 Thread chitech
Am I right that one solution is to commit the transaction (that is open when the SessionScope was created) i.e. after a update() or save (). So the DB transaction would not last too long and the same with locks the rows if using isolation level Read committed Is that possible? and do you how to

Re: Adding and associating an nhibernate facility programmatically

2009-04-29 Thread Tuna Toksoz
Adding NHFacility for injecting to a service constructor? why? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Apr 30, 2009 at 12:32 AM, Yannis yannis.psar...@gmail.com wrote: is there any

Re: Adding and associating an nhibernate facility programmatically

2009-04-29 Thread Yannis
Sorry I didnt write the way I meant to. I want to programmatically create an nhibernate facility. Currently I have a class that implements IConfigurationBuilder that as follows: public class NHibernateConfigurationBuilder : IConfigurationBuilder { #region IConfigurationBuilder

Re: Adding and associating an nhibernate facility programmatically

2009-04-29 Thread Victor Kornov
var facility = new MutableConfiguration(facility); // isWeb indicates to facility wee are in web context, so it'll use SessionWebModule httpModule // to setup session context for the duration of web request facility.Attribute(isWeb, true).CreateChild(factory).Attribute(id, nhibernate.factory);