Asp.net, listbox, htc, behavior, autosearch listbox, wcf, certificate
Discoveries / Experiences in .Net Application development - Site Home - MSDN Blogs
Sign In
Discoveries / Experiences in .Net Application development
Discoveries during Web Application development using Asp.Net, C# etc
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
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
.Net3.5
ajax
app.config
asp.net
CodeCoverage
Development
gac
gacutil
Globalization
gridview
HealthMonitor
htc
javascript
LINQ
ListBox
localization
msbuild
Proxy
Sql
Tracing
viewstate
Vs 2008
Vsts 2008
wcf
webtest
Archive
Archives
February 2011
(1)
January 2011
(1)
December 2010
(2)
July 2010
(2)
June 2010
(2)
May 2010
(1)
March 2010
(1)
January 2010
(1)
December 2009
(3)
October 2009
(2)
September 2009
(1)
August 2009
(2)
June 2009
(1)
May 2009
(2)
April 2009
(1)
February 2009
(3)
September 2008
(2)
June 2008
(2)
May 2008
(3)
March 2008
(1)
October 2007
(4)
MSDN Blogs
>
Discoveries / Experiences in .Net Application development
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Discoveries / Experiences in .Net Application development
Wurfl 51degrees Mobile Capabilities Viewer
Posted
over 1 year ago
by
Y2KPRABU
3
Comments
I have created a simple codeplex project to view all the mobile capabilities given by Wurfl.Sourceforge.net. It uses 51degrees.codeplex.com .Net helper binary to get the capabilities from the Wurfl file. check it out here , Download here
Discoveries / Experiences in .Net Application development
Mini Memory Dump Diagnosis using Asp.Net
Posted
over 1 year ago
by
Y2KPRABU
0
Comments
To Enable developers to generate mini memory dumps in case of unhandled exceptions or for specific exception scenarios without using any external tools , only using Asp.Net 2.0 and above. Many times in production , QA Servers the issues require post-mortem...
Discoveries / Experiences in .Net Application development
Network Adapter/ Interface Analyzer, viewer, Speed Calculator
Posted
over 2 years ago
by
Y2KPRABU
0
Comments
I have written a simple .net 3.5 based winforms solution, which shows all information about the Network Adapters and the download / upload speed etc. check it out here. http://netanalyzer.codeplex.com/ Download here http://netanalyzer.codeplex.com...
Discoveries / Experiences in .Net Application development
Windows Forms GUI based Trace Listener
Posted
over 2 years ago
by
Y2KPRABU
0
Comments
Many times we find it difficult to view Trace information written from our Win Forms Application. Since we dont have a Trace.axd like Web Apps have. I have created a simple UI based Trace Listener to debug / Trace information . Displays all the Trace...
Discoveries / Experiences in .Net Application development
Override SaveViewState Custom Controls - Cautious
Posted
over 2 years ago
by
Y2KPRABU
0
Comments
Be cautious when you Override SaveViewState during Custom Control development. The SaveViewState is called on Page Load and all Post Backs, irrespective of whether the property backed by the viewstate is modified programatically or at runtime. ...
Discoveries / Experiences in .Net Application development
Optimize Viewstate and Enum
Posted
over 2 years ago
by
Y2KPRABU
5
Comments
In Asp.Net , When we use custom enumerations , and store them in the ViewState as Enum Text (Single or Married), for eg. enum MyStatus { Single = 0, Married } The FullTypeName, i.e, name of the Type, the assembly Name, Strong name public key...
Discoveries / Experiences in .Net Application development
.Net 1.1 to 2.0 Migration Guidelines
Posted
over 2 years ago
by
Y2KPRABU
0
Comments
Look at the attached file thanks to http://blogs.msdn.com/b/peterlau/archive/2006/05/11/595294.aspx Also check out msdn webcast http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032266976&Culture=en-US Presentation with this...
Discoveries / Experiences in .Net Application development
Performance testing WCF web services using VSTS unit Tests
Posted
over 2 years ago
by
Y2KPRABU
0
Comments
1. Create a Performance session using the performance wizard 2. Add the website hosting the WCF service to be profiled 3.Choose instrumentation rather than sampling , since it would give you the time spent in individual functions etc. 4.For some reason...
Discoveries / Experiences in .Net Application development
Automate Creating certificates for WCF
Posted
over 2 years ago
by
Y2KPRABU
1
Comments
Creating certificates for Wcf Testing open visual studio 2008 command prompt and run as administrator. makecert.exe -sr LocalMachine -ss MY -pe -sky exchange -n "CN=WcfClientCert" WcfClientCert.cer cert2spc WcfClientCert.cer WcfClientCert.spcpvkimprt...
Discoveries / Experiences in .Net Application development
Creating Custom WCF Proxy files
Posted
over 2 years ago
by
Y2KPRABU
0
Comments
I wanted to have my proxy files created using svcutil to have my custom base class instead of clientbase and , i wanted to remove all unnecessary constructors and add my own constructors etc. I had thought that it would be a manual job, But There is...
Discoveries / Experiences in .Net Application development
Diagnostics SharedListeners vs Listeners
Posted
over 2 years ago
by
Y2KPRABU
0
Comments
Shared Listener as the name suggests can be used by 2 or more trace sources(eg. Say one logs Messages and other logs Errors, Warnings etc) by using a friendly name. But if both of them plan to use the same tracefile, Then the advantage here is you...
Discoveries / Experiences in .Net Application development
WCF ServiceHost Custom Config from AppSettings
Posted
over 3 years ago
by
Y2KPRABU
0
Comments
hi All the code snippet below would create a simple service host loaded from a normal app.config instead of having to understand the complex WCF service configuration this is how we would initiate the servicehost.. MyFramework.ServiceModel.WCFService<...
Discoveries / Experiences in .Net Application development
Override Default Xml Serialization
Posted
over 3 years ago
by
Y2KPRABU
0
Comments
This is some hidden fact about xml serializers in .Net. There is an option is to use a special pattern to create a Boolean field recognized by the XmlSerializer , and to apply the XmlIgnoreAttribute to the field. The pattern is created in the form...
Discoveries / Experiences in .Net Application development
WCF .NET 4.0 RoadMap
Posted
over 3 years ago
by
Y2KPRABU
0
Comments
.NET 4.0 brings several improvements in the areas of WCF and WF, including improved REST capabilities, a new workflow model, seamless integration between WF and WCF, and a new visual designer. It also provides the ability to author completely declarative...
Discoveries / Experiences in .Net Application development
Find all references, go to definition do not work across VB/C# projects in same solution
Posted
over 3 years ago
by
Y2KPRABU
1
Comments
While using Visual Studio today I noticed an anomaly. When I bring up a file in VS2008 Solution Explorer AuditEventPublisher.vb in MyVbProject.vbproj Scroll down to the Publish method , right click and select “ find all references ”, Visual Studio...
Discoveries / Experiences in .Net Application development
Linq Select Distinct Records based on a field or Property
Posted
over 3 years ago
by
Y2KPRABU
0
Comments
Have a look at the sample below, Is there a simpler way of achieving this ? I needed the results 1 vp 2 x 3 y Rest should be ignored public class customer { public int id; public string name; public static IEnumerable...
Discoveries / Experiences in .Net Application development
asp.net 3.5 checkboxlist AddAttributesToRender Not called in Override
Posted
over 3 years ago
by
Y2KPRABU
0
Comments
I recently came across this issue where in if we override the AddAttributesToRender method in our custom CheckBoxlist. It never gets called at all. Instead we had to use PreRender or RenderItem refer http://www.dotnetmonster.com/Uwe/Forum.aspx...
Discoveries / Experiences in .Net Application development
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
Posted
over 3 years ago
by
Y2KPRABU
0
Comments
VSTS Tester Edition 2008 : When i ran a Webtest with Code Coverage I got this Error :No connection could be made because the target machine actively refused it 127.0.0.1:80. I found that IIS was stopped. Started It. Then I found that my Web.config...
Discoveries / Experiences in .Net Application development
Get Public Key Token from Snk File using Msbuild
Posted
over 3 years ago
by
Y2KPRABU
0
Comments
I have written a small msbuild script which can be used to get the public key and the public key token from the .snk file. This attachment needs to be executed from the visual studio command prompt . Update the WorkingDir and SnkFilePath as needed...
Discoveries / Experiences in .Net Application development
VSTS Tester Edition 2008, Code Coverage for WebTest works : do this
Posted
over 3 years ago
by
Y2KPRABU
1
Comments
Many of us try to get code coverage using webtests, we configure for code coverage etc but end of the day we get Empty code coverage data generated. the Answer is just to follow this process... One should be able to get code coverage from web tests...
Discoveries / Experiences in .Net Application development
Vsts 2008 WebTest Asp.Net UnitTest Profiling
Posted
over 3 years ago
by
Y2KPRABU
1
Comments
How to Enable Code Coverage for a machine hosting the WebSite 1. The webapp's bin folder should have all files readonly false. 2. The second thing to do is switch off signature verification for all dlls in bin folder., using the below command...
Discoveries / Experiences in .Net Application development
Msbuild Dll Probing Search Path Custom
Posted
over 3 years ago
by
Y2KPRABU
1
Comments
How do we make the Msbuild look in the current directory for the dlls before looking into Gac and other places . Add something like this in your project file: Soln 1 : <PropertyGroup> <AssemblySearchPath>$(AssemblySearchPath);$(MSBuildProjectDirectory...
Discoveries / Experiences in .Net Application development
Vs 2008 Multi Target Framework and App.config behavior
Posted
over 3 years ago
by
Y2KPRABU
1
Comments
The Vs 2008 , when changing the Target framework from x to y exhibits the following behavior. Current Framework Target Framework App.config gets added / if not exists, if exists gets updated 2.0 3.0 ...
Discoveries / Experiences in .Net Application development
GAC Post build event - Machine path independent script
Posted
over 3 years ago
by
Y2KPRABU
1
Comments
Add the following 2 lines as post build event.. with this.. this is totally machine independent since it uses Visual studio macros.. call "$(DevEnvDir)..\..\vc\vcvarsall.bat" "gacutil" /i "$(TargetPath)" /f
Discoveries / Experiences in .Net Application development
Silverlight 2.0 Globalization / Localization
Posted
over 3 years ago
by
Y2KPRABU
1
Comments
I have created a simple Silverlight application and a doc detailing the same, on how to develop globalized silverlight apps for people across regions and cultures. www.codeplex.com/silverlight2 Created using Vs 2008 , c# and Silverlight 2.0
Page 1 of 2 (37 items)
1
2