Skip to main content

Posts

Interview Questions of SPFx SharePoint

SPFx Interview Questions and Scenarios SPFx Interview Questions and Scenarios By Vishal Thakur What is SPFx? The SharePoint Framework (SPFx) is a web part model that provides full support for client-side SharePoint development. It integrates seamlessly with SharePoint data and extends Microsoft Teams. SPFx allows developers to use modern web technologies and tools in their preferred development environment to build responsive and mobile-ready experiences. Scenario-Based Questions Scenario 1: External API Integration Scenario: Your team is developing an SPFx web part that needs to retrieve data from an external API and display it on a SharePoint site. The API requires authentication using OAuth 2.0. The web part should also allow users to refresh the data manually. Question: How woul...

Non-Generic Collection and Generic Collection in.NET

What is Collection in .NET? What is Collection in .NET? By Vishal Thakur Introduction Microsoft .NET provides a variety of collection data types that can store a set of records or values. There are two types of collections in .NET: generic collections and non-generic collections . Generic collections are type-safe at compile time, providing better performance compared to non-generic collections. They support type parameters when constructed and do not require boxing-unboxing or type conversion from the Object type when adding or removing items. Non-generic collections store items as Objects, require casting, and are not recommended for modern development. Most developers prefer generic collections because they are faster, safer, and less prone to exceptions and compile-time errors. To use non-generic collections, you need to include ...

Types of Exceptions in .NET

Types of Exceptions in .NET C# Types of Exceptions in .NET C# By Vishal Thakur Introduction An exception is an issue that occurs during the runtime of a software application. It typically happens when the developer does not manage the code properly or fails to handle certain scenarios. Exceptions can break the application if not handled correctly. In this blog, we will explore various types of exceptions in .NET C# and how to handle them. Exceptions Overview Exceptions in .NET have the following properties: To use exceptions, you need to import System.Exception . Always use a try block around the statements that might throw an exception. When an exception occurs, the flow of control jumps to the associated exception handler. In C#, the catch keyword is used to define an excep...

Step-by-step guide to setup SPFx Environment in SharePoint Online

Step-by-Step Guide to Set Up SharePoint Framework (SPFx) Step-by-Step Guide to Set Up SharePoint Framework (SPFx) By Vishal Thakur Introduction SharePoint Framework (SPFx) is a modern development framework used to build web applications for SharePoint. Unlike traditional frameworks, SPFx is primarily used for internal purposes, such as intranet portals, document sharing, and collaboration among staff. If you are a beginner and want to learn SharePoint Online and its latest framework, SPFx, you are in the right place. In this blog, we will walk you through the setup process step by step. Steps to Set Up SharePoint Framework (SPFx) 1. Install Node.js Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine. For SPFx development, you need to install Node.js ...

Getting started with SharePoint Framework (SPFx) setup from Beginning

How to Set Up SharePoint Framework (SPFx) for Beginners How to Set Up SharePoint Framework (SPFx) for Beginners Author: Vishal Thakur Introduction SharePoint is a framework used to implement web applications, primarily for internal organizational purposes like document sharing, collaboration, and other activities. If you're a beginner looking to learn SharePoint Online and its latest framework, SPFx, you're in the right place. In this blog, we'll walk you through the setup process. Steps to Set Up SharePoint Framework Setting up the SharePoint Framework is as easy as baking a pancake. You just need to run a few commands in the Node.js command prompt, and you'll be ready to build your first web part. 1. Install Node.js Node.js is an open-source, cross-platform, back-end JavaScript runtime environment. For SPFx development, install Node.js version 10.16.1 from the official Node.js website . ...

Step-by-step guide to create a carousel with ReactJS and SharePoint List

Step-by-Step Guide to Create Carousel with ReactJS and SPFx in SharePoint Step-by-Step Guide to Create Carousel with ReactJS and SPFx in SharePoint By Vishal Thakur Introduction Carousel is a beautiful control for any kind of web or app solution. It provides a rich user experience by spreading information in the form of media or images. In this blog, I am going to tell you how we can implement and deploy the carousel with the help of React JS in a SharePoint modern site, with the help of SPFx WebParts. You only need to follow very basic steps to do it. Don't be afraid; this is the right blog to implement a carousel with ReactJS and interact with a SharePoint List. Steps to Create a Carousel with ReactJS and SPFx 1. Create a SharePoint List If you are an experienced developer, this is nothing new for you...

Create a slider with the ReactJS and Bootstrap with Dynamic Content of SharePoint List

Create a Dynamic Carousel Slider with React JS and SPFx Create a Dynamic Carousel Slider with React JS and SPFx Author: Vishal Thakur A good presentation increases the chances of impressing your audience. If you are a business owner with an online presence, your application must have a rich user interface and be easy to use. One effective way to share information with end-users is through a carousel slider. It allows you to present information in an engaging, slide-by-slide format, making it visually appealing and interactive. Introduction Building a carousel that interacts with dynamic content is a modern approach and as easy as making a cupcake. In this blog, I will show you how to implement a carousel using React JS and Bootstrap in SharePoint/Office 365 SPFx, which interacts with a SharePoint List. Steps to Follow If you are new to this, please review the basic...