Les dernières nouvelles du monde DotNet : ADO.NET Data services, LINQ, Mono 1.2.6, Visual studio 2008, silverlight2.0
Posted by patrick sur décembre 13, 2007
– ADO.NET Data Services (Astoria Project)
- http://astoria.mslivelabs.com/ (« The new wave of web applications are built on technologies such as AJAX and Microsoft Silverlight that enable developers to build better, richer user experiences. These technologies bring a shift in how applications are organized, including a stronger separation of presentation from data. ADO.NET Data Services (also known as Project code name “Astoria”) consists of a combination of patterns and libraries that enables any data store to be exposed as a flexible data service, naturally integrating with the Web, that can be consumed by Web clients within a corporate network or across the Internet. ADO.NET Data Services uses URIs to point to pieces of data and simple, well-known formats to represent that data, such as JSON and ATOM/APP. This results in data being exposed to Web clients as a REST-style resource collection, addressable with URIs that agents can interact with using standard HTTP verbs such as GET, POST, or
DELETE. » Je rajoute un bémol à la dernière phrase qui est inexacte: DELETE n’est pas un verbe HTTP. Pour rappel voir le billet que j’avais écrit à propos de Django: The
methodof an HTML form is limited to GET and POST. PUT and DELETE are not allowed. This isn’t some failure of browser vendors to properly implement the specification either. The HTML specification only allows GET and POST as form actions. XHTML and even XForms 1.0 don’t change this. This means it’s impossible to build a fully RESTful client application inside a web browser. Consequently everyone tunnels everything through POST, and simply ignores PUT and DELETE)
- http://tirania.org/blog/archive/2007/Oct-24.html (« OpenSource LINQ providers: The Db_Linq is an open source project to create a LINQ provider for other databases. The project is lead by George Moudry and so far has providers for PostgreSQL, Oracle and Mysql. George keeps a blog http://code2code.net/wordpress/ where you can track the development of DbLinq. Thanks to Bryan for pointing me out to this fantastic piece of code. Mono users on Linux will now be able to use LINQ with open source databases from C# (in addition to our in-memory and XML providers). Update: A nice blog entry talks about Parallel LINQ. A version of LINQ that can be used to parallelize operations across multiple CPUs:
IEnumerable data = …;
// Regular code:
var q = data.Where(x => p(x)).
Orderby(x => k(x)).Select(x => f(x));
foreach (var e in q) a(e);
// Parallelized version, add the « AsParallel » method:
var q = data.AsParallel().Where(x => p(x)).
Orderby(x => k(x)).Select(x => f(x))
See more details about the above in the Running Queries On Multi-Core Processors article.« )
- http://spellcoder.com/blogs/bashmohandes/archive/2007/10/14/8530.aspx (« I’ve been hearing about PLINQ (Parallel Linq) since the first days of announcing LINQ, the idea of making use of the new functional style programming provided in DotNet 3.5 in order to give better performance on Multi Core machines, the idea sounds cool since first day, and it now comes true in a new name Parallel FX or PFX. The programming model provided is quite simple and utilizes the same LINQ model, the new assembly is called System.Concurrency.dll which is the library that contains the new interface called IParallelEnumerable<T>, also it adds an extension methods for all collections and arrays that implement old IEnumerable, the extension method is called AsParrallel<T> which converts any collection to a Parallel enabled collection of type IParallelEnumerable<T> »)
- http://en.wikipedia.org/wiki/Language_Integrated_Query (« Language Integrated Query (LINQ, pronounced « link ») is a Microsoft .NET Framework component that adds native data querying capabilities to .NET languages using a syntax reminiscent of SQL. Many of the concepts that LINQ has introduced were originally trialled in Microsoft’s Cω research project. LINQ has been released as a part of of .NET Framework 3.5 on November 19, 2007. »)
- http://blogs.developpeur.org/redo/archive/2007/11/20/visual-studio-2008-net-3-5-big-picture-de-la-gamme-de-produits-2008-plus-compliqu-e-que-2005-pas-forcement.aspx (« Téléchargements de Visual Studio 2008
- Livre Blanc : Vue d’ensemble de Visual Studio 2008
- Les version Visual Studio 2008 Express Edition
- http://en.wikipedia.org/wiki/Microsoft_Visual_Studio (« Express editions of Visual Studio have been released by Microsoft for lightweight streamlined development and novice developers. The Express editions for the latest version, Visual Studio 2008 include:
- Visual Basic (.NET) 2008 Express Edition
- Visual C# 2008 Express Edition
- Visual C++ 2008 Express Edition
- Visual Web Developer 2008 Express Edition.
Visual Studio 2008, code-named Orcas, is the successor to Visual Studio 2005. It was released to MSDN subscribers on 19 November 2007.NET Framework 3.5. The codename alongside Orcas is, like Whidbey, a reference to an island in Puget Sound, Orcas Island. The source code for the Visual Studio 2008 IDE will be available under a shared-sourceMicrosoft‘s partners and ISVs. license to some of
Visual Studio 2008 is focused on development of Windows Vista, 2007 Office system, and Web applications. Among other things, it brings a new language feature, LINQ, new versions of C# and Visual Basic languages, a Windows Presentation Foundation visual designer, and improvements to the .NET Framework. It also features a new HTML/CSS editor influenced by Microsoft Expression Web. »)
- http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express (« Microsoft Visual Studio Express is a set of free integrated development environments developed by Microsoft that are lightweight versions of the Microsoft Visual Studio 2008 (codenamed Orcas) product line. The idea of express editions, according to Microsoft, is to provide a streamlined, easy-to-use and easy-to-learn IDEs for less serious users, such as hobbyists and students. The stable versions were released on November 19, 2007. In line with popular demand since the Visual Studio 2005 Express Editions, these editions will always remain free.« )
- http://www.mono-project.com/news/archive/2007/Dec-12.html (« We have just released Mono 1.2.6. Some of the highlights for this release include:
- Native Windows.Forms driver for MacOS X allows Winforms-based applications to run without an X server.
- Support for the ASP.NET AJAX APIs and controls.
- Support for FastCGI deployments: ASP.NET can now be deployed on a multitude of servers that implement the FastCGI protocol (lighttpd for example) in addition to Apache.
- Windows.Forms now supports the WebControl on Windows and Linux using Mozilla.
- Runtime will now consume much less memory for 2.0-based applications due to various optimizations in generics support as well as including many new performance improvements and an updated verifier and an implementation of CoreCLR security.
- C# compiler is quickly approaching full 3.0 support, most of the basics work right now (except support for System.Query.Expression AST generation).
- Mono 1.2.6 can now be used as an SDK for creating Silverlight 1.1 applications on all platforms. This allows developers to create applications that target Silverlight without requiring a Windows installation.« )
- http://en.wikipedia.org/wiki/Microsoft_Silverlight (« Microsoft SilverlightWindows Presentation Foundation/Everywhere or WPF/E) is a runtime for browser-based Rich Internet Applications, providing a subset of the animation, vector graphics, and video playback capabilities of Windows Presentation Foundation. The runtime is availableMicrosoft Windows and Mac OS X, with Linux support under development via the third-party Moonlight runtime. Silverlight competes with Adobe Flash and with Sun Microsystems‘ JavaFX, launched a few days after Silverlight. . It offers a alternative to Ajax programming techniques, which are commonly used to provide an improved user interface. Version 2.0 (previously known as version 1.1), which is currently under development, will include a mostly-complete subset version of the .NET Common Language Runtime named (code-named for CoreCLR, so that Silverlight applications can be written in any .NET language…Silverlight 2.0 is distributed with the Dynamic Language Runtime which allows dynamic compilation and execution of dynamic (scripting) languages. The first available languages written for the DLR are Managed JScript and IronPython 2.0. Microsoft is also building IronRuby and Dynamic Visual Basic (VBx) languages…Microsoft has positioned Expression Blend 2.0 for designing the UI of Silverlight applications. Visual Studio 2008 can be used to develop and debug Silverlight applications. However, Visual Studio 2008 requires the Visual Studio Tools for Silverlight (currently an alpha release) to create Silverlight projects, and let the compiler target CoreCLR…Microsoft has also been criticized for ignoring existing international standards for Silverlight. According to Ryan Paul of Ars Technica, this is consistent with Microsoft’s ignoring of open standards in other products, as well.the antitrust case settlement for another five years,Adobe Flash competitor », says a Seattle Post-Intelligencer article California and several other U.S. States have asked a District Judge to extend Microsoft’s citing « a number of concerns, including the fear that Microsoft could use the next version of Windows [expected in approximately 2010] to ’tilt the playing field’ toward Silverlight, its new Adobe Flash competitor », says a Seattle Post-Intelligencer article.« )
- http://ironpython-urls.blogspot.com/2007/12/ironpython-studio-now-available.html ( » IronPython Studio is a free full IDE (Integrated Development Environment) for the Python programming language. It is based on the existing IronPython example that is included in the VS SDK. IronPython Studio is based on the Visual Studio 2008 Shell runtime (royalty free) and can be installed without requiring any version of Visual Studio. It is hosted on codeplex. Installer, source and screencast are available from the download page. The sources require Visual Studio 2008 (Team Edition apparently) and the SDK. NOTE: Some users (myself included) had trouble getting this working. The magic steps are:
- Download and install the Visual Studio X redistributable from: Visual Studio Extensibility
- After you run the Install for the MS VS 2008 Shell Isolated Mode Redistributable, you must then go to the folder (« C:\VS 2008 Shell Redist\Isolated Mode« ) and click on: « vsshellisolated_enu.exe » to actually install the redistributable runtime.
- Install IronPython Studio. Thanks to Tom Clark for the instructions. »)