DCSIMG
IIS,DEV - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » IIS » DEV (RSS)
SharePoint API – Download \ Upload Documents (Tool)
Tweet A long time ago I wrote about SharePoint 2007 Files Restore Tool , tool that allows you to connect to SharePoint content database (not need to have SharePoint installation) and extract documents. The reason I wrote this tool was a customer that upgrade TFS and perform a new installation of SharePoint so he lost all his documents, this tool helped me to extract all documents and added them to the new SharePoint site. SharePoint upgrade/migration can be unpleasant and sometimes I prefer to do...
Creating Virtual Web Sites on IIS with .Net
Creating Virtual Web Sites on IIS with .Net My last post on Reading Web Sites Status on IIS with .Net was the first post on IIS development through .NET So here is an example for creating virtual Web Site using .NET. public DirectoryEntry VDir = null ; public string Virtual = "" ; public string FriendlyName = "" ; public string Path = ""; public string IISPath = "IIS://LOCALHOST/W3SVC/1/ROOT" ; public bool AuthNTLM = true ; public bool AuthAnonymous = true...
Reading Web Sites Status on IIS with .Net
Reading Web Sites Status on IIS with .Net This is some ability I needed for one of my tools.   Using DirectoryEntry to get information about IIS Web Sites and AppPools.   Code Simple:   public WebSiteEntry [] GetWebSites()     {       string Path = "IIS://" + this .DomainName + "/W3SVC" ;       DirectoryEntry root = null ;       try       {        ...