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
Tags
.NET
Application Development
Async
Config
Deployment
Environment
RIA
Silverlight
SQL
Telerik
TFS
Tools
Visual Studio
VSTS
WCF
Web
Archive
Archives
September 2012
(2)
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)
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 389: How to set ClientCredentials via Configuration file in Client
Posted
7 months ago
by
irenake
0
Comments
I’m working on a project where a service hosted elsewhere requires Windows authentication. As a consultant, my computer is not on the customer’s domain, so, using my logged-on Windows credentials won’t do any good. And, doing nothing...
AppDev: Something You Should Know by Irena Kennedy
SYSK 388: Differences between basicHttpBinding and wsHttpBinding
Posted
8 months ago
by
irenake
1
Comments
Doing a web search for a difference between basicHttpBinding and wsHttpBinding, I find just generic references to basicHttpBinding being a basic implementation of SOAP1.1, and wsHttpBinding supporting all the WS-* spec. So, I did a side by side comparison...
AppDev: Something You Should Know by Irena Kennedy
SYSK 387: Resolving Data Type Conversion Error
Posted
over 1 year ago
by
irenake
0
Comments
Consider the following line of code: AttendeeAvailability attendeeAvailability; . . . if (attendeeAvailability.WorkingHours.DaysOfTheWeek.Contains(DateTime.Today.DayOfWeek) == false) { . . . } You’ll get a compile time error -- Argument 1...
AppDev: Something You Should Know by Irena Kennedy
SYSK 386: Performance Implications of Using One vs. Several Nested Hashtables
Posted
over 1 year ago
by
irenake
0
Comments
Let’s say you need to quickly find some reference/lookup data and you decide to use hashtables… If your key is comprised of several elements, is it better, from the performance point of view for you to combine all of them into one string...
AppDev: Something You Should Know by Irena Kennedy
SYSK 385: Smart Cache
Posted
over 1 year ago
by
irenake
0
Comments
John Manaloto, one of the architects I’ve worked with recently, has been kind enough to allow me to publish the “smart cache” class he’s put into one of his projects… It’s a component built on top of Microsoft Caching...
AppDev: Something You Should Know by Irena Kennedy
SYSK 384: The new ‘normal’ [non-technical]
Posted
over 2 years ago
by
irenake
0
Comments
Once in a while, I post non-technical gems I come across… This one was one of those hard to pass by and not to share… I got it through a couple of forwards, and the original, accurate author information is not known – if somebody knows...
AppDev: Something You Should Know by Irena Kennedy
SYSK 383: FileSync Tool
Posted
over 2 years ago
by
irenake
2
Comments
Last weekend I wrote a utility that does file synchronization (yes, I know there many such tools), but where I can define in advance what I want to see happen if there are discrepancies, e.g.: If you think you might benefit from it, attached is...
AppDev: Something You Should Know by Irena Kennedy
SYSK 382: File Comparison
Posted
over 2 years ago
by
irenake
4
Comments
Last weekend I wrote a utility that does file synchronization (yes, I know there many such tools), but where I can define in advance what I want to see happen if there are discrepancies… To do that, I needed a class that would take an array of...
AppDev: Something You Should Know by Irena Kennedy
SYSK 381: How To Get One Callback When Multiple Async Services Calls are Completed
Posted
over 3 years ago
by
irenake
0
Comments
My current project uses Silverlight 4.0 and RIA services, and I quickly came to realize the benefits and the challenges of all DomainService calls being asynchronous. Consider this scenario: a Silverlight client app needs to get some data, that...
AppDev: Something You Should Know by Irena Kennedy
SYSK 380: How to Get Rid of Double Scroll Bar in Microsoft Report Viewer Control
Posted
over 3 years ago
by
irenake
3
Comments
Special thanks to David Petersen who has submitted this post! If you ASP.NET page that contains the Report Viewer Control, has double scroll bars, you can remove them by including two separate form elements on the page: 1. First <form>...
AppDev: Something You Should Know by Irena Kennedy
SYSK 379: Visual Studio 2010 Add-In for Managing Configuration Files Across Environments
Posted
over 3 years ago
by
irenake
0
Comments
This is an update to http://blogs.msdn.com/b/irenak/archive/2009/12/16/sysk-375-visual-studio-add-in-for-managing-configuration-files-across-environments.aspx . The provided code is upgraded for Visual Studio 2010, and also now supports nested projects...
AppDev: Something You Should Know by Irena Kennedy
SYSK 377: System.ServiceModel.CommunicationException in a Silverlight 4.0 app
Posted
over 3 years ago
by
irenake
2
Comments
All the credit for the information in this post goes to Marc DeAntoni, and other Internet posts/articles that helped Marc get to the root cause! On my current project, we were working on a proof of concept application measuring how many editable...
AppDev: Something You Should Know by Irena Kennedy
SYSK 376: Utility to Add DateTaken as File Name Prefix
Posted
over 4 years ago
by
irenake
0
Comments
I like to view photo images (.jpg files) using Large or Extra Large Icons view in Windows Explorer. Unfortunately, this view doesn’t give me a way to sort the files by DateTaken property… So, as a workaround, I created a small application that uses the...
AppDev: Something You Should Know by Irena Kennedy
SYSK 375: Visual Studio Add-In for Managing Configuration Files Across Environments
Posted
over 4 years ago
by
irenake
2
Comments
One of common customer questions/requests I get is about industry best practices and recommendations on managing configuration file settings when deploying code across environments. There are several options to change different configuration settings...
AppDev: Something You Should Know by Irena Kennedy
SYSK 374: Role Based Authorization for WCF Services through Configuration Files
Posted
over 4 years ago
by
irenake
1
Comments
Traditionally, to implement role based authorization in .NET you would use PrincipalPermission attributes, e.g.: [ PrincipalPermission ( SecurityAction .Demand, Name = "YourDomain\\User1" , Role = "YourDomain\\Role1" )] public void MethodX( ...
AppDev: Something You Should Know by Irena Kennedy
SYSK 373: How to Impersonate the Original Caller When Calling the WCF Service in ASP.NET by Configuration Only
Posted
over 4 years ago
by
irenake
0
Comments
If your WCF services use role based authorization, and you need to pass the identity of the end user (original caller), you have a few options: 1. Use <identity impersonate=”true” /> in web.config This is not my preference since there...
AppDev: Something You Should Know by Irena Kennedy
SYSK 372: TFS – Enforcing Comments on Check-In & Violations Query
Posted
over 4 years ago
by
irenake
0
Comments
As many web sites point out, TFS uses policies to implement a requirement that developers provide comments when checking in code. The policy must be deployed to each developer (client machines). The Team Foundation Server Power Tools include the Changeset...
AppDev: Something You Should Know by Irena Kennedy
SQL Server Connection Leak Simulation Tool
Posted
over 4 years ago
by
irenake
0
Comments
Sometimes it’s necessary to test application performance in low available resource situations… I’ve seen tools that simulate low available memory, do network throttling, etc., but I have not come across one that simulates a lot of SQL Server connections...
AppDev: Something You Should Know by Irena Kennedy
SYSK 370: The Performance Cost of Extension Methods
Posted
over 4 years ago
by
irenake
1
Comments
First, for those who may not be familiar with this feature, .NET 3.5 allows developers to add methods to existing types without using inheritance or partial classes by creating static methods that can be invoked by using instance method syntax. ...
AppDev: Something You Should Know by Irena Kennedy
SYSK 369: What’s Taking So Much Hard Drive Space? ... or Getting ‘True’ Folder Size
Posted
over 4 years ago
by
irenake
2
Comments
If, from time to time, you delete some files & folders from your hard disk, either because it’s no longer needed or just takes too much space and needs to be moved elsewhere, you may find the following utility useful… Basically, the tool below...
AppDev: Something You Should Know by Irena Kennedy
SYSK 368: SharePoint – Custom List Item Action that Starts a Workflow
Posted
over 4 years ago
by
irenake
1
Comments
First, I must start with the following disclaimer – this was my first SharePoint 2007 project, so, I do not claim any expertise in the subject matter… However, I believe, this post may be of value to some readers… Let’s say, you want to add a custom...
AppDev: Something You Should Know by Irena Kennedy
SYSK 367: Outlook Add-In to Archive E-Mails
Posted
over 5 years ago
by
irenake
2
Comments
Do you wish there was an easier way to save individual messages to your hard disk in Outlook 2007? Moreover, do you want this utility to automatically modify the file name making it unique? For example, you may want to search for all messages from/to...
AppDev: Something You Should Know by Irena Kennedy
SYSK 366: Tool to Automatically Set Internet Explorer Proxy
Posted
over 5 years ago
by
irenake
2
Comments
As a consultant, I frequently work at my customer sites, and at my home office. Needless to say, remembering the proxy configurations, and changing them every time I plug in is a chore I’d rather delegate to software running in the background and automatically...
AppDev: Something You Should Know by Irena Kennedy
SYSK 365: How to get your unit tests (test project in Visual Studio 2008, a.k.a. MSTest) run multithreaded
Posted
over 5 years ago
by
irenake
2
Comments
If you want to test code that requires an MTA threading model (e.g. the code being tested uses WaitHandle.WaitAll), you need to change the .testrunconfig file manually and change the threading model from STA to MTA. There are other posts that say...
AppDev: Something You Should Know by Irena Kennedy
SYSK 364: AJAX Extensions 1.0 Source Code and Debug Symbols
Posted
over 6 years ago
by
irenake
0
Comments
Did you know that AJAX Extensions source code and debugging symbols are available to everybody at http://www.microsoft.com/downloads/details.aspx?FamilyID=ef2c1acc-051a-4fe6-ad72-f3bed8623b43&DisplayLang=en ?
Page 1 of 19 (468 items)
1
2
3
4
5
»