Welcome to WindowsClient.net | Sign in | Join

Zuker On Foundations

The realm of .NET (WPF, WCF and all around)

September 2008 - Posts

Silverlight 2 RC is now available

The RC version is out and ready for use.

Read Scott's post & Nicholas for what's out there.

Download Resources:

Visual Studio 2008 Tools RC0
Expression Blend SP1 RC0
Windows Silverlight 2 Dev Runtime RC0

 

Posted: Sep 28 2008, 03:14 PM by zuker | with no comments
Filed under:
Silverlight Resources

Via these posts:
Free Silverlight Controls And Tools For Brighter Websites
Silverlight 2 UI Templates

Following are useful links to visit before writing Silverlight applications.

1) XAML Power Toys
XAML Power Toys is a Visual Studio 2008 SP1 Multi-AppDomain Add-In that empowers WPF & Silverlight developers while working in the XAML editor.  Its Line of Business form generation tools, Grid tools,  DataGrid and ListView generation really shorten the XAML page layout time.

2) Silverlight Community Gallery
2.a) Silverlight 2 Community Samples

3) XAMLTemplates.net
Control templates available for purchase

4) Blacklight
Blacklight is a UX focused code sharing project. Microsoft has released a bunch of technologies that allow designers and developers to work closely together to make beautiful software. This project is a collection of controls, samples, visual assets and ideas that has been put together by User Experience designers and developers to both show you what the technology is capable of (from a UX point of view), and give you code and samples that you can use in your own projects, completely free of charge (see the License tab above). Check out the showcase to see what is currently available...

5) Dave's Glossy Controls
This is a set of easily customisable control templates for the following controls

6) Free Silverlight Controls And Tools For Brighter Websites
A must see, includes much of what is listed here.

Posted: Sep 18 2008, 10:28 AM by zuker | with no comments
Filed under:
T-SQL - Create Unique Constraint

Searched it for a while, thought it might be worth sharing.

Following is the T-SQL script to alter a table to apply a UNIQUE constraint on a certain column:

ALTER TABLE [TableName] WITH NOCHECK
ADD CONSTRAINT UniqueConstraintName UNIQUE ([ColumnName])

Posted: Sep 10 2008, 07:44 AM by zuker | with no comments
Filed under:
Custom Window Chrome in WPF

Via this post.

"This document covers the design and some implementation details of getting WPF windows wrapped in custom chrome. Currently WPF supports standard windows, with an icon, title-text, and caption buttons, as well as borderless windows, which when combined with transparency allow arbitrary top-level shapes but the application loses system support for behaviors associated with having a standard caption area, such as maximize. There is a desire to create applications that fill a middle-ground here: the appearance and behavior of a standard window with a more complete branding experience"

Get the code here.

Posted: Sep 10 2008, 07:25 AM by zuker | with no comments
Filed under:
SQL 2005 - Save File into Image/VarBinary columns

Via this post.

I created a column in a certain table to contain various files with "VarBinary(MAX)" as its data type.

I wanted to test stuff, so I needed data in the tables.

But Oh My, Now What? Should I really write C# Project to insert a file?

Well, no, not needed, you can do it directly from SQL.

Create Table EmployeeProfile
(
EmpId int,
EmpName varchar(50) not null,
EmpPhoto varbinary(max) not null
)
Go 

Insert EmployeeProfile (EmpId, EmpName, EmpPhoto)
Select 1001, 'Vadivel',
BulkColumn from Openrowset( Bulk 'C:\Blue Lace 16.bmp', Single_Blob) as EmployeePicture

Posted: Sep 03 2008, 03:43 PM by zuker | with no comments
Filed under:
Page view counter