Nach Ordnungsbegriffen durchsuchen

Alle Ordnungsbegriffe » Design » .Net (RSS)

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

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: , , , ,

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: , , , , ,

ASP.Net MVC Corollary - What to do? von .Net Smoothie

Dude! I got quoted! And by none other than Rob Conery of SubSonic fame. It seems like my last post caused quite an unexpected stir. Thanks to both Rob and Scott for taking the time to answer me. I really appreciate it. A Word of Appreciation Let’s...

Calculating the Fibonacci Sequence with C# 3.0 von .Net Smoothie

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

Using LinqPad to Create a Time-Selector Drop-Down List von .Net Smoothie

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:...
Abgelegt unter: , , , , ,

A simple Mix-in with C# 3.0 von .Net Smoothie

Heard of mix-ins? They’re an alternative to multiple inheritance, made popular recently by Ruby. Basically, you can use them to “mix in” methods from an interface with their implementations into a class. In Ruby you can do this by including...

Qualities of a .Net Application Design von .Net Smoothie

When designing a new software application, what qualities do you need to address? A list of runtime and development-time qualities is presented with questions regarding their implementation. A discussion of priorities.