Click here to Skip to main content
15,886,137 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 Title

ASP.NET 

18 May 2012 by deeptibansal
Adding event to Microsoft Outlook through Web Application
15 Jan 2012 by SoftwareMonkeys
Generally when you divide up your tiers, your lower level tiers lose access to HttpContext.Current and other important presentation components. This pattern works easily around that issue.
4 Nov 2013 by SimbarasheM
A .NET v4 Library for converting DataTable row(s) to JSON String for WCFServices
1 Feb 2013 by S. M. Ahasan Habib
.NET TransactionScope and its default Transaction Isolation level issue.
23 Oct 2015 by Yaseer Mumtaz
XML input parameter to RESTful API using HttpClient and bypassing the SSL certificate
5 Jun 2011 by thatraja
Display Date Time in 12/24 hour time format in C#/VB.NET
19 Jan 2015 by JatinKhimani
Develop a web application in 3 layer architecture code style
12 Mar 2012 by Muthu Nadar
This article will explain about null coalescing operator along with its advantage and disadvantage.
7 Feb 2014 by Subodh Raghav
In this tip, you will learn how to send an email in your ASP.NET application.
21 Apr 2016 by Subodh Raghav
A web service is a web application (a piece of software component) which is available on the internet.
16 Jul 2015 by Math08avan
A simple example for CRUD actions using WCF service in ASP.NET
26 Nov 2014 by Sambhav Yadav - Sam D Silva
ASP.NET page/master page/user control's life cycle from the perspective of Session and View State
28 Feb 2015 by Afzaal Ahmad Zeeshan
This tip is to provide an overview of writing strings in ASP.NET web applications to avoid concatenations.
12 Jan 2016 by shijo joseph
An ADO.NET Layer for SQL Server and Oracle which makes it easier for interfacing with database
14 Aug 2011 by OriginalGriff
Getting an image from a database and displaying it in an ASP.NET page is something we have to do quite often. Here is a generic class which does the job for you.
24 Dec 2013 by Sitang Ruan
How to display a spinner with disabled background when doing postback or Ajax call
2 Jan 2013 by Sergey Alexandrovich Kryukov
How to abate the CodeProject spam crisis.
20 Dec 2015 by shijo joseph
An easy to implement yet powerful logging library which requires absolute zero learning curve
16 Mar 2012 by UberGeoff
This tip explains how to display a jQuery modal pop-up message using server side events.
25 Aug 2010 by Lewis Liu L
this tip is to use roles instead of individual user's access right to limit user's access on folders
16 Jan 2012 by Erion Pici
Generating automatized PDF reports based on Docx templates and Business-Logic XML-serialized data
3 Dec 2012 by ahsanriaz1K
I will give a solution to the following problem "Response.TransmitFile(sFullHtmFilePath)" gives unformatted display of htm file on browser on client side.
18 Jan 2014 by Sitang Ruan
A tab user control with embedded client side object
19 Apr 2012 by Rahul Rajat Singh
A simple Windows Form like message box for ASP.NET applications
5 Nov 2013 by Muhammad Waqas Iqbal
How to acccess ASP.NET server controls in JavaScript files
1 Aug 2014 by Prakash Lekhak
This article describes how to access master page control from content page.
21 Jun 2013 by Daron Cox
If you're trying to integrate with UAG from a mobile device, this tip is for you!
5 Nov 2013 by Muhammad Waqas Iqbal
This tip describes the steps to access server side (webservice) from JavaScript in master page.
23 Oct 2014 by Tantum
Access values of ProgressBar created at runtime
13 Jul 2012 by Manas Bhardwaj
How to access the variables/properties from C# in JavaScript?
7 May 2015 by Mostafa Asaduzzaman
How to access configuration variables via dependency injection in MVC 6 - Visual Studio 2015 RC
1 Jun 2015 by Mostafa Asaduzzaman
How to access files within the application using DI
13 Apr 2011 by Toniyo Jackson
For Beginners
7 Oct 2012 by John Bhatt
How to create a nice Accordion Panel with CSS
19 Aug 2014 by Jinan Kordab
This article describes how to create or delete an Active Directory Services Email using ASP.NET web page, remotely.
19 Aug 2014 by Jinan Kordab
This article and tip describes how to create or delete an Active Directory Services Email using ASP.NET web page, remotely.
18 Dec 2013 by Brijesh Kr
Add and replace picture with preview functionality using the GridView control.
28 Dec 2014 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Ever wondered how to add HTML file contents to the aspx page by code. Take a look at the implementation.
12 Jan 2024 by Lance Ford
A walkthrough to enable request/response logging to an ASP.NET web application (or web service) by using an IIS module.
24 Dec 2014 by Tushar sangani
Add multiple items in Radcombobox using jquery
14 May 2014 by echokilo
A simple tip to avoid the pain caused by PayPal providing code snippets for buttons each in its own form tag
18 Sep 2011 by Monjurul Habib
How to add namespaces for Razor pages
14 Nov 2013 by Brijesh Kr
Add populated dropdownlist to gridview programmatically which gives an option to select a new value too.
13 Apr 2016 by VR Karthikeyan
Change the look and feel of ASP.NET MVC application by adding different UI CSS frameworks
9 Aug 2013 by Redslide
Modify MVC Routing to allow routes such as /Electronics/Software/Operating-Systems/PC/Windows-8-Installer
22 Oct 2014 by Ankur Rawat
Adding Image in the Container without stretching/compressing the Image
21 Jan 2014 by B. Clay Shannon
How to add the necessary code for additional Web API data points
30 Sep 2011 by raj ch
Binding data from one GridView to anther GridView after selecting some rows in the first GridView.
15 Jan 2013 by Tharaka MTR
This tip describes how to add the dynamic style to ASP.NET page header
10 May 2015 by Ankit Bansal MVP
This articles explains the insertion of data into SQL Database using Stored Procedures with Output Parameters. Some Bootstrapping is also used to create a good looking HTML.
14 Jan 2014 by Vinay Jade
ImageButton control can be used as AdRotator with help of UpdatePanel
25 Apr 2015 by DrABELL
Pure CSS3 styling solution applicable to HTML5 SELECT element and ASP.NET DropDownList control
13 Mar 2014 by BradodarB
Simple example outlining how to optionally employ AHAH based views in an MVC application.
6 Sep 2012 by Christopher John Paul
Ajax Asynchronous Postback Method
5 Nov 2013 by Muhammad Waqas Iqbal
This tip describes the steps to access server side web service (asmx) from master page JavaScript.
22 Jan 2014 by Vinay Jade
Using Seadragon, you can simply zoom-in and zoom-out an image
29 Mar 2011 by Albin Abel
Though update panel keeps the page responsive while paritially post back, it will not avoid a round trip of complete page and control events. So care needs for a better performance
12 Jan 2010 by J a a n s
There will be some scenarios where we may have to identify the sender that caused the async postback(While using update panel) . Normally we will try to identify the control by checking the sender element . This wont be always giving the correct value as multiple clicks/ elements under the...
12 Jan 2010 by J a a n s
We can display a page mask (for avoiding unnecessary clicks) during a async postbacks with the help of an modalpopup extender.1. Add a new modalpopup extender in the page.
7 Jul 2013 by Zafar A khan
This jquery limits the user only entered numbers.
11 Feb 2012 by Ramanujam Shankar
Allow only Numeric (either whole or decimal) values in ASP Text box control using JavaScript
29 Jan 2019 by nickdenker
An ORM style layer which turns Azure Table Storage into a cheap and scalable indexed noSQL database - without the costs associated with Azure CosmosDB.
15 Jul 2013 by AspDotNetDev
In this alternate version, we take into account the possibility that binding to a list of different types may cause compile errors.
23 May 2013 by RelicV
Alternative for AutoComplete control without Ajax and Webservices
27 Nov 2012 by Gianmaria Gregori
How to add a random sliding effect to the Bakery home page
24 Oct 2013 by Sitang Ruan
An expandable .NET GridView control
9 May 2013 by Ankurkumarbora
This tip contains a solution for rendering reports which can be viewed (or saved) with different extensions.
6 Aug 2012 by Mukund Thakker
23 Apr 2015 by RajKGoel
This tip is targeted towards learning the basics of Angular JS, using it with ASP.NET Web API.
11 Jul 2016 by Karthik Coder
How to replace the ng-repeat with Custom Directive
19 Apr 2010 by Xnko
On the Web there are many examples for moving ViewState to the bottom of Page using RegularExpressions. This is another way using HtmlTextWriter.All you nees that add in your project class named MoveViewStateHtmlTextWriter and write in your BasePage code below.protected override...
14 Apr 2011 by Mike Thom
If you move your ViewState from the top of the page to the bottom, you will get better search engine spidering.Step 1Create a class file in App_code folder of your application and name it as PageBase.cs. Copy the following code to the class file.using System.IO;using...
5 Mar 2010 by Sandeep Mewara
A tip about App_Offline.htm
25 Feb 2010 by Abhishek Banerjee (A Web Developer)
Hello All,Today I am showing an interesting block of code which will help you in applying user search on a tree view control of asp.net applications.PrerequisitesFor this you have to create an asp.net demo project using language C#Action:Step 1: Now Create a web page with name...
20 Jan 2014 by B. Clay Shannon
How to apply Attribute Routing to Web API Controllers
18 Jan 2017 by DotNetSteve
Manage an overgrown appSettings section
3 Jan 2015 by Mathi Mani
In this tip, we will try to understand whether viewstate and postback data are the same or different.
16 May 2014 by Ahmad F Hassan
An easy way to view hierarchical data in a simple ASP .NET Repeater
21 Aug 2011 by Member 8169684
This situation is quite tricky and happens when you add a custom control to some page.
3 Apr 2013 by Cyrus Neah
'DropDownList' has a SelectedValue which is invalid because it does not exist in the list of items.
20 May 2010 by Bryian Tan
Limit/count number of characters in ASP.NET TextBox control
24 Oct 2011 by AlexCode
Adding support for IHttpHandler on ASP.NET Routing
7 Nov 2011 by AlexCode
Hi guys, I have a new version of this.Although it works as expected for the majority of cases, I found a problem on the previous version of this code, that is, it reuses the HttpHandler for different requests and that can be a problem on more complex implementations where inner properties are...
6 Feb 2013 by Monjurul Habib
If anyone enters non-encoded HTML content into a text box in an ASP.NET application.
3 Jan 2016 by JoaoSousa23
Using MVC, Entity Framework, ASP.NET Scaffolding you can create a web application that stores your information. This demo shows you how to create an ASP.NET 5 web application with MVC and Entity Framework 7.
22 Feb 2015 by Hugo Carnicelli
During this article, we are going to explore what is currently necessary to run an ASP.NET 5 website on Ubuntu.
29 Mar 2012 by Jani Giannoudis
Adapt properties like visibility or enabling between ASP.NET Controls.
1 Dec 2014 by Anurag Prajesh
How to add banner and slideshow in your website with adrotator
28 Jun 2012 by Ameet Parse
ASP.Net Ajax AutoCompleteExtender without using Web Service
13 May 2013 by ChienVH
In this article will show you how to work with ASP.Net and Paypal with Dynamic Ordering Values