Technical Weblog of Eric Charran

A Journal of My Technical Achievements and Challenges

Browse by Tags

Tagged Content List
  • Blog Post: HOWTO: Enable Visual Studio 2008 Remote Debugging

    See this link for methods to enable Remote Debugging: http://msdn.microsoft.com/en-us/library/bt727f1t.aspx
  • Blog Post: INFO: Visual Studio 2008 Product Comparison Chart

    One of the greatest resources for examining the differences between all versions of Visual Studio. http://msdn.microsoft.com/en-us/vstudio/products/cc149003.aspx
  • Blog Post: Exposing LINQ Generated Classes through WCF

    The lure of using LINQ to generate classes and expose them as data contracts through WCF is extremely attractive. The designer-driven LINQ to SQL interface allows for generation of LINQ classes based on database objects (i.e., tables and stored procedures). The power here is that if any of those elements...
  • Blog Post: WCF Test Client: Failed Adding Service

    When writing your first WCF service in Orcas Beta 2, you might set the service as a start up project and attempt to debug it. The challenge you will face is that the service will start and the WCF Test Client will launch and try to add the service. The problem that you will encounter may be as follows...
  • Blog Post: How to Pass Parameters to a Method on a New Thread

    Most of you will find this relatively simple, but it took me a while to figure this out. When executing a method on a new thread, I found it almost impossible to pass the method any parameters. My code looked like below. Method Signature to be Executed on Thread: MyMethod(object parameter1) Thread Creation...
  • Blog Post: MOSS Performance Tests

    The following URL goes to some recently released Performance Tests for MOSS that can be used in conjunction with VSTS. http://www.codeplex.com/sptdatapop MOSS Performance Tests.zip .
  • Blog Post: System.OutOfMemory Exception Thrown in MOSS 2007 In Place Upgrade

    When upgrading a SPS2003 installation with an unusually large number of sites, the in place upgrade process may run into a condition where it runs out of memory. The following message will appear in the upgrade.log: [SPWebTemplateSequence] [ERROR] [1/15/2007 11:30:03 PM]: Template SPSPERS#0: Exception...
  • Blog Post: How to Copy a Data Row from One DataTable to Another DataTable

    The long story is in this KB article. http://support.microsoft.com/kb/308909 The short story is to use the DataTable's ImportRow method as mentioned in the article. destinationDataTable.ImportRow(sourceDataTable.Rows[i]);
  • Blog Post: How to Configure a Server to Address 4GB of Memory or Greater

    We were having trouble with a MOSS 2007 upgrade in that it was throwing out of memory exceptions that are common with ASP.NET applications that are running on a server with more than 2 GB of RAM, but the application consumes it all. See http://support.microsoft.com/default.aspx/kb/820108 for details...
  • Blog Post: Programmatically Retrieve an Image from an Assembly Resource File

    As many times as I do this, invariably it slides from my brain and I have to gather all the information I can to do this again. So here it is for my sake as well as others that might have to do this. A good practice for Windows Forms development is to include most icons/images into an assembly resource...
  • Blog Post: Enterprise Library 3.0 CTP Uses Now

    The Enterprise Library 3.0 CTP is of significant use to developers even if you don't plan to write code against the 3.0 version. It is based now in GAT and GAX (Guidance Automation releases) and now allows developers to have an integrated configuration experience with Visual Studio 2005. Additionally...
  • Blog Post: Great MSDN Search

    Might be late with this, but check out the AJAX auto complete search from MSDN. http://lab.msdn.microsoft.com/search/refinement.aspx
  • Blog Post: ASP.NET Control Registration Simplicity

    Scott Guthrie has done it again and talks to us about how to register controls for pages in a web application one time instead of on each page. Trick- How to Register User Controls and Custom Controls in Web.config Basically, instead of this: <% Register TagPrefix="scott" TagName="header" Src="Controls...
  • Blog Post: Load Testing SQL Server Reporting Services using Visual Studio 2005

    Here is a great article on how to leverage the unit testing engine built into Visual Studio to test SQL Server Reporting Services. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql90/html/VS05PLTSQL.asp
  • Blog Post: ClickOnce Community Resource Kit

    Deploying a ClickOnce Applicaiton or asked by your manager to determine what its all aobut? Being faced with IT infrastructure groups who are baging down your door to determine what will be required in order to deploy a ClickOnce? Is your manager asking questions like "Why do ClickOnce, and don't tell...
  • Blog Post: Special Characters in C#

    This is just for my own usage (or whomever else finds this useful) \n New line \r Carriage return \r\n Carriage return—new line \" Quotation marks \\ Backslash character \t Tab
  • Blog Post: Adding Authorization to Business Layers

    Scott Guthrie has written a great article on adding authorization attributes and security attributes to classes and their methods. The basic design principle behind this pattern is to ensure that each class becomes responsible for ensuring that it can't be called unless the user has some security context...
  • Blog Post: Compacting Virtual Hard Disks

    My little USB hard drive recently ran into a space constraint issue because of the footprint of my Virtual Machines I keep stored there. So I went about attempting to reclaim some space by collapsing my Virtual Machines expanding disks and freeing space that they were not using. A note about my configuration...
  • Blog Post: Using the Active Directory Membership Provider with Forms Authentication in MOSS 2007

    Because MOSS 2007 supports the ASP.NET membership provider model there are new worlds in which SharePoint can tread that it has not be able to in the past. Specifically, MOSS 2007 represents a fantastic platform for the presentation of a public internet web presence. In fact, there is a site template...
  • Blog Post: How to Supply Credentials to a Web Service

    When an web services is secured with Windows Authentication and you need to call it as a specific user or another account on the domain, this article explains how to do it. http://support.Microsoft.com/default.aspx?scid=kb;... You can either set the proxy class's Credentials = to System.Net.CredentialCache...
  • Blog Post: Getting Latest on Check Out - VSS versus TFS

    If the battleground for VSS vs. TFS will be fought anywhere it will be on this issue. As with any paradigm shift and change in the way things are done, it will be a challenge. Some will agree/like the change while others will despise it. A savvy champion for TFS in their orgnaization will recognize this...
  • Blog Post: VSTS Extended Ranger

    I'm now officially a VSTS Extended Ranger. The ranger program at Microsoft is a team of highly trained experts usually within a specified area of technology or product. In this case, based on my TFS and Visual Studio experiences, I've been included in the VSTS Ranger program. I feel like I need a beret...
  • Blog Post: Building a ClickOnce Manifest File with Team Foundation Services Team Build

    Issue: When building a ClickOnce application using Team Foundation Build Services, the goal is to modify the details contained within the .application deployment manifest file to conform to desired settings segregated by build type. This would allow Build Masters and Release Managers to build the...
  • Blog Post: Differences Between VSS and TFS - User Experience and Migration

    In my travels and implementation paths for implementing Team Foundation Server and making it coexist or migrate from Visual Source Safe, there have been some significant challenges in educating clients about the change, specifically developers who are used to the seeming simplicity of VSS. The idea...
  • Blog Post: Team Foundation Server Team Build Execution Target Order Resource

    The following link goes to an msdn2 article which outlines the order of target executions that the TeamBuild service uses when executing its core targets via MSBuild. These are VERY hand to know in case that you want to supply any custom tasks based on the output of previous steps in the build (i.e....
Page 1 of 4 (86 items) 1234