Contents tagged with .NET
-
Two ASP.NET features that are usually missed or misunderstood...T
Enter the Tilde (~)
-
Updated BicNet Projects
I have updated my projects site. This section of my bicnet website is a place where I can throw working examples of blog posts, and other things I like to show. Sometimes at home I'll find something cool, and I'll throw it up there for my manager to see.
-
A Quick refresher on List<T>
I'm a big fan of .NET Generics. In fact, I can't believe I lived without them in .NET 1.1. Generics are pretty much the most powerful feature for C# 2.0. They allow you to define type safe data structures. They give a huge boost in performance, and they allow us to move away from DataTables and DataSets when it comes to collections of standard data.
Microsoft's MSDN has a great article that explains more about generics. You can find it here.
What I intend to give you in this short blog is a quick refresher on the List<T>. I've always loved this strongly typed list, and I cannot work without it.
Let's take the class Ninja (Now remember there's a whole lot more to Ninjas than just their age and name):
*Note this isn't the best made class, so please don't quote me on this one :P -
Tools I cannot work without.
I posted an article about Sites, References and Articls that I cannot work without awhile back. I decided I'd follow up on it on tools I cannot work without.
-
MS is releasing the source code for the .NET Framework libraries
I'm not in the habbit of doing a blog post that refers to a blog post that someone else has blogged on their blog... however this is awesome news! Scott Guthrie posted this today.
Microsoft is releasing their source code for the .NET Libraries. This is huge for control developers, heck all developers. However, after reading this a bit on the net I noticed a few people were really weary of this and some were almost down right un-happy. I still believe this is a good thing, and great things will come from it.
Microsoft's development teams have been bending over backwards the past couple years!
Awesome job MS! -
Quickies vs. Performance - Part 1
One thing I've noticed of the past few years is the amount of developers/programmers/ninjas that do take the easy and quick way to do certain tasks.
With each release of .NET things get easier for us. Things are bundled together, we have to do fewer checks, and it's all nice. But, as much as we're being spoiled by all these cool encapsulated functions, we're forgetting some very basic coding practices.
C# has garbage collection, so why should we have to destroy objects? There are timeouts on SQL Connections, so why should we close DataReaders? Servers these days are so powerful it's ok if I make every ASP.NET object global... it makes my code easier...
What's happened to us? Now some of you might think: "That can't be so Ryan. No one would do that." Unfortunately it's true. With many new developers hitting the main stage this is becoming more and more of an epidemic. -
Master Pages, buttons, Login Control, and the default button
<asp:Panel ID="pnlLogin" runat="server" DefaultButton="LoginButton">