Welcome to MSDN Blogs Sign in | Join | Help

Piyush Shah's Blog

Software Development Engineer @ MSDN & Technet

Browse by Tags

Get SharePoint Template Id's for any List
Recently I was writing a "Sharepoint Feature" and I wanted to find the Template Id for "Pages Library" and it took me a while to find it. However I discovered a way to find it without frantically searching for it or writing code to loop through all the Read More...
Windows server 2008 Tips
I installed Windows Server 2008 RTM over this weekend. It is pretty cool and FAST! Here are some Tips/Tricks I made to it - Desktop Features – To have the Desktop features like Windows Media player, Themes, Sidebar, etc. you will have to enable the Feature Read More...
How much time does it take to copy 9GB file on Longhorn?
Recently I tried to copy a 9GB file. See below on the time it shows the task would complete - 24606 Days and 2 hours, which means I need to wait for 67.5 years . Oh BTW this is in Longhorn RC0. But in all fairness after a few seconds it changed to 34 Read More...
ASP.Net RssToolkit Version 2.0
I have been part of the team working on the latest version ASPNET RssToolkit, originally created by Dmitry Robsman . We enhanced this awesome Toolkit and have just released version 2.0 of the Toolkit. Please check out Codeplex to download this toolkit. Read More...
Translate your text using Google Api's
Here is how you can translate a Text using Google's "Unofficial" API's. The URL for Google Translate is - http://www.google.com/translate_t?hl=en&ie=UTF8&text={0}&langpair={1} "text" is your input string which needs to be translated. langpair Read More...
VS 2005 not loading project on IIS 7 and Vista
If you get this error when loading a Web Application project on Visual Studio 2005 running on Vista and IIS 7 - "Unable to read the project file 'xxx.csproj'. The Web Application Project xxx is configured to use IIS. To access local IIS Web sites, you Read More...
Memory Leak in Orcas Beta 1 when using Ajax Controls
There is a bug in Visual Studio Orcas Beta 1 when you use ASP.Net Ajax controls. It starts consuming memory and after a while hogs as much as it can, until you restart it. The bug is when you have an image inside an AJAX control, e.g. - < asp : UpdateProgress Read More...
Customize Google to your needs
If you like Firefox, this is the first extension you should install - Customize Google This extension customizes Google as per your needs. Features like - Remove ads (Yeah!) Use Google Suggest during search. Rewrite links to point straight to the images Read More...
101 LINQ query samples
If you are starting into writing LINQ queries or you are stuck in writing a query here is a link which I'm sure will help you - http://msdn2.microsoft.com/en-us/vcsharp/aa336746.aspx Read More...
Convert any feed to ATOM
Judging by ATOM's rising popularity, see Atom compared to RSS , and its public endorsement by Google. Atom may be the future of Feed Syndication. Here is a quick way, courtesy of Google, to convert any Feed type to Atom. Google provides a nice REST interface Read More...
Javascript Simple Syndication - JSS
Web syndication is a way to make content of your website or application available for others to use. Rss/Atom/Rdf are specifications, which websites use for this purpose. However to consume such formats in your website, you need to know a little programming Read More...
MSDN Video Vista Sidebar Gadget
I created a Vista Gadget with the help of my Lead Jon Gallant . This gadget helps you find Videos on MSDN. You can select from existing categories or you can search for videos. It shows the Video links at the bottom. When you hover over the video links Read More...
Convert Rss to JSON - Serialize to JSON by using XmlSerialization and JavaScriptSerializer
JSON (Javascript Object Notation) – is a light weight data interchange format. It essentially is composed of key-value pairs. For Example – XML < rss version = " 2.0 " > < channel > < item > < link > http://test.com</link > Read More...
Compressing ViewState of your Application
.Net framework has an entire namespace for compression - System.IO.Compression. GZipStream is the class used for Compression and Decompression. .Net Framework 2.0, exposes a new class called PageStatePersister. This class is used to override and customize Read More...
Sharing Master Pages amongst Applications by Embedding it in a Dll
If you need to share Master Pages across applications and you don't want to create a ton of virtual directories, below is a way to do that. You can embed the Master Page as a Resource in your Dll and use VirtualPathProvider mechanism to call the Resource. Read More...
Page view tracker