Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

Learn how to add Facebook share functionality to your ASP.NET website with a master page. This guide provides step-by-step instructions to integrate the Facebook Share button, enabling seamless social media sharing.

This article describes how to return a view name from a controller in an MVC project. Start by creating an MVC project from the "Empty" template, then add a controller by right-clicking on "Controllers" and selecting "Add" >> "Controller...". Choose "MVC 5 Controller - Empty" and click "Add".

Learn how to implement multi-check filtering in Kendo Grid using ASP.NET Web API. This tutorial covers creating a RESTful GET service to load data, setting up a Web API application, and integrating jQuery for client-side functionality.

Explore the intricacies of TempData in ASP.NET MVC with this insightful guide. Learn how TempData facilitates temporary data storage across requests within controllers, its role in maintaining state between actions, and best practices for efficient data management.

ASP.NET MVC offers an action-based approach, enhancing code reusability over traditional ASP.NET. It supports diverse response types like HTML, JSON, and XML, adapting views based on conditions, ensuring flexible integration of data.

Discover the synergy of ASP.NET MVC and Angular 5 in this comprehensive guide to modern web development. Learn how to seamlessly integrate back-end logic with responsive front-end interfaces using MVC architecture.

Compare ASP.NET Response.Redirect and Server.Transfer, including browser round trips, URL changes, server-side context, and when each method can be used.

Learn server-side processing in jQuery DataTables for ASP.NET MVC with custom range filtering using C# LINQ. Utilize AJAX for data retrieval, Bootstrap for UI, and DataTable's powerful features like pagination and sorting. Implement custom filter inputs for multicolumn search, enhancing data presentation and performance.

Learn how to manage records in ASP.NET MVC using Model Binder with Entity Data Model and SQL Server. This tutorial covers project setup, CRUD operations, PartialView, AJAX integration, and TempData usage for alert messages, ensuring a comprehensive understanding of web development with ASP.NET MVC.

ASP.NET MVC integrates Chart.js for dynamic, interactive charts using JavaScript. Utilize CDN-hosted Chart.js to render data-driven visuals on HTML5 canvas, fetched via AJAX in JSON format. Customize charts through MVC controllers, leveraging jQuery for enhanced DOM manipulation and seamless user interaction.

MVC filters provide a mechanism in ASP.NET MVC to execute custom logic before or after an action method executes. They include action, authentication, authorization, result, and exception filters, each serving specific purposes like caching, error handling, and security checks.

In this article I’ll present a tutorial with an example, a way to use the DataList control in Asp.Net for the displaying of information/ records from the database with using SqlDataSource.

In ASP.NET MVC, Anti-forgery Tokens prevent Cross-Site Request Forgery (CSRF) attacks by generating unique tokens for each request. They safeguard web applications by validating the authenticity of requests, ensuring secure data transmission between controllers and views.

This article explains ViewData, ViewBag, and TempData in ASP.NET MVC for data transfer between Controller and View. ViewBag and ViewData work within a single request, while TempData persists data across requests using session variables.

We will build a clinic management project for Tayo Clinic. Patients register and make appointments with available doctors, who then fill out attendance forms with diagnoses and therapy details. Admins have full access to manage patients and doctors. We use ASP.NET MVC, Entity Framework, Ninject, Automapper, Bootstrap 3.

In this tutorial, learn to convert dynamic data stored in generic lists to XML files using ASP.NET MVC. This approach simplifies managing complex data types, such as customer orders with multiple items. Follow step-by-step instructions to create an MVC application, model class, controller, and view to achieve this.

Learn to integrate Crystal Reports in MVC.NET to generate PDFs. Set up reports in Visual Studio, configure database fields, and create a controller method using ReportDocument to load and export data.

The benefits of using the Model-View-Control (MVC) pattern in our development projects is that we can completely decouple our business and presentation application layers. Furthermore, we will have a completely independent object to control the presentation layer.

Learn the basics of integrating AngularJS with ASP.NET MVC, including MVC roles, two-way data binding, Web API, and configuring AngularJS through NuGet.

Learn how to efficiently create Angular projects using the MVC (Model-View-Controller) architecture. This comprehensive guide covers setting up Angular, integrating MVC principles to organize your application's structure, and leveraging Angular's powerful features for frontend development.

Learn different methods to bind dropdown lists in ASP.Net MVC. Explore using SelectListItems and ViewData for simple binding. Utilize HTML.DropDownList for displaying dropdowns, including with default selections and postback handling. Enhance with strongly typed views using models.

Discover how to implement RESTful CRUD operations in WebAPI using ADO.NET and SQL Server. This guide covers setting up a WebAPI project, integrating ADO.NET for database connectivity, and performing Create, Read, Update, and Delete operations.

Learn how to seamlessly export and import Excel files in ASP.NET MVC using ClosedXML. This tutorial covers uploading Excel files, reading data into a DataTable, and displaying it in a view.

This article delves into authentication and authorization concepts within ASP.NET MVC applications. It explains the crucial difference between authentication (validating user identity) and authorization (granting access to resources).

Learn how to implement custom authorization filters in ASP.NET MVC using Entity Framework and SQL Server. This tutorial covers creating roles and users, using custom authentication, and controlling access to application pages based on user roles.

A controller in ASP.NET MVC 5 plays a crucial role in handling user requests and generating appropriate responses. It acts as an intermediary between the model (data) and the view (UI), facilitating the flow of data and ensuring that user interactions are processed correctly.

Learn various techniques for form submission in ASP.NET MVC. This series covers @Html.BeginForm and @Ajax.BeginForm methods, HTML5 form attributes, jQuery AJAX with FormData and serializeFormJSON. Enhance your understanding of ASP.NET MVC forms and improve your development skills.

This article addresses a common error encountered while generating PDFs using Rotativa. It explains the steps to resolve the "Unhandled Execution Error" by installing Visual C++ Redistributable Packages or placing the MSVCP120.dll file in the Rotativa folder on the production server, ensuring smooth PDF creation.

RDLC (Report Definition Language Client Side) in C# is a built-in reporting technology in Visual Studio for creating client-side reports. It runs solely on the client side, requiring only one dataset and data source.

In this article, we will learn how to integrate the Digicash payment gateway into your MVC web application with real-time UI updates using webhook callbacks.
Everything on ASP.NET, not only its articles: the ASP.NET page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article