<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Atahan Ceylan on Medium]]></title>
        <description><![CDATA[Stories by Atahan Ceylan on Medium]]></description>
        <link>https://medium.com/@atahan_ceylan?source=rss-6167880f8855------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ROc4CVdNwbNvJKxFb9IX1A.jpeg</url>
            <title>Stories by Atahan Ceylan on Medium</title>
            <link>https://medium.com/@atahan_ceylan?source=rss-6167880f8855------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:53:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@atahan_ceylan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Track Spotify Metrics: Using Prometheus and Grafana]]></title>
            <link>https://medium.com/c-sharp-programming/track-spotify-metrics-use-docker-with-prometheus-and-grafana-326a9a9dbe29?source=rss-6167880f8855------2</link>
            <guid isPermaLink="false">https://medium.com/p/326a9a9dbe29</guid>
            <category><![CDATA[prometheus]]></category>
            <category><![CDATA[logging-and-monitoring]]></category>
            <category><![CDATA[grafana]]></category>
            <category><![CDATA[net-aspire]]></category>
            <category><![CDATA[aspire]]></category>
            <dc:creator><![CDATA[Atahan Ceylan]]></dc:creator>
            <pubDate>Mon, 29 Dec 2025 18:15:02 GMT</pubDate>
            <atom:updated>2026-01-13T10:29:39.193Z</atom:updated>
            <content:encoded><![CDATA[<p>After adding .Net Aspire Service Defaults and .Net Aspire AppHost to WinampToSpotify project I have added following code to run Prometheus and Grafana on local with Docker Desktop. Docker Desktop is required to run to start code below.</p><p>// Prometheus container scraping the app</p><p>var prometheus = builder.AddContainer(&quot;prometheus&quot;, &quot;prom/prometheus&quot;)<br>.WithBindMount(&quot;./prometheus/prometheus.yml&quot;, &quot;/etc/prometheus/prometheus.yml&quot;)<br>.WithEndpoint(port: 9090, targetPort: 9090)<br>.WithArgs(&quot;--config.file=/etc/prometheus/prometheus.yml&quot;,<br>&quot;--web.enable-otlp-receiver&quot;);</p><p>// Grafana container using Prometheus as data source<br>var grafana = builder.AddContainer(&quot;grafana&quot;, &quot;grafana/grafana&quot;)<br>.WithVolume(&quot;grafana-storage&quot;, &quot;/var/lib/grafana&quot;) // Persists dashboards, users, DB<br>.WithVolume(&quot;grafana-provisioning&quot;, &quot;/etc/grafana/provisioning&quot;, isReadOnly: true) // Optional: Provisioning YAML/JSON<br>.WithEndpoint(port: 3000, targetPort: 3000);</p><p>prometheus.yml is the default prometheus configuration</p><pre>global:<br>  scrape_interval: 15s<br>  evaluation_interval: 15s<br>scrape_configs:<br>  - job_name: &quot;otel-collector&quot;<br>    static_configs:<br>      - targets: [&quot;localhost:9090&quot;]  # Adjust if using Docker, e.g., host.docker.internal:9464<br>    metrics_path: /metrics</pre><p>I created OpenTelemetryLib project and created ServiceCollection extension method which configures OTEL export endpoints. OpenTelemetry, OpenTelemetry.Exporter.Console, OpenTelemetry.Exporter.OpenTelemetryProtocol, OpenTelemetry.Exporter.Prometheus.HttpListener, OpenTelemetry.Instrumentation.Process nuget packages installed.</p><pre>var meterProviderBuilder = Sdk.CreateMeterProviderBuilder()<br>              .SetResourceBuilder(<br>                ResourceBuilder.CreateDefault().AddService(&quot;winamptospotifyweb&quot;, serviceVersion: &quot;1.0.0&quot;))<br>              .AddMeter(WinamptoSpotifyMetricsManager.MeterName)<br>              .AddOtlpExporter((options, metricReader) =&gt;<br>              {<br>                  options.Protocol = OtlpExportProtocol.Grpc; // 4317 as the grpc port.<br>                  options.ExportProcessorType = ExportProcessorType.Batch;<br>                  options.Endpoint = endpoint;<br>                  metricReader.PeriodicExportingMetricReaderOptions.ExportIntervalMilliseconds = 60000; // 1 minute<br>                  metricReader.PeriodicExportingMetricReaderOptions.ExportTimeoutMilliseconds = 30000; // half a minute<br>              }) //Aspire Dashboard export<br>              .AddOtlpExporter((exporterOptions, metricReaderOptions) =&gt;<br>              {<br>                  exporterOptions.Endpoint = new Uri(&quot;http://localhost:9090/api/v1/otlp/v1/metrics&quot;);<br>                  exporterOptions.Protocol = OtlpExportProtocol.HttpProtobuf;<br>                  metricReaderOptions.PeriodicExportingMetricReaderOptions.ExportIntervalMilliseconds = 1000;<br>              }); //Prometheus export</pre><p>Spotify metrics class created to register spotify service related metrics. I started to keep track number of total tracks added by each folder.</p><pre>public class SpotifyServiceMetrics : IWinampToSpotifyWebMetrics<br>{<br>    private readonly ISpotifyService _spotifyService;<br>    public SpotifyServiceMetrics(ISpotifyService spotifyService)<br>    {<br>        _spotifyService = spotifyService; <br>    }<br>    public void RegisterMetrics(Meter meter)<br>    {<br>        var tracksAddedMetric = meter.CreateObservableGauge(&quot;winamptospotifyweb.spotifyservice.totaltracksadded&quot;, () =&gt; _spotifyService.GetPlaylistSummary().TotalTracksAdded,<br>        &quot;unitless&quot;, &quot;Number of tracks added&quot;);        <br>    }<br>}</pre><p>WinamptoSpotifyMetricsManager class helps to register metrics which uses IMeterFactory to register.</p><pre>public WinamptoSpotifyMetricsManager(IEnumerable&lt;IWinampToSpotifyWebMetrics&gt; metrics, IMeterFactory meterFactory)<br>{<br>    _metrics = metrics.ToImmutableList();<br>    _meter = meterFactory.Create(new MeterOptions(MeterName));<br>}</pre><pre>/// &lt;summary&gt;<br>///     Registers all custom metrics contained within the WinampToSpotify instance.<br>/// &lt;/summary&gt;<br>public void Start()<br>{<br>    foreach (var metric in _metrics)<br>    {<br>        metric.RegisterMetrics(_meter);<br>    }<br>}</pre><p>winamptospotifyweb.spotifyservice.totaltracksadded metric exported to Aspire Dashboard, Prometheus and Grafana.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*wpOxwTP45dIOa_JrqchoLA.png" /><figcaption>.Net Aspire Dashboard</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*L_bhXLghuK3CHpL9SLF3SA.png" /><figcaption>Prometheus</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*327wEabPkGgrgKvjJT3HDg.png" /><figcaption>Grafana</figcaption></figure><p>Code changes can be found <a href="https://github.com/atahanceylan/WinamptoSpotifyWeb/commit/7bc40569e66ccf93f4d6f9a9e00036402529836b">dotnet aspire added · atahanceylan/WinamptoSpotifyWeb@7bc4056</a> and <a href="https://github.com/atahanceylan/WinamptoSpotifyWeb/commit/73731765e5c46556cd5225ff7c62badfcc5a95df">opentelemetry and metrics added · atahanceylan/WinamptoSpotifyWeb@7373176</a> commits.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=326a9a9dbe29" width="1" height="1" alt=""><hr><p><a href="https://medium.com/c-sharp-programming/track-spotify-metrics-use-docker-with-prometheus-and-grafana-326a9a9dbe29">Track Spotify Metrics: Using Prometheus and Grafana</a> was originally published in <a href="https://medium.com/c-sharp-programming">Any Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integrating .NET Aspire with WinampToSpotify Project]]></title>
            <link>https://medium.com/c-sharp-programming/integrating-net-aspire-with-winamptospotify-project-1-ffe5ac20fd3c?source=rss-6167880f8855------2</link>
            <guid isPermaLink="false">https://medium.com/p/ffe5ac20fd3c</guid>
            <category><![CDATA[dotnet-aspire]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[logging-and-monitoring]]></category>
            <category><![CDATA[aspire]]></category>
            <dc:creator><![CDATA[Atahan Ceylan]]></dc:creator>
            <pubDate>Mon, 29 Dec 2025 10:28:30 GMT</pubDate>
            <atom:updated>2026-01-24T17:23:00.151Z</atom:updated>
            <content:encoded><![CDATA[<h3>Integrating .NET Aspire with WinampToSpotify Project</h3><p>First of all, I have a hobby project called WinampToSpotify which helps you transfer your local mp3 folder archieve to spotify as a playlist. I decided to add .Net Aspire to WinampToSpotifyWeb solution. First article will be about adding .Net Aspire to project and second article will be about sending custom metrics to Aspire Dashboard and Prometheus.</p><p><strong>What is .Net Aspire?</strong></p><p><a href="https://visualstudiomagazine.com/articles/2025/02/19/introduction-to-net-aspire.aspx">.NET Aspire is a cloud-native application stack designed to simplify the development of distributed systems in .NET. Introduced at Microsoft’s 2024 Build developer conference, it provides a set of tools, templates, and libraries to help developers build and manage interconnected services efficiently. It streamlines cloud-native development by automating service discovery, managing configurations, and handling dependencies between services. It provides NuGet packages for seamless integration with services like Redis and PostgreSQL, complete with built-in telemetry and health checks. Developers benefit from tailored project templates and CLI tools for Visual Studio, along with a web-based dashboard that offers real-time observability through logs, metrics, and distributed tracing, simplifying monitoring and debugging.</a></p><p><strong>Adding Service Defaults</strong></p><p><a href="https://devblogs.microsoft.com/dotnet/adding-dotnet-aspire-to-your-existing-dotnet-apps/#configure-service-defaults">The ASP.NET Core team has been lighting up features for cool features for things like tracing, health checks, and resiliency for years. That’s what Service Defaults does for you. You can just turn on Service Defaults and you’ve got smart logging, health checks, resiliency, etc. based on what the .NET team recommends for ASP.NET Core apps and services. If you want, you can easily edit the Program.cs file in the <em>ServiceDefaults</em> project, but you don’t have to. Just turn it on.</a></p><ol><li>Right-click on the solution and select <strong>Add</strong> &gt; <strong>New Project</strong>.</li><li>Select the <em>.NET Aspire Service Defaults</em> project template.</li><li>Name the project <em>ServiceDefaults</em> (any name would work if you’re feeling creative, but the instructions in this post assume you’re using <em>ServiceDefaults</em>).</li><li>Click <strong>Next</strong> &gt; <strong>Create</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*xUMluqG06NxPE92zorg8PQ.png" /><figcaption>Aspire Service Defaults</figcaption></figure><p><strong>Configure Service Defaults</strong></p><p>Add a reference to the ServiceDefaults project in the <em>WinampToSpotifyWeb</em> project:</p><ol><li>Right-click on the <em>Api</em> project and select <strong>Add</strong> &gt; <strong>Reference</strong>.</li><li>Check the <em>ServiceDefaults</em> project and click OK.</li><li>Right-click on the <em>MyWeatherHub</em> project and select <strong>Add</strong> &gt; <strong>Reference</strong>.</li><li>Check the <em>ServiceDefaults</em> project and click OK.</li></ol><p>In <em>WinampToSpotifyWeb</em> project, update their Program.cs files, adding the following line immediately after their var builder = WebApplication.CreateBuilder(args); line:</p><p>builder.AddServiceDefaults();</p><ol><li>In <em>WinampToSpotifyWeb</em> project, update their Program.cs files,adding the following line immediately after their var app = builder.Build(); line:</li></ol><p>app.MapDefaultEndpoints();</p><p><strong>Simplify launch and add a fancy dashboard with AppHost</strong></p><p><a href="https://devblogs.microsoft.com/dotnet/adding-dotnet-aspire-to-your-existing-dotnet-apps/#step-2.-simplify-launch-and-add-a-fancy-dashboard-with-apphost">The <em>AppHost</em> has a lot of great features, but two of my favorite are the solutions to the problems above: it simplifies project launch and it adds an amazing dashboard to monitor and manage my app in my development environment. The best way to understand what it’s doing it to just add it to our solution.</a></p><p><strong>Adding an <em>AppHost</em> project</strong></p><p>This is the standard “add project” steps we ran through before with ServiceDefaults, but this time we’re going to pick “.NET Aspire App Host” as the project template. In Visual Studio 2022 or Visual Studio Code with the C# DevKit installed:</p><ol><li>Right-click on the solution and select <strong>Add</strong> &gt; <strong>New Project</strong>.</li><li>Select the <em>.NET Aspire App Host</em> project template.</li><li>Name the project <em>AppHost</em> (again, any name would work).</li><li>Click <strong>Next</strong> &gt; <strong>Create</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*MemKgGcrJQyIThl8ZbGNkw.png" /><figcaption>Aspire AppHost</figcaption></figure><p><strong>Add project references</strong></p><p>Add a reference to the <em>WinampToSpotifyWeb</em> projects in the new <em>AppHost</em> project:</p><ol><li>Right-click on the <em>AppHost</em> project and select Add &gt; Reference.</li><li>Check the <em>WinampToSpotifyWeb</em> project and click OK.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*Kx2bCWOv6d1iTCzJymCYsg.png" /><figcaption>Adding ServiceDefaults as project reference</figcaption></figure><p><strong>Orchestrate the Application</strong></p><p>In the <em>AppHost</em> project, update the Program.cs file, adding the following line immediately after the var builder = DistributedApplication.CreateBuilder(args);</p><p>var app = builder.AddProject&lt;WinampToSpotifyWeb&gt;(&quot;winamptospotifyweb&quot;);</p><p>We got the dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*V-i6B5BpcGOOME2jqLMang.png" /><figcaption>.Net Aspire Dashboard</figcaption></figure><p>We have Resources Tab,Console Tab for console logs, Structured Tab for structured logs, Traces tab for traces, Metrics tab for metrics.</p><p>You can see my code changes on my github repo commit <a href="https://github.com/atahanceylan/WinamptoSpotifyWeb/commit/7bc40569e66ccf93f4d6f9a9e00036402529836b">dotnet aspire added · atahanceylan/WinamptoSpotifyWeb@7bc4056</a></p><p>I will continue article with sending custom metrics to Aspire Dashboard and Prometheus, Grafana.</p><p><strong>References:</strong></p><ol><li><a href="https://visualstudiomagazine.com/articles/2025/02/19/introduction-to-net-aspire.aspx">(https://visualstudiomagazine.com/articles/2025/02/19/introduction-to-net-aspire.aspx)</a></li><li><a href="https://devblogs.microsoft.com/dotnet/adding-dotnet-aspire-to-your-existing-dotnet-apps/">https://devblogs.microsoft.com/dotnet/adding-dotnet-aspire-to-your-existing-dotnet-apps/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ffe5ac20fd3c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/c-sharp-programming/integrating-net-aspire-with-winamptospotify-project-1-ffe5ac20fd3c">Integrating .NET Aspire with WinampToSpotify Project</a> was originally published in <a href="https://medium.com/c-sharp-programming">Any Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OWASP Dependency Check on Azure DevOps]]></title>
            <link>https://medium.com/yaz%C4%B1l%C4%B1ma-dair/owasp-dependency-check-on-azure-devops-266127bd7f4f?source=rss-6167880f8855------2</link>
            <guid isPermaLink="false">https://medium.com/p/266127bd7f4f</guid>
            <category><![CDATA[owasp-top-10]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[azure-pipelines]]></category>
            <dc:creator><![CDATA[Atahan Ceylan]]></dc:creator>
            <pubDate>Mon, 27 Jan 2025 20:42:19 GMT</pubDate>
            <atom:updated>2025-05-06T12:54:03.325Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*KrzleRT2Zl2ZBhwbqdlGZA.png" /></figure><p>I will start this blog post with what is OWASP? And I will continue with OWASP Top 10 known security vulnerabilities. I will provide an example pipeline that has OWASP Dependency Check on Azure DevOps.</p><p><strong>What is OWASP?</strong></p><p><a href="https://en.wikipedia.org/wiki/OWASP">The <strong>Open Worldwide Application Security Project</strong> is an online community that produces freely available articles, methodologies, documentation, tools, and technologies in the fields of IoT, system software and The OWASP provides free and open resources. It is led by a non-profit called The OWASP Foundation.</a></p><p><a href="https://owasp.org/www-project-top-ten/">The OWASP Top 10 is a standard awareness document for developers and web application security. It represents a broad consensus about the most critical security risks to web applications.</a></p><p><a href="https://owasp.org/www-project-top-ten/">Globally recognized by developers as the first step towards more secure coding.</a></p><p><a href="https://owasp.org/www-project-top-ten/">Companies should adopt this document and start the process of ensuring that their web applications minimize these risks. Using the OWASP Top 10 is perhaps the most effective first step towards changing the software development culture within your organization into one that produces more secure code.</a></p><p>Next OWASP Top 10 will be published this year 2025. It seems they have 4 years of cycle for it. OWASP Top 10 websites <a href="https://owasp.org/Top10/">https://owasp.org/Top10/</a>, <a href="https://www.owasptopten.org/">https://www.owasptopten.org/</a> and Github repo is <a href="https://github.com/OWASP/Top10">https://github.com/OWASP/Top10</a>.</p><p><strong>What is OWASP Dependency Check?</strong></p><p>OWASP Dependency Check is a Software Composition Analysis (SCA) tool that attempts to detect publicly disclosed vulnerabilities contained within a project’s dependencies.</p><p>Dependency-Check is a software composition analysis utility that identifies project dependencies and checks if there are any known, publicly disclosed, vulnerabilities. Currently, Java and .NET are supported; additional experimental support has been added for Ruby, Node.js, Python, and limited support for C/C++ build systems (autoconf and cmake). The tool can be part of a solution to the <a href="https://www.owasp.org/index.php/Top_10-2017_A9-Using_Components_with_Known_Vulnerabilities">OWASP Top 10 2017 A9-Using Components with Known Vulnerabilities</a> previously known as <a href="https://www.owasp.org/index.php/Top_10_2013-A9-Using_Components_with_Known_Vulnerabilities">OWASP Top 10 2013 A9-Using Components with Known Vulnerabilities</a>.</p><p>The OWASP Dependency Check Azure DevOps Extension enables the following features in an Azure Build Pipeline:</p><ul><li>Software composition analysis runs against package references during build on both Windows and Linux build agents.</li><li>Export vulnerability data to HTML, JSON, XML, CSV, JUnit formatted reports</li><li>Download vulnerability reports from the build’s artifacts</li></ul><p>The OWASP Dependency Check Azure DevOps Extension can be added to your AzureDevops organization from this link <a href="https://marketplace.visualstudio.com/items?itemName=dependency-check.dependencycheck">https://marketplace.visualstudio.com/items?itemName=dependency-check.dependencycheck</a> Github repos is <a href="https://github.com/dependency-check/azuredevops">https://github.com/dependency-check/azuredevops</a> It is a free tool.</p><p>I searched OWASP Dependency Check Azure DevOps Extension and added to my Azure DevOps organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rc1WORZ5GKhB6F404fsO4A.png" /><figcaption>Azure DevOps Marketplace</figcaption></figure><p>It is better to request NVD API key <a href="https://nvd.nist.gov/developers/api-key-requested">https://nvd.nist.gov/developers/api-key-requested</a> After filling the form they will send you API Key via e-mail. It took over 15 min to run OWASP dependency check without NVD API key. Adding API shortened the OWASP Dependency Check runtime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TQAEKHsstzpg16KJpTrj7w.png" /><figcaption>NVD API Key field</figcaption></figure><p>After adding extension, first I added Dependency Task to my WinampToSpotify Classic Pipeline. From Classic Pipeline Editor search for dependency and click add to the pipeline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WXeLXlR63Ky8YAnT63cZXg.png" /><figcaption>Adding Dependecy Check Task to Classic Pipeline</figcaption></figure><p>OWASP Dependency Check currently using .Net 8 so make sure your pipeline includes .Net 8 with Use Dotnet Task with version “8.x”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9VDQraazZZIRDsW9KeW6Ng.png" /><figcaption>Classic Pipeline Successful Run after Dependency Check added</figcaption></figure><p>It took 3 minutes 22 seconds to finish Dependency Check.</p><p>From Classic Pipeline we can see yaml version of OWASP Dependency check.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*Au3sDYjn3C8FDTC7MgHMwQ.png" /><figcaption>yaml of dependency task</figcaption></figure><p>For yaml pipeline we need to store NVD API Key as secret variable not to reveal sensitive information outside. We can reach this secret variable with $(myNvdApiKey) in yaml file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*TIx7-eoq4kPfSEO0dLsIDg.png" /><figcaption>myNvdApiKey secret variable</figcaption></figure><p>You can see below yaml changes to add OWASP Dependency. First task is to include .Net 8. Second task is dependency check task.</p><pre>- task: UseDotNet@2<br>  displayName: &#39;Use .NET Core sdk 8.x&#39;<br>  inputs:<br>    version: 8.x<br><br>- task: dependency-check.dependencycheck.dependency-check-build-task.dependency-check-build-task@6<br>  displayName: &#39;Dependency Check&#39;<br>  inputs:<br>    projectName: WinamptoSpotifyWeb<br>    scanPath: WinamptoSpotifyWeb<br>    nvdApiKey: $(myNvdApiKey)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JPo7klwv7rBxro-vawc4sA.png" /><figcaption>Dependency Check on yaml based pipeline</figcaption></figure><p>Successful yaml based pipeline run can be seen above. Yaml file is here <a href="https://github.com/atahanceylan/WinamptoSpotifyWeb/blob/master/WinamptoSpotify.yml">https://github.com/atahanceylan/WinamptoSpotifyWeb/blob/master/WinamptoSpotify.yml</a> if you want to have a look.</p><p>Dependency check report can be found under Artifacts. I created report with HTML format. But it supports HTML, JSON, XML, CSV, JUnit formats as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7cWQ-YwC6xRhjjDOWaqxkw.png" /><figcaption>Artifacts -&gt; Dependency Check -&gt; dependency-check-report.html</figcaption></figure><p>Report html can be viewed via browser. Report can be found <a href="https://github.com/atahanceylan/WinamptoSpotifyWeb/blob/master/dependency-check-report.html">https://github.com/atahanceylan/WinamptoSpotifyWeb/blob/master/dependency-check-report.html</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ArLsslX17rYyBH1iG8PL1Q.png" /><figcaption>dependency check report html on browser</figcaption></figure><p><strong>References:</strong></p><ul><li><a href="https://en.wikipedia.org/wiki/OWASP">https://en.wikipedia.org/wiki/OWASP</a></li><li><a href="https://owasp.org/www-project-top-ten/">https://owasp.org/www-project-top-ten/</a></li><li><a href="https://www.owasptopten.org/">https://www.owasptopten.org/</a></li><li><a href="https://owasp.org/Top10/">https://owasp.org/Top10/</a></li><li><a href="https://github.com/OWASP/Top10">https://github.com/OWASP/Top10</a></li><li><a href="https://marketplace.visualstudio.com/items?itemName=dependency-check.dependencycheck">https://marketplace.visualstudio.com/items?itemName=dependency-check.dependencycheck</a></li><li><a href="https://nvd.nist.gov/developers/api-key-requested">https://nvd.nist.gov/developers/api-key-requested</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=266127bd7f4f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair/owasp-dependency-check-on-azure-devops-266127bd7f4f">OWASP Dependency Check on Azure DevOps</a> was originally published in <a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair">Yazılıma Dair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating SBOM with sbom-tool and CycloneDX on Azure DevOps]]></title>
            <link>https://medium.com/yaz%C4%B1l%C4%B1ma-dair/creating-sbom-with-sbom-tool-and-cyclonedx-on-azure-devops-9169f3a5e323?source=rss-6167880f8855------2</link>
            <guid isPermaLink="false">https://medium.com/p/9169f3a5e323</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[cyclonedx]]></category>
            <category><![CDATA[sbom]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[sbom-generation]]></category>
            <dc:creator><![CDATA[Atahan Ceylan]]></dc:creator>
            <pubDate>Wed, 08 Jan 2025 22:03:52 GMT</pubDate>
            <atom:updated>2025-01-19T21:15:20.316Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*NkqEB91S__chs045Wn_3QA.png" /></figure><h3>What is SBOM?</h3><p><a href="https://en.wikipedia.org/wiki/Software_supply_chain">A <strong>software bill of materials</strong> (<strong>SBOM</strong>) declares the inventory of components used to build a software artifact, including any open source and proprietary software components. It is the software analogue to the traditional manufacturing Bill of Materials (BOM), which is used as part of supply chain management.</a></p><p><a href="https://en.wikipedia.org/wiki/Software_supply_chain">An SBOM allows builders to make sure open-source and third-party software components are up to date and respond quickly to new vulnerabilities. Buyers and other stakeholders can use an SBOM to perform vulnerability or license analysis, which can be used to evaluate and manage risk in a product.</a></p><p><a href="https://en.wikipedia.org/wiki/Software_supply_chain">While many companies use a spreadsheet for general BOM management, there are additional risks and issues in an SBOM written to a spreadsheet. It is best practice for SBOMs to be collectively stored in a repository that can be part of other automation systems and easily queried by other applications.</a></p><h3>Why do organizations need a Software Bill of Materials?</h3><p><a href="https://www.blackduck.com/blog/software-bill-of-materials-bom.html">High-profile security breaches like Codecov, Kaseya, and most recently Apache Log4j — all supply chain attacks — prompted President Biden to issue a cybersecurity executive order (EO) detailing guidelines for how federal departments, agencies, and contractors doing business with the government must secure their software. Among the recommendations was a requirement for SBOMs, to ensure the safety and integrity of software applications used by the federal government.</a></p><p>We covered so far what is Software Bill of Materials and what is used for. Let’s add SBOM creation to our existing Azure DevOps Pipeline. I will start creating SBOM json with Microsoft’s <a href="https://github.com/microsoft/sbom-tool">SBOM Tool</a>.</p><h3>Adding SBOM generation to an Azure Devops Pipeline with SBOM Tool</h3><p>SBOM tool has a documentation for <a href="https://github.com/microsoft/sbom-tool/blob/main/docs/setting-up-ado-pipelines.md">adding SBOM generation to an Azure DevOps Pipeline</a>. I followed this documentation. And I changed my pool to vmImage to ubuntu-latest and add following 2 tasks under the steps of my <a href="https://github.com/atahanceylan/WinamptoSpotifyWeb/blob/master/WinamptoSpotify.yml">WinamptoSpotify.yml</a>.</p><pre>pool:<br>  vmImage: ubuntu-latest</pre><pre>- task: UseDotNet@2<br>  inputs:<br>    packageType: &#39;sdk&#39;<br>    version: &#39;8.x&#39;<br><br>- script: |<br>    dotnet build $(System.DefaultWorkingDirectory)/WinamptoSpotifyWeb/WinampToSpotifyWeb.csproj --output $(Build.ArtifactStagingDirectory)<br>  displayName: &#39;Build the project&#39;<br><br>- script: |<br>    curl -Lo $(Agent.TempDirectory)/sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64<br>    chmod +x $(Agent.TempDirectory)/sbom-tool<br>    $(Agent.TempDirectory)/sbom-tool generate -b $(Build.ArtifactStagingDirectory) -bc $(System.DefaultWorkingDirectory)/WinamptoSpotifyWeb/ -pn Test -pv 1.0.0 -ps MyCompany -nsb https://sbom.mycompany.com -V Verbose<br>  displayName: Generate SBOM with sbom-tool<br><br>- task: PublishBuildArtifacts@1<br>  inputs:<br>    PathtoPublish: &#39;$(Build.ArtifactStagingDirectory)&#39;<br>    ArtifactName: &#39;drop&#39;<br>    publishLocation: &#39;Container&#39;</pre><p>We can see SBOM report is created under Artifacts -&gt; drop -&gt; _manifest -&gt; spdx_2.2 -&gt; manifest.spdx.json.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nUtVXk2THZMyibmy4YDzjA.png" /><figcaption>manifest.spdx.json</figcaption></figure><p>I discovered a website by <a href="https://apps.rancher.io/sbom-viewer">Rancher SBOM Viewer</a> that visualize json format SBOM reports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*laxrEhYyG474qi8ZG6kQTg.png" /><figcaption>Rancher.io SBOM Viewer</figcaption></figure><p>After downloading this json to my computer. I upload json file to <a href="https://apps.rancher.io/sbom-viewer">Rancher SBOM Viewer</a>. Output is below. Shows all package references with version and license.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J_zFcivW43obAJFiBkV07w.png" /><figcaption>spdx 2.2 on Rancher SBOM Viewer</figcaption></figure><h3>Adding SBOM generation to an Azure Devops Pipeline with CycloneDX module for .Net</h3><p><a href="https://github.com/CycloneDX/cyclonedx-dotnet">The CycloneDX module for .NET creates a valid CycloneDX bill-of-material document containing an aggregate of all project dependencies. CycloneDX is a lightweight BOM specification that is easily created, human readable, and simple to parse.</a></p><h4>Usage</h4><p>CycloneDX for .NET is distributed via NuGet and Docker Hub.</p><h4>Installing via NuGet</h4><pre>dotnet tool install --global CycloneDX</pre><p>The following code will recursively scan the directory structure for packages.config and create a BOM:</p><pre>dotnet CycloneDX /path/to/project -o /output/path</pre><p>The following will recursively scan the directory structure for packages.config and create a BOM:</p><pre>dotnet CycloneDX /path/to/project -o /output/path</pre><p>Based on these instructions I added following 2 tasks to my <a href="https://github.com/atahanceylan/WinamptoSpotifyWeb/blob/master/WinamptoSpotify.yml">WinamptoSpotify.yml</a>.</p><pre>- task: CmdLine@2<br>  displayName: &#39;Install CycloneDX dotnet tool&#39;<br>  inputs:<br>      script: &#39;dotnet tool install --global CycloneDX -g&#39;</pre><pre>- script: |<br>      dotnet CycloneDX $(System.DefaultWorkingDirectory)/WinamptoSpotifyWeb/WinampToSpotifyWeb.csproj --json --output $(Build.ArtifactStagingDirectory)<br>  displayName: Generate SBOM with CycloneDX</pre><p>Default format for dotnet CycloneDX was XML but you can change it to json with “ — json” argument in dotnet CycloneDX code.</p><p>Artifacts -&gt; drop -&gt; bom.json</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IiET90P0vfasuw_IEInvOg.png" /><figcaption>bom.json on Azure DevOps Pipeline</figcaption></figure><p><a href="https://apps.rancher.io/sbom-viewer">Rancher SBOM Viewer</a> output of bom.json is below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OiUSEMFDjb0xIN9gS7vGiA.png" /><figcaption>bom.json output on Rancher SBOM Viewer</figcaption></figure><ul><li><a href="https://www.atahanceylan.com/wp-admin/post.php?post=392&amp;action=edit#citation-1">[1]</a>https://en.wikipedia.org/wiki/Software_supply_chain</li><li><a href="https://www.atahanceylan.com/wp-admin/post.php?post=392&amp;action=edit#citation-2">[2]</a>https://en.wikipedia.org/wiki/Software_supply_chain</li><li><a href="https://www.atahanceylan.com/wp-admin/post.php?post=392&amp;action=edit#citation-3">[3]</a>https://en.wikipedia.org/wiki/Software_supply_chain</li><li><a href="https://www.atahanceylan.com/wp-admin/post.php?post=392&amp;action=edit#citation-4">[4]</a>https://www.blackduck.com/blog/software-bill-of-materials-bom.html</li><li><a href="https://www.atahanceylan.com/wp-admin/post.php?post=392&amp;action=edit#citation-5">[5]</a>https://github.com/CycloneDX/cyclonedx-dotnet</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9169f3a5e323" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair/creating-sbom-with-sbom-tool-and-cyclonedx-on-azure-devops-9169f3a5e323">Creating SBOM with sbom-tool and CycloneDX on Azure DevOps</a> was originally published in <a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair">Yazılıma Dair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transform Classic Pipelines to YAML in Azure DevOps]]></title>
            <link>https://medium.com/yaz%C4%B1l%C4%B1ma-dair/transform-classic-pipelines-to-yaml-in-azure-devops-a0c9334b61ce?source=rss-6167880f8855------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0c9334b61ce</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[azure-pipelines]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[release-pipeline]]></category>
            <category><![CDATA[yaml]]></category>
            <dc:creator><![CDATA[Atahan Ceylan]]></dc:creator>
            <pubDate>Tue, 31 Dec 2024 17:48:01 GMT</pubDate>
            <atom:updated>2025-10-23T09:18:29.656Z</atom:updated>
            <content:encoded><![CDATA[<h3>Migrate from Classic to yaml pipelines on Azure Pipelines</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*rmQNbJFd-qetaNWb6gYU_w.png" /><figcaption>Azure DevOps</figcaption></figure><p>In this tutorial blog post, I will mention about how to transform old build, release classic pipelines to yaml based pipelines. Classic Pipeline is GUI based pipeline creator that you use drag and drop pipeline steps. In old versions of these pipelines you don’t have view as yaml option. So, you need to transform this GUI based pipelines to yaml pipelines.</p><p>Prerequisites:</p><ul><li>Azure Devops account <a href="https://dev.azure.com/yourusername/">https://dev.azure.com/yourusername/</a></li><li>Classic pipeline based build or release pipeline</li><li><a href="https://github.com/f2calv/yamlizr"><strong>yamlizr</strong></a> tool</li></ul><p>I created learning_azure_devops project under my <a href="https://dev.azure.com/atahanceylan/">https://dev.azure.com/atahanceylan/</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*1xiFlT2E4QM_rsBRWWPnBg.png" /><figcaption>Azure Devops Organizations</figcaption></figure><p>I created a classic pipeline with WinampToSpotifyClassicPipeline from my Github WinampToSpotifyWeb repository.</p><p>New Pipeline — Use classic editor to create a pipeline without yaml.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*InQp2L930KgpYTC0hMBqeg.png" /><figcaption>Use the classic editor to create a pipeline without YAML.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ffdPjkjeajXDh80-P8kpCw.png" /><figcaption>Classic Pipeline GUI</figcaption></figure><p>I ran the newly created pipeline and finished successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vb_AuA7ZmvEzOxrdD8--Sw.png" /><figcaption>Successful Pipeline Run</figcaption></figure><p>Now we need to use <a href="https://github.com/f2calv/yamlizr"><strong>yamlizr</strong></a> tool for transformation. <a href="https://github.com/f2calv/yamlizr"><strong>yamlizr</strong></a> is a <a href="https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools">.NET Global Tool</a> which converts Azure DevOps Classic Designer Build/Release Definitions and any referenced Task Groups en-masse into their <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&amp;tabs=schema%2Cparameter-schema">YAML Pipeline</a> or <a href="https://github.com/features/actions">GitHub Action</a> equivalent.</p><p><strong>Installation/Set-up</strong></p><p>1-) We need to create a Personal Access Token from Azure Devops Settings with following scopes:</p><p>Build — Read , Deployment Groups — Read &amp; Manage, Release — Read, Task Groups — Read, Variable Groups — Read</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*2m3lqFnL5DBeeVPDzYZ4Zg.png" /><figcaption>Personal Access Tokens</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*ON5jhYoYicbiegFOeSJPTg.png" /><figcaption>Scopes for Personal Access Token</figcaption></figure><p>2-) Download and install either;</p><p>.NET 8.0 SDK</p><p>.NET 9.0 SDK</p><p>3-) From a command line shell install the tool; <strong>dotnet tool update — global yamlizr</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MSFBGj6qfJUV69IA4_T-VA.png" /><figcaption>yalmzr dotnet tool update globally</figcaption></figure><p>4-) CLI Operation</p><p>To generate YAML files in the c:/temp/myoutputfolder output folder execute the following command;</p><p><strong>yamlizr generate -pat your personal access token -org </strong><a href="https://dev.azure.com/atahanceylan/"><strong>https://dev.azure.com/atahanceylan/</strong></a><strong> -proj</strong></p><p><strong>learning_azure_devops -out c:/temp/myoutputfolder</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ff0z9HMVMwEerPI2Bxem5Q.png" /><figcaption>yamlzr cli run</figcaption></figure><p><strong>We can see created yaml files under C:\Temp\myoutputfolder folder.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*lyn5yBJPzqQdu0KEYjtVNQ.png" /><figcaption>output folder</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*ST1-wpeU3w23zMINsfowWg.png" /><figcaption>output build yaml</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*wdobAQak194yRcJrgsGfpA.png" /><figcaption>output release yaml</figcaption></figure><p>Now you can use yaml files in your pipelines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0c9334b61ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair/transform-classic-pipelines-to-yaml-in-azure-devops-a0c9334b61ce">Transform Classic Pipelines to YAML in Azure DevOps</a> was originally published in <a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair">Yazılıma Dair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Azure Developer Certification AZ-204 Exam Preparation]]></title>
            <link>https://medium.com/yaz%C4%B1l%C4%B1ma-dair/azure-developer-certification-az-204-exam-preparation-c1fa48f40a16?source=rss-6167880f8855------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1fa48f40a16</guid>
            <category><![CDATA[azure-developer]]></category>
            <category><![CDATA[microsoft-learn]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[az-204]]></category>
            <dc:creator><![CDATA[Atahan Ceylan]]></dc:creator>
            <pubDate>Tue, 18 Jul 2023 09:53:51 GMT</pubDate>
            <atom:updated>2023-07-26T08:31:27.080Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*RxX0kLuhOPpOW1IswfV7vw.png" /></figure><p>In this article I will try to give tips about preparing yourself for AZ-204 Azure Developer Certification Exam.</p><p><a href="https://learn.microsoft.com/en-us/certifications/exams/az-204/">Main page of AZ-204 on Microsoft</a>, this page should be your home during your AZ-204 preparation time 😊 You can get detailed information about exam and tips.</p><p>Briefly described in this page: “Candidates should have at least 2 years of professional development experience and experience with Azure. They should be able to program in an Azure-supported language, and should be proficient using Azure CLI, Azure PowerShell, and other tools”</p><p>Passing score is 700. You can get information about how score is calculated from <a href="https://learn.microsoft.com/en-us/certifications/exam-scoring-reports">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*VeqJZUgbCk_Dx4RLE1jMpw.png" /><figcaption>Exam Tips</figcaption></figure><p>In my current company we are member of Enterprise Skills Initiative <a href="https://esi.microsoft.com/">https://esi.microsoft.com/</a></p><p>You can login with your company mail if your company joined this initiative website. Under <a href="https://esi.microsoft.com/getcertification">https://esi.microsoft.com/getcertification</a> Section you will find available certification exams. As you saw below you can schedule exam.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*RR4WajxZJ5i0g-S1r8aYaQ.png" /><figcaption>ESI AZ-204 Section</figcaption></figure><p>Exam Preparation section gives details about exam. Weighted average of topics covered. Topics group under 5 sections of skills measured. You can watch these videos as starting point. <a href="https://www.linkedin.com/in/neilmcisaac/">Neil McIsaac</a> is giving high level information about sections. You can reach from <a href="https://learn.microsoft.com/en-us/shows/exam-readiness-zone/preparing-for-az-204-develop-azure-compute-solutions-1-of-5">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*cf2hwu7pOCL56IO4ebrErA.png" /><figcaption>Skills measured</figcaption></figure><p>From this platform it is possible to do practice tests. If you think you prepared enough both theoretical and practical for exam. There is no limitation on number of practice exam you can take, but questions repeat itself.</p><p>I started with Microsoft Learn AZ-204 learning path. I read all documents and I tried the example codes from either provided sandbox or on my local. Microsoft Learn platform is a gamification-based platform so that you get XPs, badges, trophies after completing learning path modules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Y0C6_3mhBmD4GS6KtEmPrA.png" /><figcaption>Learning Path on Microsoft Learn Portal</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DnlZhM9LP5epufiwIeI4_Q.png" /><figcaption>Microsoft Learn Profile Badges Trophies XPs</figcaption></figure><p>You can reach all related learning paths for AZ-204 from <a href="https://learn.microsoft.com/en-us/training/browse/?resource_type=learning%20path&amp;filter-products=AZURE&amp;terms=AZ-204">here</a> You can skip Prepare to teach AZ-204 Developing Solution for Microsoft Azure it is for teaching about exam.</p><p>Microsoft Learn also provides <a href="https://microsoftlearning.github.io/AZ-204-DevelopingSolutionsforMicrosoftAzure/">Learning Path Labs</a> which has 12 modules. You can gain practical experience on Azure from these labs.</p><p>Pluralsight also provides a learning path for AZ-204. I completed this learning path as well. In videos they are giving theoretical information about Azure. This path consists of 19 video courses and 1 guide. There are Exam Alerts that gives you example scenarios which very beneficial for exam. Because in exam you are not asked directly what is what and what is used for what instead of they are giving you example scenario and you will think and try to solve scenario based on giving information in the question.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*7DVfsQ6rThgkXiIrwXf_zw.png" /><figcaption>Pluralsight Certification Exam Preparation</figcaption></figure><p>If you have Pluralsight Premium it also possible to take practice exam provided by CyberVista as well. I took one practice exam from CyberVista. Questions were very similar to original certificate questions. I recommend taking this practical test before exam.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/1*EaBYljbl5hjAm4KBFcCTzg.png" /><figcaption>Pluralsight AZ-204 Exam Preparation Learning Path Completed</figcaption></figure><p>I read Mustafa Erhan Ersoy’s <a href="http://merhanersoy.net/post/2022/04/20/az-204-sertifikasi">blog post about AZ-204 exam</a> before exam, and I convinced to buy this <a href="https://www.udemy.com/course/az204-azure-practice/">practice exam set</a> prepared by Scott Duffy from Udemy. If you don’t have Pluralsight account, you can also buy Scott Duffy’s <a href="https://www.udemy.com/course/70532-azure/">course about AZ-204</a></p><p>Not just before this exam but in earlier times I completed several courses from LinkedIn Learning.</p><p><a href="https://www.linkedin.com/learning/azure-microservices-with-dot-net-core-for-developers/making-sense-of-microservices-architecture-in-a-dot-net-core-and-azure-ecosystem">Azure Microservices with .NET Core for Developers</a> , <a href="https://www.linkedin.com/learning/azure-event-grid/event-routing-with-azure-event-grid">Azure Event Grid</a>, <a href="https://www.linkedin.com/learning/azure-administration-implement-and-manage-application-services-2019/azure-app-services-that-work-for-you">Azure Administration: Implement and Manage Application Services (2019)</a>, <a href="https://www.linkedin.com/learning/exam-tips-developing-solutions-for-microsoft-azure-az-204/developing-solutions-for-microsoft-azure">Exam Tips: Developing Solutions for Microsoft Azure (AZ-204)</a></p><p>LinkedIn Learning is also providing Learning Path for AZ-204 exam you can reach from <a href="https://www.linkedin.com/learning/paths/prepare-for-the-azure-developer-associate-az-204-certification">here</a>.</p><p>My last advice is, schedule your exam when you are not working or any time you have at least half day off. Questions has lots of text in it, and you shouldn’t be tired when reading questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1fa48f40a16" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair/azure-developer-certification-az-204-exam-preparation-c1fa48f40a16">Azure Developer Certification AZ-204 Exam Preparation</a> was originally published in <a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair">Yazılıma Dair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Winamp To Spotify]]></title>
            <link>https://medium.com/yaz%C4%B1l%C4%B1ma-dair/winamp-to-spotify-503152580c87?source=rss-6167880f8855------2</link>
            <guid isPermaLink="false">https://medium.com/p/503152580c87</guid>
            <category><![CDATA[music]]></category>
            <category><![CDATA[mp3]]></category>
            <category><![CDATA[spotify]]></category>
            <category><![CDATA[archive]]></category>
            <category><![CDATA[winamp]]></category>
            <dc:creator><![CDATA[Atahan Ceylan]]></dc:creator>
            <pubDate>Wed, 26 Feb 2020 22:30:38 GMT</pubDate>
            <atom:updated>2023-07-26T08:30:47.191Z</atom:updated>
            <content:encoded><![CDATA[<h3>Winamp to Spotify</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*F-DvtMFPmiCYKxg9k_h5dQ.png" /></figure><p>I want to tell you about my side project Winamp to Spotify. Digital transformation affected our music listening habits. Before Spotify or any other online music library we used to have mp3 archieves in our hard drives. The aim of this side project is collecting mp3 filenames from harddisk and create Spotify Playlist based on selected folder. So you will be able to listen old songs that you cannot remember.</p><p>To use this application you need a Spotify Developer Account. To use the Web API, start by creating a Spotify user account (Premium or Free). To do that, simply sign up at <a href="https://developer.spotify.com/dashboard">https://developer.spotify.com/dashboard</a> After creating a spotify developer account you should register an application through Dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*80pgtN7F-CJgAtc7UvaMNw.gif" /><figcaption>Creating Application on Spotify API</figcaption></figure><p>After these 3 steps your application should be created successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hJZeZuPCHaVP8Q-FR46fHg.png" /><figcaption>Dashboard view after creating application</figcaption></figure><p>After creating you will have ClientID and Client Secret values. After creating app from Edit Settings tab you should set Redirection URLs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2XGZQeerNLDc4xQG5yYrmQ.png" /><figcaption>Redirection URLs and other settings</figcaption></figure><p>By using <a href="https://developer.spotify.com/console/get-current-user/">https://developer.spotify.com/console/get-current-user/</a> link you can get your UserID of Spotify account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8_g_T1CndFLfK-ZMmpcOsw.png" /><figcaption>Getting UserId by calling Spotify API</figcaption></figure><p>To make apllication work ClientID, SecretID and UserID should be placed in appsettings.json file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*JTieq9NbUPlvUG8-xyFdkQ.png" /><figcaption>appsettings.json ClientID,SecretId,UserID</figcaption></figure><p>After setting these config values application is ready to run. You can reach codes from <a href="https://github.com/atahanceylan/winamptospotifyforms">https://github.com/atahanceylan/winamptospotifyforms</a></p><p>I learned Access Token based authorization .Net app by <a href="https://github.com/bmsimons/dotnet-core-spotify-authentication">https://github.com/bmsimons/dotnet-core-spotify-authentication</a> github repo. Many thanks to Bart Simons (<a href="https://bartsimons.me/">https://bartsimons.me/</a>)</p><p>Here is GUI of WinampToSpotify windows form app:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*iczK5xL26SOqWwZzW0iC7w.png" /><figcaption>Winamp To Spotify Windows App</figcaption></figure><p>First step is getting Access Token. After getting access token select folder to process.To simulate Oauth process with callback I used webbrowser code from <a href="https://adndevblog.typepad.com/cloud_and_mobile/2016/10/3-legged-oauth-on-desktop-apps-c-winform.html">https://adndevblog.typepad.com/cloud_and_mobile/2016/10/3-legged-oauth-on-desktop-apps-c-winform.html</a> post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*F3hNWnP7RY_oc74mMqPEIg.png" /><figcaption>After get token finished successfully.</figcaption></figure><p>Access token stored in an invisible textbox.</p><p>Example folder I selected Black Eyed Peas.From selected folder path I get the Black Eyed Peas as a playlist name. For creating playlist in Spotify I made a post request to <a href="https://api.spotify.com/v1/users/%7bYourUserId%7d/playlists">https://api.spotify.com/v1/users/{YourUserId}/playlists</a> endpoint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DuX0amFfYe0-OjzpzqHrHA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*5UuvFFkn_Q3mmwE12Jjsmw.png" /></figure><p>In project, SpotifyClient.GetTrackUri method created for each track name <a href="https://api.spotify.com/v1/search?q=%7btrackname%7d">https://api.spotify.com/v1/search?q={trackname}</a> endpoint called and Returned trackuri stored in dictionary. TrackUri is unique identifier for tracks in Spotify API.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*qHJgyrPBRPwmXPLHOkJokg.png" /><figcaption>Output of folder process</figcaption></figure><p>In project SpotifyClient. AddTrackToPlaylist method created for after getting all trackuri values these tracks added to created playlist. This is done by a post call to <a href="https://api.spotify.com/v1/playlists/%7bplaylist_id%7d/tracks">https://api.spotify.com/v1/playlists/{playlist_id}/tracks</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FVlbEPsfVKdcrmg4uIJ1dg.png" /><figcaption>Created playlisy in Spotify</figcaption></figure><p>All codes reachable for Winamp to Spotify Windows Form project <a href="https://github.com/atahanceylan/winamptospotifyforms">https://github.com/atahanceylan/winamptospotifyforms</a></p><p>I also created Web application of Winamp to Spotify.First page is below starts with authenticating to Spotify.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*gSFzVXZULonQnnk-CthiTQ.png" /></figure><p>After authenticating to Spotify API next page will welcome you. You should enter the path full to search mp3s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bXR7zs3stwGQoLitzMQb8w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*Qsbj3lUMAyuCzfeibotfLA.png" /></figure><p>I selected Scorpions folder. And folder processed and created playlist in Spotify.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QbwIhw6oxML80O3D6mJUHQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MW3aqLyKT_UaHOLrLIt1Ww.png" /></figure><p>You can reach Winamp To Spotify web application codes: <a href="https://github.com/atahanceylan/winamptospotifyweb">https://github.com/atahanceylan/winamptospotifyweb</a></p><p>Any comments and suggestions are welcome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=503152580c87" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair/winamp-to-spotify-503152580c87">Winamp To Spotify</a> was originally published in <a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair">Yazılıma Dair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Common Challenges when Adapting Agile Project Management]]></title>
            <link>https://medium.com/@atahan_ceylan/common-challenges-when-adapting-agile-project-management-bcfe6ec7b57a?source=rss-6167880f8855------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcfe6ec7b57a</guid>
            <category><![CDATA[challenge]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[agile-methodology]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[pitfalls]]></category>
            <dc:creator><![CDATA[Atahan Ceylan]]></dc:creator>
            <pubDate>Fri, 27 Dec 2019 10:49:52 GMT</pubDate>
            <atom:updated>2022-07-07T14:35:24.957Z</atom:updated>
            <content:encoded><![CDATA[<h3>Common Pitfalls when Adapting Agile Project Management</h3><p>In today’s software development environment, requirements has been changing during the product development cycle so that they can respond to changes from customers. Therefore, software development becomes a challenge, adapting changed requirements when development is going on. In the mid 90’s, agile development techniques for software became available. This discipline was strongly influenced by the Japanese industry best practices, mainly the lean manufacturing principles implemented by Honda and Toyota as well as the Knowledge Management strategies suggested by Takeuchi and Nonaka (2004) and Senge (1990).</p><p>Agile software development bases itself on an iterative and incremental approach. Software developers work on small modules, and respond to users’ changed requirements rather than follow a specific or predetermined plan of action. The basic design is simple, and changes are made as work progresses. Agile methods stress two concepts: the unforgiving honesty of working code and the effectiveness of people working together with goodwill. Working code tells the developers and sponsors what they really have in front of them — as opposed to promises as to what they will have in front of them. The working code can be shipped, modified, or scrapped, but it is always real.</p><p>Agile software management methodologies are gaining popularity rapidly nowadays. This popularity comes from its flexibility to change. This approach has proved to be effective at solving many problems and at forging attractive work environments in many organizations. While it is not suited for everyone, it is suited for many. If your company will use Agile methodologies adopting to it another problem. This article will give you information about difficulties, challenges, issues with a categorical manner and how to avoid them.</p><p>Getting an organization to switch to agile processes takes a lot of time and patience. How to adapt Agile methodology it is with the education. Experienced people bring practical knowledge from other situations and environments that can be helpful in avoiding pitfalls, in recommending tips and techniques for executing the project, and in coaching or supporting individual team members.</p><p>Going agile requires executive, senior management, and middle management awareness and buy-in that something will change in the project management practices. They need to understand the benefits of the change as well as the details of how the change will affect operational aspects of the business. Furthermore, they need to understand what will be expected from them and what should change in their behavior. Many cultural and communication problems can be avoided or at least mitigated by aligning with all levels of management before adopting an agile methodology. Of failed Agile implementations, 63% of respondents in one study blamed the clash between their business’s culture and Agile’s business philosophy.</p><figure><img alt="Challenges" src="https://cdn-images-1.medium.com/max/1024/1*VT6t9ZigDBlipxNItbMauQ.jpeg" /></figure><p>Here are the type of challenges: The problems include issues with (1) communicating; (2) managing<br>day-to-day operational problems; (3) gaining buy-in from management, customers, and team<br>members; (4) changing culture and mindset; and (5) gaining experience and making it work. Of course, some of the issues and challenges are unique and occur due to differences and idiosyncrasies in the organization or the project.</p><p>Imposing agile principles on process-centric, non-collaborative, optimizing organizations is likely to fail. Imposing a change embracing process on sedate project teams may not be reasonable. Attempting to get close user collaboration with organizations that have little time to spend with developers won’t work. The biggest limitation of agile methodologies is how they handle larger teams. Agile methodologies rely heavily on communication, so large teams make it difficult to use agile methods. There is a clear inverse relationship between agile techniques and project complexity. Agile development is more difficult with larger teams. The average project has only nine people, well within the reach of the most basic agile processes.</p><p>Nevertheless, it is interesting to occasionally find successful agile projects with 120 or even 250 people. Agile development excels in exploratory problem domains — extreme, complex, high-change projects — and operates best in a people-centered, collaborative, organizational culture. This approach has proved to be effective at solving many problems and at forging attractive work environments in many organizations. While it is not suited for everyone, it is suited for many. They state that “project success is measured not just by completion of the scope of work to time, cost, and quality, but also by performance of the projects outputs, outcomes, and impacts.</p><p>Inadequate experience with agile methods</p><ul><li>Little understanding of the required broader organizational change</li><li>Company philosophy or culture at odds with agile values</li></ul><p>To build an effective team, Agile project managers must constantly practice and reinforce effective communication. Getting feedback early and often is a cornerstone of Agile project management, so being an effective communicator is important for management and individuals to ensure the customer is getting exactly what is needed — nothing more and nothing less. Getting a deliverable in front of a customer early helps teams learn more about purpose behind what they are developing so they can do it better.</p><p>• Educate and Align with the Management Team</p><p>• How to adapt Agile methodology it is with the education.</p><p>Going agile requires executive, senior management, and middle management awareness and buy-in that something will change in the project management practices. They need to understand the benefits of the change as well as the details of how the change will affect operational aspects of the business. Furthermore, they need to understand what will be expected from them and what should change in their behavior. Many cultural and communication problems can be avoided or at least mitigated by aligning with all levels of management before adopting an agile methodology.</p><p>· Hire external consultants:</p><p>Experienced people bring practical knowledge from other situations and environments that can be helpful in avoiding pitfalls, in recommending tips and techniques for executing the project, and in coaching or supporting individual team members. While having many team members with experience is ideal, the Agile Coach, Product Owner, and Agile Tester are three roles where experience is most appreciated, as those are the topics where the most issues surface.</p><p>You and your organization should consider carefully why you need to be agile, how agile you really need to be, and what kind of projects need to be agile. After answering these questions, you can start discussion and planning to decide the right agile methodology. If adopting an agile methodology is not right for all projects or for the organization, then individual agile practices should be adopted in projects to reach a desirable level of agility. Day-to-day operational problems will occur. Having team members with experience and management buy-in can help management mitigate the negative impact of any issues, problems, or challenges.</p><p><strong>This is a literature review. I mentioned my references below:</strong></p><p><strong>References:</strong></p><p><strong>1.</strong> <a href="https://www.researchgate.net/publication/230634624_Scrum_agile_product_development_method_-literature_review_analysis_and_classification">https://www.researchgate.net/publication/230634624_Scrum_agile_product_development_method_-literature_review_analysis_and_classification</a></p><p><strong>2.</strong> <a href="https://www.academia.edu/7999605/Agile_Software_Development_The_People_Factor">https://www.academia.edu/7999605/Agile_Software_Development_The_People_Factor</a></p><p><strong>3.</strong> <a href="http://www.umsl.edu/~sauterv/analysis/challenges_of_migrating_to_agile_methodologies.pdf">http://www.umsl.edu/~sauterv/analysis/challenges_of_migrating_to_agile_methodologies.pdf</a></p><p><strong>4.</strong> <a href="https://www.altexsoft.com/whitepapers/agile-project-management-best-practices-and-methodologies/">https://www.altexsoft.com/whitepapers/agile-project-management-best-practices-and-methodologies/</a></p><p><strong>5.</strong> <a href="http://www.dsc.ufcg.edu.br/~garcia/cursos/ger_processos/seminarios/Crystal/Agile%20Software%20Development%202%20The%20People%20Factor.htm">http://www.dsc.ufcg.edu.br/~garcia/cursos/ger_processos/seminarios/Crystal/Agile%20Software%20Development%202%20The%20People%20Factor.htm</a></p><p><strong>6.</strong> <a href="https://www.pmi.org/learning/library/agile-problems-challenges-failures-5869">https://www.pmi.org/learning/library/agile-problems-challenges-failures-5869</a></p><p><strong>7.</strong> <a href="https://www.business2community.com/marketing/15-incredible-agile-project-management-statistics-2018-01939694">https://www.business2community.com/marketing/15-incredible-agile-project-management-statistics-2018-01939694</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcfe6ec7b57a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Python so popular now?]]></title>
            <link>https://medium.com/analytics-vidhya/why-python-so-popular-now-3532afc1cb71?source=rss-6167880f8855------2</link>
            <guid isPermaLink="false">https://medium.com/p/3532afc1cb71</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[tiobe]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[popular]]></category>
            <dc:creator><![CDATA[Atahan Ceylan]]></dc:creator>
            <pubDate>Fri, 06 Dec 2019 09:43:48 GMT</pubDate>
            <atom:updated>2019-12-11T04:30:07.058Z</atom:updated>
            <content:encoded><![CDATA[<p>I would like you to tell about why Python programming language is becoming more popular nowadays. Python language is invented by Guido van Rossum in 1991. Its main target was code readability. From 2003 Python programming language entered the most popular programming languages and this popularity increasing linearly. You will see popularity of a programming language index graph between 2003–2013. This graph is created by Google Trends data which is based on how often language tutorials are searched on Google. Guido van Rossum worked at Google between 2005–2012. After Google he started to work in Dropbox now he is working at Dropbox. While he was working at Google, Google became more interested in Python language and started to use in some projects and became an official language. Some of projects listed on <a href="https://quintagroup.com/cms/python/google.">https://quintagroup.com/cms/python/google.</a> Google also has free Python class in <a href="https://developers.google.com/edu/python.">https://developers.google.com/edu/python.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*t87OXmVeZpl0EVzgzjF1SA.png" /><figcaption>PyPL Nov 2019 Results</figcaption></figure><p>And now in 2019 Popularity of Programming Language chart is below. Python is the first by share nearly %30 and gained +4.2 popularity from previous year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*qjKgJkLsgTzcRZsBHQ_IEA.png" /><figcaption>Increase from previous month</figcaption></figure><p>In this site (<a href="http://pypl.github.io/PYPL.html">http://pypl.github.io/PYPL.html</a>) it is shown that Python passed Java and grew by %19 percentage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8cysvgAYxV8OSSSpXaqFeA.png" /><figcaption>Python vs Java</figcaption></figure><p>Another indicator of popularity of a programming language TIOBE index results showed below. The TIOBE Programming Community index is an indicator of the popularity of programming languages. The index is updated once a month. The ratings are based on the number of skilled engineers world-wide, courses and third party vendors. Popular search engines such as Google, Bing, Yahoo!, Wikipedia, Amazon, YouTube and Baidu are used to calculate the ratings. It is important to note that the TIOBE index is not about the best programming language or the language in which most lines of code have been written. Python placed 3rd and gain 1 step from previous month.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*CCGxW9lqKW9t0e5iNBvfUw.png" /><figcaption>Python logo</figcaption></figure><p>Up to this point, I showed the increase of Python programming language let’s start to identify why Python becoming more popular. Python is very easy to learn because its syntax very close to English language. Python is a dynamic language that has no strict rules. That’s why it is very enjoyable for who is learning programming for the first time. Fun is a great motivator. There is a fun fact about Python that its name not coming from snake it is coming from an English comedy group Monty Python (<a href="http://www.montypython.com/pythons">http://www.montypython.com/pythons</a>). According to research in 2014 July, Python is currently the most popular language for teaching introductory computer science courses at top-ranked U.S. departments. Specifically, eight of the top 10 CS departments (80%), and 27 of the top 39 (69%), teach Python in introductory CS0 or CS1 courses. Another reason is for becoming popular Python programming language is so versatile. Python is a general-purpose language, which means it can be used to build just about anything, which will be made easy with the right tools/libraries. Professionally, Python is great for backend web development, data analysis, artificial intelligence, and scientific computing. Python is second language after R in data mining. Python has 5th most crowded developer community, in GitHub 4th most used programming language. Python has 3rd most crowded group in In Meetup.com. Community is another key factor for interest growth.<br>Large organizations that make use of Python include Wikipedia, Google, Yahoo!, CERN, and some smaller entities like ILM, and ITA. The social news networking site Reddit is written entirely in Python.</p><p><strong>Applications for Python</strong><br>Python is used in many application domains. Here’s a sampling.<br>The Python Package Index lists thousands of third party modules for Python.</p><p><em>Web and Internet Development</em><br>Python offers many choices for web development:<br>Frameworks such as Django and Pyramid.<br>Micro-frameworks such as Flask and Bottle.<br>Advanced content management systems such as Plone and django CMS.</p><p><em>Python’s standard library supports many Internet protocols:</em><br>HTML and XML<br>JSON<br>E-mail processing.<br>Support for FTP, IMAP, and other Internet protocols.<br>Easy-to-use socket interface.</p><p><em>And the Package Index has yet more libraries:</em><br>Requests, a powerful HTTP client library.<br>BeautifulSoup, an HTML parser that can handle all sorts of oddball HTML.<br>Feedparser for parsing RSS/Atom feeds.<br>Paramiko, implementing the SSH2 protocol.<br>Twisted Python, a framework for asynchronous network programming.</p><p><em>Scientific and Numeric:</em><br>Python is widely used in scientific and numeric computing:<br>SciPy is a collection of packages for mathematics, science, and engineering.<br>Pandas is a data analysis and modeling library.<br>IPython is a powerful interactive shell that features easy editing and recording of a work session, and supports visualizations and parallel computing.<br>The Software Carpentry Course teaches basic skills for scientific computing, running bootcamps and providing open-access teaching materials.</p><p><strong>References:</strong><br><a href="https://cacm.acm.org/blogs/blog-cacm/176450-">https://cacm.acm.org/blogs/blog-cacm/176450-</a> python-is- now-the- most-popular-introductory-teaching- language-at- top-u- s-universities/fulltext<br><a href="http://pypl.github.io/PYPL.html">http://pypl.github.io/PYPL.html</a><br><a href="https://www.tiobe.com/tiobe-index/">https://www.tiobe.com/tiobe-index/</a><br><a href="https://www.monitis.com/blog/why-python-">https://www.monitis.com/blog/why-python-</a> is-becoming- so-popular/<br><a href="http://dataconomy.com/2015/01/python-packages-">http://dataconomy.com/2015/01/python-packages-</a> for-data- mining/</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3532afc1cb71" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/why-python-so-popular-now-3532afc1cb71">Why Python so popular now?</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[.NET Framework İçerisindeki Tasarım Deseni Örnekleri]]></title>
            <link>https://medium.com/yaz%C4%B1l%C4%B1ma-dair/net-framework-i%CC%87%C3%A7eri%CC%87si%CC%87ndeki%CC%87-tasarim-deseni%CC%87-%C3%B6rnekleri%CC%87-604e446432e8?source=rss-6167880f8855------2</link>
            <guid isPermaLink="false">https://medium.com/p/604e446432e8</guid>
            <category><![CDATA[object-oriented-design]]></category>
            <category><![CDATA[dot-net-framework]]></category>
            <category><![CDATA[factory-pattern]]></category>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Atahan Ceylan]]></dc:creator>
            <pubDate>Mon, 23 Oct 2017 10:32:12 GMT</pubDate>
            <atom:updated>2020-01-11T08:31:07.268Z</atom:updated>
            <content:encoded><![CDATA[<p>Merhabalar,</p><p>Bu yazımda sizlere .Net framework içerisinde yer alan tasarım desenlerinden (design patterns) bahsedeceğim. Farkında olmadan bu tasarım desenlerinin örneklerini kullanıyoruz.</p><p><strong>Factory Tasarım Deseni</strong></p><p>Factory tasarım deseni aynı abstract sınıfı veya arayüzü uygulayan sınıfların üretiminden sorumludur. En çok bilinen ve kullanılan tasarım desenlerinden olan Factory tasarım deseninin .Net framework içerisinde en güzel örneğini Convert sınfında görebiliriz. İlkel veri tipleri arasında tip değişiklikleri yapmamıza olanak sağlar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuP9WQ-aKi0DAbaKWSsy1A.png" /></figure><p><strong>Iterator Tasarım Deseni</strong></p><p>Kümelenmiş veri setleri üzerinde dolaşmamıza imkan sağlayan bu tasarım deseni. .Net framework içerisinde IEnumerable sınıfı içerisinde örneklenmiştir. IEnumerable arayüzünü implemente etmiş sınıflar,koleksiyonlar(Collections) içerisinde foreach ile tek tek dolaşmamıza imkan verir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*skSZUMZ2ibfHf1LRAz6E9Q.png" /></figure><p>Örnek olarak bir koleksiyon sınıfı olan ArrayList oluşturup bu sınıfın objelerini foreach kullanarak ekranda gösterdim.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*sjpHeMykZNToRLv7oDV0IQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*hysCNOwkGsfL18ITXLmLjA.png" /></figure><p>ArrayList sınıfının IEnumerable arayüzünü implemente ettiğini aşağıda görebiliriz. Burada Iterator tasarım deseninin bir örneğini görmüş olduk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*Xy6WE6xcdiWV8lKi27Nkeg.png" /></figure><p><strong>Builder Tasarım Deseni</strong></p><p>Birden fazla parçadan oluşan nesnelerin üretilmesinden sorumlu bir tasarım desenidir. Builder tasarım deseni .Net Framework içerisinde birkaç yerde kullanılmıştır. En belirgin örneği veritabanı bağlantı cümleciğinin(connection string) oluşturulmasıdır. Aşağıda DataCatalog,InitialCatalog,IntegratedSecurity,Pooling alanları alarak bir sql veritabanı bağlantısı oluşturulmuştur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*EUkhWa5oKdptUBP8p05SwQ.png" /></figure><p>.Net framework içerisinde builder tasarım deseninin bir başka örneği de UriBuilder sınıfıdır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*Nz_GzMG_uROwVrivuXOO1A.png" /></figure><p><strong>Observer Tasarım Deseni</strong></p><p>Observer tasarım desenindeki objeler arasında 1’e n sayıda ilişki tanımlanır ve bir objede değişiklik olduğunda ona bağlı olan diğer objeler de bilgilendirilir ve otomatik olarak güncellenir. Net framework içerisinde event’ler örnek gösterilebilir. .Net Framework’ün 4.0 versiyonu ile birlikte IObserverable arayüzü ile observer tasarımı deseni desteği direk olarak sağlanmıştır.Bir objedeki değişimin ona bağlı objelere bildirim gönderilmesi ve bu objelerin de otomatik güncellenmesi sağlanır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*ywoLcRCWeGNYZVolQ_ppvA.png" /></figure><p><strong>Decorator Tasarım Deseni</strong></p><p>Objelere dinamik olarak yeni özellikler eklenmesinin sağlayan bir tasarım desenidir. .Net Framework içerisinde bu tasarım deseninin en güzel örneği Stream sınıfı ve ondan türetilmiş sınıflardır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*JonwiVEPDDj0fDR67IcSAA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*T98_qH_BQmh0sewEcdilWw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*DIaZmrO7jgFb4r2YPluaGg.png" /></figure><p>Her biri Stream sınıfından türetilmiş her biri temelde stream’leri işlemek için kullanılır ancak her biri farklı stream çeşitlerine hizmet eder.</p><p><strong>Prototype Pattern</strong></p><p>Prototip deseninde referans türünden nesneler bir nesne kopyalama şekli olan derin-kopyalama (deep-copy ) metodu ile kopyalanabilir. Bu methotta yeni referans değişkenine atanması için nesneler kopyalanır. Bu, bellekte aynı türden iki nesnenin oluşturulması anlamına gelmektedir. .Net framework içerisinde örnekleri Cloning ve Serialization’dır.</p><p><strong>Referanslar</strong></p><p>1. <a href="https://stackoverflow.com/questions/3252499/what-design-patterns-are-used-throughout-the-net-framework">https://stackoverflow.com/questions/3252499/what-design-patterns-are-used-throughout-the-net-framework</a></p><p>2. <a href="http://naveensanks.blogspot.com.tr/2011/07/examples-of-design-patterns-used-in-net.html">http://naveensanks.blogspot.com.tr/2011/07/examples-of-design-patterns-used-in-net.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=604e446432e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair/net-framework-i%CC%87%C3%A7eri%CC%87si%CC%87ndeki%CC%87-tasarim-deseni%CC%87-%C3%B6rnekleri%CC%87-604e446432e8">.NET Framework İçerisindeki Tasarım Deseni Örnekleri</a> was originally published in <a href="https://medium.com/yaz%C4%B1l%C4%B1ma-dair">Yazılıma Dair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>