Suresh Behera

The Microsoft .Net Junkies

News

Blogroll

Reading

Once in your life

1 2 3 4 5 6 7 8 9

On August 7 , 2009
At 12hr 34 minutes and 56 seconds on the 7th of August
this year, the time and date will be


12:34:56 07/08/09
This will never happen in your life again??!!!!

On September 9 , 2009
at 09 hr 09 minutes and 09 seconds

the time and date will be
09:09:09 09/09/09
This will never happen in your life again??!!!!

Speeding Up Your Web Site

34 best practices

http://developer.yahoo.com/performance/rules.html#minify

Yahoo’s YSlow
http://developer.yahoo.com/yslow/

* Make Fewer HTTP Requests
* Use a Content Delivery Network
* Add an Expires Header
* Gzip Components
* Put Stylesheets at the Top
* Put Scripts at the Bottom
* Avoid CSS Expressions
* Make JavaScript and CSS External
* Reduce DNS Lookups
* Minify JavaScript
* Avoid Redirects
* Remove Duplicates Scripts
* Configure ETags
* Make Ajax Cacheable
More …
14 Rule by Steve Souders
http://stevesouders.com/hpws/

- Combined and minimized JavaScript and CSS files used throughout the site
- Implemented CSS sprites for frequently-used images
How we improved performance on Google Code

How To Optimize Your Site With GZIP Compression
http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/

Speed Up Your Javascript Load Time
http://betterexplained.com/articles/speed-up-your-javascript-load-time/

Speed Up Your Javascript, Part 2: Downloadable Examples!
http://betterexplained.com/articles/optimized-javascript-example/

10 Tips for Writing High-Performance Web Applications
http://msdn.microsoft.com/en-us/magazine/cc163854.aspx

IIS Compression in IIS6.0
http://weblogs.asp.net/owscott/archive/2004/01/12/57916.aspx

HOW TO: Enable ASPX Compression in IIS
http://support.microsoft.com/kb/322603

 

Google Speed
http://code.google.com/speed/articles/

Cheers..Happy coding..

Suresh Behera

High Performance Web Sites

 

only 10-20% of the end user response time is spent downloading the HTML document. The other 80-90% is spent downloading all the components in the page.

The Google Code Blog: How we improved performance on Google Code

Nice article…read it..

 

Suresh Behera

Troubleshooting on Windows Mobile

Here is a excellent resource for Troubleshooting on Windows Mobile.This is documented very well..worth to read it for windows mobile developer.

Part 1
http://blogs.msdn.com/hopperx/archive/2009/03/05/troubleshooting-guide-part-1.aspx

Part 2
http://blogs.msdn.com/hopperx/archive/2009/04/21/troubleshooting-guide-part-2.aspx


Cheers..

Suresh Behera

JavaScript Injection

Here is few nice help full toll for javscript injection

Testing different resolutions for web pages
javascript:window.resizeTo(1095,895); window.moveTo(55,55);

Rendered source of the currently displayed page

javascript:var myWin=window.open("","myWin","width=800,height=600,scrollbars,resizable,menubar");var myStr=document.documentElement.outerHTML;myStr=myStr.replace(/\</g,"&lt;").replace(/\>/g,"&gt;").replace(/\r\n/g,"<br>");myWin.document.open();myWin.document.write(myStr);myWin.document.close();

Rendered source for all frames in a frameset:

javascript:var myWin,myStr,fms=window.top.frames;var i,len=fms.length;for(i=0;i<len;i++){myWin=window.open("","frame"+i,"width=800,height=600,scrollbars,resizable,menubar");myStr=fms[i].document.documentElement.outerHTML;myStr=myStr.replace(/\</g,"&lt;").replace(/\>/g,"&gt;").replace(/\r\n/g,"<br>");myWin.document.open();myWin.document.write(myStr);myWin.document.close();}

All tag
javascript:alert(document.body.innerHTML)

http://www.patricktalmadge.com/2006/11/28/javascript-injection/

For more information please google
http://www.google.com/search?hl=en&q=javascript+injection&btnG=Search

NOTE: If you have more please post it on comment

Thanks,

Suresh Behera

Sync Framework for Windows Mobile (Devices) & some use full links

Some use full links for Sync Framework for Windows Mobile (Devices)

Sync Framework Overview
http://msdn.microsoft.com/en-us/library/bb902814.aspx

Microsoft Sync Framework v1.0 CTP1 - Devices
http://www.microsoft.com/downloads/details.aspx?FamilyId=A7C01A89-9AF8-4EEE-AB04-6A3AD098A03F&displaylang=en

Sync Framework for Windows Mobile (Devices)
http://blogs.msdn.com/sync/archive/2008/08/12/sync-framework-for-windows-mobile-devices-ctp1.aspx

Sync101 - (Windows Mobile) Device Synchronization
http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=sync&ReleaseId=2214

Windows Mobile/CE Developer Glossary
http://community.intermec.com/intr/board/message?board.id=IDL-DRKs&thread.id=46

Useful developer and user tools
http://community.intermec.com/intr/board/message?board.id=IDL-DRKs&thread.id=35

 

 

Thanks,

Suresh Behera

IE Mobile Limitations on WM 5 vs WM6

This is some nice information most of develor miss during windows mobile development.

 

- IE Mobile for Windows Mobile 5 does not support document.getElementById(), though IE Mobile for Windows Mobile 6 does. The following code snippet provides a workaround using the document.all DOM property.

-IE Mobile for Windows Mobile 5 does not support createElement, though IE Mobile for Windows Mobile 6 does. For Windows Mobile 5 devices, create elements using the innerHTML property.

- Use the innerHTML and innerText properties to modify an element on IE Mobile for both Windows Mobile 5 and 6.

More reading

http://code.google.com/apis/gears/mobile.html#create_doc_elements_win_mo

Cheers,

Suresh Behera

IEMobile Development

 

This is one of very good article found on IEMobile development.It is worth to look it.

http://msdn.microsoft.com/en-us/library/ms838316.aspx

 

Cheers…

Suresh Behera

Posted: Feb 18 2009, 06:59 PM by Suresh Behera | with no comments
Filed under: ,
Login dialog when using the Team Foundation Server API

nwc = new NetworkCredential(tfsuid, TFSPass, TFSDomain);
tfs = new TeamFoundationServer(TFSServerUrl, new UICredentialsProvider());

tfs.EnsureAuthenticated();

EnsureAuthenticated does not work for web,You need to have customize dialog box to accept uid and password.

Few use full links for above topic…

http://blogs.msdn.com/buckh/archive/2006/03/17/credentialprovider.aspx
http://social.msdn.microsoft.com/forums/en-US/tfsgeneral/thread/b6d8c69f-655f-4391-bda1-f3fefa7d54f3/

http://blogs.msdn.com/narend/archive/2006/07/29/682032.aspx
http://blogs.msdn.com/kannans/archive/2007/04/23/tfs-data-source-asp-net-control.aspx

 

Good luck..

 

Suresh Behera

Posted: Feb 06 2009, 04:22 PM by Suresh Behera | with no comments
Filed under: ,
What is workspace in TFS ?

Well i have been using tfs since few months surprisingly got question like “What is Workspace in tsf ?” asked few of colleague to get their view who all are in tfs zone since long period got different  answer like and checked on Google see what it say…

image 

ANS : A workspace is your client-side copy of the files and folders on the source control server
http://msdn.microsoft.com/en-us/library/ms181383(VS.80).aspx

saw a nice post on workspace…check it out…
http://www.woodwardweb.com/teamprise/workspace_101_a.html

How to: Create a Workspace
http://msdn.microsoft.com/en-us/library/ms181384(VS.80).aspx

 

Cheers…

Suresh Behera

Posted: Feb 04 2009, 06:34 PM by Suresh Behera | with no comments
Filed under: ,
More Posts Next page »