File compress facility is available in javascript and it's good practice to compress files client-side, before uploading to the server because it saves the resource of the Server time and internet bandwidth and increases the user file upload experience.
Wednesday, 8 December 2021
File compress client side by Java script before upload to server | C# ASP.Net
Saturday, 20 November 2021
Generic List C#
A generic list is a dynamic array-like structure used to store user information for any type of data . The list is one of the most powerful and useful data structures provided by C#. You can not imagine modern programming without a generic list because built-in programming capability makes a developer work easy. You will get some practical real-life programing practice from the list in this post.
public class Student
{
public string roll { get; set; }
public string name { get; set; }
public string city { get; set; }
}
Sunday, 14 November 2021
Layout/Master page in laravel
Layout/Master page in laravel
Making Layout or Master page in laravel is very simple . Go through the given steps below.
Step 1: Make a view named Layout.blade.php
Make a view for layout named layout.blade,php in resources\views folder.
Friday, 12 November 2021
User difined function Laravel
We make user difined function to reuse code. To use user difined function you need to follow the steps
given below.
- Make your file in app folder and write your code in that file . In my case file name is helper.php and funtion name is Title . i.e.
function Title()
{
echo "Girfa IT Services";
}
- Goto composer.json file and add the following lines in autoload section.In my case pagelib.php is my file. Write your file name.
- Now you can call the function inside of helper.php file , anywhere in your project.