"…mais ce serait peut-être l'une des plus grandes opportunités manquées de notre époque si le logiciel libre ne libérait rien d'autre que du code…"

Articles Tagués ‘mono’

Les dernières nouvelles du monde DotNet : ADO.NET Data services, LINQ, Mono 1.2.6, Visual studio 2008, silverlight2.0

Publié par patrick le décembre 13, 2007

En vrac:

- 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 method of 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)

- LINQ

  • 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 research project. LINQ has been released as a part of of .NET Framework 3.5 on November 19, 2007.")

- Visual Studio 2008

- Mono

  • 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.")

- silverlight

ironpython

  •  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.")

Publié dans Acces aux données, AJAX, Développement logiciel, multi-core, python, REST, RIA | Tagué: , , , , , , , , , , | Leave a Comment »

Le futur proche de DotNet: Mono, VisualStudio 2008, C#3, ..NET3.5, Ironpython2.0, LINQ

Publié par patrick le octobre 19, 2007

Des nouvelles en provenance de:

  • http://www.asp-php.net/tutorial/asp.net/linq-1.php ("Cette article est, je l’espère, le première d’une série que j’ai décidé de nommer « LINQ et vous ». Force est de constater que dans la lignée de mes articles précédent relatifs au .NET Framework 2.0 et Visual Studio 2005, nous avons toujours dans cette nouvelle version une convergence de plus en plus forte des langages et outils de développements associés")
  • http://www.asp-php.net/tutorial/asp.net/linq-2.php?page=1 ("L’objectif est toujours de nous amener pas à pas vers la finalité de l’évolution du .NET Framework en version 3.5. Poursuivons ainsi notre découverte du .NET Framework 3.5 et de son écosystème !")

Evolution des produits Visual Studio

Les principaux enseignements de ces billets:

  • Les versions de Framework et de la CLR ne sont pas pas associés. Entre 2005 et 2008 c’est toujours la machine virtuelle CLR V2.0=="Vous pouvez ainsi faire évoluer aisément vos applications actuelles vers les nouvelles librairies du .NET Framework 3.0 ou 3.5"
  • les nouveautés des langages viennent non pas de la modification de la CLR mais des demandes des développeurs pour le développement de LINQ
  • "Les évolutions du .NET Framework de la version 2.0 à 3.5 peuvent être en quelque sorte considérées comme des ajouts de nouvelles librairies basées elles-mêmes sur le .NET Framework 2.0 et de ce fait la CLR 2.0.
  • Les projets Visual Studio 2005 sont récupérables sans migration dans Visual Studio 2008.
  • Visual Studio 2008 vous permet de sélectionner la version du .NET Framework que vous souhaitez cibler pour chaque projet mais plus encore de modifier cette cible à tout moment !

Historique de .Net Framework

Source: http://www.asp-php.net/tutorial/asp.net/linq-2.php?page=1

"Voici pour rappel, quelques dates clés :

  • 2002 : .NET Framework 1.0
  • 2003 : .NET Framework 1.1
  • Fin 2005 : .NET Framework 2.0
  • Fin 2006 : .NET Framework 3.0
  • Fin 2007 (début 2008) : .NET Framework 3.5"

Historique .NET framework

Autres sites à consulter

  • LINQ (http://en.wikipedia.org/wiki/Language_Integrated_Query , "Language Integrated Query (LINQ), pronounced "link", is a Microsoftsyntax reminiscent of SQL to .NET Framework programming languages, initially to the Visual Basic .NETC# languages. Many of the concepts that LINQ has introduced were originally trialled in Microsoft’s research project. LINQ defines project that adds a native querying and standard query operators that allow code written in LINQ-enabled languages to filter, enumerate, and create projections of several types of collections using the same syntax. Such collections may include arrays, enumerable classes, XML, datasets from relational databases, and third party data sources. The LINQ project uses features of version 2.0 of the .NET Framework, new LINQ-related assemblies, and extensions to the C# and Visual Basic .NET languages. Microsoft has distributed a preview release of LINQ, consisting of those libraries and compilers for C# 3.0 and Visual Basic 9. LINQ is planned for release with the ‘Orcas‘ version of Visual Studio 2008. [6] The release date for Visual Studio 2008 has been announced by Microsoft as February 27, 2008.")

Les fils de syndication

Publié dans C_sharp, DotNet | Tagué: , , , , , , , , , | Leave a Comment »

 
Suivre

Recevez les nouvelles publications par mail.

Joignez-vous à 74 followers