class Program
{
static void Main(string[] args)
{
SPSite site = new SPSite("http://win-ofut34hh848:33738");
using (SPWeb web = site.OpenWeb())
{
//SPList list = web.GetList("/TestDocLib");
//SPListItemCollection folders = list.Folders;
SPFolder folder = web.GetFolder("http://win-ofut34hh848:33738/TestDocLib");
//if (folder.Folder == SPFo)
foreach (SPFolder f in folder.SubFolders)
{
//foreach (SPFolder sf in f.SubFolders)
//{
Console.WriteLine(folder.Name + " \\ " + f.Name + " \n"); //+ sf.Name + "\n" );
foreach (SPFile file in f.Files)
{
Console.WriteLine(" :::: " + file.Name);
}
Console.WriteLine();
//}
}
}
Console.Read();
}
}
Microsoft Hosted General Download from Microsoft Failing with 500.30
Asp.Net Core error - Microsoft Q&A
-
I was asked to post this question here as well...I'm following a Microsoft
article
(https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view...
6 months ago
No comments:
Post a Comment