posts - 4238, comments - 3946, trackbacks - 370

My Links

News



Subscribe Subscribe

image image image





This is my personal weblog. These postings are provided 'AS IS' with no warranties, and confer no rights. The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employer.

Licenza Creative Commons

Tag Cloud

Archives

Post Categories

Migrare da CMAB a Enterprise Library...

Visto che ho una giornata pacco, ho pensato di migrare dal CMAB ad Enterprise Library una mia applicazione...

Ecco le prime cose da cambiare:

There are significant differences between the Enterprise Library Configuration Application Block version 1.0 and earlier configuration application blocks:

  • This version of the application block includes support for storing configuration data in XML files. If you have used other types of data stores, such as the Windows registry or a SQL database, you can either create a custom storage provider and transformer, or you can convert your data to XML.
  • There is no longer support for using name/value pairs to represent configuration data or for hashtable serialization. To read configuration data into your application or to write it to a configuration file, you declare a class that will contain the data. This class should be able to use the output of the transformer.

Ok... per la prima cosa no problem... per la seconda... che stress...

Era così comoda... e vabbò... vai a riscrivere...

Mi chiedo... ma se poi aggiorno l'applicazione, i file di configurazione me li leggerà... o devo fare come Andrea in IMHO?

Vedremo...

Intanto io commento le cose e non le cancello...

Print | posted on giovedì 10 marzo 2005 16:12 |

Comments have been closed on this topic.

Powered by:
Powered By Subtext Powered By ASP.NET