maintenance

For some reason, installing my new keyboard today got me started looking at certain things on my PC and applying some upgrades. First, I upgraded the drivers for my video card, since I discovered that I’d been getting some weird messages in the event log related to my video card. Then, I remembered that I hadn’t gotten around to installing SP1 for Visual Studio 2005, so I went ahead and did that too. Both of those things are pretty big installs, so that killed about four hours, between downloading and installing. Maybe I should consider doing a year-end backup tomorrow, too.

computer books

I just finished ASP.NET 2.0: A Developer’s Notebook. Looking back through old posts, it appears that I’ve been working my way through this one for quite a while now. Oh well. The next book in my stack is Expert C# Business Objects which, according to Amazon, I bought on Sept 20, 2005. So I guess it’s about time to crack it open, right? Of course the C# 2005 version is out now. I’d like to read that one instead, but I don’t want to just toss out a $60 computer book. I guess I’ll start reading the one I’ve got, then maybe think about “upgrading” to the new one if it’s really interesting.

ASP.NET 2.0 – client callbacks

The client callback mechanism in ASP.NET 2.0 was apparently changed during the beta, at some point after the book I’m reading was written. To their credit, O’Reilly covers this in a doc file posted on their site.

Also, this page at the quickstarts.asp.net site describes the current mechanism briefly, and this article on the MSDN site gives a bit more detail.

ASP.NET 2.0 ObjectDataSource

The ASP.NET 2.0 book I’m reading has a simple example of using an ObjectDataSource bound to a GridView. I’m always a little suspicious of wizard-generated stuff like this, but I’m willing to give it a try. The example in the book did not actually work, though, and a few minutes of poking around didn’t reveal anything obvious that I’d missed.
This article has some good material on the ObjectDataSource. I suppose it’s something I’ll need to look into a bit more, in general.

more asp.net 2.0

The last time I mentioned ASP.NET 2.0 was probably the last time I did any work on it at home. I went to an MSDN event this week that talked about a couple of things in .NET 2.0, so that kind of got me interested in picking it up again. I worked through a bit more stuff today, basically GridView and DetailsView examples. I still have a lot to learn.

Meanwhile, I was listening to an episode of .Net Rocks this week, and the guest, who had been working in .Net 2.0, referred to that as the “old way”, and wished he could have been using the new stuff, like WCF and WF. I feel like I’m falling behind! We haven’t done much of anything with 2.0 in work yet. I’d really like to move a bunch of web stuff from ASP.NET 1.1 to 2.0, but it’s hard to find the time.

ASP.NET 2.0

Well, it’s been about a month since I’ve done any ASP.NET 2.0 work at home. I watched a few webcasts at work over the last couple of weeks, though, so I haven’t forgotten anything. I played around with the GridView a bit tonight. Very nice. It’s really easy to put a fairly standard-looking and straightforward grid together quickly. I need to go a little deeper, though, and figure out how to do some of the weirder stuff that we typically do with the DataGrid now.

VS.NET 2005

I just got done installing VS.NET 2005 on my new desktop machine at home. I’m still working my way through ASP.NET 2.0: A Developer’s Notebook. I’m just starting the Data Access chapter. The limited version of SQL Server that comes with VS.NET does not have the pubs or Northwind databases installed by default. If you want to install them, you can find setup scripts for them under “C:Program FilesMicrosoft Visual Studio 8SDKv2.0SamplesSetup”, named InstPubs.sql and InstNwnd.sql. To run the scripts, do this:

sqlcmd -S .SQLEXPRESS -i InstPubs.sql
sqlcmd -S .SQLEXPRESS -i InstNwnd.sql

That seemed to be worth writing down, just in case I need to do it again…

ASP.NET 2.0: A Developer’s Notebook

I made my way through chapter 2 of ASP.NET 2.0: A Developer’s Notebook today. I’ve really been putting off learning .NET 2.0 and VS.NET 2005, but I’m starting to get motivated now. Partially, I guess it’s the whole “New Year’s resolution” thing. I’ve also been listening to a lot of Dot Net Rocks lately, so that’s helping out on the motivation front. After I get through this book, I’ve got another ASP.NET 2.0 book, a SQL Server 2005 book, Expert C# Business Objects, and a couple of other random programming books to read.

DotNet Stuff

I spent some time today surfing through a bunch of .net stuff. I’ve been picking up on some things from DotNetRocks that I wanted to look into, and I just wound up following some trails. Here are a few interesting links:

  • CodeSmith — interesting tool that I need to look into.
  • DotNetNuke — I interviewed a guy today who was thinking about starting a company and writing his own CMS in ASP.NET. He hadn’t heard of DNN before. He may have been trying to do something a bit different from DNN, or he may have been reinventing the wheel. I hope he takes a look at it before he starts coding from scratch!
  • Community Server — the last time I looked at these guys, they weren’t quite done yet. Now they’re at version 1.2 and apparently quite usable. I may have to try this out, maybe for a departmental blog at work.
  • An interesting discussion of strings in .Net here. Maybe I should put some stuff about String vs. StringBuilder on the test I give to interviewees.
  • Thycotic.Data — maybe not that useful for me, but kind of interesting.
  • Rockford Lhotka — I’m kind of interested in his book, after hearing him on DNR. I honestly don’t know much about n-tier development.

IIS

I managed to install IIS on my XP Home machine today, but the whole thing was a little iffy. I couldn’t bring up pages in Mozilla, only Explorer. Other stuff was not as it should be. It was just, you know, odd. So I gave up and uninstalled it. I got an interesting error doing that. It worked though. It went away. So now I’m resigned to NOT doing ASP.NET stuff on my home desktop machine for now. My laptop (running Win 2K Pro) should be able to support IIS, and hence ASP.NET, so maybe I’ll give that a go at some point. And I can probably do other .Net stuff on the XP Home machine, like C# with SharpDevelop. I’ll let you know how that goes. (Whoever you are.)