Hi guys!
We just start using NetTiers in a major production project. We liked the many features that it provides but we are "terrified" by the performance at start up. I hope this is only due to our ignorance!
We are using a Microsoft Smart Client Software Factory application that initiate a web service call through HTTPS to a backend server that is exposing the database through NetTiers Data Access Layer. We are using the NetTiers serialization and the whole 9-yards. It's NetTiers 2.2.
The first call to the database (no matter how small the data to be returned, in a case it's only one record, containing the string 'Global') is taking 3 minutes...after that; subsequent calls are pretty fast (even tons of data).
Here is what we think is the hog:
public override Cornerstone.BusinessLogicLayer.TList<NavTree> GetPaged(TransactionManager transactionManager, string whereClause, string orderBy, int start, int pageLength, out int count){
whereClause = whereClause ?? string.Empty;
orderBy = orderBy ?? string.Empty;
WsProxy.dev1CurrentForecastServices proxy = new WsProxy.dev1CurrentForecastServices();
proxy.Url = Url;
WsProxy.NavTree[ items = proxy.NavTreeProvider_GetPaged(whereClause, orderBy, start, pageLength, out count);
// Create a collection and fill it with the dataset
return Convert(items);
}
what are we doing wrong?
Any help will be greatly appreciate, especially if it is ASAP...before we switch to other ORM mapper.
Thanks