is a community that was established to collect and organize valuable web information. Our technical staff have selected and indexed information and courses that they feel will help you stay current on best practices across the SDLC.

105 Articles match "LINQ"

  • The Best from DevelopMentor

    105 Results found
    Showing page 1 of 11   Next >

  • Introducing MongoDB and LINQ at Mongo Seattle 2011
    forgot to publish it on my … Continue reading → NoSQL.NET Conferences LINQ SpeakingHere’s a video of a short talk I gave at Mongo Seattle 2011 which is a quick getting started with.NET & MongoDB session. Enjoy! mkennedy PS – Yeah, it’s from last year.
    Michael C. Kennedy's Weblog - Thursday, March 1, 2012
  • Streaming XML using LINQ to XML (continued)
    Richard Blewett reminded me that the XmlReader.ReadSubtree method makes it even easier to use LINQ to XML with a streaming approach. NET LINQThe code sample below will load nodes from an arbitrary XML files and yield them to the caller as they’re read from file: static IEnumerable Load( string filename, string elementName). {. XmlReaderSettings settings = new XmlReaderSettings(); settings.IgnoreWhitespace = true ; using (XmlReader reader = XmlReader.Create(filename, settings)). {. while (reader.ReadToFollowing(elementName)). {. // build element from subtree.
    DevelopMentor Courses - Tuesday, November 1, 2011
  • LINQ: Convert list to a dictionary of lists
    ToDictionary( x => x.Key, x => x.ToList() ); C# LINQSuppose I have a list of time cards from multiple employees, but I want to group them into dictionary, based on the Social Security Number (SSN) of the employee. Here is an example of how to convert a list of items into a dictionary of lists: Dictionary. dict; dict = ( from timecard in listOfTimeCards. group timecard by timecard.SSN ).ToDictionary(
    DevelopMentor Courses - Monday, July 11, 2011
  • Streaming XML
    I just rediscovered this blog post about reading and parsing XML as it becomes available in conjunction with LINQ to XML: [link]. It’s a little dated, but still relevant.
    DevelopMentor Courses - Monday, October 31, 2011
  • A Roundup of MongoDB Management Tools
    LINQPad lets you interactively query databases in a modern query language: LINQ. Filed under: NoSQL Tagged: LINQ , NoSQL , Open Source. NoSQL LINQ Open Source 'I’ve been working with MongoDB for a long time now. Back in the early days, there really were no management tools analogous to RDBMS tools (e.g. SQL Server Management Studio ). Since then, things have changed significantly. It’s time to look around and see what management / monitoring tooling is around these days for MongoDB. The news is good. link]. Admin GUI). Multiple shells. Multiple results. link].
    Michael C. Kennedy's Weblog - Monday, April 22, 2013
  • LINQ Unfold Operator
    The fold is similar to the Aggregate operator in LINQ. However, there doesn’t appear to be anything like an unfold in LINQ. 'In Scheme’s SRFI-1 List library there’s a fold and unfold function. What is it exactly? The Aggregate operator takes an IEnumerable and applies a Func to the elements until you get a single result value. The unfold operation takes a  single value and returns an IEnumerable. stop(seed)) { yield return map(seed); foreach (var val in next(seed).UnFold(stop, UnFold(stop, map, next)) yield return val; } } }. Concat(new[]{t.BaseType})).Distinct();
    Handwaving - Thursday, January 15, 2015
  • Who is Improving LINQ to SQL? Plinqo by Code Smith!
    A lot of people have lingering doubts about whether to use LINQ to SQL for real-world applications, especially since Microsoft has left it to languish in favor of the new version of the Entity Framework slated for release with.NET 4.0 Nevertheless, I have a consulting client, Credit Solutions , that uses LINQ to SQL for their line-of-business web application and has had a very favorable experience working with it. In addition you’ll get better performance using LINQ to SQL (we’ll see how EF4 compares when it comes out). and Visual Studio 2010.
    Tony and Zuzana's World - Tuesday, August 4, 2009
  • What’s new in.NET Framework 4.5
    click for larger version): NET ASP.NET C# LINQ VB.NET WCF WF WPFJust came across this great picture of what’s new in.NET Framework 4.5
    DevelopMentor Courses - Monday, October 31, 2011
  • Webcast: NoSQL Movement, LINQ, and MongoDB
    Download Video (WMV) Download Audio (MP3) I’m happy to announce I’ll be doing a free webcast in the DevelopMentor webcast series on MongoDB,NET, LINQ, and … Continue reading → NoSQL Open Source Screencasts Speaking Visual Studio[Update: This webcast is in the past, but you can download the video and audio recordings.]
    Michael C. Kennedy's Weblog - Tuesday, May 11, 2010
  • The NoSQL Movement, LINQ, and MongoDB - Oh My!
    Interact with the database using LINQ. Shortly we’ll look at an example where we build out a disconnected, offline RSS reader that uses MongoDB and LINQ to store its data. You have several options when choosing how to access MongoDB from.NET but generally that means using LINQ and a light-weight object-mapper on top of MongoDB itself. Then we’d use LINQ to SQL or Entity Framework to generate the ORM classes. We begin by generating the objects (Blog, RssEntry, etc) in memory and then serializing them via NoRM to MongoDB much as you would in LINQ to SQL. Ok, ok.
    Michael C. Kennedy's Weblog - Thursday, April 22, 2010
<< 1 2 3 ... 10 11 >>