sharepointcafe

  • Dot Net MVC Benefits, Pros and Cons

    .NET MVC – Benefits, Pros , Cons. Compare with Angular and React

    .

    In this interesting article, we will learn about the benefits of using .NET MVC. We will also see the pros and cons of using MVC as a UI development framework and compare .NET MVC with Angular and React. So, let’s start. Introduction to .NET MVC Microsoft’s Model-View-Controller (MVC) framework, .NET MVC, empowers you to develop…

  • .NET 8 Features and The Best Practices for High-Performance Application

    .

    In this article, we are going to cover about .NET 8 features and will also see the best practices for building high-performance applications. You may like this article: Data Validation and Annotation in .NET MVC .NET 8 Overview .NET 8 is the successor to .NET 7. Microsoft released this version of .NET in November 2023. Microsoft announces…

  • Edge Computing Vs Cloud Computing: A Comparative Analysis

    .

    Technologies are changing very rapidly and today there is a lot of discussion about Edge Computing Vs Cloud Computing. Both technologies have their advantages as well as their principles and architecture.In this article, we will learn in detail about edge computing and cloud computing and will also understand the difference between these two. We will…

  • Policy Based Authorization in .NET Core

    Policy-Based Authorization in .NET Core With Example

    .

    In this article, we will learn Policy-Based Authorization in .NET Core With Example. We will implement this authorization in .NET Core application. There are many ways to apply authorization in .NET Core, however, in this article, we will focus on Policy-based authorization. So let’s start. Overview of Authorization in Web Applications The process of determining…

  • Data Validation in .NET MVC

    Data Validation and Annotation in .NET MVC

    .

    Data Validation is one of the most important parts of any application. .NET MVC provides special classes to apply validation and data annotation. In this article, we will learn how to apply Data Validation and Annotation in .NET MVC. Previous Chapter: .NET MVC with SQL Server Database What Are Data Annotations? Data annotations are a…

  • static vs keyword

    Static Vs Readonly Keyword in C#

    .

    In C#, both the static and readonly keywords are used to define fields, but they serve different purposes and are used in distinct scenarios. Understanding when and how to use these keywords is essential for writing efficient and maintainable code. Let’s dive into the differences and specific use cases for each. Please read this blog:…

  • Sealed Class in C#

    Sealed Class in C# – Easy Explanation

    .

    Sealed classes restrict users from inheriting them. We can use sealed keywords to make a class sealed. The keyword tells the C# compiler that the class is sealed and cannot be extended. A method can also be sealed., and hence this method can not be overridden. In this article, we will learn about the sealed…

  • MVC View Page Logic

    How to Add Serial Numbers to a List of Records in MVC

    .

    Adding serial numbers to a list of records in an MVC application is a common requirement. It helps users to easily reference and identify records. In this article, we will walk you through how to achieve this in an ASP.NET MVC application. Before we proceed further If you want to go through with the MVC…

  • .NET MVC Tutorial

    .NET MVC with SQL Server Database

    .

    In this article, we will learn .NET MVC with SQL Server database and entity framework. Previous Chapter: Routing in MVC The .NET MVC (Model-View-Controller) framework is a popular framework for building web applications. It promotes a clean separation of concerns by dividing the application into three main components: When working with an SQL Server database…

  • Minimal API Concept in .NET Core

    .NET Core Minimal API with Example

    .

    In this article, we will learn about the minimal API concept in .NET Core. What is a Minimal API? A Minimal API is a simplified approach to building APIs in .NET, introduced in .NET 6. It streamlines the process of creating HTTP services by reducing boilerplate code and configuration, making it easier to set up…

  • What is Kubernetes?

    Let’s dive into Kubernetes: Uses, Benefits and Limitations

    .

    Kubernetes, often abbreviated as K8s, is an open-source platform to automate deployment, scaling, and operating applications in containers. Think of containers as lightweight, portable, and self-sufficient units that package software and all its dependencies so it can run consistently across various environments. Kubernetes helps manage these containers, ensuring that they run smoothly and efficiently. Uses…

  • Action and Func Delegates in C#

    .

    In C# programming language, there are various delegates to use. C# provides 2 built-in delegates: Action and Func. This article will cover Action and Func delegates in C#. Before we proceed further, we will first look into delegate. What is a Delegate? A delegate is an object that holds a reference to a method to…

  • Binary Search Algorithm

    Binary Search: An Efficient Algorithm

    .

    Binary search is a powerful algorithm, we use this algorithm to find the position of a target value within a sorted array. It works by repeatedly dividing the search interval in half, effectively narrowing down the search area until the target is found. Understanding the Problem Binary search is particularly useful when dealing with large,…

  • .NET MVC Tutorial

    Introduction to Routing in .NET MVC

    .

    Routing is the backbone of the .NET MVC web application, determining how URLs map to controller actions. In this article, we will explore the different routing approaches available, from default routing to more advanced attribute-based routing, equipping you with the knowledge to create intuitive and flexible URL structures. Previous Chapter: Temp Data, View Bag, and…

  • .NET MVC Tutorial

    Temp Data, View Bag, and View Data in .NET MVC

    .

    In the previous article, we created the first MVC application in Visual Studio 2022. In this article, we will learn the mechanism available in ASP.NET MVC for managing and passing data between your controller and views – Temp Data, View Bag, and View Data. Understand their purpose, scope, and best practices for effective implementation. Previous…

  • .NET MVC Tutorial

    First .NET MVC Application using Visual Studio

    .

    MVC is a widely adopted software design pattern that separates an application’s data, user interface, and control logic into three interconnected components: the Model, the View, and the Controller. This architectural pattern promotes code organization, scalability, and maintainability. In our previous article, we saw the fundamentals of .NET MVC. Setting up a New MVC Project…

  • .NET MVC Tutorial

    .NET MVC Tutorial For Beginners and Professionals

    .

    This is the first article of the .NET MVC Tutorial series. We will cover every topic of .NET MVC in our MVC Tutorial series. Introduction to the Model-View-Controller (MVC) Architecture The Model-View-Controller (MVC) architecture is a widely adopted software design pattern that separates an application’s data, user interface, and control logic into three interconnected components:…

  • Cached Repository Pattern
    ,

    Cached Repository Pattern in C#

    .

    In this article, we will learn about Caching a Repository Pattern in C# and .NET 8 and we call this Cached Repository Pattern. If you are new to design patterns then please read this – Design Pattern in C# Download the source code for this article : SharePointCafe GitHub Repository What is a Cached Repository…

  • C# Amazing New Features

    C# Amazing New Features

    .

    In this article, we are going to learn about C# amazing new features available in recent releases. For this article, we are picking a couple of the most exciting features of C# versions 10, 11 and 12. So, let’s start. File-scoped Namespace Declaration This feature is one of the most interesting features of C# 10.…

  • .NET 6, .NET 7 and .NET 8 Performance Comparison

    .NET 6, .NET 7 and .NET 8 Performance Comparison

    .

    As per Microsoft .NET 8 is more optimized than .NET 7 and .NET 6. Also, .NET 8 is the fastest version compared to .NET 6 and 7. In this article, we will compare .NET 6, 7 and 8 performance with the BenchmarkDotNet library. Read more about the use of BenchmarkDotNet library. Benchmark Compare of .NET…


RSS
YouTube
YouTube
Instagram