Skip to main content
Tag

MVC

All blogs tagged with MVC

75
Articles
671,365
Total Views

Showing 75 of 75 articles

05
Jun
2026
CWE-601: Preventing Open Redirect Attacks in ASP.NET Core MVC
25 views

In this post, readers will learn about CWE-601 and how to effectively prevent Open Redirect attacks in ASP.NET Core MVC applications. Understanding these attacks is crucial for maintaining application security and protecting user data. Knowledge of ASP.NET Core MVC fundamentals and basic security principles is recommended before diving into this topic.

29
May
2026
Implementing CSRF Protection in ASP.NET Core MVC with AntiForgeryToken
49 views

This blog post delves into the implementation of Cross-Site Request Forgery (CSRF) protection using the AntiForgeryToken in ASP.NET Core MVC. Understanding CSRF vulnerabilities is crucial for securing web applications, as these attacks can lead to unauthorized actions on behalf of authenticated users. To fully grasp the implementation details, readers should be familiar with ASP.NET Core MVC fundamentals and basic security concepts.

28
May
2026
CWE-79: Preventing Cross-Site Scripting (XSS) in ASP.NET Core MVC and Razor Pages
69 views

This article will thoroughly explore the concept of Cross-Site Scripting (XSS) vulnerabilities as defined by CWE-79, focusing on prevention techniques in ASP.NET Core MVC and Razor Pages. Understanding and mitigating XSS is crucial for maintaining secure web applications, as it directly impacts user data and application integrity. Readers should have a foundational understanding of ASP.NET Core and web security principles to fully benefit from this discussion.

16
May
2026
Integrating Mapbox in ASP.NET Core for Custom Maps and Geospatial Data Management
78 views

Readers will learn how to integrate Mapbox with ASP.NET Core to create custom maps and manage geospatial data effectively. Understanding this integration is crucial for developing modern web applications that require location-based services. Familiarity with ASP.NET Core and basic knowledge of JavaScript will be beneficial to follow along.

01
May
2026
Integrating LinkedIn OAuth in ASP.NET Core for Professional Login
105 views

In this post, you will learn how to implement LinkedIn OAuth integration in an ASP.NET Core application, allowing users to log in with their LinkedIn credentials securely. This integration not only enhances user experience by simplifying the login process but also leverages the professional network of LinkedIn for better user engagement. A foundational understanding of ASP.NET Core and OAuth concepts is recommended to maximize your learning from this guide.

30
Apr
2026
Handling View Not Found Errors Due to Incorrect Path or Casing in ASP.NET Core
84 views

This article delves into the intricacies of handling 'View Not Found' errors in ASP.NET Core, particularly focusing on issues arising from incorrect paths or casing. Understanding this topic is crucial for developers to ensure robust view rendering and to avoid frustrating runtime errors that can disrupt user experience. Readers should have a fundamental understanding of ASP.NET Core MVC and view rendering mechanics to fully grasp the concepts discussed.

30
Apr
2026
Understanding Area Not Registered in ASP.NET Core Routing
80 views

This article delves into the concept of 'Area Not Registered' in ASP.NET Core Routing, explaining its significance in structuring large web applications. Understanding how to properly register and manage areas can greatly enhance the organization and scalability of your ASP.NET Core applications. Prior knowledge of ASP.NET Core MVC and basic routing concepts is recommended for better comprehension.

23
Apr
2026
CWE-863: Fixing Broken Access Control in ASP.NET Core MVC Controllers
90 views

This article provides a comprehensive guide on addressing CWE-863, focusing on fixing broken access control in ASP.NET Core MVC Controllers. Understanding access control mechanisms is crucial for building secure web applications, as improper implementations can lead to unauthorized access and data breaches. Prior knowledge of ASP.NET Core MVC fundamentals and basic security concepts will be beneficial for readers.

22
Apr
2026
Resolving Tag Helper Issues: Missing addTagHelper in ViewImports in ASP.NET Core
138 views

In this comprehensive guide, readers will learn about the role of Tag Helpers in ASP.NET Core and the significance of the addTagHelper directive in ViewImports. Understanding this concept is crucial for effectively utilizing Tag Helpers to enhance the HTML generation in your views. A foundational knowledge of ASP.NET Core MVC and Razor syntax is recommended to fully grasp the content.

22
Apr
2026
Understanding ModelState.IsValid in ASP.NET Core: Importance, Best Practices, and Real-World Applications
103 views

This blog post delves into the significance of checking ModelState.IsValid in ASP.NET Core applications, emphasizing its role in ensuring data integrity during model binding. Readers will learn why this validation step is crucial for preventing runtime errors and maintaining application security. A basic understanding of ASP.NET Core MVC and model binding will be beneficial for following along.

20
Apr
2026
Debugging Accessibility Problems in ASP.NET MVC: A Step-by-Step Guide
62 views

In this comprehensive guide, you will learn how to effectively debug accessibility issues in ASP.NET MVC applications, ensuring compliance with web standards and enhancing user experience. Accessibility is crucial not only for legal compliance but also for reaching a broader audience. Familiarity with ASP.NET MVC framework and basic web accessibility standards is recommended before diving into these techniques.

21
Apr
2024
Integrating Google reCAPTCHA Validation in ASP.NET MVC
6,130 views

In today's digital landscape, security is paramount for any web application. One effective way to enhance security and protect against bots is by integrating Google reCAPTCHA. reCAPTCHA is a free service provided by Google that helps to distinguish between human and automated traffic on websites. In this article, we'll explore how to integrate Google reCAPTCHA into an ASP.NET MVC application.

23
Sep
2023
How to Integrate Linkedin Login With Open Id Connect in Asp.Net MVC
8,225 views

So, nowadays it is really important while developing applications that users don't have to waste a lot of time trying to register or go inside your web application. So, keeping in mind the need of today's world we have few Social Login available that are getting used mostly. These include Google Login, Linkedin, and Microsoft. In this article we will see How to Integrate Linkedin Login With Open Id Connect in Asp.Net MVC.

06
Aug
2023
How to generate pdf using itextsharp in asp.net mvc
9,022 views

In this article, we'll walk you through the process of using iTextSharp to create PDF documents within an ASP.NET MVC project. We'll dissect the code you've provided and explain each step to ensure you have a comprehensive understanding of the implementation. So follow the steps for learning How to generate pdf using itextsharp in asp.net mvc.

13
Aug
2022
Asp.Net Core MVC Publish using FTP
9,224 views

Publish Website using FTP in Visual Studio If we use FTP (File Transfer Protocol) to publish web applications, we need to enter all credentials provided by the FTP hosting company, and application files will upload directly to our FTP hosting space.

16
Jul
2022
Image Compression in Asp.net MVC
10,888 views

Hello guys , now a days we often provide users the ability to upload images in our web projects. But we have to sometimes utilize the memory for big size images as they can easily full up the memory of server. So for that we can use image compression while uploading image. In this article we will see how to perform Image Compression in Asp.net MVC.

21
Feb
2021
Using Ajax in Asp.Net MVC
21,418 views

Hello guys, in this article we will tell you about what is Ajax? and how it can help you create better projects with better performance.Ajax basically used for Asynchronous Javascript and XML. As the name defines it helps you make server side operation asynchronously or you can say without reloading the page. So we will see few examples of using Ajax in Asp.Net MVC.

10
Sep
2020
Implement Stripe Payment Gateway In ASP.NET
58,908 views

This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET application built with C# and Web Forms. The application uses Checkout to accept credit cards from the end user and send tokens to a back-end API. The back-end controller uses the Stripe .NET library to create a charge. There are four steps: Create the project and configure dependencies Create the payment Web Form Create a page to perform the charge Run the application

05
Aug
2020
Exception Handling and Creating Exception Logs in Asp.net MVC
20,632 views

So basically in a MVC Project we often use many controllers for making our web project functional.So one way is to handle exception separately on all of them or we can simple use a Base Controller. A Base controller can be told as a parent controller from which all other controller will inherit.So in that way Exception handling performed on Base Controller will get applied on all controllers which inherits from this controller.

Translate Page