martedì 1 maggio 2007
Giornata ricca di annunci... Ora è la volta di ASP.NET Futures:
The Microsoft ASP.NET Futures May 2007 (“Futures”) release contains an early developer preview of features providing a wide range of new functionality for both ASP.NET and Silverlight™. The functionality in the Futures release includes early experimental versions of features currently being considered for future versions of ASP.NET and the .NET Framework. The Futures releases assume prior knowledge of the core features of ASP.NET including the previous ASP.NET AJAX Futures January CTP. Features in this release include ASP.NET Silverlight server controls, new functionality for ASP.NET AJAX Extensions, dynamic data controls, enhancements to dynamic languages, and more.
Clic qui per il download.
The Microsoft Codename "Astoria" CTP toolkit enables developers to create and consume Data Services for the Web. These services expose application data over a simple HTTP interface that can be consumed by AJAX-based web sites and Rich Interactive Applications.
[...] The goal of Microsoft Codename Astoria is to enable applications to expose data as a data service that can be consumed by web clients within corporate networks and across the internet. The data service is reachable over regular HTTP requests, and standard HTTP verbs such as GET, POST, PUT and DELETE are used to perform operations against the service. The payload format for the data exchanged with the service can be controlled by the client and all options are simple, open formats such as plan XML and JSON. The use of web-friendly technologies make it ideal as a data back-end for AJAX-style applications, Rich Interactive Applications and other applications that need to operate against data that is across the web.
La
CTP di Maggio 2007 richiede Orcas Beta 1 e può essere scaricata da
questa pagina.
E' stata rilasciata la CTP di Maggio 2007 di Robotics Studio 1.5. Il download è disponibile qui.
Un paio di giorni fa sono andato sul sito http://www.microsoft.com/Expression per scaricare la RC di Expression Blend, che volevo provare in accoppiata ad Orcas. Questa sera, invece, ho prelevato la beta di Silverlight 1.0. Leggendo il file Welcome.htm incluso nell'SDK, ho trovato il link per Microsoft Expression Blend 2 May Preview, di cui finora non avevo sentito parlare. A questo punto mi è venuto un dubbio e sono tornato sul web per verificare una cosa... E avevo ragione: la pagina di download di Expression Blend offre la possibilità di scaricare una versione di prova, valida per 60 giorni, ma non viene più fatto cenno alla RC. Un'occhiata alla pagina delle FAQ lo conferma: Expression Blend è stato rilasciato in RTM. Forse mi sono perso qualcosa, ma mi sembra che questo rilascio sia passato inosservato...
Il Team Explorer Client di Visual Studio non consente di eliminare i progetti creati su Team Foundation Server. Per questo scopo, è necessario utilizzare il tool a riga di comando TFSDeleteProject.exe. E' molto importante ricordarsi di specificare il parametro /force, altrimenti può capitare che non vengano eliminati tutti gli elementi del progetto.
Quando si crea un DAL utilizzando SQLMetal oppure il LINQ to SQL Designer, la classe prodotta contiene anche tutte le informazioni sullo schema del database. Grazie ad esse e ai metodi esposti dalla classe DataContext, è sufficiente invocare un paio di metodi per verificare l'esistenza del database e ricrearlo con la sua struttura originale qualora non sia presente sul server:
using (DatabaseDataContext db = new DatabaseDataContext())
{
if (!db.DatabaseExists())
db.CreateDatabase();
}
Questo codice si rivela utile, ad esempio, durante la prima esecuzione di un programma, per creare la base di dati che sarà poi utilizzata dal software.
Non è espressamente indicato nella pagina del download, ma la Virtual Machine di Orcas Beta 1 contiene anche SQL Server 2005 Express Edition SP2. Per accedere al Database Engine, oltre al Server Explorer di Visual Studio, è possibile installare il tradizionale SQL Server Management Studio Express SP2.