{"id":24617674,"url":"https://github.com/pacphi/dotnet-steeltoe-fileshare-sample","last_synced_at":"2026-04-16T13:36:17.552Z","repository":{"id":38035146,"uuid":"208820198","full_name":"pacphi/dotnet-steeltoe-fileshare-sample","owner":"pacphi","description":"Dotnet sample projects which illustrate and demonstrate integration with Windows fileshare","archived":false,"fork":false,"pushed_at":"2022-12-07T23:00:57.000Z","size":635,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T23:39:41.799Z","etag":null,"topics":["dotnet-core2-2","dotnet-framework","filesharing","sample","steeltoe","windows"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pacphi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-16T14:26:58.000Z","updated_at":"2019-12-05T19:05:28.000Z","dependencies_parsed_at":"2023-01-24T01:00:15.058Z","dependency_job_id":null,"html_url":"https://github.com/pacphi/dotnet-steeltoe-fileshare-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacphi%2Fdotnet-steeltoe-fileshare-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacphi%2Fdotnet-steeltoe-fileshare-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacphi%2Fdotnet-steeltoe-fileshare-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacphi%2Fdotnet-steeltoe-fileshare-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pacphi","download_url":"https://codeload.github.com/pacphi/dotnet-steeltoe-fileshare-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244308676,"owners_count":20432248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotnet-core2-2","dotnet-framework","filesharing","sample","steeltoe","windows"],"created_at":"2025-01-24T23:39:53.263Z","updated_at":"2026-04-16T13:36:17.488Z","avatar_url":"https://github.com/pacphi.png","language":"JavaScript","readme":"# Dotnet with Steeltoe File sharing example\r\n\r\n\r\n## Use cases\r\n\r\nBased upon a modified Steeltoe document sample [here](https://steeltoe.io/docs/steeltoe-smb/).\r\n\r\n* Dotnet Core (ASP.Net Core), inside `src/AspNetCore/SMBFileShares`\r\n* Dotnet Framework (ASP.Net 4.6.1), inside `src/AspNet4/NetworkFileShares4x/SMBFileShares4x`\r\n\r\n\r\n## Prerequisites\r\n\r\n* Pivotal Application Service for Windows 2.4 or better\r\n* Visual Studio Community Edition 2019 or better\r\n* Dotnet Framework SDK 4.6.1 or better\r\n* Dotnet Core SDK 2.2.401 or better\r\n* CF CLI 6.46.1 or better\r\n\r\n## How to clone\r\n\r\nCreate a top-level folder underneath your `C:` drive named `workspaces`\r\n\r\n```\r\ncd C:\\workspaces\r\ngit clone https://github.com/pacphi/dotnet-steeltoe-fileshare-sample\r\n```\r\n\r\n\r\n## How to demo\r\n\r\nOpen Powershell\r\n\r\n### Build AspDotNetCore\r\n\r\n```\r\ncd C:\\workspaces\\dotnet-steeltoe-fileshare-sample\\src\\AspNetCore\\SMBFileShares\r\ndotnet publish -f netcoreapp2.2 -r win10-x64\r\n```\r\n\r\n### Build AspDotNet Framework\r\n\r\n```\r\ncd C:\\workspaces\\dotnet-steeltoe-fileshare-sample\\src\\AspNet4\\NetworkFileShares4x\r\n```\r\n\r\n* Open the `.sln` file in Visual Studio 2019 Community Edition\r\n* Right click on project, then select `Publish`\r\n  * You will need to set the path to `bin/Debug/net461/win10-x64/publish`\r\n\r\n### Connect and target a foundation\r\n\r\n```\r\ncf login -a {api-endpoint}\r\ncf t -o {org} -s {space}\r\n```\r\n\r\n### Create Credhub instance\r\n\r\n```\r\ncd C:\\workspaces\\dotnet-steeltoe-fileshare-sample\r\n.\\scripts\\cf-create-service.ps1\r\n```\r\n\u003e you will need to pass in arguments to override the defaults in script above\r\n\r\n### Push AspDotNetCore\r\n\r\n```\r\ncd C:\\workspaces\\dotnet-steeltoe-fileshare-sample\\src\\AspNetCore\\SMBFileShares\r\ncf push -f manifest-windows.yml -p bin/Debug/netcoreapp2.2/win10-x64/publish\r\n```\r\n\u003e this will push to Windows 2016 stack\r\n\r\n### Push ASPDotNet Framework\r\n\r\n```\r\ncd C:\\workspaces\\dotnet-steeltoe-fileshare-sample\\src\\AspNet4\\NetworkFileShares4x\\SMBFileShares4x\r\ncf push -f manifest-windows.yml -p bin/Debug/net461/win10-x64/publish\r\n```\r\n\u003e this will push to Windows 2016 stack\r\n\r\n\r\n### Optional\r\n\r\n#### Deployment to windows2012R2 stack (if available)\r\n\r\n```\r\ncf push -f manifest-windows.yml -p bin/Debug/net461/win10-x64/publish -s windows2012R2 smbfileshares4x-2012R2\r\n```\r\n\r\n### Also interesting\r\n\r\n#### on PAS 2.4 or better\r\n\r\n* [Enabling Volume Services](https://docs.pivotal.io/pivotalcf/2-6/opsguide/enable-vol-services.html)\r\n* [Using an External File System (Volume Services)](https://docs.pivotal.io/pivotalcf/2-6/devguide/services/using-vol-services.html)\r\n\r\n#### on PAS 2.1 - 2.3 \r\n\r\n* [Run .NET Framework Apps on a Modern Platform with an SMB Network Share? Steeltoe Makes It Easy](https://content.pivotal.io/dotnet/run-net-framework-apps-on-a-modern-platform-with-an-smb-network-share-steeltoe-makes-it-easy)\r\n* [Dotnet Core sample app deployed on cflinuxfs3 stack connecting to a Windows file share](https://github.com/tezizzm/SmbDemoCore)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacphi%2Fdotnet-steeltoe-fileshare-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacphi%2Fdotnet-steeltoe-fileshare-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacphi%2Fdotnet-steeltoe-fileshare-sample/lists"}