The ramblings of Chad Humphries

Posts Tagged ‘dotnet

Dotnet 3.0 is coming, oh wait, it’s not.

There is an interesting post over at blogs.msdn.com that talks about the WinFX framework and it’s kin being renamed DotNet 3.0. I’m trying to do less blog blockquoting, but this is way too good not to quote.

When speaking to developers about WinFX one question that repeatedly comes up is, “WinFX sounds great, but what happens to .NET?” .NET Framework has becomes the most successful developer platform in the world. Developers know and love .NET.

The .NET Framework has always been at the core of WinFX, but the WinFX brand didn’t convey this. The WinFX brand helped us introduce the incredible innovations in terms of Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), Windows Workflow Foundation (WF) and the newly christened Windows CardSpace (WCS) formerly known under the codename “InfoCard.” The brand also created an unnatural discontinuity between previous versions of our framework and the current version.

With this in mind we have decided to rename WinFX to the .NET Framework 3.0. .NET Framework 3.0 aptly identifies the technology for exactly what it is – the next version of our developer framework.


Written by spicycode

June 9, 2006 at 5:41 pm

Posted in programming

Tagged with

Make your documentation more readable

Jaroslaw Kowalski has created a post processor for C# documentation files that enables code syntax highlighting based on the language entitled NDocSyntax.
From his post:

NDocSyntax – post-processes documentation files (*.xml) generated by C# compiler by adding syntax-highlighting to all code tags. Supports C#, Visual Basic, JScript and XML. The code is quick and dirty, but does its job and it should be pretty easy to add further languages and highlighting modes.

Works fine with NDoc 1.3.1 and NDoc 2.0 alpha.

Another useful tool to add to the utility belt.

Updated to include correct spelling of author’s name.

Written by spicycode

May 22, 2006 at 5:42 pm

Posted in programming

Tagged with

Client side validation for the rest of us

Notice: I am a Castle Project PMC member and committer.

After doing applications in Ruby in Rails and MonoRail I’ve come to appreciate the need for a simple, client-side validation script to complement the excellent validation both provide by their respective ActiveRecord implementations.

MonoRail includes fValidate which works pretty well, but is no longer actively maintained outside of the Castle team.

In the past few days I’ve started using the prototype validation based framework from Dexagogo. While there are features that wForms or fValidate have initially that this doesn’t, I believe the trade-off for having such a solid cross browser base (prototype) is well worth it.

Excerpt from the article:

So here it is in it’s first usable, albeit basic, form.

Include the javascript libraries:

<script src="prototype.js" type="text/javascript"></script>
<script src="validation.js" type="text/javascript"></script>

You write elements like this:

<input class="required validate-number" id="field1" name="field1" />

passing the validation requirements in the class attribute.

You then activate validation by passing the form’s id attribute like this:

<script type="text/javascript">
  new Validation('form-id');

It has a number of tests built-in but is extensible to include your custom validation checks.

Read the full article for more detail.

Written by spicycode

May 20, 2006 at 5:46 pm

Posted in programming

Tagged with ,

Learning more about .NET debugging

This post is just a quick follow-up to my earlier posting about debug=”true” in web applications.

I wanted to mention that you should read Tess’s blog for information about asp.net and debugging. It’s a great source of information about asp.net and debugging.

Written by spicycode

May 15, 2006 at 5:47 pm

Posted in programming

Tagged with ,

Membership/Roles Provider Backported to v1.1

Microsoft Member Roles Add-On

The Membership and Roles provider that v2.0 uses has been backported to 1.1.  Community Server currently uses it as well as DotNetNuke.  If I can get my head around it we might implement it in nCm.

Written by spicycode

December 14, 2004 at 6:14 pm

Posted in programming

Tagged with

Excellent current write-up on .NET Tools

Roy over at ISerializable posted a great list of current .NET tools to look at.    I personally really enjoy Resharper, CodeSmith, NUnit, and Nant.

Written by spicycode

December 7, 2004 at 6:15 pm

Posted in programming

Tagged with

Re-throwing exceptions

Oleg Tkachenko has posted a nice quick write-up on why it’s important to rethrow more specific exceptions, or just to use throw.   Don’t rethrow the same exception with no added info!

Signs on the Sand: Re-throwing exceptions – a subtle difference between Java and .NET you better be aware of


Written by spicycode

December 3, 2004 at 6:16 pm

Posted in programming

Tagged with