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

Total posts: 712

Why does C# always use callvirt?

Eric Gunnersons C# Compendium, July 2, 2008

This question came up on an internal C# alias, and I thought the answer would be of general interest. That's assuming that the answer is correct - it's been quite a while. The .NET IL language provide...

SharePoint InfoPath Submission as Anonymous User

Software/Technology Discussion, July 1, 2008

Creation of user submitted forms within web sites typically involves some HTML and JavaScript magic; to post data to a back end business storage or processing system.  ASP.NET relies on form HTTP...

New Sessions Published

PDC05: Developer Powered, July 1, 2008

Just revealed: the second set of 16 sessions on our monthly countdown to PDC2008! Among them is a presentation by Microsoft Technical Fellow and C# Chief Architect, Anders Hejlsberg, on The Future of ...

Book Review: C# In Depth by Jon Skeet (Manning)

Jotekes Blog, June 28, 2008

Author: Jon SkeetPublisher: Manning Publications Co.ISBN: 1933988363April 2008, 424 pageshttp://www.manning.com/skeet/The book focuses on C# 2 and C# 3, but goes a bit relevant things on building on C...

The Everlasting Question - Should I choose VB.NET of C#

Misfit Geek, June 27, 2008

I got an email last night from Eduardo. Eduardo "Love's VB.NET", but is concerned about his long term career prospects because he keeps hearing about C#. The Pie Chart from the Telerik Survey sug...

PDC2008 - I'll be there!

Roland Weigelt, June 27, 2008

The PDC has always been something special to me. In 2003 I was following the bloggers late at night in front of my computer here in Germany. Live blogging was fairly new back then and I can remember ...

Save Web Page as Image

The Code Project Latest Articles, June 26, 2008

Save any Web Page as image C# code, Capture Flash as Image...

The ref and out keyword in C#

The Code Project Latest Articles, June 20, 2008

Ref and out parameter passing modes are used to allow a method to alter variables passed in by the caller. The difference between ref and out is subtle but important. Each parameter passing mode is de...

LinqDataSource, ListView, and DataPager example

<Rolog>, June 19, 2008

I put together a small example in C# that demonstrates how to use the ListView, DataPager, and LinqDataSource. This example can be downloaded here. The example uses the AdventureWorks database which y...

TechEd Orlando :: Compiler Tricks

Scott Cates WebLog, June 18, 2008

Here is the download project for my Compiler Tricks talk at TechEd Orlando, 2008. The talk focuses on what the C# 3.x compiler does with new syntax, and how you can use most of the 3.x syntax, when t...

Saving a few lines of code. Part I - Infinite loops.

the telerik blogs, June 17, 2008

Inspired by Scott Hanselman'squest to read source code to be a better developer I decided to start a series of blog posts and write about anything which comes to my mind in the everyday encountering w...

Replace SortedDictionary with LINQ query

Mehfuzs WebLog, June 16, 2008

With LINQ.Flickr it is quite necessary to get signature on parameters in order to do authenticated flickr photo get. As with the signature, it has to be sorted by parameter then to be hashed by MD5. P...

Resharper 4 development moving fast now

Granville Barnett, June 10, 2008

Last time I checked R# 4 was in Beta, just randomly browsed to the download page for the nightly builds and see that R# 4 is RC3. I must say I am somewhat disappointed with JetBrains with regards to ...

Richmond .NET User Group Meeting June 5, 2008

Darrell Nortons Blog [MVP], June 5, 2008

Justin Etheridge presents Functional Programming Features in C# 3.0 Thursday 5 June 2008, 6:30 PM - 8:00 PM Social Time starts at 6:00! Location: Markel Plaza 4600 Cox Road Glen Allen, V...

Richmond .NET User Group Meeting June 5, 2008

Darrell Nortons Blog [MVP], June 5, 2008

Justin Etheridge presents Functional Programming Features in C# 3.0 Thursday 5 June 2008, 6:30 PM - 8:00 PM Social Time starts at 6:00! Location: Markel Plaza 4600 Cox Road Glen Allen, V...

Engineering Excellence Award for Script#

Nikhil Kotharis Weblog, June 5, 2008

Every year, Microsoft holds an Engineering Excellence Conference. This is that week. In addition to a variety of conference sessions around engineering practices and trustworthy computing, a number of...

a little Virtual Earth Control

The Code Project Latest Articles, June 2, 2008

A small introduction to load Virtual Earth Maps into C#...

Flickr web app with MVC preview 3 [Cont..]

Mehfuzs WebLog, May 31, 2008

In my last post, I have mentioned of creating Flickr app with Asp.net MVC. In recent update I have modified it with Asp.net MVC Preview 3. You can find a general reference about the project here. But...

Nasty bug rendered by installing MS Source Analysis for C#

Granville Barnett, May 30, 2008

If you have installed the source analysis tool recently released by MS and have since tried to view the properties of a project then you will be greeted with the following error: An error occurred...

The Object-oriented Orthodoxy and the DBA

Simple Talk, May 27, 2008

SMO is an excellent product. It is reliable, logical and functional. We've run a few SMO articles in the past and they've been greeted with polite indifference. So, what is the problem? Could it be th...

Microsoft Source Analysis for C#

Guy Barrettes WebLog, May 25, 2008

Microsoft released a new cool tool called Microsoft Source Analysis for C#.  It's an internal tool that does somewhat FxCop does.  While FxCop analyse the IL, Source Analysis analyse the sou...

Call To Arms: Need help porting YUICompressor to C#, for Web Deployment Projects.

ASP.NET Announcements, May 24, 2008

Hello folks,   there's little doubt out there in the community that Yahoo!'s YUI Compressor is the best minification tool for minifying css and javascript. So, I've started a Cod...

Should you use type inference in C# (var) ?

Cirrus Minor, May 21, 2008

Dare Obasanjo complains about Resharper 4.0's recommendation to use implicitly typed locals (i.e. var someVariable = SomeMethod(); rather than SomeType someVariable = SomeMethod();) It is a small ...

Trying Code for my Book in VB and C#

JohnPapa.net, May 19, 2008

I've decided to at least try to put all of the code sample in my Data Access with Silverlight 2 book in both VB and C#. While VB was once my main language, C# has long since been the primary language ...

Trying Code for my Book in VB and C#

JohnPapa.net, May 19, 2008

I've decided to at least try to put all of the code sample in my Data Access with Silverlight 2 book in both VB and C#. While VB was once my main language, C# has long since been the primary langu...

Blend, VS, Events and C#

Jesse Liberty - Silverlight Geek, May 18, 2008

From now until the summer I'll be working on videos, tutorials, presentations and blogging, but I'll also be writing Programming Silverlight 2 with Tim Heuer. Rather than convincing you that I...

Building a Pub/Sub Message Bus with WCF and MSMQ

Tom Hollanders blog, May 17, 2008

In recent years there has been a lot of talk about event-driven architecture as a technique to build more scalable and maintainable systems. I've found this to be a very interesting pattern that makes...

Collection initializer expressions, redux

Panopticon Central, May 14, 2008

WARNING: This is a speculative post. Caveat emptor. When we last left collection initializers, we were discussing default types for collection initializers. Since then we've thought further about the...

CodeSnip: Unexpected behavior with C# auto-implemented properties

ASPAlliance.com - The #1 ASP.NET Community, May 14, 2008

In this code snippet, Joseph examines a scenario of an unexpected behavior which will happen while using C# auto-implemented properties with reflection. After providing a step-by-step description of t...

DotNetNuke 4 C# Compiled Module Starter Kit

BiteTheBullet - Latest 25 Items, May 13, 2008

New version that now supports Visual Studio 2008. Download my DotNetNuke 4.x C# compile module starter kit that allows you to rapidly develop modules using C#  and Visual Studio 2005 or Visua...

Constructors in C#...

DotNetJohn.Com, May 11, 2008

In this article, Joydip examines the usage of constructors with the help of examples....

IWebCSharp - IWeb is now also in C#

Shaun Walker, May 9, 2008

Using IWeb is very simple. You install the IWeb module and then you start adding you own methods. You will automatically have security for your methodsthat can be administered from the configuration s...

Understanding Operator Overloading in C#...

DotNetJohn.Com, May 9, 2008

IIn this article Joydip discusses the concept of Operator Overloading in C# with the help of code samples....

Mock HTTP layer to do complex tasks like uploading photo to Flickr

Mehfuzs WebLog, May 6, 2008

In this post, I will show how you can use Typemock to fake out complex HTTP POST like uploading photo in Flickr server. The example which will be shown here, gives a pretty much generic idea of faking...

LINQ.Flickr 1.3

Mehfuzs WebLog, May 4, 2008

Just released another version of LINQ.Flickr. The release is out with several bug fixes, code optimization, new feature and overall mocking support. I have used Typemock for the unit test of the produ...

My Latest New Books on the Market - Professional C# 2008 and Professional Visual Basic 2008

Bill Evjens Blog, May 2, 2008

Two of my latest books just hit the market - Professional C# 2008 and Professional Visual Basic 2008, both from Wrox. The back cover of the C# book is as follows: Updated for .NET 3.5 and Visua...

Book: Murach's C# Updated for 2008

Misfit Geek, April 30, 2008

sIf you are an avid reader, like I am, then you know that different publishers tend to have different styles and specialties. Murach is unique. They don't publish TONS of books, but the ones t...

Don't miss out on Spec#

ISerializable, April 29, 2008

Hey, you decision makers up there at Microsoft. Maybe you didn't realize this, or maybe you're waiting for the community to let you know. Spec# is one awesome project that needs to become a real produ...

What's up with 'using'?

Simple Talk, April 28, 2008

Let me lay my cards on the table right from the start: I dont like using, and I dont use it any more (no pun intended). In fact I havent for quite some time. In this post Im going to try to explain wh...

Variable Scoping in Anonymous Delegates in C#

Rick Strahls WebLog, April 27, 2008

Every once in a while when I write code that deals with Anonymous Delegates, I still kinda freak out when it comes to the behavior of closures and the variable scoping that goes along with it. For exa...

JSBasic - a BASIC to JavaScript compiler

The Code Project Latest Articles, April 22, 2008

In this C#-project BASIC source code is compiled to JavaScript and run in a browser....

C# Code Completion in emacs - a look at Cedet, semantic, and CSDE

All About Interop, April 21, 2008

In my prior post I wrote that I have a dream of getting c# code completion in emacs. Jason Rumney wrote to me: I think everything you want is here: http://cedet.sourceforge.net/semantic.shtml Semanti...

Mocking static methods with Typemock

Mehfuzs WebLog, April 20, 2008

There are mocking tools like Rhino Mock, Moq, NMock, Typemock and many more. Recently, I was kinda evaluating mocking tools to mock out REST calls in Linq.Flickr. Almost all of the mock tools requires...

Monkey Patching CLR Objects

youve been HAACKED, April 18, 2008

In my last post I set the stage for this post by discussing some of my personal opinions around integrating a dynamic language into a .NET application. Using a DSL written in a dynamic language, such ...

MSBuild script for compiling each .cs file into an EXE

All About Interop, April 16, 2008

I previously wrote about using MSBuild to build all .cs files in a directory into a single exe. Here's a companion script that builds every .cs file into a separate exe. This might be helpful for dir...

I have a dream! C# Code Completion in Emacs (csense, dabbrev, etc)

All About Interop, April 15, 2008

No good options here. I know, dabbrev does some neat things. But it pales in comparison to real code completion as you get in Visual Studio, or, I think, even SharpDevelop. I checked out a module ca...

C# snippets for yasnippet.el (Emacs snippets)

All About Interop, April 15, 2008

Some nice person built yasnippet.el, a snippet package for emacs. You type 2 or 3 letters, then hit TAB, and it expands into a snippet.  Like dabbrev, but with forms-based fill-in field...

Getting flymake.el to work with C# modules

All About Interop, April 14, 2008

Emacs, since a while back, ships with a package called flymake.el, that defines a minor mode.  When you enable this mode, flymake more-or-less continuously compiles the module you;re working on, ...

Making Hideshow.el work with Csharp-mode.el and region/endregion

All About Interop, April 14, 2008

The default hideshow.el stuff in emacs doesn't "do" region/endregion, which is commonly seen in C# modules.  Thankfully, the hideshow people thought of this, and made available a customization ...

Encrypting Passwords in a .NET app.config File

JonGalloway.ToString(), April 13, 2008

I've been contributing to the Witty project lately. I'm a fan of Twitter, and it's nice to work on a popular WPF application with some hotshot coders including a WPF pro like Alan Le. Lately, I notice...

Product Spotlight