Browse by Tags

All Tags » Tips and Tricks » .NET (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: Url Rewriting with ASP.NET by ScottGu

People often ask me for guidance on how they can dynamically "re-write" URLs and/or have the ability to publish cleaner URL end-points within their ASP.NET web applications. This blog post summarizes a few approaches you can take to cleanly map or rewrite...

Tip/Trick: How to upload a .SQL file to a Hoster and Execute it to Deploy a SQL Database by ScottGu

Last month I posted about the new (free) Database Publishing Wizard that is designed to make it much, much easier to upload and deploy SQL Express and SQL Server databases in a web hoster environment. In my first Database Publishing post , I walked through...
More Posts Next page »