Nach Ordnungsbegriffen durchsuchen

Alle Ordnungsbegriffe » .Net (RSS)

C# Acrobatics : Lambdas and Expression Methods as a replacement for NVelocity von .Net Smoothie

I’ve been very quiet recently. (I’m trying to not be so loud, Scott. ) You see, I’ve been writing a lot of ASP.Net code for a site I’m working on. And, to be honest, I’ve been having a lot of trouble. The source code for...

Easy Data-loading with LINQ-to-SQL and LINQ-to-XML von .Net Smoothie

.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...

Design Guidelines for LINQ von .Net Smoothie

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...

Read Word Documents in a Web Browser von .Net Smoothie

I love this! Not because of the features, but because of the way it works. Tim Sneath just blogged about TextGlow - an online Word docx file reader. The docx format is XML, and Silverlight 2 apps can use LINQ-to-XML to parse it and format it for display...
Abgelegt unter: ,

Mix 08 WPF Scheduling Application von .Net Smoothie

Mix 08 seems to be much more mature than ever before. In previous years there were a lot of ideas being spoken about; this year there are much more implementations of those ideas available to look at. It seems like a lot of people have been working on...
Abgelegt unter: , , , ,

Mix 08 Online Presentations von .Net Smoothie

My favorite conference is about to start: MIX 08. It’s a great conference for Microsoft developers with an interest in the web. Last year they had some great talks about user experience and architecture. There’s always something interesting...
Abgelegt unter: , ,

ExtensionMethod.net - An Extension Methods Database von .Net Smoothie

While surfing around tonight, I came across ExtensionMethod.net, a database of useful Extension Methods for C# 3.0 and VB 9. I thought it might be useful, so I added a few of my own extension methods. IComparable<T>.LessThan int.Times int.To There...

LINQ or DIE von .Net Smoothie

I just read a fantastic quote about LINQ from the book Pro LINQ: Language Integrated Query in C# 2008 by Joseph C. Rattz, Jr.: I prefer to think of LINQ as a data iteration engine, but perhaps Microsoft didn’t want a technology named DIE. I think...
Abgelegt unter: , , , ,

Remove and Sort Those Ugly “using-Statements” von .Net Smoothie

Visual Studio 2008 has lots of goodies in it, like LINQ syntax, CSS editing, and testing tools. There’s a lesser-known feature which I really appreciate though - the “Remove and Sort Usings” command in the C# editor. You activate the...

Refactoring C# Series: Aggregation of IEnumerable von .Net Smoothie

I was recently reading this book about the Ruby programming language, and came across this piece of example code: [1,3,5,7].inject(0) {|sum, element| sum+element} -> 16 [1,3,5,7].inject(1) {|product, element| product*element} ...

A Pure ASP.Net Grid with Grouping von .Net Smoothie

One of my favorite bloggers is Matt Berseth. Nearly once a week he comes up with a post where he does something amazing with the standard ASP.Net controls. I usually read his posts in awe. He’s really good. But he’s not only is a good developer...

Start Learning Silverlight 2.0 Now von .Net Smoothie

Now this is exciting. (Well, if you’re a geek.) Silverlight 2.0 is on its way, and Scott Guthrie has posted 8 tutorials about using it. I’m off to read them now…

The LinqDataSource and the Hidden Viewstate von .Net Smoothie

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...

How to Update Data with LINQ-to-SQL von .Net Smoothie

When learning LINQ-to-SQL, it’s not immediately obvious how to do an update. Querying is easy, and there are methods for inserting and deleting. Updating usually occurs by modifying an object already known to the DataContext and then calling SubmitChanges...
Abgelegt unter: , , , , ,

Writing Custom Exception Classes the Quick Way von .Net Smoothie

Until recently I thought this was a well-known feature. After demonstrating it a few times, I found out it wasn’t. A long time ago, in an cubicle far, far away, someone created the .Net Framework. To cut a long story short, they simultaneously produced...
Mehr Beiträge Nächste Seite »