Discoveries / Experiences in .Net Application development
Discoveries during Web Application development using Asp.Net, C# etc
Windows 8 Start Menu Back again
Windows 8 Start Menu Bring it back...
Date: 07/04/2012
.Net Code Comment Analyzer.
Counts the code comments for a c#.Net Code .This is a plug in which embeds into Vs2010 IDE and on...
Date: 06/05/2012
Undo other users checkout
- Log in as Tfs Admin 2. Launch Visual studio command prompt 3. use the below Undo workspace...
Date: 03/18/2012
Wurfl 51degrees Mobile Capabilities Viewer
I have created a simple codeplex project to view all the mobile capabilities given by...
Date: 02/04/2011
Mini Memory Dump Diagnosis using Asp.Net
To Enable developers to generate mini memory dumps in case of unhandled exceptions or for specific...
Date: 01/04/2011
Network Adapter/ Interface Analyzer, viewer, Speed Calculator
I have written a simple .net 3.5 based winforms solution, which shows all information about the...
Date: 12/16/2010
Windows Forms GUI based Trace Listener
Many times we find it difficult to view Trace information written from our Win Forms Application....
Date: 12/06/2010
Override SaveViewState Custom Controls - Cautious
Be cautious when you Override SaveViewState during Custom Control development. The SaveViewState is...
Date: 07/19/2010
Optimize Viewstate and Enum
In Asp.Net , When we use custom enumerations , and store them in the ViewState as Enum Text (Single...
Date: 07/19/2010
.Net 1.1 to 2.0 Migration Guidelines
Look at the attached file thanks to https://blogs.msdn.com/b/peterlau/archive/2006/05/11/595294.aspx...
Date: 06/24/2010
Performance testing WCF web services using VSTS unit Tests
- Create a Performance session using the performance wizard 2. Add the website hosting the WCF...
Date: 06/01/2010
Automate Creating certificates for WCF
Creating certificates for Wcf Testing open visual studio 2008 command prompt and run as...
Date: 05/26/2010
Creating Custom WCF Proxy files
I wanted to have my proxy files created using svcutil to have my custom base class instead of...
Date: 03/31/2010
Diagnostics SharedListeners vs Listeners
Shared Listener as the name suggests can be used by 2 or more trace sources(eg. Say one logs...
Date: 01/26/2010
WCF ServiceHost Custom Config from AppSettings
hi All the code snippet below would create a simple service host loaded from a normal app.config...
Date: 12/17/2009
Override Default Xml Serialization
This is some hidden fact about xml serializers in .Net. There is an option is to use a special...
Date: 12/03/2009
WCF .NET 4.0 RoadMap
.NET 4.0 brings several improvements in the areas of WCF and WF, including improved REST...
Date: 12/03/2009
Find all references, go to definition do not work across VB/C# projects in same solution
While using Visual Studio today I noticed an anomaly. When I bring up a file in VS2008 Solution...
Date: 10/30/2009
Find all references, go to definition do not work across VB/C# projects in same sln
While using Visual Studio today I noticed an anomaly. When I bring up a file in VS2008 Solution...
Date: 10/28/2009
Linq Select Distinct Records based on a field or Property
Have a look at the sample below, Is there a simpler way of achieving this ? I needed the results 1...
Date: 09/02/2009
asp.net 3.5 checkboxlist AddAttributesToRender Not called in Override
I recently came across this issue where in if we override the AddAttributesToRender method in our...
Date: 08/11/2009
VSTS Tester Edition : Webtest with Code Coverage Error :No connection could be made because the target machine actively refused it 127.0.0.1:80
VSTS Tester Edition 2008 : When i ran a Webtest with Code Coverage I got this Error :No connection...
Date: 08/11/2009
Get Public Key Token from Snk File using Msbuild
I have written a small msbuild script which can be used to get the public key and the public key...
Date: 06/23/2009
VSTS Tester Edition 2008, Code Coverage for WebTest works : do this
Many of us try to get code coverage using webtests, we configure for code coverage etc but end of...
Date: 05/21/2009
Vsts 2008 WebTest Asp.Net UnitTest Profiling
How to Enable Code Coverage for a machine hosting the WebSite 1. The webapp's bin folder should have...
Date: 05/15/2009
Msbuild Dll Probing Search Path Custom
How do we make the Msbuild look in the current directory for the dlls before looking into Gac and...
Date: 04/02/2009
Vs 2008 Multi Target Framework and App.config behavior
The Vs 2008 , when changing the Target framework from x to y exhibits the following behavior....
Date: 02/24/2009
GAC Post build event - Machine path independent script
Add the following 2 lines as post build event.. with this.. this is totally machine independent...
Date: 02/24/2009
Silverlight 2.0 Globalization / Localization
I have created a simple Silverlight application and a doc detailing the same, on how to develop...
Date: 02/13/2009
ASSERTION FAILED FAILED TO FIND PARENT ELEMENT
ASSERTION FAILED FAILED TO FIND PARENT ELEMENT (name of the dropdown control) I got this error after...
Date: 09/19/2008
document.getElementbyId returns null
I had a strange issue today. document.getElementbyId returns null, but the object was present in the...
Date: 09/19/2008
Word to SQL Table
I have written a Simple Word Macro to convert Word(.docx) Table to Sql Table. DDL statement....
Date: 06/13/2008
Outlook 2007 Very slow startup -solved
Hi My outlook used to take 1 minute to startup. If you are facing similar issues, Do this In Vista,...
Date: 06/12/2008
SQL DB Helper
this is a helper dll which helps to talk to sql databases during development. the developer doesnt...
Date: 05/23/2008
Auto Search ListBox
hi check this sample auto search list box when this htc is attached as a behavior to the list box....
Date: 05/22/2008
Clear Client TFS Cache
Visual Studio and Team Explorer provide a caching mechanism which can get out of sync. If I have...
Date: 05/15/2008
XmlTypeAttribute Anonymoustype=true deserialization fails 'System.InvalidOperationException'
An exception of type 'System.InvalidOperationException' occurred and was caught....
Date: 03/06/2008
Html Export to Excel
Html Export to Excel for exporting to excel just call the function below in sample code and pass the...
Date: 10/25/2007
Popup dialog opens new window on postback
Popup dialog opens new window on postback hi all, many times we use popup dialogues opened with...
Date: 10/25/2007
Html Export to word
Html Export to word just call this function in the code sample from any aspx page say on export to...
Date: 10/25/2007
Delete an Email / Appt WebDAV
Delete an Email / Appt WebDAV use this piece of code to delete an appt from an exchange server using...
Date: 10/25/2007