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
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)
February, 2006
MSDN Blogs
>
AppDev: Something You Should Know by Irena Kennedy
>
February, 2006
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 72: Fast Comparison of Dates
Posted
over 6 years ago
by
irenake
2
Comments
It’s well known that comparing variables of DateTime data type, whether in .NET or in SQL, is not the fastest operation… So, if you have a table with EffectiveDate and ExpirationDate columns, and you need to get only rows where EffectiveDate >= Now...
AppDev: Something You Should Know by Irena Kennedy
SYSK 71: Dataset Footprint in Memory vs. Remoting Size
Posted
over 6 years ago
by
irenake
2
Comments
A lot of good discussions have been held over the last several years on the remoting size of a dataset. Significant improvements have been made in ADO.NET 2.0 to reduce the remoting footprint of a dataset by using binary serialization. But is the dataset...
AppDev: Something You Should Know by Irena Kennedy
SYSK 70: Where Does the Expression “You’re Fired” Come From?
Posted
over 6 years ago
by
irenake
0
Comments
I’ve been “under the weather” for the last week or so, and ran out of prepared appdev SYSK items, so this one is a filler… The expression "to get fired" comes from centuries ago. When clans wanted to get rid of their unwanted people without killing...
AppDev: Something You Should Know by Irena Kennedy
SYSK 69: Visual Studio – Controlling Which Files Are Saved At Build Time
Posted
over 6 years ago
by
irenake
0
Comments
Did you know you can modify what gets saved before building? Go to Tools -> Options -> Projects and Solutions -> Build and Run settings. The first combo box is ”Before building”, which has the following options: - Save all changes (default...
AppDev: Something You Should Know by Irena Kennedy
SYSK 68: Choosing Between T-SQL and .NET Stored Procs
Posted
over 6 years ago
by
irenake
0
Comments
The official recommendation is relatively well known by now, and is stated below: Transact-SQL is best for situations in which the code will primarily perform data access with little or no procedural logic. Programming languages that are compatible...
AppDev: Something You Should Know by Irena Kennedy
SYSK 67: SQL – Who is Connected and What are They Running?
Posted
over 6 years ago
by
irenake
0
Comments
Want to know who the users that are connected and how many sessions do each of them have? Then use the new sys.dm_exec_sessions view: SELECT login_name, count(session_id) as session_count FROM sys.dm_exec_sessions GROUP BY login_name Want to know who...
AppDev: Something You Should Know by Irena Kennedy
SYSK 66: .NET 1.1 and 2.0 Handles ASCII Encoding Differently?
Posted
over 6 years ago
by
irenake
6
Comments
My tests show that the answer is Yes… See it for yourself. Create a windows app in VS 2003, add one text box and one button to a form and put the following code behind the button click: // A bunch of bytes represented by their code string[] input...
AppDev: Something You Should Know by Irena Kennedy
SYSK 65: Change to Full Trust Definition in .NET 2.0
Posted
over 6 years ago
by
irenake
0
Comments
Did you know that full trust assemblies now satisfy any code access security demands? In the .NET Framework 2.0, any fully trusted assembly will satisfy any demand, including a link demand for an identity permission, such as a System.Security.Permissions...
AppDev: Something You Should Know by Irena Kennedy
SYSK 64: Notes from “Windows Presentation Foundation Under the Hood” talk
Posted
over 6 years ago
by
irenake
0
Comments
The other day, I listened to a "Windows Presentation Foundation Under the Hood" talk by Leonardo Blanco and Mike Hillberg. Below are the notes from it, excluding Q&A session. Components that make up the platform: 1. Element System - the most visible...
AppDev: Something You Should Know by Irena Kennedy
SYSK 63: Vista’s Speech Capabilities
Posted
over 6 years ago
by
irenake
7
Comments
The next version of OS (Vista) will have state-of-the-art speech technology built right in. WinFX will have a powerful API for enabling your users to speak to your apps and your apps to speak to your users. At the last PDC (2005), Phillip Schmid, Robert...
AppDev: Something You Should Know by Irena Kennedy
SYSK 62: Jim Allchin's view of what Vista will offer the enterprise
Posted
over 6 years ago
by
irenake
3
Comments
Vista brings to the enterprise much more than just enhanced security. Amongst many features I personally look forward too, are -- much better monitoring, new diagnostic tools and far fewer reboots. Here are some others… Vista will also introduce a...
AppDev: Something You Should Know by Irena Kennedy
SYSK 61: Creating Temporary (not persisted, a.k.a. in-memory) Projects in VS 2005
Posted
over 6 years ago
by
irenake
1
Comments
If you miss the old VB 6.0 (and prior) feature of being able to create a project and not save it to the disk (e.g. a short lived test project you plan to run once and then destroy), the read on… In VS.NET it’s called Zero-Impact Projects, and it allows...
AppDev: Something You Should Know by Irena Kennedy
SYSK 60: How Does SqlBulkCopy Deal with Duplicate Records?
Posted
over 6 years ago
by
irenake
5
Comments
The other day, I was asked the following question “Does the SqlBulkCopy update records if they already exist or must it be used only for INSERTS only?” So, I thought others might benefit from knowing the answer… SqlBulkCopy is nothing more than a more...
AppDev: Something You Should Know by Irena Kennedy
SYSK 59: How to Stay Young
Posted
over 6 years ago
by
irenake
2
Comments
Those of you who follow my blog know that I almost never write on topics outside of appdev… But this one, by George Carlin, is just too good to keep it to myself. 1. Throw out nonessential numbers. This includes age, weight and height. Let the doctors...
AppDev: Something You Should Know by Irena Kennedy
SYSK 58: Making Code Line Length Conformance Easy in VS
Posted
over 6 years ago
by
irenake
0
Comments
Many teams agree on the maximum line length that should not be exceeded for code readability. Usually, it’s either 80 or 120 characters long. The question is, how do you conform to this rule? Some of you may know this trick, but for those who don’t...
AppDev: Something You Should Know by Irena Kennedy
SYSK 57: Handy Undocumented Stored Procs
Posted
over 6 years ago
by
irenake
0
Comments
In case you didn’t know, there are a couple of very cool SQL stored process that allow you to execute a T-SQL statement for each table and for each database. They are sp_MSforeachdb and sp_MSforeachtable. For example, executing sp_msforeachtable 'sp_spaceused...
AppDev: Something You Should Know by Irena Kennedy
SYSK 56: A Word on Frameworks (from the lighten up series)
Posted
over 6 years ago
by
irenake
0
Comments
Ok, it’s time to lighten up a bit… and then to think a bit on not such a light topic. Check out this humorous and, at the same time, thought provoking piece on frameworks by Benji Smith at http://discuss.joelonsoftware.com/default.asp?joel.3.219431...
AppDev: Something You Should Know by Irena Kennedy
SYSK 55: Rotate SQL table without any INNER JOIN (narrow to wide table without PIVOT)
Posted
over 6 years ago
by
irenake
3
Comments
If you have a narrow table, e.g. just the following columns -- GroupId, DataId, DataValue (frequently used to store facts, e.g. questions and answers) – but you want to get all data ids and values for a given group id as one row , try the SQL below: ...
AppDev: Something You Should Know by Irena Kennedy
SYSK 54: The New Way to Deal with Apostrophes in SQL
Posted
over 6 years ago
by
irenake
0
Comments
In SQL, you can now use quotename instead of ‘’’’… So, if you need to pass O’Brian as the last name, you no longer have to replace it with double apostrophes to make it O’’Brian – just use the new quotename(@lastname, ‘’’’) in your queries. This function...
AppDev: Something You Should Know by Irena Kennedy
SYSK 53: To Close() or to Dispose()? That is the question…
Posted
over 6 years ago
by
irenake
9
Comments
Since I’m still meeting developers that are not quite sure of the differences between the two, and the choice that’s right for them, I decided to blog on the topic… Just so we are all on the same page, you need to call Close or Dispose methods to release...
Page 1 of 1 (20 items)