Web Development Archives - Page 3 of 45

Rename package name in React-native

Author - Webner
|
0 Comments
|

In react-native, To create a new application we use the following command:
react-native init MyApp

This command will create a package name with com.myapp. Sometimes, if your application is created with the wrong package name or bundle id or you want to release your existing application with Read more…

Installing and using Pyinstaller

Author - Webner
|
0 Comments
|

You can install it through pip using this command:
Pip install pyinstaller
Usage:
pyinstaller path_to_your_script.py

PyInstaller reads your Python program, analyzes all the imports it makes, and binds copies of those to the program. The user can launch the integrated application without having to install a Python interpreter or Read more…

How to customize Page size selector using Devextreme DataGrid

Author - Webner
|
0 Comments
|

Pagination is the default feature of Devextreme. The pagination divides your lots of records into pages and you can show numbers of records on a single page.
Under pagination, Devextreme provides lots of features. As we can see in the following image

In this article, we will cover how to Read more…

Increase React Native App Performance

Author - Webner
|
0 Comments
|

React Native apps have numerous benefits like they are fast, cost-efficient, and offer a nearly native look. But, when it is not done properly, it can lead to performance issues.
So, while making you react to native applications, developers need to be aware of the most common performance issues Read more…

Dependency Injection in C Sharp

Author - Webner
|
0 Comments
|

To understand the term Dependency Injection, we must know what is Dependency and IoC?
In terms of Object-Oriented Programming, Suppose Class A uses Class B for one of its jobs. Here Class B is a dependency of Class A and Class A is dependent Read more…

How to run command prompt from visual studio

Author - Webner
|
0 Comments
|

Command prompt can be called from the visual studio. Commands that are used to run it from the visual studio are listed below:

Step 1: Firstly we will create an object for processstartinfo like this-
ProcessStartInfo pro = new ProcessStartInfo();

Step 2: Then file name needs to Read more…

Introduction to DevOps Architecture

Author - Webner
|
0 Comments
|

In Software Engineering, Operations and Development both play crucial roles in order to deliver the results of an application. The development consists of analyzing the requirements, designing, developing, and thereafter testing the software components in the testing environment. On the other hand, the operation consists of administrative processes, services, and Read more…

Laravel Relationships in Eloquent

Author - Webner
|
0 Comments
|

Laravel relationship tables are frequently associated with each other in the database. Laravel relationships in eloquent support different types of relationships and it’s easily working and managing data.

Defining relationships:-

One to One
One to Many
Many to Many
Has Many Through
Polymorphic Relations
Many to Many Read more…

Javascript Array Methods One Must Know

Author - Webner
|
0 Comments
|

filter

The filter is an array function in vanilla.js which returns a new array by filtering the filter item provided to the filter function.

Here is ES6 syntax for this function:

Reduce

This function basically executes a given function provided to it. It Read more…

How To Reset Your MariaDB-10.2 Root Password on Ubuntu 20.04

Author - Webner
|
0 Comments
|

Note: This tutorial will work only for resetting the MariaDB root password, not for the MySQL server.

Introduction

If you forget the root password of the MariaDB database in Ubuntu, you can still regain the access and reset it if you have access to the server Read more…

How to create a Salesforce Scratch Org

Author - Webner
|
0 Comments
|

Scratch org is a disposable and source-driven deployment of Salesforce metadata and code which is made for developers (developing specific modules) and for automation that is continuous integration or continuous development. Scratch org is a configurable org/sandbox which allows the developers to emulate different Salesforce editions with different Read more…

OAuth 2.0 Authorization Code Grant Type

Author - Webner
|
0 Comments
|

The Authorization Code Grant Type is perhaps the foremost common of the OAuth 2.0 grant types that you’ll encounter. Both web apps and native apps can use it to get the access token after a user authorizes the app.

What is OAuth?

It is not a Read more…

How to exclude source when Syncing or Converting – DX

Author - Webner
|
0 Comments
|

While Syncing the metadata files between your local system and a target/Scratch org, you often want to exclude some of the source files. Similarly, you often have files to exclude when converting the source to the Salesforce DX project format. In both the above-said cases, you can exclude Read more…

How to Apply custom pagination using devextreme

Author - Webner
|
0 Comments
|

The devextreme already provides pagination features as we can see in the above image.
If we want to go directly to page 155, we can go to that specific page by clicking on the page to page. This is a time-consuming process. We have no option to go to Read more…

How “this” is used in callback function in javascript

Author - Webner
|
0 Comments
|

The “this” keyword of JavaScript causes confusion for people, who start to use Javascript language and mainly for those who start after using the other languages. Here the main question is how to use “this” in the right way in a callback function.

Lets the following example:

function Read more…

Mvc c# : Exclude Enum values from DropDownListFor Html helper on .cshtml Page

Author - Webner
|
0 Comments
|

Suppose we have some enum type in c# as follows :
enum Performance
{
None=-1,
Dissatisfied=0,
Below Average=1,
Average =2,
Good = 3,
Excellent=4,
}
Consider some employee model with a given enum type property.
public class EmployeePerformance{
public int EmpId {get; set;}
public Performance rating{get; set}
…………………………..
………………………..
}

In a Read more…

Blazor in .NET

Author - Webner
|
0 Comments
|

Blazor is a new DOT NET web framework for building client applications using C # / Razor and HTML-enabled browser with WebAssembly.

It can simplify the process of building a single-page program (SPA) and at the same time enable full web development using .NET.

WebAssembly

WebAssembly is developed Read more…

HTMLCollection and NodeList

Author - Webner
|
0 Comments
|

HTMLCollection:

HtmlCollection is a collection of HTML elements from DOM. it is access by the name,id or index number. It use getElementByClassName, getElemenrtByTagName in NodeList.

It uses three Methods:

HTMLCollection Item() Method
HTMLCollection length() Method
HTMLCollection namedItem() Method

Html Collection Read more…

Git-Hub Project Management

Author - Webner
|
0 Comments
|

Step 1: First, create a. It’s a repository, not a project. You need to create a project using the project Menu. I will move on to the project later. First, I am discussing creating issues.

Step 2: Go to the Issues menu and click on Read more…

Edit Office Documents online in web application using Office365 OneDrive APIs

Author - Webner
|
0 Comments
|

This post is about editing office documents online in a web application interface for users. In this, you will require an office 365 license to use Microsoft graph APIs to edit documents through Onedrive.

To edit MS Word documents online, one of the quick approaches is saving the Word document Read more…