in Search
     

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
All Tags » .NET » TIPS (RSS)
  • Some WCF Gotchas

    A project our team (in my employer) has been working on for a good number of months now makes extensive use of Windows Communication Foundation (WCF). WCF is nothing really ground-breaking; its significance is that it unifies the various inter-process communication facilities into one common programming...
    Posted to cruizer by cruizer on 10-04-2008
    Filed under: Filed under: , , ,
  • Debugging JavaScript code in ASP.NET

    I am currently working with conversion of ASP Classic web application to ASP.Net 2.0 and I have to deal with a lot of client-side script. Before, I used to insert an alert( sampleValue ) to be able to view the current value of a variable until I found out that about “debugger” keyword in JavaScript....
    Posted to n@rds by n.ocampo on 09-11-2007
    Filed under: Filed under: , ,
  • Reflector tips

    Here are some tips on using Lutz Roeder's Reflector that some of you might not yet know. Enclose search parameters with quotes for exact match. Use AssemblyList for sets of assemblies (I currently have .NET 1.1, .NET 2.0, CSLA 1.1, CSLA 2.0, NHibernate, NUnit, MbUnit, Infragistics) Analyzer rocks! I...
    Posted to jokiz by jokiz on 02-20-2007
    Filed under: Filed under: ,
  • ControlInspector for Windows Forms

    I used to use this ConstrolInspector utility from CodeProject utility to know the sequences of events for a control back when i was still a component developer. OT: An ex-officemate of mine, still with my previous employer asked me about this utility through mobile phone. I wondered why she did not email...
    Posted to jokiz by jokiz on 10-09-2006
    Filed under: Filed under: , ,
  • Decimal data type for financial applications

    My current project uses a double data type for its values and i have raised a suggestion to convert it to decimal data type instead. I remember that it is recommended to use decimal over double for financial applications because decimal data types have greater significant digits compared to floating...
    Posted to jokiz by jokiz on 09-06-2006
    Filed under: Filed under: , , ,
  • double quote and @ keys are switched in visual studio

    i noticed yesterday that my double quote key is switched with the @ key in visual studio. i tried it in notepad and it seems to be working. i'm glad i found a helpful post in the msdn forums this morning on how to fix this and it turns out that i have two language settings installed, US and UK, i...
    Posted to jokiz by jokiz on 08-08-2006
    Filed under: Filed under: , , ,
  • "A subdirectory or file <name> already exists" caused a failing build

    we've all seen why some of the keywords back in the DOS days (CON, COM1, COM2, etc.) are not allowed as filenames or folder names (directory names for the oldies hehehe) in the local community thread . do you also know that you can't have the same name for a subfolder or a file in the same folder? logical...
    Posted to jokiz by jokiz on 08-01-2006
    Filed under: Filed under: , ,
  • Visual Studio Tip #5 - Track Active Item in Solution Explorer

    the development machine of my teammate is pretty messed up so i assumed that the hooking up of visual studio ide events on his machine is not working. one of the features i love with visual studio is when it automatically highlights the currently active code sheet in the solution explorer and this feature...
    Posted to jokiz by jokiz on 07-31-2006
    Filed under: Filed under: , ,
  • Resharper Tip: Move to Next/Previous method

    i haven't really abused the power of resharper and since i have been currently shifting most of my mouse activities with keyboard shortcuts, easy navigation on a particular code sheet is a requirement. i finally am using goto next/previous keyboard shortcuts of resharper to browse to the next method...
    Posted to jokiz by jokiz on 07-27-2006
    Filed under: Filed under: , , ,
  • null check for strings

    Strings are reference types and as such, they can have the value null . If you have a method which accepts a string as its parameter, would you check the parameter for null or empty string and throw an ArgumentException instance if you expect a valid string instance to be passed into it? If it's not...
    Posted to jokiz by jokiz on 07-19-2006
    Filed under: Filed under: ,
  • ConditionalAttribute

    We were discussing earlier about making some of the unit tests excluded with pre-processor directives (those tests which interacts with an external system which takes time) when my officemate brought out the ConditionalAttribute class. Basically you apply it to a method with a string as parameter termed...
    Posted to jokiz by jokiz on 05-26-2006
    Filed under: Filed under: ,
  • Assert.Equal() vs Assert.IsTrue(obj1 == obj2)

    It was the first time that i used NUnit and i figured out this morning when i was revising some of the tests that in some of them, i was still using Assert.IsTrue(objExpected == objActual) istead of Assert.AreEqual(objExpected, objActual). Although the same constructs will yield the same results, using...
    Posted to jokiz by jokiz on 05-24-2006
    Filed under: Filed under: , ,
  • George Shepherd's ASP.NET FAQ

    george shepherd's windows forms FAQ ( http://www.syncfusion.com/faq/windowsforms ) is my primary resource on everything about windows forms. i was surprised this afternoon that he also has an asp.net version of the FAQ. http://www.syncfusion.com/FAQ/aspnet
    Posted to jokiz by jokiz on 05-23-2006
    Filed under: Filed under: , ,
  • CollectionView

    i am a fan of custom business objects so i usually have a strongly typed collection inheriting from CollectionBase. i had a requirement to sort the list so i googled and saw brendan tompkins' CollectionView class , which is similar to the DataView class of the System.Data namespace for filtering and...
    Posted to jokiz by jokiz on 05-10-2006
    Filed under: Filed under: ,
  • profiling ado.net queries

    you want to know the queries being executed by your application which uses ADO.NET. sql profiler comes in. however you got agents running (whatever they are), you also browse the tables using Enterprise Manager or Visual Studio and you want them to be excluded in the watch list. Filter is the key, Under...
    Posted to jokiz by jokiz on 04-05-2006
    Filed under: Filed under: , ,
Page 1 of 4 (46 items) 1 2 3 4 Next >