jamesewelch

Stories submitted by jamesewelch

Efficient Compound Index Usage(blog.cumps.be)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

Discusses the importance of columns used in a where clause with a compound index. Shows how the order of your columns within a compound index can impact performance. Gives tips on how to properly order your columns within the compound index. read more...

1 comment |category: |Views: 108

tags: another

11 Visual Studio 2005 IDE Tips and Tricks to Make More Productive(chinhdo.com)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

Here are 11 tips and tricks for getting things done faster with the Visual Studio 2005 IDE (without using third-party add-ins or upgrading hardware...). Yes, some of these tips and tricks may fall into the “obvious” category, but I think they are worth repeating. Thee are too many .NET developers not taking advantage of even the basic time-saving techniques. read more...

add a comment |category: |Views: 50

tags: another

Microsoft Visual Basic 2005 Power Packs 2.0(msdn2.microsoft.com)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

Line and Shape controls, PrintForm component, and Printer Compatibility Library all rolled into one download. The PrintForm component is designed to bring back the ability to easily print a Windows Form. With this the new PrintForm component you can once again layout the Windows Form exactly as you want it and allow your users to print the form as a quick report. The Printer Compatibility Library allows projects that used the Printer and Printers Collection in Visual Basic 6.0 to be upgraded without having to re-write your printing logic. Simply adding a reference to the library, declare a Printer and make a few minor syntax changes. Then your project will be able to print using the Printers collection and Printer object as it did in Visual Basic 6.0. This version adds a new Write method to the Printer object which allows you to print text without a forced carriage return similar to the semicolon syntax used by Print method in Visual Basic 6.0. read more...

1 comment |category: |Views: 17

tags: another

Optimize Managed Code For Multi-Core Machines(msdn.microsoft.com)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

Multi-processor machines are now becoming standard while the speed increases of single processors have slowed down. The key to performance improvements is therefore to run a program on multiple processors in parallel. Unfortunately, it is still very hard to write algorithms that actually take advantage of those multiple processors. In fact, most applications use just a single core and see no speed improvements when run on a multi-core machine. We need to write our programs in a new way. read more...

2 comments |category: |Views: 26

tags: another

To NGen or Not to NGen?(blogs.msdn.com)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

One of the topics we often get questions on is about when it makes sense to invest the extra effort to pre-compile assemblies via NGen instead of simply relying on the JIT compiler to generate native code on the fly at application runtime. I thought I would try to answer that question in our first "real" post. The JIT is optimized to balance code generation time against code quality, and it works well for many scenarios. NGen is essentially a performance optimization; so just like for anything else that's performance-related, you'll want to measure performance with vs. without NGen, and then decide whether it really helps your specific application and scenario. Here are a few general guidelines. read more...

1 comment |category: |Views: 30

tags: another

Programming Silverlight 1.0 with C# - Photo Carousel(nikhilk.net)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

Building a reusable, data-bound templated carousel control, modeled very similar to the Repeater control from ASP.NET. Once the carousel control is built, I'll bind it to a list of... yes, you guessed it... photos returned from calling the Flickr API. Using Visual Studio 2005, with Script# v0.4.2.0, Silverlight. read more...

2 comments |category: |Views: 227

tags: another

ASP.NET AJAX Data Controls (GridView, Pager, Repeater)(codeplex.com)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

The purpose of this project is to Develop data controls such as GridView, DataList, Repeater, DetailsView, FromView, ObjectDataSource on top of Microsoft Ajax Framework for Client Centric Development model. Since the Asp.net version of these controls does not have clientside object model thus it is not possible to to bind/update data from/by a WebService. The Project is still in development and contains few prototypes of the following controls: GridView, Pager, Repeater. read more...

add a comment |category: |Views: 371

tags: another

Teach Yourself Programming in Ten Years(norvig.com)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

People are in a big rush to learn about computers, or that computers are somehow fabulously easier to learn than anything else. There are no books on how to learn Beethoven, or Quantum Physics, or even Dog Grooming in a few days. Written by Peter Norvig, Director of Research for Google. read more...

add a comment |category: |Views: 7

tags: another

Tracking Database Record Changes at the Field Level(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

Example of how to create a table that stores who edited which field and when by using a database trigger. Example code for SQL Server. read more...

add a comment |category: |Views: 39

tags: another

Naming Guidelines for Coding(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

I’ve tried to maintain a consistent set of naming rules for my code. Here’s a few guidelines that I’ve collected over the years. Contains recommending naming rules for namespaces, classes, enumerations, parameters, methods, properties, events, exception classes, and interfaces and abbreviation usage. read more...

add a comment |category: |Views: 8

tags: another

How to tell if a .NET Assembly is debug or release(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 4 years, 8 months ago

Explains how to tell if a .NET Assembly is built for debug or release by using .NET Reflector and programmatically using System.Reflection. read more...

add a comment |category: |Views: 43

tags: another