Contents tagged with Tips and Tricks
-
Tip/Trick: Cool UI Templating Technique to use with ASP.NET AJAX for non-UpdatePanel scenarios
I've been having some fun playing around with the ASP.NET AJAX Beta release this weekend.
-
Tip/Trick: Source/Documentation for Simple ASP.NET 2.0 SQL Providers Published
One of the most popular features in ASP.NET 2.0 was the introduction of the "provider model" for the built-in ASP.NET Application Service APIs. The provider model ensures that the storage/implementation for services like Membership, Roles, Profiles, Health Monitoring, Session State, and Site Navigation is extensible, and it allows a developer to easily plug-in alternative implementations if they want.
-
Gotcha: Fixing Error with VS 2005 SP1 Beta and older Web Application Project Templates
Two weeks ago we released the VS 2005 SP1 Beta. You can download it for free by visiting and registering on the Microsoft Connect Site.
-
Tip/Trick: Adding Authorization Rules to Business and Data Layers using PrincipalPermissionAttributes
Earlier this summer I posted two tutorials on using Windows Authentication with ASP.NET: Enabling Window Authentication within an Intranet ASP.NET Web Application and Implementing Role Based Security within ASP.NET using Windows Authentication and SQL Server. I also linked to Scott Mitchell's great ASP.NET 2.0 Security, Membership and Roles Tutorials that cover how to use Forms Authentication and the new Membership/Roles APIs in ASP.NET for Internet based web applications.
-
Tip/Trick: Guard Against SQL Injection Attacks
-
Tip/Trick: Patterns and Practices Guidance Explorer for .NET and ASP.NET
I blogged about the cool new .NET and ASP.NET Guidance Explorer that the Microsoft Patterns and Practices Team has been working on back in June.
-
Tip/Trick: Optimizing ASP.NET 2.0 Web Project Build Performance with VS 2005
This posts covers how to best optimize the build performance with Visual Studio 2005 when using web projects. If you are experiencing slow builds or want to learn how to speed them up please read on.
-
Tip/Trick: UpdateProgress Control and AJAX Activity Image Animations
One of the cool new controls provided with the ASP.NET AJAX Extensions (aka "Atlas") is the UpdateProgress control. This control allows you to automatically cause UI to display on a page while an AJAX callback is in progress, and also allows you to provide UI to enable a user to optionally cancel the AJAX callback if it is taking too long. To use this control on a page, simply declare it like so:
-
Tip/Trick: Using IIS7 on Vista with VS 2005
A few people have pinged me over the last week asking about how to use VS 2005 with an IIS 7.0 web-site on Windows Vista. Specifically, they've run into an issue where they see a dialog message asking them to install the FrontPage Server Extensions, or they get a "You must be a member of the administrators group" message when they try to connect (see dialog below):
-
Tip/Trick: Enabling Back/Forward-Button Support for ASP.NET AJAX UpdatePanel
Nikhil recently posted a nice blog post that includes a new ASP.NET AJAX-enabled control called "HistoryControl". When added to a page it allows developers to programmatically add logical views into a browser's history list. This enables you to make AJAX enabled sites much more useful, and to follow the standard back/forward navigation paradigm that traditional web apps follow.