Price Comparision serverless function over azure, aws, google and cloudflare

Scenario:Requests: 10 million per monthResponse size: 2KB per response The cost of handling 10 million requests per month, each with a 2 KB response, depends on the pricing model of the cloud provider’s serverless platform. Here’s an estimate for Azure Functions, AWS Lambda, Google Cloud Run, and Cloudflare Workers: 1. Azure Functions Pricing: Calculation: Estimated …

Price Comparision serverless function over azure, aws, google and cloudflare Read More »

Simplify Cloudflare R2 Storage

while we thrive for cloud storage with large no of files and storage with low cost, we find cloudflare as good solution with no engress fee. With single engress fee only, the monthly cost can be huge difference. nuget package: NuGet Gallery | CloudFlareR2Storage 1.0.0 What we will do? What’s required? appSettings.json program.cs in file …

Simplify Cloudflare R2 Storage Read More »

TTFPatch

A tool to remove embed-ability of fonts which prevents it to embed in pdf/crystal report files http://www.derwok.de/downloads/ttfpatch/ Usage examples:If you (as the font designer) want to PROHIBIT embedding of your font e.g. in Adobe Acrobat PDF files, simply run:          ttfpatch myfont.ttf 2But remember, when you do the above, the users of your font could get the …

TTFPatch Read More »

Encrypt ConnectionString of Web.Config

In ordre to add security, we need to encrypt connectionstring section of web.config file. As web.config is plain text file, if not encrypted, username and password used for making database connection will be exposed to any reader. Encrypting Web.Config Open Command Prompt with Administrator privileges At the Command Prompt, enter: cd C:\Windows\Microsoft.NET\Framework\v4.0.30319 In case your …

Encrypt ConnectionString of Web.Config Read More »

DataTable Ajax Server Side Loading

Instead of Loading all items at once in clientside, we may require to load data partially with pagination for better loading. scenario: when we have 1000s of data in table and we are showing them without filtration Simple use Datatable Serverside Loading Changes in Controller side: For Client Side:

EF DB First -> Code First

We can auto generate Code First POCO Classes using Add Model and Code First From Existing Database Option. When we use above option we we will get our POCO classes but we may encounter few issues with them so we need to take a look back to them again for following things Once model are …

EF DB First -> Code First Read More »