If your current code uploads chunks in parallel, switch to sequential upload and ensure each chunk uses its own byte array. Example full ...
Read More
Hi
Find out X-Client-Type in ASP.NET Core
var clientType = Request.Headers["X-Client-Type"].FirstOrDefault(); switch (clientType) { case "Web": // We...
Read More
find out the device using user agent in c#
var userAgent = socket . Handshake . Headers [ "User-Agent" ]; if (userAgent.Contains("Mozilla")) { // Browser ...
Read More
Url spliter in c# #http://18.82.242.99/Default.aspx how to get http://18.82.242.99 in c#
If you have the full URL: http://18.82.242.99/Default.aspx and want to get only: http://18.82.242.99 use the Uri class. Method 1 : string u...
Read More
Restore database bak files with differential backups in sql server
To restore a Differential Backup, you must first restore the Full Backup on which the differential is based. Example Backup Schedule 01-Jun...
Read More
SQL Server Maintenance Tasks and resore bakup files
These are the SQL Server Maintenance Plan tasks available in the wizard. Each task serves a different purpose for database health, perform...
Read More
how to Run Uvicorn as a Windows Service or task schduler
Use NSSM (Non-Sucking Service Manager) . istall service: nssm install NLP3AP Configure: Application Path C:\inetpub\wwwroot\nlp3\nlp3-env\S...
Read More
file chunk process to this and how to send C# to api with node.js
Claude finished the response const uploadMultipartToS3new = async (req, res) => { try { var datetime = new Date(); logToFile("upload...
Read More
Subscribe to:
Posts (Atom)