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.

This article explains how to create and display partial views conditionally in an ASP.NET MVC Web API application. By selecting a value from a drop-down list and submitting it, the corresponding partial view is displayed. It covers creating controllers, partial views, and implementing conditional logic in the view.

In this guide, we explore the process of implementing Swagger in Web APIs to enhance documentation and improve usability. Swagger, an essential tool for API development, provides interactive documentation, making it easier for developers to understand and test API endpoints.

Learn how to sort a DropDown List in ASP.NET in descending order using C#. This tutorial covers data binding, sorting logic with LINQ, and implementing dropdown controls in ASP.NET Web Forms or MVC applications.

Learn how to create a Web API using ASP.NET MVC 6 in this comprehensive guide. We’ll cover essential topics like setting up the MVC framework, building API controllers, implementing RESTful services, handling HTTP methods, and using Entity Framework for data access.

Error Logging Modules and Handlers (ELMAH) is an alternative to Health Monitoring System (HMS) for logging errors and is free and available under an open-source license created and managed by Atif Aziz.

This article explains how to upload multiple files using a ListBox control in ASP.NET. Unlike the standard FileUpload control, which supports single file uploads, this method combines FileUpload with a ListBox for easier file management.

In this article, we will learn to write and execute a SQL stored procedure, pass parameters for date filtering, and retrieve results in an efficient and structured manner.

This tutorial covers the step-by-step process of setting up the DateTime Picker, configuring it for optimal user experience, and utilizing Angular directives for seamless interaction. Enhance your web forms with this powerful date and time selection tool!

The FileUpload control in ASP.NET 2.0 allows users to upload files from a web page. By using multiple FileUpload controls and a button, users can select and upload several files at once. The files are saved on the server using the SaveAs method, with necessary configurations set in the web.config file.

This guide covers essential techniques for managing bulk file uploads in web applications using JavaScript, ensuring seamless file handling and improved user experience. Perfect for developers looking to enhance file input forms.

Create a simple email system in ASP.NET C# using Visual Studio 2010. The system allows users to input an email address and a message in two TextBoxes. It sends the email via Gmail's SMTP server using SmtpClient and MailMessage. Validation ensures the email address is provided before sending.

Learn the step-by-step process for various email clients, understand attachment size limits, and explore best practices for file sharing. Whether you're sending documents, images, or PDFs, ensure your attachments reach recipients seamlessly.

Learn how to implement a modal popup in an MVC application to enhance user interaction and improve UI/UX design. This guide covers the necessary steps, including setting up the HTML structure, using JavaScript and jQuery for dynamic content, and leveraging Bootstrap for responsive design.

We'll cover techniques for utilizing ViewModels to facilitate seamless data transfer between the user interface and server-side logic, ensuring smooth form submissions, data validation, and improved user experience.

This article explains how to create an MVC application using the Nested Model concept, allowing users to add or remove multiple phone numbers for an employee. It covers database setup, model creation, prepopulating input fields, and dynamic form handling using Entity Framework and View templates.

Learn how to insert form data into a database using stored procedures in ASP.NET with C#. This guide covers setting up a form, handling user input, creating a stored procedure, and securely inserting data into a SQL Server database using ADO.NET.

This project demonstrates creating a Crystal Report in a Windows Form application. It includes setting up a SQL database connection, populating a ComboBox with data, generating reports using parameters, and displaying the report in a Crystal Report Viewer.

Discover how to effectively track browsing devices and their orientation in ASP.Net. This guide covers essential techniques for detecting user agents, utilizing JavaScript for real-time orientation data, and implementing responsive design strategies.

Create a dynamic Quiz Application using ASP.NET MVC 5, showcasing the power of the Model-View-Controller architecture. This project involves user authentication, database integration for question management, and a responsive design for seamless user interaction.

This article explores CRUD (Create, Read, Update, Delete) operations using asynchronous programming in ASP.NET MVC 5. It delves into how asynchronous methods enhance application performance and responsiveness, demonstrating best practices for implementing these operations.

This approach enhances code reusability, maintainability, and separation of concerns by clearly defining the role of models in managing the application's core functionality.

This tutorial guides you through creating a real-time chat application using ASP.NET MVC and SignalR. You'll learn how to set up a SignalR hub for managing communication, implement user authentication, and develop a dynamic user interface with C# and JavaScript.

ReCAPTCHA is a Google service designed to verify that users are human, protecting websites from bots and spam. This article demonstrates how to integrate reCAPTCHA version 2.0 into an ASP.NET MVC application.

Tabbed pages are an effective way to organize content on web applications, improving user experience. By using a combination of MultiView and View controls in ASP.NET, developers can create intuitive navigation.

In this tutorial, we introduce how to implement essential CRUD (Create, Read, Update, Delete) functionality in a WebGrid. This is Part 1 of a series, focusing on adding new records, updating existing entries, and deleting unwanted data within the grid, helping you manage dynamic data in ASP.NET projects.

Elastic search is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elastic search is developed in Java and is released as open source under the terms of the Apache License.

This article explains various methods of managing state in ASP.NET, including ViewState, Session, Application, and Cookies. It focuses on ViewState, its lifecycle, enabling/disabling at the page or control level, and using properties like Count, Keys, and Values for managing data efficiently.

In ASP.NET 3.5, PostBack and ViewState play crucial roles in managing web form data between client and server during the page lifecycle. PostBack handles user-triggered events by sending requests to the server, while ViewState maintains state information across page loads, ensuring seamless data management.

This guide explains how to control session state behavior in ASP.NET MVC using the SessionState attribute and a custom ActionSessionStateAttribute. While the SessionState attribute applies to an entire controller, the custom attribute allows for different session behaviors per action method.

This guide covers integrating Chart.js with your MVC framework, customizing charts, and handling real-time data to create responsive and visually appealing data visualizations for your web projects.
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