Skip to main content

Posts

Non-Generic Collection and Generic Collection in.NET

What is Collection in.NET Microsoft .NET provides lots of collection data types that can store a set of records or values. there are two types of collections introduced by Microsoft in C#.NET, those are generic collections and non-generic collections. Generic collections are type-safe at compile time. so that it provides much better performance as compared to the non-generic collection. It supports a type parameter when they are constructed and do not require to do boxing-unboxing or type-conversation from the Object type when you add or remove items from the collection. Non-generic collections store items as Objects require casting, and most are not supported for Windows Store app development. However, you may see non-generic collections in older codes. by most developers, it is recommended to use the generic collection, because it is faster and safer also, there is less chance of exception and compile-time error with it. to use a non-generic collection in your code need to use the na

Types of Exceptions in .NET

The exception is the process that occurred during the run time in the software application, it happens when the developer does not manage the code in the right way or something is not handled properly. an exception is certain types and breaks the application. In this blog, I will show a few types of exceptions, which we face in everyday development, in this blog my focus in.Net C#, as per the language the name may be vary based on the syntax but the type of exception should have the same for all languages Exceptions Overview Exceptions have the following properties: to use include exception need to import  System.Exception . always use  try  block around the statements. Once the exception occurs, try  block, the flow of control jumps to the associated exception handler. In C#, the  catch  keyword is used to define an exception handler. If an exception handler is not defined for an exception in the program, it stops executing with an error message. if you do not write any catch handler

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

Introduction SharePoint is a framework, which is the same as other web framework and used to implement Web Applications, but the major changes are the only organization are using it for internal purposes or we can say uses for Intranet perspective for internal staffs to share the documents, collaboration and other activity if you are a beginner and learn SharePoint online and its latest framework SPFx then you are in the right place. in this blog, we will learn how we can set up. Steps to set up, the SharePoint Framework is easy as cooking Pen Cake, need to run few commands on Nodejs command prompt and you are ready to build the Web part NodeJS Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser, for the environment setup we can install the node js version of  10.16.1  by clicking on this link  Node JS  once the setup is installed, now, go to the start menu and click node js com

Getting started with SharePoint Framework (SPFx) setup from Beginning

Introduction SharePoint is a framework, which is the same as other web framework and used to implement Web Applications, but the major changes are the only organization are using it for internal purposes or we can say uses for Intranet perspective for internal staffs to share the documents, collaboration and other activity if you are a beginner and learn SharePoint online and its latest framework SPFx then you are in the right place. in this blog, we will learn how we can setup. Steps to set up, the SharePoint Framework is easy as cooking Pen Cake, need to run few commands on Nodejs command prompt and you are ready to build the Web part NodeJS Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser, for the environment setup we can install the node js version of 10.16.1 by clicking on this link  Node JS  once the setup is installed, now, go to the start menu and click node js comma

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

Carousel is the 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 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 SharePoint List. Building Carousel which interacts with dynamic content is a modern approach, that is easy as we make a cupcake.  you need to follow a few steps and you get it If you are new and learn from the basics please review the below URL and understand the step by step implementation  Implement a basic Carousel with ReactJS and Bootstrap 4 in just 10 minutes if you are familiar with the basic ReactJS and all required libraries, this is the right place for that Introduction we implementing a carousel with Rea