https://github.com/hajekj/az-functions-aspnetcore
Running full ASP.NET Core in Azure Functions.
https://github.com/hajekj/az-functions-aspnetcore
aspnetcore azure azure-functions net60
Last synced: 2 months ago
JSON representation
Running full ASP.NET Core in Azure Functions.
- Host: GitHub
- URL: https://github.com/hajekj/az-functions-aspnetcore
- Owner: hajekj
- License: mit
- Created: 2023-02-08T18:17:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T09:46:47.000Z (over 3 years ago)
- Last Synced: 2025-07-22T07:53:44.834Z (about 1 year ago)
- Topics: aspnetcore, azure, azure-functions, net60
- Language: C#
- Homepage:
- Size: 955 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Running ASP.NET Core in Azure Functions
Using https://github.com/tntwist/NL.Serverless.AspNetCore
In order for this to work correctly, you need to publish WebApp, and then copy the published wwwroot/ folder from WebApp to the Function output due to StaticWebAssets not being included and wwwroot/ content being dropped during Function build.
This is now done directly in .csproj of the Azure Function. It is kinda obscure, I suppose we could reuse the StaticWebAssets targets, but this does the job.