Category: Web Development
Pass the Data to Custom Validation attribute in MVC C#
How to Pass the Data to Custom Validation attribute in MVC C#? Introduction .Net provides the capability of validating model data with validation attributes like Required, Compare, Regular Expression, and user-defined custom attributes (also known as data annotations C#). MVC
TF30063 Issue – Authorization
TF30063 Issue: You are not authorized to access (Tfs Server link) I suddenly started getting the error while committing the code to TFS in Visual studio, after the password of the Microsoft account was changed. As per the scheduled password
Custom Javascript in Moodle/Totara, Javascript & AMD Modules
How can we add custom Javascript in Moodle/Totara, Javascript & AMD modules? A Javascript module is a collection of Javascript code. It enhances the reusability of this code. As a result, it is called/used from alternative javascript files. These modules
Laravel: Issues in Thumbnails in Email Attachments
Laravel: Issues in thumbnail along with images while attaching multiple attachments to the mail While sending an email to someone using a laravel Mailable class, we may need to attach some attachments to it. Then we can simply use the
Partial View in ASP.NET MVC
The partial view is a special view used to render a portion of view content. It is a reusable view. It reduces code duplication. We can say that a partial view enables us to render a view within the parent
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
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
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
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