Achieving Seamless Deployments: A Guide to CI/CD for .NET Applications on AWS
Introduction: In the ever-evolving landscape of software development, adopting efficient and automated deployment processes is key to staying competitive. Continuous Integration and Continuous Deployment (CI/CD) practices have emerged as indispensable tools for achieving faster releases, reducing errors, and improving overall
How to parse an XML file and save the parsed data into the corresponding objects?
Solution: First of all, we need some dummy XML data for parsing as given below: The above XML has many tags. The first one being the XML tag which lets us know that it is an XML document. Moving on
Validation vs. Application Rules In CakePHP
CakePHP uses a two-layered approach to validation: 1. Validation It determines basic validity. It ensures that the data types, size, and format of data are correct. When we call newEntity() or patchEntity() methods, validations are triggered. For example, checking if
PHP: mysqli_multi_query stops the execution of further MySQL queries.
The mysqli_query statement Generally, we use mysqli_query to execute Mysql queries in PHP. We can use multiple mysqli_query statements to execute multiple operations like insert, update, and select. Sometimes, we store records in more than one table during save operation
Laravel 5.4 Logs And Errors
Introduction to Laravel 5.4 Logfiles: A log file is a file that keeps a registry or records of events, processes, messages that occur in the operating system or any software runs. -Laravel provides the robust logging services that allow the
MongoDB Driver Not Found
Problem – Getting “Class ‘MongoDB\Driver\Manager’ not found” error while inserting some data in the collection (Laravel) Check the following three points in order to resolve the MongoDB driver issue in Laravel: 1. PHP Module 2. MongoDB Extension 3. MongoDB Library
Methods of Debugging – PHP
Methods of Debugging by dumping information These methods are used for debugging in PHP. We can see the variable values in human-readable form on the console and can find errors in case there are issues due to variables incorrect values.
Bootstrap Templates, Grid System and Media-queries
Bootstrap Templates, Grid System and Media-queries What is Bootstrap? Bootstrap is a powerful toolkit. It is a set of HTML, CSS, and JavaScript tools for making and building websites and internet applications. It is a free and open-source project, hosted
Collections in C#
Collections in C# Arrays Arrays are useful for creating and working with a fixed number of strongly typed objects. Problem with Arrays: 1. Fixed length 2. Insert similar data type elements Collections Collections are used to create and manage groups
Authorization Attribute Validation Issue
Authorization attribute validation Issue: 404 status code is returned instead of 401 status code In my application, I was using an API service to be used by external applications, where I needed to implement the authorization of valid requests by