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.

In this article, you will Explore Day 6 of our Practical Introduction to Entity Framework series, diving deeper into database integration. Learn essential concepts, including object-relational mapping, CRUD operations, and entity relationships, with code examples for hands-on understanding.

Learn ASP.NET performance metrics and optimization techniques, including reducing page size and server requests, caching resources, using IIS logs, handling exceptions, and managing ViewState.

This article provides an introduction to the concepts of the Dependency Injection Principle (DIP) and Inversion of Control (IOC), explaining their significance in software development.

This article includes a lab exercise for you to demonstrate what have you learned from this training material to create your own Employee CRUD operation using EmployeeRepository

Templates play a major role in managing the layout and format of the data being displayed in ASP.NET data bound controls.

ASP.NET developers use various available technologies for State Management. We can classify them as client side state management or server side state management.

State management in ASP.NET is vital for maintaining application state across requests. It's a common topic in interviews, catering to both novices and seasoned developers. ASP.NET offers various techniques like server-side (e.g., Session),

Paging With DataList Control in ASP.NET enables efficient navigation through large datasets displayed using the DataList control. It utilizes server-side logic to manage page navigation, ensuring a smooth browsing experience for users.

This article explains, how to process a transaction within ASP.Net web forms. Transactions in ASP.NET ensure atomicity, consistency, isolation, and durability (ACID properties) in data operations. Illustrated by a fund transfer example, transactions are units of code executed as a whole.

If you are developer, tester or a manager, sometimes understanding the various methods of API can be a challenge when building and consuming the application.

n C# programming, developers often encounter the "Object reference not set to an instance of an object" exception, commonly known as a NullReferenceException. However, with the introduction of the Null-Conditional operator in C# 6, handling such exceptions has become easier.

In ASP.NET MVC, ActionResult is a general base class for action results, offering flexibility. ViewResult, a specific type, is used when explicitly returning a view, simplifying code for clearer understanding.

PDF Injection, also known as PDF XSS (Cross-site Scripting), can be a serious security vulnerability. To prevent such issues during PDF upload and viewing in an MVC (Model-View-Controller) application, it's crucial to implement proper validation and sanitation mechanisms. Below is a sample code that demonstrates how to handle PDF uploads securely and prevent PDF Injection leading to Cross-site Scripting in an MVC environment.

The first dropdown, "ddldist," displays district names, and the second dropdown, "ddltaluka," displays taluka names based on the selected district. The C# code uses the Page_Load method to load district data on the initial page load. The ddldist_SelectedIndexChanged method handles the district selection, filtering, and populating of the taluka dropdown accordingly. The XML files "District.xml" and "Taluka.xml" store the district and taluka data, respectively.

In this article, you will learn how to bind the data in WebGrid control, using stored procedure in ASP.NET MVC 4.0 & SQL Server 2012.

In this article, learn how to export a DataTable to an Excel file using C# and ADO.NET.

In this article we will learn how to export a GridView to Excel using ASP .Net C#.

In this article we will learn about the Response.Redirect true and Response.Redirect False in Asp.Net


This article explains how to retrieve data from the database in the ASP. NET Web API.

In this article, you'll learn how to get the IP address of a visitor to your website using ASP.NET and C#.

In this article, learn how to use an ASP.NET FileUpload control to upload files in an ASP.NET Web application.

This example shows how to edit and update records in a GridView in ASP.NET.

In this article you will learn the use of the Ajax.ActionLink helper and Html.ActionLink. I will compare both to show you how they differ.

Cookies is a small piece of data stored on a client browser. There are three types of Cookies - Persist Cookie, Non-Persist Cookie. In this article, we will see how to create a cookie in ASP.NET. We'll also see how to retrieve data from a cookie using ASP.NET.

Learn how ASP.NET and ASP.NET MVC routing maps URLs to controllers and actions, including default routes, custom routes, route order, and attribute routing.

In this article, I will explain how to open a PDF file in a web browser using ASP.NET.

In this article, we will learn how we export a data sheet in Excel using ASP.NET MVC. In this demo, we will use Epplus library that is used to export an Excel using the Open Office XML format. We will be using MongoDB here.

In this article we will see how to use ASP.NET Identity in MVC Application for creating user roles and display the menu depending on user roles.

In daily development we need to add some mail functionality to our project, in this article I am going to show you, how you can do this.
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