Sign In
AppDev: Something You Should Know by Irena Kennedy
Everything that is related to application development, and other cool stuff...
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.NET
Application Development
Async
Config
Deployment
Environment
RIA
Silverlight
SQL
Telerik
TFS
Tools
Visual Studio
VSTS
WCF
Web
Archive
Archives
March 2012
(1)
January 2012
(2)
April 2011
(1)
March 2011
(2)
October 2010
(1)
September 2010
(1)
August 2010
(2)
December 2009
(4)
November 2009
(1)
September 2009
(1)
June 2009
(2)
April 2009
(1)
December 2008
(2)
February 2008
(1)
October 2007
(3)
September 2007
(1)
August 2007
(7)
July 2007
(5)
June 2007
(8)
May 2007
(19)
April 2007
(42)
March 2007
(43)
February 2007
(33)
January 2007
(21)
December 2006
(7)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(19)
June 2006
(12)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(14)
November 2005
(19)
January, 2007
MSDN Blogs
>
AppDev: Something You Should Know by Irena Kennedy
>
January, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
AppDev: Something You Should Know by Irena Kennedy
SYSK 277: How-To Bring Back the TrustedInstaller
Posted
over 5 years ago
by
irenake
13
Comments
Are you getting ‘Unable to save permission changes on file_name. Access is denied.’ e rror messages trying to modify a file or change permissions on a file that has TrustedInstaller as its owner? I’ve seen suggestions on the Internet recommending...
AppDev: Something You Should Know by Irena Kennedy
SYSK 276: Are These “Requirements” or “Desirements”?
Posted
over 5 years ago
by
irenake
1
Comments
I’m sure we all have dealt with business stakeholders that want it all in the next version... This idea was well captured in the image below copied from a presentation by Dan Rawsthorne (Net Objectives): But did you know research shows that 60...
AppDev: Something You Should Know by Irena Kennedy
SYSK 275: Pagination in SQL – Easy!
Posted
over 5 years ago
by
irenake
6
Comments
Unfortunately, it’s still a common case that the pagination logic resides in UI… Why I say ‘unfortunately’? Because by making this design choice, you have: Used up bandwidth transmitting the data that may never be seen by the end user. Potentially...
AppDev: Something You Should Know by Irena Kennedy
SYSK 274: How to Implement a Serializable Type with Read-Only Properties
Posted
over 5 years ago
by
irenake
0
Comments
There are times when you want to assure that two or more properties are always in-sync. Common examples include a class that represents id/name pair, e.g. Status with ID and Description properties, or Product class with product id and name… The...
AppDev: Something You Should Know by Irena Kennedy
SYSK 273: How to use the latest version of Visual Studio and build your project targeting earlier version of .NET framework
Posted
over 5 years ago
by
irenake
7
Comments
First, little explanation for what prompted me to write this post… It came to my attention that some teams dedicate a build server for each Visual Studio/.NET framework combination, i.e. they don’t upgrade Visual Studio (or the build tools) because...
AppDev: Something You Should Know by Irena Kennedy
SYSK 272: Excellent 11 min video about WPF – what it is and how you can use it today in your applications!
Posted
over 5 years ago
by
irenake
1
Comments
Get an overview of WPF controls, supported layouts (StackPanels, WrapPanel, DockPanel, Grid) clearly demonstrated via easy-to-understand images, vector graphics usage and what it means, text support (fonts and much more), document support (layout, scaling...
AppDev: Something You Should Know by Irena Kennedy
SYSK 271: A Better (?) NameValueCollection Class
Posted
over 5 years ago
by
irenake
2
Comments
In spite of its generic name-value collection name, the System.Collections.Specialized.NameValueCollection class only deals with string keys and string values. In most cases, a string key is just fine… but to force the value to being of string type...
AppDev: Something You Should Know by Irena Kennedy
SYSK 270: How to implement C++’s typedef in C#
Posted
over 5 years ago
by
irenake
1
Comments
C++’s typedef declaration creates a new name (an alias) that, within its scope, becomes a synonym for the type given by the type-declaration portion of the declaration. The syntax is as follows: typedef type_declaration synonym; For example,...
AppDev: Something You Should Know by Irena Kennedy
SYSK 269: XBAP Introduction
Posted
over 5 years ago
by
irenake
1
Comments
We live in the world where if you don’t know the lingo, you’re not an equal member of the worldwide software developers’ guild. So, what is XBAP? First, make sure you know that is WPF… As a quick refresher, WPF stands for Windows Presentation...
AppDev: Something You Should Know by Irena Kennedy
SYSK 268: You Know Your Project Is Not Agile If…
Posted
over 5 years ago
by
irenake
0
Comments
While the Pete McBreen’s article is not funny as Jeff Foxworthy’s “You know you’re a redneck if…” series, in my opinion, it’s a must-read for software developers thinking about or using agile development practices. Check it out at: http://www.awprofessional...
AppDev: Something You Should Know by Irena Kennedy
SYSK 267: How to bypass YourGenericClass<T> where T : ValueType constraint restriction
Posted
over 5 years ago
by
irenake
0
Comments
Problem statement : create a general purpose status history class that is a collection of status history items sorted by time stamp. Each status history item must include a status code, updated-by-user string and updated-on time stamp. Important : the...
AppDev: Something You Should Know by Irena Kennedy
SYSK 266: SOA Versioning Best Practices and on the Importance of Using Nullable Types and IExtensibleDataObject Interface in Data Contracts
Posted
over 5 years ago
by
irenake
1
Comments
“Interfaces are immutable…” Yes, we’ve heard that for years... The reality, however, is that contracts, both -- service and data, do change as more requirements are discovered, etc. Moreover, it’s not reasonable to expect that all clients of your V1 service...
AppDev: Something You Should Know by Irena Kennedy
SYSK 265: Thought Provoking Statement About Design by Douglas Martin
Posted
over 5 years ago
by
irenake
0
Comments
“Questions about whether design is necessary or affordable are quite beside the point: design is inevitable. The alternative to good design is bad design, not no design at all. Everyone makes design decisions all the time without realizing it like...
AppDev: Something You Should Know by Irena Kennedy
SYSK 264: Restricting Item Types in Generic Collections
Posted
over 5 years ago
by
irenake
0
Comments
Say, you have implemented the following data class called Message in a YourCompany.DataContracts.Shared assembly (code below). When creating a collection of messages class, some may choose to implement it similar to the code below: [DataContract...
AppDev: Something You Should Know by Irena Kennedy
SYSK 263: .NET Stored Procs Do Not Execute in Parallel using MARS
Posted
over 5 years ago
by
irenake
0
Comments
The http://msdn2.microsoft.com/en-us/library/ms345109.aspx article has the following note in the Interleaved Execution section: “Stored Procedures written in any of the .Net languages will not interleave while managed code is executing. If the inproc...
AppDev: Something You Should Know by Irena Kennedy
SYSK 262: Lowest common denominator? No – interfaces offer a superior solution!
Posted
over 5 years ago
by
irenake
2
Comments
The other day I saw some code from a vendor (who will remain unnamed) that prompted me to write this post… The aforementioned vendor has a product that works on many relational databases, including Microsoft SQL Server, Oracle, etc. The product is...
AppDev: Something You Should Know by Irena Kennedy
SYSK 261: Investigating Blocked Processes in SQL Server
Posted
over 5 years ago
by
irenake
0
Comments
Imagine, you execute who_is_blocked stored procedure and get a list of the blocked resources, the databases involved, the requesting and the blocking session ids, and the request mode. With that information, you can choose to terminate the blocking session...
AppDev: Something You Should Know by Irena Kennedy
SYSK 260: Custom Configuration Settings Just Like Ones Used in .NET Framework Classes
Posted
over 5 years ago
by
irenake
0
Comments
.NET 2.0 settings designer that generates a strongly typed class representing the applicationSetting and userSettings sections is a great improvement over the old appSettings or custom xml serialization code… But, sometimes you just need a bit more… ...
AppDev: Something You Should Know by Irena Kennedy
SYSK 259: Is ‘internal’ class modifier a sufficient level of protection?
Posted
over 5 years ago
by
irenake
3
Comments
So, say you have a class that you’d like to make sure that nobody outside of your company (or your product/project team) can use. As an example, I’ll use an encryption class (see below) with Encrypt and Decrypt methods: internal class Encryption...
AppDev: Something You Should Know by Irena Kennedy
SYSK 258: dr[columnIndex] or dr[“ColumnName”]? The cost of field name lookup…
Posted
over 5 years ago
by
irenake
8
Comments
Are you still debating whether the performance benefits of dr[columnIndex] outweigh the benefits of readability and maintainability of using dr[“ColumnName”] instead? Then, read on… When using SqlDataReader class, the difference between getting...
AppDev: Something You Should Know by Irena Kennedy
SYSK 257: .NET way to analyze SQL data I/O performance
Posted
over 5 years ago
by
irenake
0
Comments
Would you like to know how many server round trips it took to retrieve your data using ADO.NET? Would about the number of bytes sent and received? Total connection time? Command execution time? Number of returned rows? Welcome to the System.Data...
Page 1 of 1 (21 items)