Skip to main content

Lindsay Donaghe's Library tagged .Net   View Popular

13 Jun 08

Rocket Surgery » .NET Web Service Studio 2.0 - Download Here

This is a tool that lets you call a webservice without having to create a test project/proxy. It used to be on GotDotNet but since they went away this seems to be one of the few places you can still get the app.

mattharrah.com/...net-web-service-studio-20 - Preview

.net webservices tools development web downloads free software

20 May 08

Linq: The Missing ToDictionary Extension Method Overload - Omer van Kloeten's .NET Zen

An extension method for getting a generic dictionary back from a collection of KeyValuePairs... just a bit of a shortcut from using the overload with two params, but handy.

weblogs.asp.net/...6121417.aspx - Preview

generics C# .Net codesnippets

  • public static Dictionary<TKey, TValue> ToDictionary<TKey, TValue>(this IEnumerable<KeyValuePair<TKey, TValue>> enumeration)
    {
    // Check to see that enumeration is not null
    if (enumeration == null)
    throw new ArgumentNullException("enumeration");

    return enumeration.ToDictionary(item => item.Key, item => item.Value);
    }
14 May 08

Yield and generics rock! - Tales from the Evil Empire

How to create a filter for generic lists (or other IEnumerable objects) without creating a temporary list first. Illustrates how to use the yield statement as well and create your own generic enumerator.

weblogs.asp.net/...223531.aspx - Preview

C# .Net codesnippets development generics

  • public sealed class FilteredEnumerable<T> : IEnumerable<T>, IEnumerable {

      private IEnumerable<T> _enumerable;
      private Predicate<T> _filter;

      public FilteredEnumerable(IEnumerable<T> enumerable, Predicate<T> filter) : base() {
        _enumerable = enumerable;
        _filter = filter;
      }

      IEnumerator<T> IEnumerable<T>.GetEnumerator() {
        foreach (T item in _enumerable) {
          if (_filter == null || _filter(item)) {
            yield return item;
          }
        }
      }

      IEnumerator IEnumerable.GetEnumerator() {
        return (IEnumerator)(((IEnumerable<T>)this).GetEnumerator());
      }
    }
  • string[] stringsToFilter = new string[] {"Red", "Green", "Blue", "Pink"};
    Predicate<string> filter = delegate(string stringToFilter) {
      return (stringToFilter.IndexOf('e') != -1);
    };
    filteredStrings = new FilteredEnumerable<string>(stringsToFilter, filter);

Microsoft Live Labs : Volta

A library that is similar to RJS in Ruby on Rails. It lets you write code in C# which can be spilt into tiers. The client tier is translated into the equivalent Javascript. Still a CTP and not sure how it fits in with ASP.Net (or if it does) yet.

labs.live.com/volta - Preview

javascript web development microsoft beta library downloads C# .Net

13 May 08

Kyle Baley - The Coding Hillbilly

A good blog on .Net and ASP.Net programming topics plus a bit of country humor.

codebetter.com/...default.aspx - Preview

blog web development .net asp.net

13 Apr 08

CodePlex.SpaceBlock - Home

An open-source Windows application written in .Net to manage your S3 account buckets and files. The most useful feature (that you don't have in S3 Fox) is the ability to generate a signed URL for sharing files with people.

www.codeplex.com/spaceblock - Preview

amazons3 opensource free downloads software .net c# development tools filestorage

09 Apr 08

The New Lambda Expressions Feature in C# 3.0

Code sample that compares performing the same function using anonymous functions, lambda and generic extensions. Good examples to see the differences in the syntax approaches.

www.developer.com/...3598381 - Preview

c# .Net microsoft codesnippets tutorials development lambda

21 Mar 08

Tip/Trick: Building a ToJSON() Extension Method using .NET 3.5 - ScottGu's Blog

Tutorial example of how to use object extension in .Net 3.5. Create a JSON convertor for an object. Interesting implications here, similar to prototyping in Javascript.

weblogs.asp.net/...sion-method-using-net-3-5.aspx - Preview

.net c# development microsoft oop tips tutorials

Tip/Trick: Automating Dev, QA, Staging, and Production Web.Config Settings with VS 2005 - ScottGu's Blog

How to make the shift from environment to environment a bit easier with VS2005+ using config files for each enviornment with the VS Configuration Manager.

weblogs.asp.net/...fig-settings-with-vs-2005.aspx - Preview

.net configuration development ide tips tutorials visualstudio web

DotNet Ajax Frameworks - Ajax Patterns

A list and summary of features of many of the ASP.Net integrated Ajax libraries. Good reference to explore options.

ajaxpatterns.org/DotNet_Ajax_Frameworks - Preview

.net ajax development downloads framework library linklist web

1 - 11 of 11
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo