in
tri
home of the trivadians

Nach Ordnungsbegriffen durchsuchen

  • Easy Data-loading with LINQ-to-SQL and LINQ-to-XML

    .Net 3.5 had some nice tricks in it. LINQ-to-XML was one of them. With the new "X"-types, you can make working with XML really easy. VB.Net 9 takes it one step further, and lets you write XML in your code without strings. "Hey Rich, that’s old news," I hear you say. "And who’s...
    Erstellt in Richard's blog (Weblog) von Anonymous am 03-20-2008
  • Design Guidelines for LINQ

    Have you wondered if and when you should use the new LINQ features in .Net 3.5? Like, where should I put a new extension method? Should I use Func<T> or a custom delegate? How do I best implement a mix-in (extension methods on an interface)? Well, Mircea Trofin has just published a new draft...
    Erstellt in Richard's blog (Weblog) von Anonymous am 03-13-2008
  • The LinqDataSource and the Hidden Viewstate

    Yesterday I thought I’d learn about the LinqDataSource in ASP.Net 3.5, and got an interesting surprise. The new LinqDataSource can also be used with a LINQ-to-SQL model to perform updates. You simply add the DataSource to your page, set the table name, and set EnableUpdate to true. Then, using...
    Erstellt in Richard's blog (Weblog) von Anonymous am 02-21-2008
  • Calculating the Fibonacci Sequence with C# 3.0

    Scott Hanselman just posted his latest article in his weekly source code series. He shows various ways of producing the Fibonacci Sequence using various languages. I found it really interesting, for two reasons: I tried to do the C#3.0 one on my own after listening to a podcast about F#, and never could...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-24-2008
  • Using LinqPad to Create a Time-Selector Drop-Down List

    I am really getting into LINQ now! I think it’s fantastic. I recently wanted to develop a quick drop-down list in ASP.Net which allows a user to select a time of day from a list. The times are 15 minutes apart, so the list would look like this: … 08:00 08:15 08:30 08:45 09:00 … …...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-18-2008
  • Using Lambda Expressions with LINQ to SQL

    When using LINQ, you need to be careful to use the right kind of Lambda expression. “What, there is more than one kind?”, I hear you gasp. There sure is! And if you aren’t careful, you’ll get a nice little message at runtime to tell you: “System.Object DynamicInvoke(System...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-16-2008
  • Inserting into a Table with LINQ to SQL

    While creating a little project, I wanted to know how to insert an object into a table using LINQ to SQL. Using Intellisense it wasn’t obvious at all. Scott Guthrie wrote a post on how do it. Unfortunately, the method name has changed since he did it, so you need to call InsertOnSubmit on the Table...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-15-2008
  • Efficient Software Development with Visual Studio Team System 2008

    I was recently asked to do some research and give a presentation about using Visual Studio Team System 2008. I thought I’d experiment with Slideshare.net and post it here. The presentation was for a large corporation, and will possibly not come across as being very useful for an online presentation...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-12-2008
  • Can You Pass an Anonymous Type Across Functions?

    One of the biggest questions with Anonymous Types is “can I pass them around?” If not, why not? Can you do something like this, for example: var GetAnonymousValue() { return new { Name = “Richard Bushnell” }; } void Main() { var value = GetAnonymousValue(); var name = value.Name;...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-08-2008
  • Are you keeping up with software development?

    DotNetRocks, the internet talkshow for .Net developers, has a great show about development changes over the past 20 years. Carl Franklin interviews Kathleen Dollard, who has put a list of changes together, and is publishing them online. If you want to know where you currently stand in your software development...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-08-2008
Seite 1 von 1 (10 Treffer)
/