Image for post
Image for post

I use AWS, Azure, and DigitalOcean for my business for over two years, and also I’m a co-organizer of Cloud and Serverless Turkey community. So I know about AWS, Azure, and DigitalOcean. Among these cloud providers, I use AWS the most. I think we use over 30 different services for image4io. And we are also an entry-level Technology Partner of AWS with 4AI Information Technologies. So I decided to prove myself with AWS certificate will be nice for both my personal career and my company’s proven abilities.

TL;DR

The exam was not that hard but the process before that is stressful. These are a few study sources (links) below. …


.NET community and Microsoft organized a great online conference announcement of .NET 5.0 and related products. .NET 5.0, C# 9, F# 5, EF Core 5.0, and many other major updates are released. If you missed the conference you can watch it on the YouTube channel of .NET or check out their development blog.

As you know the latest .NET framework version is 4.8 and the .NET …


Image for post
Image for post

I know most of us just want to dive into development when we see new tool or framework. But then there is so many comebacks for things that we need to do at the beginning. In this post I will describe my working environment for development of Workers.

IDE (Integrated Development Environment)

I usually use Visual Studio Code. It has great extension library but you don’t need anything special for now. You can download it here. https://code.visualstudio.com/

Cloudflare Wrangler

Wrangler is a CLI tool designed for development of workers. Here is its homepage. And you can find GitHub page here.

Quick Installation of Wrangler

npm i @cloudflare/wrangler -g

That is for installation but you need to configure your environment for publishing. The configuration file is created in a .wrangler directory in your computer's home directory. You need to add account email and global API Key to this file. …


Image for post
Image for post

İçerik Dağıtım Ağı (CDN), mümkün olan en az gecikmeyle statik içerik sunan coğrafi olarak dağıtılmış sunucu grubudur. CDN’ler web performansı için anahtar özelliktir. Ancak tüm CDN’ler her zaman yüksek performans seviyesini en iyi şekilde koruyamazlar. Hizmet dışı kalabilir, gecikme süreleri kötüleşebilir veya başka sorunlarla karşılaşabilirler. Çoklu CDN mimarisi ile istikrarlı bir yüksek performans seviyesine ve %100 çalışma süresine sahip olabilirsiniz.

Image for post
Image for post

Çoğu web sitesi, tek bir sunucudan tüm dünyaya hem dinamik hem de statik içerik sunar. Bu yöntem, ziyaretçileri sınırlandırılmış web siteleri ve ziyaretçilerin sunucuya yakın olan küçük coğrafi bölgelerden geldiğinde hala yararlı olabilir.

Ancak, dünyanın her yerinden ziyaretçileri hedefliyorsanız, bu yöntem sunucuya olan uzaklık nedeniyle yüksek gecikmeyle karşılaşmaya başlar. …


Image for post
Image for post

A Content Delivery Network (CDN) is a group of geographically-distributed servers which deliver static contents with best possible latency. CDNs are key attribute for web performance. But all CDNs can’t best maintain high performance level all the time. They may become out of service, have worse latency or encounter any other problems. With multi CDN architecture you can have stable high performance level and %100 uptime.

Traditional Web Hosting

Most web sites deliver both dynamic and static content from single server to all globe. …


Image for post
Image for post

Average mobile webpage is 2.2MB and 68% of it is images. So image has huge importance for web page speed. Well image’s format has any effect on that. First lets see what kinds of image formats are widely used on web.

JPG/ JPEG (Joint Photographic Experts Group)

JPEG is perhaps the most common image format used on the web. It is standard was created in 1992 (latest version, 1994) as the result of a process that started in 1986. Though, this standard is generally considered as a single specification, in reality it is composed of four separate parts and an amalgam of coding modes.*

JPEG is lossy format so it always has some loss of quality when using this format. But it is most compatible format for web. Nearly all of the browsers are supporting JPEG format. …


Originally posted on Forbes Technology Council

Image for post
Image for post

It used to be that only the largest and most well-funded companies could afford to use more than one content delivery network. However, new cloud-based routing techniques are making this strategy a reality for smaller organizations.

There are two different ways you can manage a multi-CDN architecture: automation through a single management provider or DNS load balancing.

Automated Multi-CDN Management

The first is typically managed through a larger service provider that automatically balances traffic loads across multiple CDNs. Traffic is generally served evenly to each CDN. Automation can save you a lot of time and labor since the provider is responsible for monitoring the CDNs and staying on top of updates. …


Image for post
Image for post

I recently got a new task to do: a web site with bugs which needs to be fixed and updated. This website was developed to meet millions of request in a few days. At first, it doesn’t seem like impossible to do. But the previous developers failed to fix the needs and when a million hit came, the server crashed.

My task here was to bring the updates of the site’s code to the required level in a few hours.

This web site backend was created with .NET MVC and no other structure was used.

Before making any changes on the code, I start to analyze what the problem could be. I found a few things to fix. The first problem is that, all static assets were stored in the web server, from where the web site is published. That means the web server has to deal with serving all of these static files. On the home page there are 53 Javascript files (mostly non-minified), 20 CSS (mostly non-minified), 77 images, 5 media files and 6 font files. Totally 5.9MB. This size and file counts are also another fiasco. …


Few days ago I decided to create my own email marketing tool on serverless architecture. I mostly use .NET Core if it is reasonable enough to use it. After created my first function, I switched from ‘aws-lambda-tools-defaults.json’ to ‘serverless.template’ file to use multiple functions in single .NET Core project with Visual Studio. Here is how is done.

Source Repo! You can find fully functional sample built on .NET Framework of this post at GitHub repository .NET-Core-AWS-Lambda-Multiple-Function-in-Single-Project

Create Project

In order to do that you need to install AWS Toolkit for Visual Studio. Then create new project as ‘AWS Lambda Project (.NET Core)’.

Image for post
Image for post

And choose ‘Empty Function’, click ‘Finish’. …


Azure Functions, altyapıyı açıkça sağlamak veya yönetmek zorunda kalmadan isteğe bağlı kod çalıştırmanızı sağlayan, sunucusuz bir bilgi işlem hizmetidir. Bu yazıda, .NET Framework kullanarak Visual Studio ile bir ‘Merhaba Dünya’ uygulaması oluşturacağım.

Image for post
Image for post

Source Repo! Bağlantıdaki GitHub reposunda bu gönderinin .NET Framework’ünde yazılmış tam çalışan kodlarını bulabilirsiniz irensaltali/AzureFunctionsHelloWorld

Kurulum

Visual Studio’daki Azure Functions üzerinde çalışmak için önce VS’e Azure Development workload’u dahil etmeniz ve Azure Functions and Web Jobs Tool isimli aracı yüklemeniz gerekir.

Visual Studio Installer’ı açın ve Azure Development workload’u yükleyin.

Image for post
Image for post

Daha sonra Visual Studio’u açın ve Tool > Extensions and Updates… > Online’a tıklayon, açılan pencerede ‘Azure Functions’ diye arama yaparak aracı bulun ve indirin. …

About

İren Saltalı

MSc. Computer Engineer. Founder of @noteducom and @image4io, co-organizer in @serverlesstr, Community Builder of @awscloud

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store