Piyush Shah's Blog
Translate This Page
Translate this page
Browse by Tags
Piyush Shah's Blog
Tagged Content List
How to check if a user belongs to a Security or Distribution group in ASP.Net
If you need to check at Runtime if your User belongs to a Security group. Here's how to do it - Assuming the IIS Application has Authentication set to "Windows Authentication". The Request object of HttpContext has the Logged in users Identity which contains Groups. Here is the code which validates...
25 Mar 2009
ASP.Net AJAX 4.0 Client Templates in depth
1 Feb 2009
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. Here are some of the changes in this version...
16 Jun 2007
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 as these feeds are in Xml and they have a certain...
5 May 2007
12 Apr 2007
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 how you can Load and Persist the ViewState...
6 Apr 2007
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. VirtualPathProvider is a new functionality...
9 Mar 2007
Page 1 of 1 (7 items)
© 2013 Microsoft Corporation.
Privacy & Cookies