Relative Content

Tag Archive for c#.netsql-serverentity-frameworkgoogle-cloud-run

Entity Framework on .NET API hosted in GCP Cloud Run issue connecting to on-prem SQL Server

I have an API hosted in GCP Cloud Run trying to connect to on-prem SQL Server via Entity Framework with a connection string. The Cloud Run instance is on a VPC that is connected to our network. We have tested a ping to the server with python code on another Cloud Run instance also on the VPC and it is able to communicate with the SQL Server this way but for some reason the .NET C# code is having issue. Does anyone have any thoughts? I’d appreciate your help. Thanks.