Browse by Tags

All Tags » Tips and Tricks (RSS)

Tip/Trick: Creating and Using Silverlight and WPF User Controls by ScottGu

One of the fundamental design goals of Silverlight and WPF is to enable developers to be able to easily encapsulate UI functionality into re-usable controls. You can implement new custom controls by deriving a class from one of the existing Control classes...

Tip/Trick: Hard Drive Speed and Visual Studio Performance by ScottGu

People often ask me at conferences for PC hardware recommendations. Specifically - "what type of machine do you recommend I get for doing development with Visual Studio?" and/or "your laptop seems really fast, what type is it?" Some of my recommendations...

Tip/Trick: Building a ToJSON() Extension Method using .NET 3.5 by ScottGu

Earlier this year I blogged about a new language extensibility feature of C# and VB called "Extension Methods". Extension methods allow developers to add new methods to the public contract of an existing CLR type, without having to sub-class it or recompile...

Tip/Trick: Automating Dev, QA, Staging, and Production Web.Config Settings with VS 2005 by ScottGu

One of the questions I get asked fairly regularly is: "how can I can easily change different configuration settings in my web.config file based on whether my application is in a dev, qa, staging or production mode?" The most common scenario for this is...

Public Hotfix Patch Available for VS 2005 F5 Debugging Performance Issue with ASP.NET by ScottGu

Over the last year we've seen several people report having performance problems when using F5 to run/debug ASP.NET 2.0 applications using Visual Studio 2005. The problem in theses cases typically wasn't with building the project, but rather that it sometimes...

July 4th Links: ASP.NET, ASP.NET AJAX, Visual Studio, Silverlight and IIS7 by ScottGu

I've fallen behind on my weekly link-listing series - apologies for the delay. ASP.NET ASP.NET RSSToolkit 2.0 Released : One of the cool projects for ASP.NET 2.0 that was released last year was this free RSS Toolkit - which makes consuming and exposing...

Tip/Trick: Creating Packaged ASP.NET Setup Programs with VS 2005 by ScottGu

Scenario You have built an ASP.NET Web Application using Visual Studio 2005, and want to enable customers to automatically install and deploy it on servers via an easy setup program. Specifically, you want to create a standard Windows setup program that...

Tip/Trick: Supporting Full Screen Mode with Silverlight by ScottGu

One of the nice features that Silverlight supports is the ability to go "full screen" and effectively take over the entire screen of a computer (hiding everything else from sight - including the browser frame). This can be very useful when building immersive...

Tip/Trick: Enabling SSL on IIS 7.0 Using Self-Signed Certificates by ScottGu

SSL enables browsers to communicate with a web-server over a secure channel that prevents eavesdropping, tampering and message forgery. You should always use SSL for login pages where users are entering usernames/passwords, as well as for all other sensitive...

Tip/Trick: Integrating ASP.NET Security with Classic ASP and Non-ASP.NET URLs by ScottGu

One of the questions I am often asked is "How can I integrate ASP.NET security with Classic ASP other non-ASP.NET URLs?". Specifically, people want to know if they can integrate ASP.NET's Forms Authentication, Role Based Security, and URL Authorization...
More Posts Next page »