Click here to Skip to main content
15,879,535 members
Everything / Web Development / ASP.NET

ASP.NET

ASP.NET

Great Reads

by Wonde Tadesse
The other option will be to use Update Panel ASP.NET control as much as possible. It helps to retain the current position on the page whenever a postback happens to the page.
by John Atten
OWIN, Katana and Middleware Pipeline in ASP.NET
by Altaf Ansari
SignalR Real-Time ChatApp with Emoji / Smiley and sending file attachment
by Steve Krile
Fully AJAX-enabled user control used to select names from a database in a drop-down format.

Latest Articles

by Rudi Breedenraedt
In this series, we will see how to build interactive web applications in ASP.NET Core with the help of Sircl.
by Mohammad Elsheimy
Configuring OpenSSL minimum version and legacy renogetiation
by Mark Pelf
A practical guide to building a multi-language ASP.NET 8 MVC application
by Mark Pelf
A practical guide to build a multi-language ASP.NET 8 MVC application

All Articles

Sort by Score

ASP.NET 

16 Jun 2011 by Wonde Tadesse
The other option will be to use Update Panel ASP.NET control as much as possible. It helps to retain the current position on the page whenever a postback happens to the page.
23 Aug 2012 by Vitaly Tomilov
Simplest and quickest way to automatically bind array of image bytes to asp:Image object.
21 Jul 2014 by Cristian Moldovan
jQuery unobtrusive validation plugin with Twitter Bootstrap 3 showing error messages as tooltips
3 Nov 2013 by Hovhannes Bantikyan
This is a simple infinite scroll with Ajax post and JSON. Have fun :)
15 Jul 2017 by dsuryd
SignalR is great for building real-time web functionality. MVVM is great for developing your front-end. What if they can be used together? This tip will show how to do just that, using as example a simple project to do live chart on a web browser.
1 Oct 2013 by Erika Chinchio
In this article I will explain how to automate the process of downloading files with the open/save dialog box, protected by authentication.
4 Apr 2015 by Jean Carlo S. Passos
CRUD over Association Entity that maps to association tables
6 Aug 2011 by Sunasara Imdadhusen
MVC Logging series
22 Oct 2014 by Mathew Soji
This tip guides through implementing a basic REST based Web API service with multiple GET methods and its consumption using JQuery client
3 Dec 2013 by bbirajdar
How to embed an image in email body
2 Jan 2013 by Sergey Alexandrovich Kryukov
How to abate the CodeProject spam crisis.
10 Jun 2016 by TheForceIsSharp
ASP.NET Core Web API, Multiple Get or Post methods with single controller
29 Nov 2017 by Danny Chu
Learn how to detect if client has JavaScript enabled or disabled at your backend webserver
11 Jan 2019 by akshay_zz
This article will provide you the alternative way to navigate page in a crystal report viewer, as default paging looks broken
29 Mar 2011 by Sunasara Imdadhusen
Load all the Country Names of the World in DropDown
8 Dec 2011 by thatraja
Error Message:Crystal Report - Load Report FailedThis error occurs in the following scenarios.Permission issueThe application must have access to the Temp folder. You have two choices to solve this (Choose any one).How to Assign Permissions for the Windows Temporary Folder on the Web...
18 Jul 2013 by Mannava Siva Aditya
Uploading a file and creating a Zip file in ASP.NET with C#.
10 Feb 2014 by harleydk
Image Orientation of Images Uploaded via ASP.NET fileupload Control
14 Sep 2014 by Afzaal Ahmad Zeeshan
How to use the keyboard events of the user and use them to dynamically change the User Interface or to perform some actions
11 Jan 2015 by Muhammad Hassan Tariq
Glimpse Extension for server side debugging and diagnostic information of ASP.NET applications
8 Feb 2011 by OriginalGriff
When I add a log reader, the size of the log can be huge, and get very slow to view. This makes the GridView do all the work of paging the data for you.
15 Dec 2013 by Amey K Bhatkar
How to create TreeView in MVC
16 Jan 2014 by Tom Glick Philadelphia, US
POC to demonstrate passing of collections of complex objects to ASP.NET Web API Controllers.
9 Apr 2015 by Royston Malcomber
Setting up Google reCaptcha version 2 with MVC5
3 Oct 2016 by Shamim Uddin
In this tip, we will learn how to return list of custom type (JSON) data using ASP.NET Web API.
17 Nov 2016 by winsonet
Create and download the file with Ajax call in ASP.NET MVC
14 Jun 2011 by PSK_
How to maintain scroll position of a long page with vertical scrollbar in browser other than IE.
2 Aug 2013 by Zhuyun Dai
Introduce how to recover IIS when it is broken by bad editing to applicationHost.config
22 Oct 2014 by Kalvin Lawrence Ernst
Generate a web app instantly, directly from a database(SQL Server)
15 Nov 2014 by Member 3531622
Create a Rules Engine in less than 50 lines of code which is extremely powerful, extensible and adaptable
7 Jun 2017 by Gunaprasad Shetty
The tip provides you the code for implementing Search in your gridview using Jquery.
26 Feb 2015 by Shridhar Gowda
This tip will explain how to sort a table / GridView on an ASP.NET or MVC(AngularJs) application. I am demonstrating both client side and server side sorting. I am sure you will have a great knowledge on this topic after reading it.
29 Jul 2011 by Monjurul Habib
Specific directories rather than entire application: For individual uploader:int maxSize = 2097151;if (FileUpload1.HasFile &&...
27 Dec 2011 by Nigam Patel
Here is a really simple code for a numeric text box and it will work in all browsers. Only works for web applications. function CheckNumeric(e) { if (window.event) //...
3 Jan 2012 by thatraja
Check this jQuery alternativejqlog - A logging framework plugin for jQuery[^]
7 Oct 2014 by Milad Ashrafi
We need this script for database based ASP.NET websites for using HTML content in post pages.
30 Nov 2015 by Mohammad Dayyan, VahidJafari
A library for creating .Net Serializable Expressions to send via WCF services
4 Apr 2021 by Rijwan Ansari
Learn about SQL Server Database Project (Template) available in VS
26 Jul 2022 by DiponRoy
Conversion of complex object to a list of objects
16 Aug 2011 by Damian Flynn
Here's a couple of gems...From IList to DataTable.From DataTable to array of T.// DataTable: from IListpublic static DataTable ToDataTable(this IList iList){ DataTable dataTable = new DataTable(); PropertyDescriptorCollection propertyDescriptorCollection = ...
18 Sep 2011 by Monjurul Habib
How to add namespaces for Razor pages
13 Jul 2012 by Manas Bhardwaj
How to access the variables/properties from C# in JavaScript?
17 Aug 2013 by Prince Tegaton
Building a Custom User Control for Messagebox
25 Mar 2014 by Saineshwar Bageri
Resolving issue of Font Displaying Box or Junk while exporting Crystal report
2 Jul 2014 by Chakravarthi Elchuri
Display data in Multi nested gridview using C# in ASP.NET
24 Dec 2014 by Prince Tegaton
This entails how to easily add mobile website feature to your ASP.NET website/app
15 Jul 2017 by dsuryd
Application of "MVVM over SignalR" library described in a previous CodeProject tip, combined with Dynamic LINQ library to do incremental web search by typing the query
10 Mar 2017 by Sujeet Bhujbal
 In this article, I will tell you how to create a cross-browser session expiration popup box using jQuery easily
2 Nov 2017 by Silvia Campo
How to configure Swagger for web services using token authentication
1 Feb 2023 by adriancs
A tool to prevent spam bot
6 Nov 2011 by M I developer
Try catch block around "A potentially dangerous Request.Form"
12 Oct 2010 by Ahsan Murshed
Single Sign on (SSO) Using Cookie in asp.netThere are various ways to use Single Sign on(SSO) in asp.net web application. We can use cookies, session (state server), SAML and web services etc. Now we would like to give a brief overview of how to use cookie to implement Single Sign on(SSO) in...
14 May 2010 by Magnus_
public static void RemoveSelected(this ListControl source){ foreach (var item in source.Items.Cast().Where(li => li.Selected).ToList()) source.Items.Remove(item);}protected void btnRemove_Click(object sender, EventArgs e){ lstCity.RemoveSelected();}
5 Aug 2010 by Vinayaka Krishna Shenoy
Probable leak while using SqlDataReader in ADO.NET
19 Oct 2010 by Ziv Nitzan
There is also a Visual Studio extention called CodeMaid that has a lot of cleaning options http://bit.ly/diMTaR
2 Apr 2011 by thatraja
DescriptionT...
22 Jul 2011 by Muthu Nadar
You can set the default button on your form tag as below code.ORyou can set the default button on a panel as below.And you can place your...
16 Mar 2012 by UberGeoff
This tip explains how to display a jQuery modal pop-up message using server side events.
18 May 2012 by deeptibansal
Adding event to Microsoft Outlook through Web Application
1 May 2013 by Nasser Malik
Split comma separated IDs to get batch of records through Stored Procedure.
18 Jul 2013 by Mannava Siva Aditya
Uploading multiple files and creating a Zip file in ASP.NET with C#.
16 Aug 2013 by Moudud Hassan
Fix to COM component retrieving error:80040154 in web application running in IIS
8 Nov 2018 by Nikfazan
This article shows how you can easily make hyperlinks for exploring a folder on server and its sub-directories and downloading the files, using ASP.NET Core MVC.
5 Nov 2013 by VICK
This simple Tip/Trick is focused on providing a simple and cross browser compatible solutio.
14 Nov 2013 by Ahmed Alaa El-Din
Useful and simple tutorial to add Amazon SES service inside your ASP.NET web application in order to send bulk-emails better and faster.
24 Dec 2013 by Sitang Ruan
How to display a spinner with disabled background when doing postback or Ajax call
25 Mar 2014 by Karthik Chintala
The tip just gives a brief on what iterators are in C#
14 Apr 2014 by Maninder Singh Puhi
Appropriate query to fetch required no of results from DB instead of getting all at on time for binding controls like Gridview, listview etc
28 May 2014 by Debabrata_Das
In this tip, we are going to create a project to see how many-to-many relationship can be implemented in ASP.NET.
13 Jun 2014 by Terrence Sheflin
Optimizing ASP.NET MVC HTTP responses to remove unnecessary and possibly dangerous information when using IIS
21 Nov 2014 by ManojKumar19
Learn how to configure dynamic compression in IIS 7.5 to improve performance
19 Mar 2015 by Hrvoje Batrnek
Easy and seamless caching implementation of any virtual method in any class
21 Mar 2015 by Amit Singh Baghel
A useful tip to export a Div to PDF (with Unicode support) with the help of NReco-PDF Generator for .NET (C#), JQuery and Handler in ASP.NET
28 Apr 2015 by Hassan Alrehamy
JSON Deserialization in depth concept and Dictionary mapping. Special Thanks to Dr. Coral Walker
19 Dec 2015 by ryanba29
This is a multi day project using ASP.NET Web API for the server and WPF MVVM for the client.
29 Dec 2015 by ryanba29
First Draft. This is day three of a multi day project using ASP.NET Web API for the server and WPF MVVM for the client.
28 Dec 2015 by Dhruti90
MVC functionalities with web service with simple integration
21 Jun 2017 by M.M.Mohseni
In this sample code, we are going to upload a file via a web method asynchronously.
14 Feb 2018 by Apurba pan
Creating dynamic object from XML using ExpandoObject and put Intellisense using C#
27 Dec 2018 by Alessio Aronica
Generate forms from MVC models in one simple line of code
11 Dec 2019 by Akmishra0719
Daily reminder using SQL Agent and SignalR
5 Aug 2010 by Vinayaka Krishna Shenoy
Setting the best value for Application pool Queue length limit
26 Dec 2010 by #realJSOP
Can't you just call Enum.GetNames(), and then bind to the collection returned by that method?
7 Jan 2011 by OriginalGriff
Supporting Development and Release web.config in ASP.NET
20 Mar 2011 by Adel Refaat
DotNetNuke Resources keys
30 Mar 2011 by thatraja
DescriptionW...
12 Jul 2011 by RaisKazi
Walkthrough of Asp.Net Core Ajax
27 Jun 2012 by Technoses
The above code will slow down the browser and the browser can hang when Rows in Grid will be 10000 or above.Please view the below suggestion:CS Codeprotected void grvGroups_RowDataBound(object sender, GridViewRowEventArgs e){ if (e.Row.RowType == DataControlRowType.DataRow) { ...
17 Apr 2012 by abhinavshastri
How to Call WebService Dynamically and Read WebService Definition
16 Jul 2012 by StianSandberg
Make sure your website with and without www redirects to the same page.
13 Sep 2012 by mparvez
An open-source free Flash charting component that can be used to render data-driven animated charts.
1 Feb 2013 by S. M. Ahasan Habib
.NET TransactionScope and its default Transaction Isolation level issue.
2 Jul 2013 by Abhimanyu vij
How to send an email with app setting in the web config file.
4 Jul 2013 by sumit_kapadia
Create and Bind gridview at client side with Jquery Template and ajax in asp.net
17 Dec 2013 by Adittya Gupta
Table Value Parameters in SQL Server 2008 with ASP.NET.
2 Apr 2014 by Mishra Sourabh
This tip explains how to submit your form with HTML content in MVC.
29 May 2014 by Thang Believe
Deep dive into cookies generation to support Remember Me at login
29 Jun 2014 by PSK_
Unit testing the MVC controller actions which are using Global or Local resources. As this is not straight forward to Mock the static properties of the resource files.