[Serializable] DB.NET

.NET development and more (or less)

/// <summary>
/// Daniel Balla's Weblog - Various posts 
/// on .NET Development, ASP.NET, Agile, 
/// TDD, Architecture, SQL and others.
/// </summary>
[Serializable]
class Blog<T> where T : ASP.NET, Ajax, WCF, WF, new()
{
}

Tuesday, November 07, 2006

.NET Framework 3 is here

After loosing several things, such as its name (looks like the petition to keep the "WinFX" name wasn't considered), object spaces, LINQ/DLINQ/XLINQ/BLINQ, C# 3.0 (which is promised in the final version of Orcas), finally .NET framework 3 is here now. I guess I'm not the only one who had to descope stuff this sprint ;)
With no direct connection, Atlas beta 2 and november CTP (another name lost on the way) is now released:
ASP.NET 2.0 AJAX Extensions Beta 2
ASP.NET AJAX Futures November CTP
ASP.NET AJAX Samples

Labels: ,

Tuesday, September 05, 2006

Dependency property code snippet

As I came across the dependency property (which hit me right when I started developing WinFX) I've created this code snippet to spare me of writting the code every time (the dependency property and the backing property).
You can download it here and then copy it to your Program Files\Microsoft Visual Studio 8\VC#\Snippets\1033\Visual C#\ directory
or you can copy/paste the snippet:




<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>dprop</Title>
<Shortcut>dprop</Shortcut>
<Description>Code snippet for dependancy property and backing property</Description>
<Author>Daniel Balla</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>type</ID>
<ToolTip>Property type</ToolTip>
<Default>string</Default>
</Literal>
<Literal>
<ID>property</ID>
<ToolTip>Property name</ToolTip>
<Default>MyProperty</Default>
</Literal>
<Literal Editable="false">
<ID>classname</ID>
<ToolTip>Class name</ToolTip>
<Function>ClassName()</Function>
<Default>ClassNamePlaceholder</Default>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[public static DependencyProperty $property$Property =
DependencyProperty.Register("$property$",
typeof($type$), typeof($classname$));

public $type$ $property$
{
get { return (($type$)base.GetValue($property$Property)); }
set { base.SetValue($property$Property, value); }
}$end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>

Labels:

Wednesday, August 30, 2006

WinFX or .NET 3.0 ?

Should it be named WinFX or .NET 3.0?
I belive WinFX.
That's why I just signed this petition . I agree to most points in it and I do belive that naming it .NET 3 is just a lame marketing decision.

Labels:


Gixen - Free Auction Sniper