Setting the requestTimeout="00:20:00" in the web.C ca-base ca-file (Bind options) ca-file (Server and default-server options) ca-ignore-err ca-sign-file ca-sign-pass ca-verify-file cache capture capture cookie capture request capture request header capture response capture response header capture-req capture-res check check-alpn check-proto check-send-proxy check-sni check-ssl check-via-socks4 chroot ciphers (Bind options) ciphers (Server and default-server options) ciphersuites (Bind options) ciphersuites (Server and default-server options) clitcpka-cnt clitcpka-idle clitcpka-intvl command compression compression algo compression offload compression type concat connslots cook cook_cnt cook_val cookie (Alphabetically sorted keywords reference) cookie (Server and default-server options) cookie (Fetching HTTP samples (Layer 7)) cpl cpu-map cpu_calls cpu_ns_avg cpu_ns_tot crc32 crc32c crl-file (Bind options) crl-file (Server and default-server options) crt (Bind options) crt (Server and default-server options) crt-base crt-ignore-err crt-list cur_server_timeout cur_tunnel_timeout curves cut_crlf Our Connection string "DefaultConnection": "Data Source=server_name_here,port_number_here Initial Catalog=db_name_here Integrated Security=False Persist Security Info=False User ID=user_name_here Password=password_here OptionsBuilder.UseSqlServer(connectionString, sqlServerOptions => sqlServerOptions.CommandTimeout(900)) Var connectionString = configuration.GetConnectionString("DefaultConnection") SetBasePath(Directory.GetCurrentDirectory()) IConfigurationRoot configuration = new ConfigurationBuilder() We have tried setting the CommandTimeout to 900 seconds as below protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) This query fetches data from many related tables using Include()įor large data we have noticed that the web service return a 504 Gateway Timeout. We make a call to the webservice via a POST request. The Web Service communicates to an Microsoft SQL Server Express (64-bit) Database, version. This is hosted on an IIS Server on AWS Lightsail. I have created a React Project using dotnetcore 3.1 Version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |