Web Development Archives - Page 2 of 44

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…

Diagnostics in the C# Programming

Author - Webner
|
0 Comments
|

The System. Diagnostics namespace provides a process class which has some method to run external .exe or another application into a C#.

This also enables you to debug and trace code; start, stop, and kill processes; monitor system performance; and read and write event logs.

Trace Class Read more…

Exceptions in C#

Author - Webner
|
0 Comments
|

An exception is an unexpected or unwanted event that occurs when a program is executed i.e at runtime, that disrupts the normal flow of the program’s instructions. Sometimes while executing the program, a user might face the possibility that the program may crash or show an unexpected event Read more…

What is DevOps?

Author - Webner
|
0 Comments
|

What is DevOps?

DevOps is a set of practices that combines software development and other IT operations. It shortens the systems development life cycle and aims to provide continuous delivery with high-quality software.

Who is DevOps Engineer?

They are either developers who get curious about Read more…

Lambda Expression in Java 8

Author - Webner
|
0 Comments
|

Lambda expressions are introduced in Java 8 and are a very interesting feature of Java 8. A lambda expression is a short block of code that takes in parameters and returns a value. Lambda expressions are similar to methods, but they do not need a name and they can be Read more…

How to get phone contacts in the react-native application

Author - Webner
|
0 Comments
|

To get phone contacts in the react-native application, it provides a package called react-native-contacts. This package provides you with all the contacts and their info from your mobile device.

Installation:

npm install react-native-contacts –save

For ios:

cd ios && pod install

Read more…

Record Video on Web through Javascript

Author - Webner
|
0 Comments
|

Many browsers now have the facility to access video and audio input from the user. However, relying on the browser, it would be a full dynamic and inline experience, or it’d be delegated to a special app on the user’s device.

Add HTML to your code

Read more…

Using Elasticsearch in Node.js

Author - Webner
|
0 Comments
|

What is elasticsearch?

Elasticsearch is a distributed, open-source search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured. Elasticsearch is built on Apache Lucene and was first released in 2010 by Elasticsearch N.V. (now known as Elastic). Known for its Read more…

Azure Event Hubs

Author - Webner
|
0 Comments
|

Introduction:

Event Hubs is a real-time data ingestion service that is fully managed, simple, scalable, and trusted. It can stream, process, and receive millions of events per second from any of the sources, which builds data pipelines that are dynamic in nature. These pipelines are favourable to Read more…

Aura components vs Lightning web components

Author - Webner
|
0 Comments
|

At the beginning of the Salesforce Development times, developers used VisualForce, which is an HTML Tag-based mark-up language to develop their Visual Force web pages and Apex to control the internal logic. But these HTML based Visual Force standards were not compatible to build large scale enterprise solutions Read more…

Internationalization / Localization in Laravel

Author - Webner
|
0 Comments
|

Laravel has made it convenient for the developers to create multilingual websites by giving the developer community an easy way to retrieve strings in various languages. These strings are basically stored as constants in the resources/lang directory within our project. Within the lang directory, there are subdirectories Read more…

How to create an event in Laravel

Author - Webner
|
0 Comments
|

Laravel events provide an observable functionality, allowing you to subscribe and listen. Events are stored in the app/Events directory and their listeners are stored in the app/Listener directory. We can generate a Laravel event by running

“php artisan event:generate” command.

Register event and listeners Read more…