Comments (7)
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @chenkennt @sffamily @Y-Sindo.
from azure-sdk-for-net.
Now serverless hub is supported in isolated-process model. See https://github.com/aspnet/AzureSignalR-samples/tree/main/samples/DotnetIsolated-ClassBased for a sample. We are updating the docs.
from azure-sdk-for-net.
Thank you for the reply. I've switched to the class-based approach in the sample and it seems to be working.
One thing I wanted to mention:
If you add an HTTP trigger to your function using Visual Studio, a reference to Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore
will be added to the project. It doesn't seem to be needed, but from what I can tell in my testing, if this package is present, the following error occurs when attempting to call "ConfigureFunctionWorkerDefaults":
The registration for method 'ConfigureFunctionsWebApplication' is expected for ASP.NET Core Integration.
The error goes away if ConfigureFunctionsWebApplication
is added to the application, but if this is done, the Function App seems to no longer expose the endpoint /runtime/webhooks/signalr
, which is needed for the connection to the Azure SignalR server.
Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore
isn't actually needed to run HTTP triggers, so removing it is fine and everything seems to work. I'm just concerned that others may run into this and have a difficult time figuring it out.
This explanation probably sounds a little convoluted. If I can provide more information, please let me know.
Thanks again for the reply.
from azure-sdk-for-net.
@jsquire Could you help route the question about HTTP trigger in dotnet isolated process to related team?
Thank you for the reply. I've switched to the class-based approach in the sample and it seems to be working.
One thing I wanted to mention: If you add an HTTP trigger to your function using Visual Studio, a reference to
Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore
will be added to the project. It doesn't seem to be needed, but from what I can tell in my testing, if this package is present, the following error occurs when attempting to call "ConfigureFunctionWorkerDefaults":The registration for method 'ConfigureFunctionsWebApplication' is expected for ASP.NET Core Integration.
The error goes away if
ConfigureFunctionsWebApplication
is added to the application, but if this is done, the Function App seems to no longer expose the endpoint/runtime/webhooks/signalr
, which is needed for the connection to the Azure SignalR server.Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore
isn't actually needed to run HTTP triggers, so removing it is fine and everything seems to work. I'm just concerned that others may run into this and have a difficult time figuring it out.This explanation probably sounds a little convoluted. If I can provide more information, please let me know.
Thanks again for the reply.
from azure-sdk-for-net.
@jsquire Could you help route the question about HTTP trigger in dotnet isolated process to related team?
@michaeldaw: For discussion of the HTTP trigger in an isolated process, you'd want to open an issue with your inquiry in the azure-functions-dotnet-worker repository or open an Azure support request.
from azure-sdk-for-net.
Hi @michaeldaw. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
from azure-sdk-for-net.
@jsquire Will do, thank you.
from azure-sdk-for-net.
Related Issues (20)
- Frustratingly incomplete docs HOT 1
- learn_AI_translate HOT 1
- All subpackages under the 'provisioning' package have README issues
- [FEATURE REQ] Microsoft Entra ID (aka AAD2) authentication support for `ImageAnalysisClient`
- Reenable Error Code for Blob Copy
- Letting you know I published a sample that I think you can use. HOT 1
- [Suggestion] Update the PowerShell script to fetch access token to run in Constrained Language Mode HOT 1
- [FEATURE REQ]Need to support pass HttpMessageHandler when construct client HOT 3
- Ref docs issue HOT 1
- Examples section has wrong example. Uses non existing API. HOT 2
- Vulnerable libraries in some track2 data plane SDKs HOT 2
- [QUERY] Can ProcessMessageEventArgs.CompleteMessageAsync be throttled? HOT 3
- [QUERY]: Is OpenTelemetry Baggage supported HOT 5
- [BUG]Memory usage increasing over time while uploading files to a storage account from an IOT Edge module HOT 1
- [FEATURE REQ] export CategoryName to Application Insights HOT 1
- DefaultAzureCredential - The credential provided is not a supported type HOT 11
- [BUG] Azure Communication Email - Xamarin forms, MAUI -iOS - System.MissingMethodException HOT 2
- [BUG] SearchAsync method fails with 403 when SearchClient is created by passing index and tokenCredentials (new DefaultAzureCredential()) param HOT 2
- [FEATURE REQ] Allow Resource Graph requests without enumerating tenants HOT 1
- BlobsModelFactory.BlobHierarchyItem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-net.