News in the Category: C# Subscribe to the rss of this category.

Total posts: 900

How to: Create a Date Picker Composite Control in ASP.NET (C#)

The Code Project Latest Articles, July 2, 2009

codeproject download code here Introduction Composite controls are controls that combine multiple controls together to form a new reusable control. For example, a simple composite contro...

Convert Hashtable Keys or Values into an ArrayList

DevX: .NET Feed, June 30, 2009

The key is to use the ArrayList constructor that takes an ICollection....

Explore C# 4's New Dynamic Types and Named/Optional Parameters

DevX: .NET Feed, June 29, 2009

Leverage these new features in C# 4.0 to interoperate with new dynamic .NET languages, and simplify your code....

Is programming a generic skill?

Eric Gunnersons C# Compendium, June 25, 2009

Came across a post by Justin Etheredge discussion whether changing between languages is just a matter of syntax. Or, to pick a specific example, can a Java programmer quickly and easily learn to write...

Free (donations accepted) re-indentation tool for c# and sql server code

ASP.NET Announcements, June 25, 2009

 This tool is fast and re-indents your code based on code blocks.  It also notates the block ends where possible and where not already commented.  http://www.softfrontiers.com/Downloads...

RadioButton and CheckBox Menu Items with RadMenu for Silverlight

the telerik blogs, June 19, 2009

RadMenu for Silverlight supports simple checkable items, but still does not support radio button items. This feature is scheduled for development and most probably will come with Q3 2009, but until th...

Parameter Passing: By Value vs. By Reference

Clarity Blogs: ASP.NET, June 17, 2009

I was reading some old posts on Wil Shipleys excellent blog the other day, when a subtle (and very common) error caught my eye. I dont mean to call Wil out by this; I was reading his blog specifically...

Functional Programming Battles GOTOzilla

K. Scott Allen, June 17, 2009

Steve Wellens had a recent blog post arguing for the use of a goto in C# (see: Why goto Still Exists in C#). Steve had a series of methods he wants to execute, but he wants to stop if any given method...

Data-binding menu, context menu and toolbar, a.k.a. a simple text editor for Silverlight

the telerik blogs, June 2, 2009

This demo extends my previous sample, that demonstrated how to add a right click context menu on a TextBox. Here I will show how to create context sensitive main menu and toolbar, in addition to the c...

An Alternative Approach To Strongly Typed Helpers

youve been HAACKED, June 2, 2009

One of the features contained in the MVC Futures project is the ability to generate action links in a strongly typed fashion using expressions. For example: <%= Html.ActionLink<HomeCont...

Reusing and customizing a single ContextMenu on a TreeView with RadControls for Silverlight

the telerik blogs, June 1, 2009

This is part two of my Attaching a ContextMenu on TreeView blog post. I will show another approach for adding context menu on a treeview, that uses a single menu that is customized for each treeview i...

Create a Generic List at Run Time

DevX: .NET Feed, June 1, 2009

This tip shows you how to create a generic list of a specified type at run time....

Austin Code Camp was a hit!

Jeffrey Palermo, May 31, 2009

Yesterday, over 200 folks showed up for the annual Austin Code Camp.  John Teague and Eric Hexter did a great job organizing the conference.  You can see the folks who attended here. I post...

How to add a right click context menu on a TextBox in Silverlight?

the telerik blogs, May 28, 2009

How to add a right click context menu on a TextBox in Silverlight and also support simple editing commands, like Cut, Copy and Paste? This is pretty easy with RadContextMenu for Silverlight and I will...

June's Toolbox Column Now Online

Scott on Writing, May 28, 2009

MyToolbox column in theJune 2009issue of MSDN Magazine is available online and includes the following reviews: ProjectLocker- ProjectLocker lets you outsource source control, defect tracking, and oth...

Coding / Programming Tips for C#

The Code Project Latest Articles, May 28, 2009

Tips: Using proper guidelines and a template-framed style of coding will really helps developer to enjoy the coding with more understandable, reliable code and application development....

EDM Modeling: Self-Referencing Many to Many Relationships

Julia Lerman Blog - Dont Be Iffy..., May 28, 2009

I had an interesting question by email today and I thought I would share the response. If you have done any EDM testing with the Northwind database, you may be familiar with the self-referencing relat...

A Look at Lazy Loading in EF4

Julia Lerman Blog - Dont Be Iffy..., May 23, 2009

Previous "What's New in EF 4 Posts" Upgrading EF projects to EF4- Don't forget to target .NET 4.0 May 22Customizing EDM Code Gen in EF4 May 21Complex Types in the EDM Designer in EF4 and a look at...

Upgrading EF projects to EF4? Don't forget to target .NET 4.0

Julia Lerman Blog - Dont Be Iffy..., May 22, 2009

Previous "What's New in EF 4 Posts" Customizing EDM Code Gen in EF4 May 21 Complex Types in the EDM Designer in EF4 and a look at updating complex types in code May 21 The much...

Complex Types in the EDM Designer in EF4 and a look at updating complex types in code

Julia Lerman Blog - Dont Be Iffy..., May 21, 2009

Previous "What's New in EF 4 Posts" The much improved EDM Wizard Pluralization in VS2010 May 21Checking for EF to TSQL Query Compilation Changes in VS2010 Beta1 May 19EF4- What is and is not supp...

Customizing EDM Code Gen in EF4

Julia Lerman Blog - Dont Be Iffy..., May 21, 2009

Previous "What's New in EF 4 Posts" Complex Types in the EDM Designer in EF4 and a look at updating complex types in code May 21 The much improved EDM Wizard Pluralization in VS20...

Incrementing a C# Variable Efficiently

DevX: .NET Feed, May 18, 2009

Avoid postfix operators when incrementing composite objects....

One Function to Rule All URLs

Joe Brinkman, May 11, 2009

(This is a cross-post from my personal blog) I was recently working on implementing Twitter integration features to the DotNetNuke Blog Module (Ill write up the details about these features in anothe...

FREE .NET / C# Tutorial from pluralsight

Federal Developer Weblog, May 11, 2009

NOTE: This was cross posted from here. http://www.pluralsight.com/main/olt/Course.aspx?n=dotnet-csharp-tutorial I tend to steer away from making recommendations on training companies and books unles...

Microsoft announces the Open Government Data Initiative (OGDI)

Federal Developer Weblog, May 7, 2009

Today Microsoft announced the Open Government Data Initiative (OGDI).  The goal of OGDI is to encourage the publishing and use of public government data.  See the press release here What's ...

Add Windows GridView control in WPF dynamically in C#.

EggHeadCafe.com New Articles, May 5, 2009

The purpose this article is to add Windows Data Grid View control to the WPF application with Windows Host object. From that build Data Grid View with inline code then place to Windows host object wit...

c# Extension methods using RSA

The Code Project Latest Articles, May 4, 2009

Example of creating Extension methods that encrypt string values...

Show your data on Google map using C# and JavaScript

The Code Project Latest Articles, May 4, 2009

Show your data on Google map using C# and JavaScript...

Store images efficiently in SQL Server 2008

Clarity Blogs: ASP.NET, April 27, 2009

Recently I was poking around with some different ways to create a scalable image store for my project when I realized, I've done this before. I'm working on an enterprise ASP.NET e-commerce si...

Epiphany: Closures are Objects, Objects are Closures

Clarity Blogs: ASP.NET, April 27, 2009

I've spent a lot of time over the past few months learning about functional paradigms and the utility of closures therein. Early in my studies, I came across this hacker koan: The venerable maste...

New Video Available Demonstrating How To Easily Get Silverlight Working With a DotNetNuke Module

Shaun Walker, April 23, 2009

I mentioned in my last blog that I planned on publishing a video that would give an overview of how the Silverlight module template works. I have updated the download page to include a reference to i...

Silverlight Get Color from Hex

Laurent Duveau, April 22, 2009

What if you want to get a Color from its hexa value (#FFBBCC88) ? Unfortunately Silverlight do not have the ColorTranslator class which allows you to do ColorTranslator.FromHtml("#FF1133") ...

2nd Printing of Programming Entity Framework is on its way

Julia Lerman Blog - Dont Be Iffy..., April 8, 2009

It felt like ages for the first pile of books to run out but I've been told by O'Reilly they are running low enough at the warehouse that they are going to print another batch of books in a week or ...

Building Domain Specific Languages in C#, Part 2

DevX: .NET Feed, April 6, 2009

Building fluent programmatic interfaces lets users make calls in natural ways similar to speech....

TraceTool 11: The Swiss-Army knife of trace

The Code Project Latest Articles, April 4, 2009

A C#, C++, Delphi, ActiveX, JavaScript and Java trace framework and a trace viewer: Tail, outputDebugString, event log, and with Log4J, Log4Net, and Microsoft Enterprise Instrumentation Framework (EIF...

Simple Upload File To Rapidshare Account Method, by using C#

The Code Project Latest Articles, April 2, 2009

by using this C# (.net 2) method you can easily upload your files to Rapidshare.com Account...

Redmond Developer: Working with MEF in VB and WPF

Brad Abrams, April 2, 2009

Kathleen Dollard has a very good article on  that talks about using Managed Extensibility Framework (MEF) to  allow customers to add their own forms to our Windows Presentation Foundation (W...

Framework Design Guidelines Book: Extra Content from the DVD Posted

Brad Abrams, April 2, 2009

A few weeks ago a reader wrote in to tell me that they bought the Kindle version of the Framework Design Guidelines and was disappointed to not receive the DVD.  Well, I was of course immediately...

Nhibernate .Net Providers

The Code Project Latest Articles, April 1, 2009

This is NHibernate based Profile, Membership, Role Providers written in C#....

Real-World Credit Card Validation Rules w/ "Oslo"

Marquee de Sells: Chriss insight outlet, April 1, 2009

This is a wonderful article on the use of an "M" grammar to parse a set of rules specific to credit card validation and then parse those rules at run-time to drive a framework for doing the validati...

Silverlight 3 - Playing with Perspective 3D

Laurent Duveau, March 31, 2009

Silverlight 3 allows you to apply 3D transformation to XAML elements. I created a sample to try different settings (RotationX, CenterOfRotation, LocalOffset, ) on a picture. PlaneProjection Here is a ...

Using Pre-Compiled LINQ to Entities Queries in Web Apps and Services

Julia Lerman Blog - Dont Be Iffy..., March 31, 2009

A few months ago, Diane Wilson reported her performance findings when comparing EF to LINQ to SQL to DataReaders. Something looked wrong to me because her numbers were vastly different than what I ha...

The long awaited return

Clarity Blogs: ASP.NET, March 30, 2009

After a short stay and a significant hiatus, I am attempting a return to the blogging world. I expect to focus the content mostly on WPF, C# and VS2008, but who knows what other tidbits could make it ...

The cost of eager loading in Entity Framework

Julia Lerman Blog - Dont Be Iffy..., March 30, 2009

Everything in life is about choices and usually we have to evaluate our options before we make those choices. So it goes with eager loading vs. deferred loading in Entity Framework. We have the opt...

Programmatically generating SQL(DDL) from M

Mehfuzs WebLog, March 30, 2009

In this post, i will show how you can generate SQL programmatically from M. Now, so far i have learnt that MGrammer is a contract that converts users input into MGraph. Now, Oslo by default comes with...

Twitter API - Submit a post in C#

Wallace B. McClure, March 25, 2009

I used C# and WCF, but I could have just as easily used an ASMX web service.  This code is fairly simple.  No I didn't write it initially.  I found it online (Hey, we all have to start ...

April's Toolbox Column Now Online

Scott on Writing, March 21, 2009

MyToolbox column in theApril 2009issue of MSDN Magazine is available online. TheMarch issue of MSDN Magazine has a focus on the Web and my reviews in Toolbox follow suit and include: The Microsoft Ch...

Locale Manager (2) - A Practical Tool to Manage *.resx Files for .NET or *.properties Files for Java /Flex

The Code Project Latest Articles, March 21, 2009

Enhanced support for *.resx files from LocaleManager1, a C# implementation to help manage *.resx files or *.properties files in different locale folders....

Anders Hejlsberg: Geek of the Week

Simple Talk, March 19, 2009

Anders Hejlsberg, the creative genius behind C#, and much of the .NET framework, had already been famous for sixteen years as a compiler-writer before he joined Microsoft twelve years ago. His BLS Pas...

Calling the Twitter API in C#

Wallace B. McClure, March 19, 2009

I've been working on this application to send out tweets at a particular time.  One thing thing I want to do is be able to look at the logged in user's timeline.  I've been playing with the ...

Product Spotlight