Simple TDD Visual Studio Templates

To speed up the creation of solutions like these, I’ve created two templates to plug into Visual Studio to do it for you. There’s one for testing with MbUnit 2.3 RTM and one for NUnit 2.2.9. Download the one you want to your VS2005 Project Templates folder and then create a new project. You’ll see the options to use the templates automagically. FONTE: Dan’s Archive post: http://blogs.ipona.com/dan/archive/2007/01/02/SimpleTDDVisualStudioTemplates.aspx

May 8, 2007 · 1 min · Carlo Bertini [WaYdotNET]
#Uncategorized

Simple NHibernate Architecture

By Cassio Alves. Introduction I started using NHibernate at the end of last year and I am having a wonderful experience with it. The simple fact that I don’t have to maintain hundreds of procedures and data access abstraction classes to do basic CRUD operations is enough to justify the use of NHibernate (even though I used a custom code generation tool). Besides that, my code is amazingly clearer and simpler. I only need to worry about business and user interface logic now. All that pluming code has gone for good. ...

April 27, 2007 · 2 min · Carlo Bertini [WaYdotNET]
#Uncategorized

Simple NHibernate Architecture

By Cassio Alves. Introduction I started using NHibernate at the end of last year and I am having a wonderful experience with it. The simple fact that I don’t have to maintain hundreds of procedures and data access abstraction classes to do basic CRUD operations is enough to justify the use of NHibernate (even though I used a custom code generation tool). Besides that, my code is amazingly clearer and simpler. I only need to worry about business and user interface logic now. All that pluming code has gone for good. ...

April 27, 2007 · 2 min · Carlo Bertini [WaYdotNET]
#Uncategorized

TDD using SqlCE and NHibernate

This article demonstrates how to use SQL Compact Edition to perform database unit testing of your Repository/DAO classes. More often than not, I cringe at the thought of performing database testing against the development database. It would be much easier and logical to perform database tests against a disposable datasource. This is where In-Memory and Embedded databases come into play. Fonte: http://www.codeproject.com/useritems/TDD_and_SqlCE.asp

April 17, 2007 · 1 min · Carlo Bertini [WaYdotNET]
#Uncategorized

NHibernate Plugin for Visual Studio 2005

NHibernate Plugin for Visual Studio 2005 A graphical designer for Visual Studio 2005. The plugin provides drag and drop composition of an object model, from the Server Explorer. All required .hbm.xml hibernate mapping files are generated, along with the required entity class source files (C#). link: http://sourceforge.net/projects/nhibernateaddin/

April 2, 2007 · 1 min · Carlo Bertini [WaYdotNET]
#Uncategorized

Prova nuova di c#

Vediamo se riesco a pubblicare sto codicillo o ci devo diventare scemo + di quello che sono oggi :D /* * Created by: WaYdotNET [Carlo Bertini] * Created: 18.34.28 * NameSpace: GestioneOttica.DomainModel.Cliente.Anagrafe */ using System; namespace GestioneOttica.DomainModel.Cliente { public class Anagrafe { #region private fields private string _nome; private string _cognome; private string _codiceFiscale; private Nullable<DateTime> _dataNascita; private string _professione; private string _iva; private string _ditta; #endregion #region protected members #endregion #region public properties public string nome { get { return _nome; } set { _nome = value; } } public string cognome { get { return _cognome; } set { _cognome = value; } } public string codiceFiscale { get { return _codiceFiscale; } set { _codiceFiscale = value; } } public DateTime? dataNascita { get { return _dataNascita; } set { _dataNascita = value; } } public string professione { get { return _professione; } set { _professione = value; } } public string iva { get { return _iva; } set { _iva = value; } } public string ditta { get { return _ditta; } set { _ditta = value; } } #endregion #region system.object overrides #endregion #region constructor #endregion } } ...

March 20, 2007 · 1 min · Carlo Bertini [WaYdotNET]
#Uncategorized

Struttura OpenOttica

Il nome del programma è “OpenOttica” visto che ho intenzione di rilasciare i codici sorgenti di questo applicativo (appena ho tempo mi leggo un paio di licenze e ve la comunico). Prima di tutto va detto che verrà sviluppato con il .NET 2.0 e come database Mysql/SQLExpress/SQLite poi da decidere quale utilizzare in “produzione”. Altra cosa, se un giorno riesco cerco di farlo girare pure su MONO …. ma non credo, visto che ancora ci sono delle PINVOKE che SQLite utilizza e che MONO allo stato attuale non supporta. ...

March 1, 2007 · 1 min · Carlo Bertini [WaYdotNET]
#OpenOttica

Sistemazione Interfaccia blog

Appena avro’ un po di tempo dovrei sistemare almeno l interfaccia del blog e farla un pochino + personalizzata (dato che x ora nn è personalizzata x niente :D:D::D)

March 1, 2007 · 1 min · Carlo Bertini [WaYdotNET]
#Uncategorized

italia.it ----> FINALMENTE

Finalmente è online il portale da 45 milioni di eurozzi che abbiamo sborsato!!!! EVVAI!!!! peccato che di accessibilità non si trova traccia peccato che solo chi “vede” puo’ navigare peccato che è lento ( 1 minuti con adsl 640 !!!! e chi ha solo pstn ???? come io a casa???) peccato che nel codice ci stanno tante di quelle righe vuote inutili che sprecano solo banda peccato che nn si trovano traccia di meta tag peccato che si fa un uso SPROPOSITATO di tabelle e nn ci sono traccia di div !!!!!! (ma chi caxxo lo ha fatto ?? tra un po lo facevo meglio io…..ed è tutto dire :D:D:D:D ) peccato che solo il prezzo del logo è di 100.000 euro (minchia !!!!! ) peccato che l hanno fatto e sputtanato 45 milioni di euro !!!!!! ...

February 23, 2007 · 1 min · Carlo Bertini [WaYdotNET]
#Uncategorized

NHibernateDataSource: A DataSourceControl for ASP.NET 2.0

NHibernateDataSource: A DataSourceControl for ASP.NET 2.0 A DataSourceControl for querying and binding to NHibernate entities, and other useful stuff http://www.codeproject.com/useritems/NHibernateDataSource.asp

February 7, 2007 · 1 min · Carlo Bertini [WaYdotNET]
#Uncategorized