SamGentile

Stories kicked by SamGentile

Extension Methods in C#(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 5 years ago

Extension methods are a new feature for C# 3.0 and I had the opportunity to implement them in the Compiler. These methods can then be called with instance syntax on any object that is convertible(see convertability section for details) to the first param of the method. read more...

add a comment |category: |Views: 24

tags: another

Rasing events (from a mock) using Rhino Mocks(jpboodhoo.com)

submitted by andycwkandycwk(80) 5 years ago

How to raise an event within a unit test using good old Rhino Mocks. read more...

add a comment |category: |Views: 30

tags: another

Windows Workflow 101 or 2 Months with WF(codebetter.com)

submitted by SamGentileSamGentile(225) 5 years, 2 months ago

This article presents both an introduction to WF as well as in-depth discussion of the issues I faced in trying to apply it's model to a real-world application read more...

add a comment |category: |Views: 21

tags: another

Finding the name of your calling method(jeremyjarrell.com)

submitted by jeremyjarrelljeremyjarrell(2685) 5 years, 2 months ago

Here's an easy way to find out the name of the method who called you, or the method who called that one, or the method who called that one.... read more...

add a comment |category: |Views: 3

tags: another

LINQ Farm: One to Many and Joins(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 5 years, 2 months ago

This post is the latest in a series of posts on LINQ. It continues the exploration of LINQ to SQL by showing several intermediate level queries. LINQ to SQL provides developers with access to relational databases from inside a CSharp program. I'm going to show three different queries in this post. The first will demonstrate how to create a simple one-to-many, the second how to create a one-to-many that spans three tables, and the third will show how to create a simple join. read more...

add a comment |category: |Views: 482

tags: another

New T-SQL Capabilities in SQL Server 2005 - Part 1 of 3 (setfocus.com)

submitted by SetFocusSetFocus(510) 5 years, 2 months ago

This month I'll start a three-part series on new Transact-SQL language features in SQL Server 2005. Microsoft added many new language features in SQL Server 2005, in response to developer requests and also in following compliance with the SQL-99 standard. read more...

add a comment |category: |Views: 32

tags: another

5 podcasts that every .net developer should be listening to(seandeasy.com)

submitted by sdeasysdeasy(175) 5 years, 2 months ago

A list of the best .net podcasts on the web read more...

add a comment |category: |Views: 12

tags: another

Amazing Vista Wallpapers(weblogs.asp.net)

submitted by PluginbabyPluginbaby(1190) 5 years, 2 months ago

Did you know that more than 10,000 images were evaluated during the Vista wallpapers selection process ? Some of them was from amateur photographers recruited from Flickr, and even Microsoft employees who enjoy photography! Photographer Hamad Darwish provide on his website a photo collection of images taken during Microsoft's Windows Vista photoshoot and did not make the cut into Vista's Wallpaper Collection. read more...

add a comment |category: |Views: 23

tags: another

WPF/E and ASP.NET AJAX AlbumViewer Application Now Live (weblogs.asp.net)

submitted by dwahlindwahlin(1450) 5 years, 3 months ago

Back in December I released a sample application that demonstrated how WPF/E and ASP.NET AJAX could be integrated to view albums returned from an Amazon.com Web Service in a simulated 3D type view. I finally made some time to get the application running live so feel free to take it for a spin. read more...

add a comment |category: |Views: 2

tags: another

Standard ECMA-335(ecma-international.org)

submitted by jasper22jasper22(1320) 5 years, 3 months ago

Standard ECMA-335 Common Language Infrastructure (CLI) 4th edition (June 2006) This International Standard defines the Common Language Infrastructure (CLI) in which applications written in multiple high-level languages can be executed in different system environments without the need to rewrite those applications to take into consideration the unique characteristics of those environments. This International Standard consists of the following parts: * Partition I: Concepts and Architecture – Describes the overall architecture of the CLI, and provides the normative description of the Common Type System (CTS), the Virtual Execution System (VES), and the Common Language Specification (CLS). It also provides an informative description of the metadata. * Partition II: Metadata Definition and Semantics – Provides the normative description of the metadata: its physical layout (as a file format), its logical contents (as a set of tables and their relationships), and its semantics (as seen from a hypothetical assembler, ilasm). * Partition III: CIL Instruction Set – Describes the Common Intermediate Language (CIL) instruction set. * Partition IV: Profiles and Libraries – Provides an overview of the CLI Libraries, and a specification of their factoring into Profiles and Libraries. A companion file, CLILibrary.xml, considered to be part of this Partition, but distributed in XML format, provides details of each class, value type, and interface in the CLI Libraries. * Partition V: Debug Interchange Format. * Partition VI: Annexes – Contains some sample programs written in CIL Assembly Language (ILAsm), information about a particular implementation of an assembler, a machine-readable description of the CIL instruction set which can be used to derive parts of the grammar used by this assembler as well as other tools that manipulate CIL, a set of guidelines used in the design of the libraries of Partition IV , and portability considerations. read more...

add a comment |category: |Views: 2

tags: another

Refactoring, Improving the Design of Existing Code(en.csharp-online.net)

submitted by HyleHyle(2755) 5 years, 3 months ago

Read a review of this modern classic book by Martin Fowler of UML Distilled fame. Excerpt: Refactoring is a risky procedure that dates back to the advent of the SmallTalk programming language. But, it has since spread to all modern languages; and, it is considered critical in framework and class library development—because a framework is never right on the first iteration. Whether refactoring as a discipline is a workable practice is controversial. Adherents lobby for more disciplined restructuring and testing while doubters claim real life refactoring is impractical and tricky. read more...

add a comment |category: |Views: 4

tags: another

An Article- Many-to-Many Relationships in O/R Mapping(alachisoft.com)

submitted by paul_hedgesonpaul_hedgeson(30) 5 years, 3 months ago

If you are developing an object oriented .NET application that has to talk to a database, you'll inevitably map objects to a relational model. And, most likely you'll face situations where many-to-many relationships exist in your database. This article describes how you can handle many-to-many relationships in O/R mapping. Most .NET applications are object oriented and at the same time they have to deal with relational databases. This creates a difficulty for the developers because they have to figure out how to map their objects to the tables in the database. Sometime, there is a one to one mapping between an object and a table and at other times, one object may consist of data from multiple tables or subset of data from one table. The most important thing one can achieve in O/R Mapping is to capture the logical data model design in the object model of the application. This makes it really easy to design, develop, and later maintain this object model. We'll try to follow this rule when mapping many-to-many relationships to objects. Please read the complete article at http://www.alachisoft.com/rp.php?dest=/articles/m-n_relationships.html read more...

add a comment |category: |Views: 52

tags: another

Basic Application Architecture Patterns(evanhoff.com)

submitted by ehoffehoff(980) 5 years, 3 months ago

These are some of the basic application architectures. Included are the Table Module, Transaction Script, and Domain Model. Included are descriptions and example diagrams for each. read more...

add a comment |category: |Views: 10

tags: another

How to Write a Designer Component for Custom Workflow Activity(nayyeri.net)

submitted by keyvankeyvan(4086) 5 years, 3 months ago

In last post of his series about writing a custom workflow activity, Keyvan discusses about writing a designer component and designer theme for a custom workflow activity and updates his sample workflow. read more...

2 comments |category: |Views: 58

tags: another

Compiling Workflows(devhawk.net)

submitted by DevHawkDevHawk(165) 5 years, 3 months ago

How to add custom code generation to a custom WF activity read more...

add a comment |category: |Views: 1

tags: another

Patterns, Styles, and Software Architecture(evanhoff.com)

submitted by ehoffehoff(980) 5 years, 4 months ago

Rather than listing a hundred patterns and giving a discription of each, here is a basic breakdown of the types of patterns and where each type fits within software architecture. read more...

add a comment |category: |Views: 5

tags: another