Open in app

Sign In

Write

Sign In

LAI TOCA
LAI TOCA

45 Followers

Home

About

Apr 10

Using Fluentvalidation for chain validation in C#

As a data/backend engineers that extract/filter dirty data to clean data would be necessary for some scenario. The first thing was to write some rule based validations for the purpose. …

Fluentvalidation

2 min read

Using Fluentvalidation for chain validation in C#
Using Fluentvalidation for chain validation in C#
Fluentvalidation

2 min read


Apr 7

PowerShell Invoke-RestMethod with post body that cause question mark problem

Version 7.3.0 — We have somehow need to invoke a HTTP request for testing, integration or robotic purposes. PowerShell provide diverse functions that help us make our developers’ life more easily. However, the below code snippet having an issue to deal with encoding problem: $headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" $headers.Add("Content-Type", "application/json; charset=utf-8") $body = "{ `n…

Powershell

2 min read

PowerShell Invoke-RestMethod with post body that cause question mark problem
PowerShell Invoke-RestMethod with post body that cause question mark problem
Powershell

2 min read


Feb 10

How to handle BizTalk receive diverse sender identity from single receive location

Take EDI850 as example —

Biztalk

3 min read

How to handle BizTalk receive diverse sender identity from single receive location
How to handle BizTalk receive diverse sender identity from single receive location
Biztalk

3 min read


Dec 23, 2022

C# ZipArchive for large volume of files cause memory usage high problem

We have a file API that routine scheduling a archive file(s) job of the specific path(drive) for backup the data. The application occupied memory usage above 3GB under the monitoring dashboard from the date: December 11.

Ziparchive

3 min read

C# ZipArchive for large volume of files cause memory usage high problem
C# ZipArchive for large volume of files cause memory usage high problem
Ziparchive

3 min read


Dec 1, 2022

Handling Azure Function (Host in Linux) IHttpClientFactory request cancel issue

We have a Azure Function that host in the platform Linux, and the function using hybrid connections that connection to on premise agents under the intranet of firewall.

Azure Functions

2 min read

Handling Azure Function (Host in Linux) IHttpClientFactory request cancel issue
Handling Azure Function (Host in Linux) IHttpClientFactory request cancel issue
Azure Functions

2 min read


Nov 28, 2022

Beautify and enrich your excel documents through CSharp

Using ClosedXML.Excel as example — It was common to create excel report using programming for different situations. But somehow we might decorate the content that make it more colorful and clear for reading. …

Excel

2 min read

Beautify and enrich your excel documents through CSharp
Beautify and enrich your excel documents through CSharp
Excel

2 min read


Nov 18, 2022

How to uploaing large file(s) using ASP.NET Core

We have a article that introduce how to upload file(s) via ASP.NET core’s API, you could refer the link. The story gonna to talk about how to handle uploading large file(s) [volume more than 2GB]. Uploading large volume data would be a little trick comparing to small data. First we…

Aspnetcore

3 min read

How to uploaing large file(s) using ASP.NET Core
How to uploaing large file(s) using ASP.NET Core
Aspnetcore

3 min read


Aug 26, 2022

How to create BizTalk outgoing schema

Take EDI830, ANSI X12 00403 as example (Customized) — The EDI transmission take two directions. For the receiving direction, BizTalk will get the standard X12 EDI and then transfer into target schema then put into relative ERP’s database. For the sending direction, We need to design our outgoing schema and then transfer to Standard X12 EDI then BizTalk should…

Biztalk

3 min read

How to create BizTalk outgoing schema
How to create BizTalk outgoing schema
Biztalk

3 min read


Jul 7, 2022

Postman setup OAuth 2.0/OIDC settings quick sheet

Take OKTA as example More and more companies that provide SSO (Single Sign-On) service for their customs or end-users to access their systems or applications in seamless way. OKTA is a platform that offering user identity and authentication services for enterprises. …

Oauth2

4 min read

Postman setup OAuth 2.0/OIDC settings quick sheet
Postman setup OAuth 2.0/OIDC settings quick sheet
Oauth2

4 min read


Jun 23, 2022

Refactoring for code duplicates sector

Take C# as example — Image we got below similar classes for data model: public class ClassA { public string Name1 { get; set; } = string.Empty; public string Name2 { get; set; } = string.Empty; public string A1 { get; set; } = string.Empty; } public class ClassB { public string Name1 {…

Refactoring

2 min read

Refactoring for code duplicates sector
Refactoring for code duplicates sector
Refactoring

2 min read

LAI TOCA

LAI TOCA

45 Followers

Coding for fun. (Either you are running for food or running for being food.)

Following
  • Chih-Yu Lin

    Chih-Yu Lin

  • Denny

    Denny

  • Terry Kuo

    Terry Kuo

  • vgod's blog

    vgod's blog

  • Angel@Software Engineer

    Angel@Software Engineer

See all (18)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams