Category: Development

  • C# Convert any value to a boolean

    In these examples, I will demonstrate how to convert a string to boolean and an integer to boolean using C#.

    You accept a variety of user input that you want to intelligently convert to a valid boolean variable. E.g. string of On = true. No = false.

    (more…)

  • JavaScript Fetch API Explained By Examples

    The JavaScript Fetch API helps users create asynchronous HTTP requests. Fetch API is an easy and intuitive method for sending HTTP requests in a web browser where the content type is typically application json. For a web-application whose XMLHttpRequest (XHR) object is available for downloading, fetch will perform any task as XHR objects will. The fetch API is further simplified and easier to use. Using the Promise system gives more flexibility to the request using to servers by the internet browser. This fetch() function has a global scope which instructs the browser to redirect a request to the web.

    (more…)

  • Manipulating an array of DOM elements with jQuery $.map()

    jQuery’s $.map() function is a pretty neat function. It accepts a JavaScript array as a parameter and then will iterate through each item in the array allowing you to further manipulate and build a new array with that data. This article will explore how to use it while providing a useful example.

    (more…)

  • WordPress 413 Request Entity too Large Error

    How often do you upload a file on WordPress when the 413 requesters are not properly identified? Is it an annoyance for me? No worries, the solution is there! How do I fix 413 404 request entity errors with WordPress?
    (more…)

  • Executing raw SQL queries using Entity Framework Core

    Entity Framework Core allows users to execute raw SQL queries directly against the database for situations where the LINQ database is not a valid database query or unless the SQL has not been compiled properly or is not scalable enough.

    (more…)