Questions tagged [.nettiers]

.netTiers is a set of open source code generation templates that simplify the tasks of creating customized Application Tiers for your Microsoft.Net applications in just a few minutes.

The official product page can be found here.

58 questions
0
votes
2 answers

Mocking .nettiers DataRepository calls

I have a project in which I am using .nettiers generated code as my DAL. At the moment, my tests consist of physically setting up test data in the database for each test, then allowing the nettiers objects to hit the database and return as…
Steve
  • 9,335
  • 10
  • 49
  • 81
0
votes
2 answers

Nettiers Mock scenario

Does anybody have a good example of where you're using Nettiers and are able to do some form of mocking for the purposes of Unit testing. Battling to get my head around the idea. My idea is to create a new provider and use this provider for all my…
pedrodg
  • 115
  • 2
  • 10
0
votes
1 answer

ASP.Net project stops behaving properly when transfered to a 64bit Win2k8 server

I am having a very strange problem with an ASP.Net project using an Entity Layer, a Data Layer and a Service Layer generated using .netTiers 2.3.1. The project runs fine on my machine (32 bit WinXP machine with with IIS 6; this machine is used to…
Jean-François Beauchamp
  • 5,485
  • 8
  • 43
  • 77
0
votes
3 answers

Unit testing with generated DAL code

I use a code generator (CodeSmith with .NetTiers template) to generate all the DAL code. I write unit tests for my code (business layer), and these tests are becoming pretty slow to run. The problem is that for each test, I reset the database to…
Wookai
  • 20,883
  • 16
  • 73
  • 86
0
votes
1 answer

weird exception error in nettiers generated code

I'm having weird issues with code generated with netTiers. I've tried to use the framework provided in a simple form to save information on one of the entities created. Here is the method I'm calling from an ASPX page: public void…
stephenbayer
  • 12,373
  • 15
  • 63
  • 98
0
votes
1 answer

How to optimize netTiers data access performance?

Our environment uses classes created by netTiers to access MS SQL tables, which are accessed in VB.net applications. I have successfully sped up several queries by adding "GetBy" methods on selected db columns. However, I have created indexes for…
Ray Marsh
  • 13
  • 9
0
votes
1 answer

Validation App Block validating NetTiers entities

Here is my question: does anyone know how to set up custom validation for NetTiers entities? I have a NetTiers web solution that was generated with the EntLib 4.1 validation app block. The actual entities' properties are decorated with the…
Joe
  • 1
  • 2
0
votes
1 answer

Issue with net tiers not generating custom stored procedures

I am using Net Tiers and codesmiths to generate my data layer. For some strange reason, it is no longer generating my custom stored procedures. When I view the report at the end of the generation, it is not listing any procs, get the all exist in…
mp3duck
  • 2,633
  • 7
  • 26
  • 40
0
votes
3 answers

Has anyone used any .Net code generation frameworks in Mono? (Subsonic, .netTiers, etc..)

Mono appears to have really come a log way since the last time I really used it. I'm interested in doing some ASP.Net development using Mono. I have used .netTiers/CodeSmith at work and really enjoy the speed with which code generation gives you a…
traviscanady
0
votes
1 answer

Is there any way to add new column to an NetTiers model without using codesmith?

I have to change some legacy code that was generated with CodeSmith using NetTiers templates. I need to add some new columns and I don't have the original template neither a CodeSmith licence. Is there any way to add them without use CodeSmith?
kuhlin
  • 23
  • 1
  • 7
0
votes
1 answer

.nettiers datasource does not apply filter on query

I have a table with 13K records and a sql machine a little old. In the problematic page I have a netTiers datasource, that goes in timeout. My problem is that at page_load i set the filter: vwImmobileCommessaAttivoDataSource.Filter = "ImmobileId =…
Perry
  • 1,113
  • 2
  • 10
  • 22
0
votes
1 answer

Postgresql schema povider

I have a ASP.NET project that is used MS SQL db. DB access code is generated using CodeSmith .netTiers. Now, project will be merged with another and should use PostgreSQL db. I am looking for PostgreSQL Schema Provider for CodeSmith. But found only…
Anton
  • 9,682
  • 11
  • 38
  • 68
0
votes
1 answer

does anyone knows how to setup .nettiers with sharepoint 2010 please?

does anyone knows how to setup .nettiers with sharepoint 2010 please?
LeandroM
  • 86
  • 7
0
votes
1 answer

netTiers causes FatalExecutionEngineError in WPF

I created a brand new WpfApplication, referenced netTiers classes, stuck a DataGrid on MainWindow, and set DataGrid.ItemsSource = DataRepository.SomeViewProvider.GetAll(). This causes the returned VList to be successfully bound and displayed. After…
Stafford Williams
  • 9,696
  • 8
  • 50
  • 101
0
votes
1 answer

How can I configure a netTiers datasource to use a RouteParameter instead of a QueryStringParameter?

NetTiers works fantastic out of the box using querystrings. Eg:
Shaun3180
  • 191
  • 2
  • 9