This article gives a very good coverage of the problems faced in usage of ViewState.
http://weblogs.asp.net/infinitiesloop/archive/2008/02/
19/truly-understanding-viewstate-comment-index.aspx
Tuesday, February 26, 2008
User Administration Tool (Part 3)
In Part 2 of this series of the article covered user management features. This final part will deal with role management and profile management.
http://www.dotnetbips.com/articles/
30775db7-379a-4b37-beff-cb32d3734a04.aspx
http://www.dotnetbips.com/articles/
30775db7-379a-4b37-beff-cb32d3734a04.aspx
Labels:
ASP.Net Membership providers,
ASP.Net2.0,
ASP.Net3.5
ASP.NET AJAX Controls and Extenders Tutorial
What are the differences between the Server Control, the ASP.NET AJAX Server Control and the ASP.NET AJAX Server Control Extender, and when should each be used?
This article gives good comparison between each of them.
http://www.codeproject.com/kb/
ajax/ajaxcontrolsandextenders.aspx
This article gives good comparison between each of them.
http://www.codeproject.com/kb/
ajax/ajaxcontrolsandextenders.aspx
Best Practices to Improve ASP.Net Web Application Performance.
This article gives some important points to consider for the performance improvement in asp.net applications.
http://www.dotnetfunda.com/
articles/article45.aspx
http://www.dotnetfunda.com/
articles/article45.aspx
Validate XSL Against XML
In this Article, Haissam Abdul Malak shows how to create a class library for validating a certain XSL file against an XML file. He examines the concept with the help of a series of steps with relevant source code and explanations. Finally, he describes how to test the class library which was created in the previous steps.
http://aspalliance.com/
1567_Validate_XSL_Against_XML.all
http://aspalliance.com/
1567_Validate_XSL_Against_XML.all
AJAX localization
This article discusses:
08/01/InternationalizingASPNETAJAX/#S3
- Globalization support in ASP.NET AJAX
- Need for support in JavaScript
- Assembly-based AJAX localization
- File-based AJAX localization
08/01/InternationalizingASPNETAJAX/#S3
Labels:
AJAX,
AJAX custom control,
ASP.Net2.0,
ASP.Net3.5,
javascript,
localization
Adding a Build Banner to ASP.NET Pages
This article explains, and provides fully functional code, for a plugin to the HTTP pipeline which will render such a 'development banner' to any ASPX page in the website in question.
The only requirement is to add the appropriate configuration to the Web.config file, and ensure the banner assembly is in the sites bin directory.
http://www.codeproject.com/kb/
aspnet/buildbanner.aspx
The only requirement is to add the appropriate configuration to the Web.config file, and ensure the banner assembly is in the sites bin directory.
http://www.codeproject.com/kb/
aspnet/buildbanner.aspx
Labels:
ASP.Net2.0,
ASP.Net3.5,
debugging,
Deployment
Top 10 Best Practices for Production ASP.NET Applications
In no particular order, here are the top ten things I've learned to pay attention to when dealing with production ASP.NET applications. Hopefully they will help you save you some time and headaches.
http://daptivate.com/archive/2008/02/12/
top-10-best-practices-for-production-asp-net-applications.aspx
http://daptivate.com/archive/2008/02/12/
top-10-best-practices-for-production-asp-net-applications.aspx
Labels:
ASP.Net2.0,
ASP.Net3.5,
Deployment,
performance tips
ASP.NET Memory: If your application is in production… then why is debug=true
This is another article which has some information about the impact of leaving debug=true in the production environment.
http://blogs.msdn.com/tess/archive/
2006/04/13/575364.aspx
http://blogs.msdn.com/tess/archive/
2006/04/13/575364.aspx
App_Offline.htm and working around the "IE Friendly Errors" feature
This article gives a way to overcome the "IE Friendly Errors" feature interfering with the actual message coming from the server when the content length is less than 512 bytes.
http://weblogs.asp.net/scottgu/archive
/2006/04/09/442332.aspx
http://weblogs.asp.net/scottgu/archive
/2006/04/09/442332.aspx
Tuesday, February 19, 2008
Building a Web Message Board using Visual Studio 2008
This article gives a practical example of using LINQ to develop a basic message board application.
http://www.codeproject.com/kb/
aspnet/vs2008messageboard1.aspx
http://www.codeproject.com/kb/
aspnet/vs2008messageboard1.aspx
Labels:
ASP.Net3.5,
LINQ,
message board,
MS SQL 2005
Monday, February 18, 2008
Friday, February 15, 2008
Uncover Hidden Data to Optimize Application Performance
This article discusses:
issues/08/01/SqlDmvs/default.aspx
- Dynamic management views and functions
- Causes of server waits
- Common index problems
- Problems associated with logical I/O
issues/08/01/SqlDmvs/default.aspx
Wednesday, February 13, 2008
JSON-Enabled WCF Services in ASP.NET 3.5
This article gives a very good introduction to using WCF services with AJAX.
http://dotnetslackers.com/articles/ajax/
JSON-EnabledWCFServicesInASPNET35.aspx
http://dotnetslackers.com/articles/ajax/
JSON-EnabledWCFServicesInASPNET35.aspx
An Overview of ASP.NET 3.5 and Visual Studio 2008
This article provides an overview of the new features in ASP.NET 3.5 and the new web/ASP.NET-related features in Visual Studio 2008. Read on to learn more!
http://aspnet.4guysfromrolla.com/
articles/112107-1.aspx
http://aspnet.4guysfromrolla.com/
articles/112107-1.aspx
ASP.NET Application Life Cycle Overview for IIS 7.0
This topic describes the application life cycle for ASP.NET applications that are running in IIS 7.0 in Integrated mode and with the .NET Framework 3.0 or later. The IIS 7.0 integrated pipeline is a unified request processing pipeline that supports both native-code and managed-code modules.
http://msdn2.microsoft.com/en-us/
library/bb470252.aspx
http://msdn2.microsoft.com/en-us/
library/bb470252.aspx
MS-Ajax Client Javascript integrated within the Aptana IDE
Aptana has a cool Eclipse-based IDE for writing AJAX-y websites. It's got built-in support, via plugins, for most of the major Javascript Libraries.
http://www.aptana.com/studio
http://www.aptana.com/studio
Labels:
AJAX,
Aptana,
ASP.Net2.0,
ASP.Net3.5,
javascript
Tuesday, February 12, 2008
Handling Data After Post Back
This article gives an introduction to maintaining the new data entered by the user across postback on custom controls.
http://www.bipinjoshi.net/articles/
522e2775-aa37-4ba4-b08f-828e2ae9c79a.aspx
http://www.bipinjoshi.net/articles/
522e2775-aa37-4ba4-b08f-828e2ae9c79a.aspx
Labels:
ASP.Net2.0,
ASP.Net3.5,
Custom control,
PostBack
Monday, February 11, 2008
Don’t run production ASP.NET Applications with debug=”true” enabled
One of the things you want to avoid when deploying an ASP.NET application into production is to accidentally (or deliberately) leave the switch on within the application’s web.config file.
This article gives what are the reasons for not doing it.
http://weblogs.asp.net/scottgu/archive/
2006/04/11/442448.aspx
This article gives what are the reasons for not doing it.
http://weblogs.asp.net/scottgu/archive/
2006/04/11/442448.aspx
ASP.NET Code Debugging
This article gives an introduction for debugging ASP.Net coding.
http://www.beansoftware.com/
ASP.NET-Tutorials/ASP.NET-Code-Debugging.aspx
http://www.beansoftware.com/
ASP.NET-Tutorials/ASP.NET-Code-Debugging.aspx
ASP.NET AJAX Extender for multicolumn drag & drop
The Extender allows reordering of content on the same column and drag & drop content between columns. It also supports client side notification so that you can call web service and store the position of the content behind the scene without producing (async) postback.
Implementation details can be found on http://www.codeproject.com/KB/
ajax/multicolumndragdrop.aspx
Implementation details can be found on http://www.codeproject.com/KB/
ajax/multicolumndragdrop.aspx
Persisting State Information
This article give a brief introduction on maintaining the state information between the post backs.
http://www.bipinjoshi.net/articles/
3380d5ce-b84e-443f-8c26-e97ec071292d.aspx
http://www.bipinjoshi.net/articles/
3380d5ce-b84e-443f-8c26-e97ec071292d.aspx
Friday, February 8, 2008
Visual Studio Programmer Themes Gallery
This page gives number of different color themes for Visual Studio 2005 & 2008.
http://www.hanselman.com/blog/
VisualStudioProgrammerThemesGallery.aspx
http://www.hanselman.com/blog/
VisualStudioProgrammerThemesGallery.aspx
Top 5 .NET Web Service Mistakes
In this article we’re going to discuss five common mistakes that enterprises make when developing web services. It’s important to note that these aren’t logic or syntax mistakes. There are no compiler errors to tell you that something is wrong and no exceptions will be thrown, at least not right away. The issues are architectural not technological. The key then is to avoid them from the beginning because dealing with them after your service is deployed will be much more difficult.
http://www.theserverside.net/tt/articles/
showarticle.tss?id=Top5WSMistakes
http://www.theserverside.net/tt/articles/
showarticle.tss?id=Top5WSMistakes
10 Tips for Writing High-Performance Web Applications
This article discusses:
05/01/ASPNETPerformance/
- Common ASP.NET performance myths
- Useful performance tips and tricks for ASP.NET
- Suggestions for working with a database from ASP.NET
- Caching and background processing with ASP.NET
05/01/ASPNETPerformance/
Thursday, February 7, 2008
Delete Vs Truncate Statement
This article gives the comparison between the DELETE and TRUNCATE.
http://vadivel.blogspot.com/2004/06/
delete-vs-truncate-statement.html
http://vadivel.blogspot.com/2004/06/
delete-vs-truncate-statement.html
Labels:
Delete Vs Truncate,
MS SQL 2005,
MS SQL2000,
TSQL
Extending the GridView to sort Custom Entity Classes
This article aims to provide a way to extend the GridView control to enable it to sort your custom entities.
http://davidkiff.co.uk/HowTo/SortableGridView.aspx
http://davidkiff.co.uk/HowTo/SortableGridView.aspx
Labels:
ASP.Net2.0,
Custom control,
GridView Control,
Sorting
Wednesday, February 6, 2008
How to write a Data Provider for .Net
This article gives an overview of how to create your own data provider for a custom data storage system.
http://dotnetslackers.com/articles/
designpatterns/HowToWriteAProviderModel.aspx
http://dotnetslackers.com/articles/
designpatterns/HowToWriteAProviderModel.aspx
Labels:
ASP.Net2.0,
patterns and practices,
Providers
Tuesday, February 5, 2008
10 ASP.NET Performance and Scalability Secrets
ASP.NET 2.0 has many secrets, which when revealed can give you big performance and scalability boost. In this article, you will learn these techniques that can give your ASP.NET application a big performance and scalability boost and prepare it to perform well under 10 times to 100 times more traffic.
http://www.codeproject.com/KB/
aspnet/10ASPNetPerformance.aspx
http://www.codeproject.com/KB/
aspnet/10ASPNetPerformance.aspx
Monday, February 4, 2008
Creating and consuming AJAX enabled web serivces
This article gives details of creating and consuming AJAX enabled web services to retrieve data on the client side.
http://visualstudiomagazine.com/features
/article.aspx?editorialsid=2374
http://visualstudiomagazine.com/features
/article.aspx?editorialsid=2374
Extending the DropDownList to Support Enums
In this article, Steve demonstrates how to bind a DropDownList to an Enum type, and then goes on to create a generic EnumDropDownList control which will automatically display any enum type's contents.
http://aspalliance.com/1514_
Extending_the_DropDownList_to_Support_Enums.all
http://aspalliance.com/1514_
Extending_the_DropDownList_to_Support_Enums.all
Friday, February 1, 2008
Convert HTML tables to a DataSet
An example of how we can extract data from HTML tables and create a DataSet object containing this data.
http://aspnetlibrary.com/articledetails.aspx?
article=Convert-HTML-tables-to-a-DataSet
http://aspnetlibrary.com/articledetails.aspx?
article=Convert-HTML-tables-to-a-DataSet
Thursday, January 31, 2008
Using NHibernate as an ORM Solution for .NET
NHibernate is an ORM (Object-Relational Mapping) solution for .NET that provides an easy to use framework for mapping an object-oriented domain model to a traditional relational database. Handling the myriad of database queries and stored procedures for large applications can become a time consuming endeavor for any application developer. NHibernate helps ease that pain by relieving developers from a significant amount of relational data persistence-related programming tasks.
http://www.developer.com/net/asp/article.php/3709346
http://www.developer.com/net/asp/article.php/3709346
Wednesday, January 30, 2008
Table Variables Vs Temp Tables In T-SQL
Microsoft introduced table variables with SQL Server 2000 as an alternative to using temporary tables. In many cases a table variable can outperform a solution using a temporary table, although we will need to review the strengths and weaknesses of each in this article.
http://www.odetocode.com/Articles/365.aspx
http://www.odetocode.com/Articles/365.aspx
ASP.NET MVC Example Application over Northwind with the Entity Framework
This article gives an insight into how to use MVC to develop a Entity Framework application.
http://blogs.msdn.com/brada/archive
/2008/01/29/asp-net-mvc-example-application-
over-northwind-with-the-entity-framework.aspx
http://blogs.msdn.com/brada/archive
/2008/01/29/asp-net-mvc-example-application-
over-northwind-with-the-entity-framework.aspx
Ajax Control Toolkit - Part One
A multipart series on the Ajax Control Toolkit. This introductory part explores a few basic input helpers.
http://dotnetslackers.com/articles/
columns/ajax/AjaxControlToolkitPartOne.aspx
http://dotnetslackers.com/articles/
columns/ajax/AjaxControlToolkitPartOne.aspx
Labels:
AJAX,
ASP.Net2.0,
ASP.Net3.5,
Control Toolkit
Thursday, January 24, 2008
HTML 5 differences from HTML 4
HTML 5 defines the fifth major revision of the core language of the World Wide Web, HTML. "HTML 5 differences from HTML 4" describes the differences between HTML 4 and HTML 5 and provides some of the rationale for the changes. This document may not provide accurate information as the HTML 5 specification is still actively in development. When in doubt, always check the HTML 5 specification itself.
http://www.w3.org/TR/html5-diff/
http://www.w3.org/TR/html5-diff/
Handling the back button from server code
One common drawback of Ajax applications is the loss of the browser's back button. This article by Bertrand Le Roy shows how to restore it using ASP.NET 3.5 Extensions Preview and server code.
http://dotnetslackers.com/articles/ajax/
HandlingTheBackButtonFromServerCode.aspx
http://dotnetslackers.com/articles/ajax/
HandlingTheBackButtonFromServerCode.aspx
Creating an Online Exam Using LINQ
This article gives an introduction to use LINQ to Class to develop an online examination.
http://koffeekoder.com/ArticleDetails.aspx?id=352
http://koffeekoder.com/ArticleDetails.aspx?id=352
Wednesday, January 23, 2008
Implementing Keyboard Shortcuts in ASP.NET 2.0 Using Javascript
Providing keyboard navigation to a application like web sites is very handy, like Yahoo mail and Gmail.
This article gives an introduction to implement shortcuts using Javascript.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=91
This article gives an introduction to implement shortcuts using Javascript.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=91
Tuesday, January 22, 2008
Bring your projects to life - ASP.NET Animation
The article published on www.hushhushmedia.com gives source code and example of ASP.Net animation control extender which can be used to give life to your web pages with Rich Interactive Animation (RIA).
Labels:
animation control,
ASP.Net2.0,
Custom control,
RIA
Monday, January 21, 2008
Working with Dynamic Populate Extender
This article examines the usage of Dynamic Populate Extender AJAX control. It walks you through the step-by-step procedure for setting up a simple Dynamic Populate Extender Control.
http://aspalliance.com/1521_
Working_with_Dynamic_Populate_Extender.all
http://aspalliance.com/1521_
Working_with_Dynamic_Populate_Extender.all
Creating an HTML Editor for ASP.NET AJAX
The article published on Code Project gives an introduction for creating a AJAX enabled HTML editor from the scratch. Further, the author has written javascript library in the Microsoft recommended way.
http://www.codeproject.com/KB/ajax/HtmlEditor.aspx
http://www.codeproject.com/KB/ajax/HtmlEditor.aspx
Labels:
AJAX custom control,
ASP.Net2.0,
Editor,
HTML Editor
The 30 Minute Regex Tutorial
The article published on code project gives a good insight into the Regex development.
http://www.codeproject.com/KB/dotnet/regextutorial.aspx
http://www.codeproject.com/KB/dotnet/regextutorial.aspx
Friday, January 18, 2008
Configuring Visual Studio to Debug .NET Framework Source Code
Finally the .Net Framework 3.5's source code is released and Shawn Burke's Blog gives good introduction on setting it up and using it.
Search Engine-Friendly Custom Paging with the GridView and LINQ to SQL
This article gives introduction to create a search engine friendly custom paging using LINQ.
http://www.mikesdotnetting.com/Article.aspx?ArticleID=71
http://www.mikesdotnetting.com/Article.aspx?ArticleID=71
Labels:
ASP.Net3.5,
Custom Paging,
LINQ,
MS SQL 2005
Thursday, January 17, 2008
Understanding Single Sign-On in ASP.NET 2.0
In this article, Masoud discusses the concept of Cross Application Authentication using ASP.NET authentication model consisting of Membership Providers, web.config configuration, encryption, and decryption of configuration files. At the end of the article he also examines the application of the concept using ASP.NET login controls.
http://aspalliance.com/1545_Understanding_Single_SignOn_in_ASPNET_20
http://aspalliance.com/1545_Understanding_Single_SignOn_in_ASPNET_20
Labels:
ASP.Net Membership providers,
ASP.Net2.0,
Single Sign On,
SSO
Tuesday, January 15, 2008
Web Page Source Transmitter: Get The Page As The Customer Sees It
Web applications without bugs - it is a myth.
Every developer has many problems when he should reproduce a customer's bug. Usually, the customer cannot provide enough information about conditions before an exception (field values he entered; page which was opened before an exception, etc.).
It will be very useful if the application can produce (restore) the source of the opened web page with the data entered, as it was before an exception and store it (e.g. into a database). In this case, the developer can get the source of the page (e.g. from the database), put it to an HTML file and open it in a browser. The developer will get a copy of the page as it was before the exception.
http://www.codeproject.com/KB/
user-controls/WebPageSourceTransmitter.aspx
Every developer has many problems when he should reproduce a customer's bug. Usually, the customer cannot provide enough information about conditions before an exception (field values he entered; page which was opened before an exception, etc.).
It will be very useful if the application can produce (restore) the source of the opened web page with the data entered, as it was before an exception and store it (e.g. into a database). In this case, the developer can get the source of the page (e.g. from the database), put it to an HTML file and open it in a browser. The developer will get a copy of the page as it was before the exception.
http://www.codeproject.com/KB/
user-controls/WebPageSourceTransmitter.aspx
Understanding SQL Server 2005 Notification Services with ASP.NET 2.0
This article explains SQL Server 2005 notification services with ASP.NET 2.0 and demonstrates how to set up and test it using code samples. Sudeep initially provides a brief overview of the services and then examines various configuration aspects. He also deeply covers some of the common issues that prevent queries from working with SQL Server 2005 query notifications. At the end of the article you will learn the concept of polling based Invalidation techniques with the help of source code.
http://aspalliance.com/1541_Understanding_
SQL_Server_2005_Notification_Services_with_ASPNET_20
http://aspalliance.com/1541_Understanding_
SQL_Server_2005_Notification_Services_with_ASPNET_20
Labels:
ASP.Net2.0,
MS SQL 2005,
notification service
Checklist: Managed Code Performance
Checklist for managed code performance is published in the patterns & practices on the following URL,
http://msdn2.microsoft.com/en-us/library/ms979052.aspx
http://msdn2.microsoft.com/en-us/library/ms979052.aspx
Getting Started with Test Driven Development
Test Driven Development means that you do not write a single line of code without first having a failed test. This means that you should only write the code that is necessary to pass the test. The following article gives a starting point for this.
http://www.koffeekoder.com/ArticleDetails.aspx?id=334
http://www.koffeekoder.com/ArticleDetails.aspx?id=334
Publishing .Net coding in HTML on Tutorial websites
The article published on DotNetSlackers gives a sample tutorial to publish the .net coding as HTML pages.
Monday, January 14, 2008
Client Callback in the Website Registration Page
The article published on dotnet-friends.com has an introduction for client callback function in ASP.NET2 for checking the availability of the username without having to postback.
Friday, January 11, 2008
ICallback & JSON Based JavaScript Serialization
In this article, Muhammad examines how to accomplish JavaScript Serialization using ICallback and JSON. He begins with a basic introduction to ICallback, ICallbackEventHandler interface, and JSON. He then delves deep into the implementation of both server and client side ICallback with the help of associated source code.
http://aspalliance.com/1537_ICallback__JSON_
Based_JavaScript_Serialization.all
http://aspalliance.com/1537_ICallback__JSON_
Based_JavaScript_Serialization.all
Labels:
ASP.Net2.0,
ICallback,
JSON,
JSON Serialization
Using ASP.NET 3.5's ListView and DataPager Controls
The ListView control provides a very flexible means for displaying a collection of data while still offering rich data features like paging, sorting, editing, inserting, and deleting. The DataPager control can be associated with a ListView to render a paging interface.
Further, details can be found Using ASP.NET 3.5's ListView and DataPager Controls.
Further, details can be found Using ASP.NET 3.5's ListView and DataPager Controls.
Labels:
ASP.Net3.5,
Data control,
DataPager,
ListView
Thursday, January 10, 2008
ASP.NET Performance Tips
The article provides some tips to improve the performance of your ASP.NET applications by using multiple recordsets, paged data access, and Cache API. The author further examines Per-request, Page output, and Kernel caching mechanisms along with a description of connection pooling and GZip compression.
http://aspalliance.com/1533_ASPNET_Performance_Tips.all
http://aspalliance.com/1533_ASPNET_Performance_Tips.all
An Introduction to Programming with C# Threads
The PDF at microsoft site gives a very good introduction on Multi threading using C#. :
Deploying a SQL Database to a Remote Hosting Environment
The following article by ScottGu gives an overview of deploying the SQL database in a hosting environment.
Tuesday, January 8, 2008
ASP.Net Error Logging using Google's ELMAH Component
ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable. It can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compilation or re-deployment.
Further details regarding this can be found in following sites
Further details regarding this can be found in following sites
Enabling server-side history management in an ASP.NET Ajax application
The screencast published on the following URL gives a 15 mins video on how to enable AJAX server side history using ASP.Net 3.5 Extensions.
http://weblogs.asp.net/bleroy/archive/2008/01/04/
screencast-how-to-enable-server-side-history-
management-in-an-asp-net-ajax-application.aspx
http://weblogs.asp.net/bleroy/archive/2008/01/04/
screencast-how-to-enable-server-side-history-
management-in-an-asp-net-ajax-application.aspx
Tuesday, January 1, 2008
Raising and Handling Events with ASP.NET Ajax
The following article published on
http://dotnetslackers.com/articles/ajax/
RaisingAndHandlingEventsWithASPNETAjax.aspx
gives a very good introduction to creating custom events on Custom AJAX Controls.
http://dotnetslackers.com/articles/ajax/
RaisingAndHandlingEventsWithASPNETAjax.aspx
gives a very good introduction to creating custom events on Custom AJAX Controls.
Subscribe to:
Posts (Atom)