Browse by Tags

All Tags » ASP.NET (RSS)

The Gospel of the GUID - And Why It Matters!

The Gospel of the GUID There is only one commandment in the Gospel of the GUID: I. Thou shalt always use a GUID to uniquely identify a row in a table. Whenever I hire a new member for my team, this is one of the first rules that I teach them. At first...

How to log in to the "Orcas" - January 2007 Community Technology Preview (CTP) Base Image

If you were like me and downloaded the CTP today, all anxious to give it a whirl, you probably found out like I did, that the credentials that the web page state to use DON'T WORK! The website says: VPC Credentials: Username: Administrator Password...
Posted by wwright | with no comments

DLINQ Gotcha: How to fix the DataContext.SubmitChanges() causing an "ObjectDisposedException"

If you are receiving this error, when trying to persist your data with a call to SubmitChanges() on your datacontext, you will find that not only can you not trap it, it blows up your running instance of your webserver… dandy! It took a lot research...
Posted by wwright | with no comments

How to easily deal with Nullable Types

If you have to work with mapping data to objects you know what a pain working with nulls has been historically. In the past, your database can deal with nulls very easy but your object model could not. As developers and architects, we would have to come...

The best way to show code in your blog

Forget what I said earlier ... get this: http://www.jtleigh.com/people/colin/software/CopySourceAsHtml/ This is a much better solution. For example: public IQueryable < Property > SecuredProperties { get { IQueryable < Property > q; //if the...
Posted by wwright | 1 comment(s)

How to turn that that ugly URL into something memorable... a.k.a Url Remapping in ASP.NET

Have you ever had some horrific URL that you needed to email, tell someone over the phone or just type yourself? Wouldn’t it be nice if instead of http://www.nddnug.net/Meeting.aspx?ID=fa92013d-9d75-43b5-b611-55ce3ec1ea18 you could just have a little...

Free File conversions via Zamzar

Have you ever needed to convert a document, a pic or some other digital doo-hickey and you just don't have the software on hand to do it. I know I have been working on some website for a client, and invariably they send me something in a digital form...
Posted by wwright | with no comments
Filed under: , ,

Working with CSS and ASP.NET

If you are like us , you get someone else to do your skins for your website. When doing so, they may be unaware of how skinning, themes etc work in the ASP.NET world. As a matter of fact, the better they are, the less they will know about it. As I work...
Posted by wwright | 1 comment(s)
Filed under: , , ,

Some cool info on C# 3.0 in an easy to read, concise format

LINQ enables developers to query data sources directly out of code with a SQL like query language. You could write to get all customers out of a table. This new way of queries is only possible because of several new language features in C# 3.0, which...
Posted by wwright | with no comments
Filed under: , , ,

Searching for code examples and stuff is never fun.

Since I have begun my DLINQ bender I have spent a lot of time searching for code examples and the like. Now it will be a little bit easier. http://www.searchaspnet.net/
Posted by wwright | with no comments
Filed under: , , , ,
More Posts Next page »