Welcome to Sol 3 Sign in | Join | Help
CS Search | Live Search Search

Sol 3

Home of Barrows Software Solutions, LLC

Browse by Tags

All Tags » ASP.NET » Tips and Tricks   (RSS)
  • Adding QueryString Parameters to the SiteMapNode

    There is no way to add querystring parameters to the SiteMapNode in a SiteMap control "out of the box." I'm quite surprised there is no option but luckily the SiteMap uses the provider model. After a Live search, I was able to find a solution provided by Bobby DeRosa. By creating a custom provider, this can be accomplished. The project I ...
    Posted to ASPInsiders (Weblog) by Anonymous on June 4, 2008
  • Retrieving SQL Type Image Using LINQ

    LINQ views the Image type in SQL Server as Binary. So, there are a few options that we have. We can either (a) modify our LINQ to SQL class and change the property to Byte() instead of Binary or we can (b) convert the Binary to an array. To do the latter, you can use a lambda expression to obtain the image you are looking for and grabbing just the ...
    Posted to ASPInsiders (Weblog) by Anonymous on May 27, 2008
  • Tip/Trick: Hard Drive Speed and Visual Studio Performance

    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 on this topic are fairly standard and obvious: Ideally you want to get a ...
    Posted to ASPInsiders (Weblog) by Anonymous on November 1, 2007
  • Writing a Base64 String to the File System or Browser

    Quite often, vendors pass images or PDFs to customers using the binary contents of the file. To make it more secure, they convert the binary contents to a Base64 string. A full explanation about Base64 encoding can be found at Wikipedia here. Anyway, when you receive the string, you cannot simply write it to a file or to the browser. First, you ...
    Posted to ASPInsiders (Weblog) by Anonymous on October 10, 2007
  • Tip/Trick: Building a ToJSON() Extension Method using .NET 3.5

    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 the original type.  In doing so they enable a variety ...
    Posted to ASPInsiders (Weblog) by Anonymous on October 2, 2007
  • Tip/Trick: Automating Dev, QA, Staging, and Production Web.Config Settings with VS 2005

    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 one where an application uses different database connection-strings for testing ...
    Posted to ASPInsiders (Weblog) by Anonymous on September 21, 2007
  • Public Hotfix Patch Available for VS 2005 F5 Debugging Performance Issue with ASP.NET

    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 took the debugger a really long time to hit the first breakpoint once it attached ...
    Posted to ASPInsiders (Weblog) by Anonymous on August 21, 2007
CS Build: 2.1.61129.2
1999
Listed on the CS Listings Powered By Community Server Themed by nb development