<?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 Hasindu Dilanka Mahanama on Medium]]></title>
        <description><![CDATA[Stories by Hasindu Dilanka Mahanama on Medium]]></description>
        <link>https://medium.com/@mahanama7722?source=rss-6a201f84d188------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*x5tlbK4FHFmvjGnoK-pQpw.jpeg</url>
            <title>Stories by Hasindu Dilanka Mahanama on Medium</title>
            <link>https://medium.com/@mahanama7722?source=rss-6a201f84d188------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 07:49:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mahanama7722/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[Exploring .NET 8: The Future of Modern Application Development]]></title>
            <link>https://medium.com/@mahanama7722/exploring-net-8-the-future-of-modern-application-development-1fbeca4e36cf?source=rss-6a201f84d188------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fbeca4e36cf</guid>
            <dc:creator><![CDATA[Hasindu Dilanka Mahanama]]></dc:creator>
            <pubDate>Mon, 01 Jul 2024 12:56:48 GMT</pubDate>
            <atom:updated>2024-07-01T12:56:48.005Z</atom:updated>
            <content:encoded><![CDATA[<p>As a developer constantly seeking the best tools for building modern, scalable, and high-performance applications, I’m excited to dive into .NET 8, the latest version of Microsoft’s open-source, cross-platform development framework. Here’s a comprehensive look at what .NET 8 has to offer.</p><p>#### Unified Development Experience</p><p>One of the standout features of .NET 8 is its commitment to a unified development experience. This means whether you’re building web, desktop, mobile, cloud, or IoT applications, you can rely on a consistent development environment. This unification simplifies the process and ensures a seamless transition between different types of projects.</p><p>#### Performance Enhancements</p><p>Performance is at the core of .NET 8. The runtime has been optimized to deliver faster and more efficient applications, with a reduced memory footprint. Enhancements to the Just-In-Time (JIT) compiler and garbage collection ensure that your applications run smoother and faster, providing a better experience for end-users.</p><p>#### C# 12 Integration</p><p>.NET 8 fully supports C# 12, which introduces new language features and syntax improvements. These additions make the code more readable and enhance developer productivity. The integration of C# 12 ensures that developers have access to the latest tools and features to write clean and efficient code.</p><p>#### ASP.NET Core Improvements</p><p>Building modern web applications is now more efficient with the improvements in ASP.NET Core. .NET 8 brings enhanced performance and new features, particularly for Blazor. Blazor’s new components and better integration with JavaScript frameworks make it easier to create interactive web applications.</p><p>#### MAUI (Multi-platform App UI)</p><p>MAUI continues to evolve in .NET 8, allowing developers to create cross-platform applications with a single codebase. Whether you’re targeting Android, iOS, macOS, or Windows, MAUI provides a robust solution for building applications that run seamlessly across different platforms.</p><p>#### Cloud-Native and Microservices Support</p><p>For those developing cloud-native applications, .NET 8 offers enhanced support. There’s improved integration with Kubernetes and other cloud platforms, along with new tools and libraries for developing microservices architectures. These features streamline the development of scalable and resilient cloud applications.</p><p>#### Security Enhancements</p><p>Security is paramount, and .NET 8 includes improved features to protect applications against the latest threats. Enhanced support for authentication and authorization, including better integration with modern identity providers, ensures that applications remain secure.</p><p>#### Developer Productivity Tools</p><p>Visual Studio continues to be the go-to IDE for .NET development, and .NET 8 brings new and improved tools to enhance developer productivity. Enhanced debugging, profiling, and code analysis features make it easier to identify and fix issues. Additionally, there’s better support for CI/CD pipelines and DevOps practices, streamlining the development workflow.</p><p>#### Machine Learning and AI</p><p>Machine learning and AI are becoming increasingly important, and .NET 8 steps up with enhanced support for these workloads. Updates to ML.NET and integration with popular AI frameworks ensure that developers have the tools they need to build intelligent applications.</p><p>#### Ecosystem and Community</p><p>The .NET ecosystem continues to grow, with a vast array of libraries, tools, and community contributions. Microsoft has improved documentation, tutorials, and resources, making it easier for developers of all skill levels to get started and thrive in the .NET ecosystem.</p><p>#### Conclusion</p><p>.NET 8 represents a significant leap forward in the evolution of the .NET platform. Its focus on performance, productivity, and security, combined with a unified development experience, makes it an essential tool for modern application development. Whether you’re building web, mobile, desktop, or cloud applications, .NET 8 provides the features and capabilities needed to create high-quality, high-performance software.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*11FsH2v3KjXQ7HzD8tCO5g@2x.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fbeca4e36cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Key concepts in Angular, including declarative templates, end-to-end tooling, and dependency…]]></title>
            <link>https://medium.com/@mahanama7722/key-concepts-in-angular-including-declarative-templates-end-to-end-tooling-and-dependency-80cf74eae6e8?source=rss-6a201f84d188------2</link>
            <guid isPermaLink="false">https://medium.com/p/80cf74eae6e8</guid>
            <dc:creator><![CDATA[Hasindu Dilanka Mahanama]]></dc:creator>
            <pubDate>Wed, 27 Dec 2023 05:53:48 GMT</pubDate>
            <atom:updated>2023-12-27T05:57:06.335Z</atom:updated>
            <content:encoded><![CDATA[<h3>Key concepts in Angular, including declarative templates, end-to-end tooling, and dependency injection</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*H1XzWGogTPhbA61B56t4CA.png" /></figure><h3>1. Declarative Templates:</h3><p>Explanation: Angular uses declarative templates to define the structure of your UI by describing how the UI should look and behave. It focuses on expressing the desired outcome rather than imperatively defining how to achieve it. Declarative templates make it easier to understand and maintain the code, as it closely resembles the final UI.</p><p>Example: Consider the following Angular template snippet that displays a list of items:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*0dqvDiA4BU3hOTxb2aP4gQ.png" /></figure><p>In this example, the *ngFor directive is used declaratively to iterate over the items array and display each item&#39;s name in a list. This approach expresses the intention clearly.</p><h3>2. End-to-End Tooling:</h3><p>Explanation: Angular provides a comprehensive set of tools for developing, testing, and deploying applications. This end-to-end tooling includes the Angular CLI (Command Line Interface), which simplifies various tasks such as project setup, code generation, testing, and deployment.</p><p>Example: Using the Angular CLI, you can generate a new component with the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*rRcsR9TFDC2PnRMeNxbHQA.png" /></figure><p>This command creates the necessary files and folder structure for a new Angular component, including TypeScript code, HTML template, and styles.</p><h3>3. Dependency Injection (DI) in Angular:</h3><p>Explanation: Dependency Injection is a design pattern in which components receive their dependencies from an external source, rather than creating them directly. Angular has a powerful DI system that makes it easy to manage the dependencies of components and services. This promotes modularity, testability, and maintainability.</p><p>Example: Consider a service that provides data to a component. We define the service and inject it into the component’s constructor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*JMmwmcoZOlcXazcKxmTo6A.png" /></figure><p>In this example, the MyComponent class receives an instance of DataService through dependency injection. This promotes loose coupling between components and services.</p><p>These concepts — declarative templates, end-to-end tooling, and dependency injection — contribute to the development experience and maintainability of Angular applications. They are fundamental to building scalable and well-structured web applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80cf74eae6e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigating the Cloud: A Comprehensive Overview of AWS, Azure, and Google Cloud]]></title>
            <link>https://medium.com/@mahanama7722/navigating-the-cloud-a-comprehensive-overview-of-aws-azure-and-google-cloud-0b329b50f86b?source=rss-6a201f84d188------2</link>
            <guid isPermaLink="false">https://medium.com/p/0b329b50f86b</guid>
            <dc:creator><![CDATA[Hasindu Dilanka Mahanama]]></dc:creator>
            <pubDate>Mon, 25 Dec 2023 19:22:43 GMT</pubDate>
            <atom:updated>2023-12-25T19:33:08.301Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*xoMr7RAvJGHApuuwVp2fRQ.png" /></figure><p>Introduction:<br>In an era dominated by digital transformation, cloud computing has emerged as the linchpin enabling businesses to scale, innovate, and thrive. This article delves into the three juggernauts of the cloud industry: Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). We explore their origins, services, comparative strengths, and considerations for businesses navigating the complex terrain of cloud solutions.</p><p>1. Amazon Web Services (AWS):<br>Inception and Evolution:<br>AWS, a pioneer in cloud computing, was launched in 2006. Its journey from an internal infrastructure solution for Amazon to the behemoth it is today is marked by relentless innovation.</p><p>Key Services:<br>AWS offers a vast array of services, from the foundational (EC2 for computing, S3 for storage) to advanced offerings like SageMaker for machine learning and Lambda for serverless computing.</p><p>Global Infrastructure:<br>With data centers strategically positioned worldwide, AWS ensures low-latency access to services globally. Case studies of Netflix, Airbnb, and other major players underscore its scalability and reliability.</p><p>2. Microsoft Azure:<br>Evolution and Integration:<br>Azure, born in 2010, builds on Microsoft’s legacy. Its seamless integration with Windows Server, Active Directory, and SQL Server positions it as a natural choice for enterprises deeply invested in Microsoft technologies.</p><p>Core Services:<br>Azure provides a comprehensive suite of services, with emphasis on hybrid solutions. Azure Virtual Machines, Azure Blob Storage, and Azure SQL Database cater to diverse business needs.</p><p>Success Stories:<br>Organizations like BMW and Johnson Controls exemplify Azure’s capabilities in fostering innovation and digital transformation across industries.</p><p>3. Google Cloud Platform (GCP):<br>Google’s Cloud Ascent:<br>GCP, introduced in 2008, capitalizes on Google’s prowess in data analytics and machine learning. Its unique offerings like BigQuery for data analytics and TensorFlow for machine learning set it apart.</p><p>Key Services and Features:<br>GCP’s Compute Engine, Cloud Storage, and Kubernetes Engine empower businesses to scale effortlessly. Real-world instances of its impact on companies like Spotify and PayPal underscore its efficacy.</p><p>4. Comparative Analysis:<br>Pricing Models and Cost Structures:<br>An in-depth look at the pricing structures of AWS, Azure, and GCP, considering factors like pay-as-you-go models, reserved instances, and spot instances.</p><p>Performance and Reliability:<br>Comparative analysis of uptime, service-level agreements (SLAs), and performance benchmarks to guide businesses in aligning cloud solutions with their performance requirements.</p><p>Usability and Learning Curve:<br>Exploring the user interfaces, developer tools, and the learning curves associated with each platform. Considerations for businesses in terms of ease of adoption.</p><p>Strengths and Weaknesses:<br>Highlighting the distinctive strengths and potential drawbacks of each provider to assist businesses in making informed decisions.</p><p>5. Use Cases and Industries:<br>Common Use Cases:<br>Illustrating how AWS, Azure, and GCP cater to common use cases, such as web hosting, mobile app development, and data analytics.</p><p>Industry-Specific Strengths:<br>Delving into the strengths of each provider in specific industries, such as healthcare, finance, and e-commerce, through case studies and industry partnerships.</p><p>Trends in Cloud Adoption:<br>Analyzing current trends in cloud adoption, including the rise of multi-cloud strategies and the impact of COVID-19 on cloud usage patterns.</p><p>Stay tuned for the continuation (part 2)…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0b329b50f86b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Interview Questions (part 01)]]></title>
            <link>https://medium.com/@mahanama7722/react-interview-questions-part-i-5a850c1c99ca?source=rss-6a201f84d188------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a850c1c99ca</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[hasindumahanama]]></category>
            <category><![CDATA[react-interview-question]]></category>
            <dc:creator><![CDATA[Hasindu Dilanka Mahanama]]></dc:creator>
            <pubDate>Sat, 07 Oct 2023 19:33:09 GMT</pubDate>
            <atom:updated>2024-01-02T07:15:10.490Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. React components?</h3><p>Independent and reusable bits of code. They serve the <strong>same</strong> purpose as <strong>JavaScript functions</strong> but work in isolation and return HTML. Components come in two types: <strong>Class</strong> components and <strong>Function</strong> components.</p><h3><strong>2. Type</strong> of Component?</h3><p><strong>Class Component</strong></p><p>A class component must include the extends React.Component statement. This statement creates an inheritance to React. Component, and gives your component access to React. Component&#39;s functions.</p><p>The component also requires a render() method, this method returns HTML.</p><p>(<em>Class components based on JavaScript ES2015. It extends the </em><strong><em>Component </em></strong><em>base class from React and it gives way to the </em><a href="https://medium.com/how-to-react/react-life-cycle-methods-with-examples-2bdb7465332b"><em>react life cycle</em></a><em> methods and adds a render function which is use for return the react elements.</em>)</p><p><strong>Functional Component</strong></p><p>Pure JS Functions. (<em>Functional components based on simple or plain JavaScript. Functional components can’t maintain their own state that’s why sometimes we can say it </em><strong><em>stateless</em></strong><em> components. It is just accept the props as an argument and return the react elements.</em>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*V1OeY1BSx8ezxVp_9V3AaQ.png" /></figure><h3><strong>**pure components</strong></h3><p>React pure components are the components that do not re-render when the value of props and state has been updated with the same values. Since these components <strong>do not cause re-rendering</strong> when the same values are passed they improve performance.</p><h3>3. React state management?</h3><p>React state management is a <strong>process for managing the data that React components need in order to render themselves.</strong> This data is typically stored in the component’s state object. When the state object changes, the component will re-render itself.</p><h3>4. React hooks</h3><p><strong><em>Hooks</em> are a new</strong> addition in React 16.8. They let you use state and other React features <strong>without writing a class.</strong></p><h3>5.useState Hook</h3><p>The React useState Hook allows us to track state in a function component.</p><p>State generally refers to data or properties that need to be tracking in an application.</p><h3>6.useEffect Hook</h3><p>The useEffect Hook <strong>allows you to perform side effects</strong> in your components.</p><p>Some examples of side effects are: <strong>fetching data, directly updating</strong> the DOM, and timers.</p><p>useEffect accepts two arguments. The second argument is optional.</p><p>useEffect(&lt;function&gt;, &lt;dependency&gt;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/1*d2jPPM71LO5cw5OuNUUNRw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a850c1c99ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OOP Concepts with real-world examples ‍♂️]]></title>
            <link>https://medium.com/@mahanama7722/oop-concepts-with-real-world-examples-%EF%B8%8F-9bd57f91b9b2?source=rss-6a201f84d188------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bd57f91b9b2</guid>
            <dc:creator><![CDATA[Hasindu Dilanka Mahanama]]></dc:creator>
            <pubDate>Fri, 07 Jul 2023 10:27:54 GMT</pubDate>
            <atom:updated>2023-07-07T10:27:54.945Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*Lt9Yq_49WG47vocT3OY6oA.png" /></figure><blockquote><strong>Object-oriented programming (OOP)</strong> is a fundamental programming paradigm used by nearly every developer at some point in their career. OOP is the <strong>most popular programming paradigm</strong> used for software development and is taught as the standard way to code for most of a programmer’s educational career.</blockquote><p>Object-Oriented Programming (OOP) is a programming paradigm in computer science that relies on the concept of <strong>classes</strong> and <strong>objects</strong>. It is used to structure a software program into simple, reusable pieces of code blueprints (usually called classes), which are used to create individual instances of objects. There are many object-oriented programming languages, including JavaScript, C++, Java, and Python.</p><p>OOP languages are not necessarily restricted to the object-oriented programming paradigm. Some languages, such as JavaScript, Python, and PHP, all allow for both procedural and object-oriented programming styles.</p><p>A <strong>class</strong> is an abstract blueprint that creates more specific, concrete objects. Classes often represent broad categories, like <strong>Car or Dog</strong> that share <strong>attributes</strong>. These classes define what attributes an instance of this type will have, like colour, but not the value of those attributes for a specific object.</p><p>Classes can also contain functions called <strong>methods</strong> that are available only to objects of that type. These functions are defined within the class and perform some action helpful to that specific object type.</p><p><strong><em>For example</em></strong>, our <strong>Car</strong> class may have a <strong>repaint</strong> method that changes the <strong>colour</strong> attribute of our car. This function is only helpful to objects of type <strong>Car</strong>, so we declare it within the <strong>Car</strong> class, thus making it a method.</p><p>Class templates are used as a blueprint to create individual <strong>objects</strong>. These represent specific examples of the abstract class, like <strong>myCar</strong> or <strong>german<br>Shepherd</strong>. Each object can have unique values to the properties defined in the class.</p><p><strong><em>For example</em></strong>, say we created a class, <strong>Car</strong>, to contain all the properties a car must have,<br><strong>colour, brand</strong>, and<strong> model</strong>. We then create an instance of a <strong>Car</strong> type object, <strong>myCar</strong> to represent my specific car.<br>We could then set the value of the properties defined in the class to describe my car without affecting other objects or the class template.<br>We can then reuse this class to represent any number of cars.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*MBNNMROCWR4Mb0WHomHXOw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*o0jT5pW0q9vEFvg8kROBcw.png" /></figure><h3>Four Principles of OOP</h3><p>The four pillars of object-oriented programming are:</p><ul><li><strong>Inheritance:</strong> child classes inherit data and behaviours from the parent class</li><li><strong>Encapsulation:</strong> containing information in an object, exposing only selected information</li><li><strong>Abstraction:</strong> only exposing high-level public methods for accessing an object</li><li><strong>Polymorphism:</strong> many methods can do the same task</li></ul><h3>Inheritance</h3><p>Inheritance means it allows classes to inherit <strong>common</strong> properties from the parent class.</p><p><strong><em>Example 1</em></strong>: let’s assume that there is a class as Vehicle. All vehicles are not the same. We can inherit common properties like colour, size, and type from the parent vehicle class and create classes like Car, Bus, and Bike.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*I2ExdRWLp5_BcfhrFX0wEg.png" /></figure><p><strong><em>Example 2</em></strong>: let’s take another parent class as Animals. Here also we can inherit common properties like name, sound, colour, breed from Animal class and create classes like Dog, Cat, Horse and etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*Ir4FMUB9y77KjfoPUm1ufg.png" /></figure><h3>Encapsulation</h3><p>Encapsulation means it binds data and code together into one unit.</p><p><strong><em>Example 1:</em></strong> the most commonly used example is the medical capsule. This capsule mixes few types of medicines and stored in one capsule.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*dk9o5aTjuEfU-ERwL1f2OA.png" /></figure><p><strong><em>Example 2</em></strong>: Another example of encapsulation is a large organization. An organization consists of several departments like the production department, purchase department, sales department, and Accounts department. It combines all these departments together and formed the organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_dhBOCLa3R4-RdC7uNMiQ.png" /></figure><h3>Abstraction</h3><p>In abstraction, it displays only the important information by hiding the implementation part.</p><p><strong><em>Example 1</em></strong>: Let’s take the ATM machine. In an ATM machine, we can perform functions like withdraw cash, deposit cash, check balance, print bills, and so on. Even though it performs a lot of actions it doesn’t show us the process. It has hidden its process by showing only the main things like getting inputs and giving the output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*MoRfHLFtxAx6p46m7iNxYw.png" /></figure><p><strong><em>Example 2</em></strong>: The next example is the most commonly used mobile phones. On a mobile phone, we can perform so many actions like making a call, sending messages, take pictures, download software and etc. We perform a lot of things but here also we don’t know the inside process of these things. Which means the implementation parts are hidden.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*TLrja0f3LHLPzdnfK55wxw.gif" /></figure><h3>Polymorphism</h3><p>Polymorphism is the ability to exist in many forms.</p><p><strong><em>Example 1</em></strong>: We can take a boy as a real-world example. This boy can be a student, a player, and a writer. So that this boy can exist in different ways in different situations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*demPXkZGlsx7_ZS3iNw4Ng.png" /></figure><p><strong><em>Example 2:</em></strong> Water is a liquid at normal temperature, but it can be changed to solid when it frozen, or same water changes to a gas when it is heated at its boiling point. Thus, the same water exhibiting different roles is polymorphism.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*4FW6u-ewOtLIRgyJrw5yUA.png" /></figure><p>So that’s about OOP concepts with real-world examples. I hope you got a clear idea about these concepts.</p><p>Thank you for reading my article.😊</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*L4UwGdO9ViKQ4GL-ilGJHg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bd57f91b9b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Comprehensive Guide to Building a Robust API: From Concept to Implementation]]></title>
            <link>https://medium.com/@mahanama7722/a-comprehensive-guide-to-building-a-robust-api-from-concept-to-implementation-c610fd452c48?source=rss-6a201f84d188------2</link>
            <guid isPermaLink="false">https://medium.com/p/c610fd452c48</guid>
            <dc:creator><![CDATA[Hasindu Dilanka Mahanama]]></dc:creator>
            <pubDate>Sat, 24 Jun 2023 06:07:05 GMT</pubDate>
            <atom:updated>2023-06-24T06:07:05.571Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction:</strong> In today’s interconnected digital landscape, Application Programming Interfaces (APIs) play a crucial role in enabling seamless communication between software systems. Whether you’re a seasoned developer or an aspiring one, understanding how to build a new API is a valuable skill that can elevate your software development projects. In this article, we’ll explore the step-by-step process of building a robust API, covering everything from the initial planning stages to the final implementation.</p><ol><li><strong><em>Defining the API’s Purpose: Before diving into the technical details, it’s essential to clearly define the purpose of your API. What problem does it aim to solve? What functionalities will it provide? By establishing a solid understanding of your API’s objectives, you’ll be able to make informed decisions throughout the development process.</em></strong></li><li><strong><em>Identifying the Target Audience: To ensure that your API meets the needs of its intended users, it’s crucial to identify and understand your target audience. Determine who will be consuming your API and what their expectations are. This knowledge will guide your design choices and help you create a user-friendly and intuitive interface.</em></strong></li><li><strong><em>Designing the API: API design encompasses two key aspects: the endpoints and the data format. When designing endpoints, carefully consider the resources and actions your API will expose. Use intuitive naming conventions and adhere to established RESTful principles or other relevant architectural patterns. Additionally, choose an appropriate data format, such as JSON or XML, that aligns with your API’s requirements.</em></strong></li><li><strong><em>Handling Authentication and Security: API security is of paramount importance to protect sensitive data and ensure authorized access. Implement robust authentication mechanisms, such as API keys, OAuth, or JSON Web Tokens (JWT), to authenticate and authorize API consumers. Employ encryption, hashing, and other industry-standard practices to secure data transmission and storage.</em></strong></li><li><strong><em>Implementing the API: Selecting the right tools and technologies for implementing your API is crucial. Consider using frameworks like Express.js (Node.js), Django (Python), or Ruby on Rails (Ruby) to streamline the development process. These frameworks offer features like routing, middleware, and database integration, making it easier to build scalable and maintainable APIs.</em></strong></li><li><strong><em>Documentation and Testing: Comprehensive documentation is essential to ensure that developers can easily understand and integrate with your API. Use tools like Swagger or API Blueprint to generate interactive documentation that outlines endpoints, request/response structures, and any additional parameters or constraints. Additionally, invest time in creating a suite of tests to validate the functionality and performance of your API.</em></strong></li><li><strong><em>Versioning and Maintenance: As your API evolves, it’s important to establish versioning practices to maintain backward compatibility and avoid breaking changes. Utilize versioning schemes like Semantic Versioning (SemVer) to clearly communicate changes to API consumers. Regularly monitor your API’s performance, address reported issues promptly, and provide updates to improve functionality and usability.</em></strong></li></ol><p><strong>Conclusion:</strong> Building a new API requires careful planning, thoughtful design, and diligent implementation. By following the steps outlined in this article, you can create a robust and user-friendly API that seamlessly integrates with other software systems. Remember to consider the needs of your target audience, prioritize security measures, and document your API thoroughly. With these principles in mind, you’ll be well-equipped to embark on your API development journey and contribute to the ever-expanding world of interconnected software systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*SFF8-nyl6HPL22jYpbXvbA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c610fd452c48" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React DnD ?]]></title>
            <link>https://medium.com/@mahanama7722/react-dnd-db73415c03f1?source=rss-6a201f84d188------2</link>
            <guid isPermaLink="false">https://medium.com/p/db73415c03f1</guid>
            <dc:creator><![CDATA[Hasindu Dilanka Mahanama]]></dc:creator>
            <pubDate>Tue, 28 Mar 2023 09:08:41 GMT</pubDate>
            <atom:updated>2023-03-28T09:08:41.574Z</atom:updated>
            <content:encoded><![CDATA[<h3>React DnD ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*cEzfF7mwdXv-bkgILjDXVA.png" /></figure><h4>React DnD (Drag and Drop) is a popular library for building complex and customizable drag-and-drop interfaces in React applications. It provides a set of React components and utilities that make it easy to create draggable and droppable elements, defines the behaviour of drag-and-drop events, and handles the data transfer between them.</h4><h4>React DnD is designed to work with the HTML5 drag-and-drop API and supports touch devices, making it ideal for building modern web applications with rich user interactions. With React DnD, you can create a wide range of drag-and-drop scenarios, from the simple reordering of items to more complex interactions like dragging elements between containers or snapping items to a grid.</h4><h4>React DnD is built on top of the popular Redux library and uses a similar architecture to manage the state of drag-and-drop interactions. It also provides a number of higher-order components (HOCs) that can be used to wrap your existing React components and add drag-and-drop behaviour to them.</h4><h4>Overall, React DnD is a powerful and flexible library that can help you build dynamic and engaging user interfaces in your React applications.</h4><p><a href="https://react-dnd.github.io/react-dnd/docs/overview"><strong>More</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db73415c03f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[.NET?]]></title>
            <link>https://medium.com/@mahanama7722/net-5c18f8f4b6f7?source=rss-6a201f84d188------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c18f8f4b6f7</guid>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[framework]]></category>
            <category><![CDATA[hasindumahanama]]></category>
            <category><![CDATA[libraries]]></category>
            <category><![CDATA[dotnet]]></category>
            <dc:creator><![CDATA[Hasindu Dilanka Mahanama]]></dc:creator>
            <pubDate>Fri, 17 Mar 2023 13:17:06 GMT</pubDate>
            <atom:updated>2023-03-17T13:18:20.528Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*g9pagmnSj6lu4Z8yj2vr2w.png" /></figure><p><strong>.NET Framework is a software development platform created by Microsoft that provides a consistent programming model for building applications. It consists of an extensive library of pre-written code that developers can use to quickly create applications that run on the Microsoft Windows operating system.</strong></p><p><strong>The .NET Framework includes a variety of tools and technologies that developers can use to build applications, including:</strong></p><h4>Common Language Runtime (CLR): The CLR is the heart of the .NET Framework. It is a runtime environment that manages the execution of .NET applications. It provides services such as memory management, exception handling, and security.</h4><h4>Class Library: The Class Library is a collection of pre-written code that developers can use to create applications. It includes classes for working with databases, user interfaces, networking, and many other everyday tasks.</h4><h4>Language Compilers: The .NET Framework includes compilers for several programming languages, including C#, Visual Basic, and F#. These compilers translate code written in these languages into a form that can be executed by the CLR.</h4><h4>Integrated Development Environment (IDE): Microsoft Visual Studio is the primary IDE for developing .NET applications. It provides tools for creating, debugging, and deploying applications.</h4><h4>ASP.NET: ASP.NET is a web application framework that is built on top of the .NET Framework. It allows developers to create dynamic web applications using languages such as C# or VB.NET.</h4><h4>Windows Presentation Foundation (WPF): WPF is a user interface framework that is used to create desktop applications. It provides a rich set of controls and features for building modern, visually appealing applications.</h4><h4>Windows Communication Foundation (WCF): WCF is a framework for building distributed applications that communicate over a network. It provides a flexible and extensible architecture for building services that can be accessed by a variety of clients.</h4><p><strong>The .NET Framework is widely used for developing a variety of applications, including desktop applications, web applications, and services. It is supported by Microsoft and has a large community of developers who contribute to its ongoing development and improvement.</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F8pH5Lv4d5-g%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D8pH5Lv4d5-g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F8pH5Lv4d5-g%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3e47ba6208bf91281d6ca3d7c9fc1908/href">https://medium.com/media/3e47ba6208bf91281d6ca3d7c9fc1908/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c18f8f4b6f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Software Framework?]]></title>
            <link>https://medium.com/@mahanama7722/what-is-software-framework-7b135eeb2b40?source=rss-6a201f84d188------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b135eeb2b40</guid>
            <dc:creator><![CDATA[Hasindu Dilanka Mahanama]]></dc:creator>
            <pubDate>Wed, 11 Jan 2023 19:38:02 GMT</pubDate>
            <atom:updated>2023-01-11T19:42:23.048Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>A framework is a set of libraries, modules, or tools that provide a structure for developing software applications. It includes pre-written code that can be used to perform common tasks, making it easier for developers to create and maintain their applications. Frameworks can also provide a specific architecture or set of conventions for building and organizing code, which helps to ensure that the application is built in a consistent and maintainable way. They are typically specific to a particular programming language or platform.</em></blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F1a5VKUc0AUc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1a5VKUc0AUc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F1a5VKUc0AUc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9d2f1d188c211185d4533c89c31573a0/href">https://medium.com/media/9d2f1d188c211185d4533c89c31573a0/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*WBplLBw8A6I9fSteAc6m0w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b135eeb2b40" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>