Error!
Success!

By tag: code

showing:  of
0
kicks

C# Using the Out Method Parameter  (Unpublished)

Using the out method parameter to have a call return multiple values


Kicked By:
Drop Kicked By:
0
kicks

Tired of querying in antiquated SQL? don't have a DBMS handy?  (Unpublished)

This amazing small tool allows to query SQLSERVER or MYSQL databases using LINQ or simple SQL, doesn't require installation, and works like a charm, really useful if you're trying to learn LINQ. It's just 4MB


Kicked By:
Drop Kicked By:
0
kicks

Finding duplicate code in C#, VB.Net, ASPX, Ruby, Python, Java, C, C++  (Unpublished)

Whether you realize it or not, you need a tool that finds duplicate source code in your applications. In fact, if you’ve never used one before, you probably don’t realize just how much you need an automated solution to this problem. For all practical purposes, it’s nearly impossible to manually loc...


Kicked By:
Drop Kicked By:
0
kicks

An introduction to Code Contracts in .NET 4.0  (Unpublished)

NET 4.0 sees the introduction of Code Contracts. Code Contracts allow the developer to specify rules and "assumptions on your code in the form of pre-conditions, post-conditions and object invariants" (in the words of DevLabs).


Kicked By:
Drop Kicked By:
0
kicks

7 Minutes from Install to your working EntitySpaces Architecture  (Unpublished)

7 Minutes from Install to your working EntitySpaces Architecture, no kidding, no modeling, no XML files, no BS


Kicked By:
Drop Kicked By:
0
kicks

Using delegates to eliminate duplicate code  (Unpublished)

Here’s a simple technique you can use to easily eliminate duplicate code. Try not to let the word “delegates” scare you away from learning the technique and I’ll try to refrain from using the word “delegate” as much as possible. I’ll start small and then work my way towards a more complex example t...


Kicked By:
Drop Kicked By:
0
kicks

Introducing Code Rocket  (Unpublished)

This article introduces you to Code Rocket's main features. Code Rocket is a pseudocode and flowchart design and visualization tool for Visual Studio (and Eclipse). It gives you on demand access to the pseudocode and flowchart views of your methods and always keeps the design in sync with the code. ...


Kicked By:
Drop Kicked By:
0
kicks

Code Contracts Primer – Part 2: Handling Legacy Code  (Unpublished)

So the one of the first questions that many people ask when talking about using the Code Contracts library is ‘what do I do about my legacy code?’. Asking this is a very valid question. If your team has already subscribed to the design-by-contract or fail-fast concepts then maybe you have already ...


Kicked By:
Drop Kicked By:
0
kicks

Template based code generation with T4 from custom applications.  (Unpublished)

Generate source code from custom applications by using the Text Template Transformation Toolkit of VS 2008.


Kicked By:
Drop Kicked By:
0
kicks

100% Unit Testable Linq To Sql Repository - Kazi Manzur Rashid's Blog  (Unpublished)

In this post, I will show you how you can architect your Linq To Sql repository which will have 100% code coverage. I will use our favorite Northwind database along with my ongoing UnityCommonServiceLocatorMVC project. First, lets add a Linq To Sql diagram in our project and drag n drop the Category...


Kicked By:
Drop Kicked By:
0
kicks

Code Snippet: Filtering a list using Lambda without a loop  (Unpublished)

Quick code snippet to remove some loops inside your code and increase visibility inside your methods.


Kicked By:
Drop Kicked By:
0
kicks

Have you ever wanted to monitor a website for changes?  (Unpublished)

Here is a free and handy tool to have around for anyone that has ever wanted to monitor when a web site has changed. This is a very small install and a very small task to alert you when your favorite page has a new update. RadPop also hides so that it is nearly unnoticeable. The program nicely al...


Kicked By:
Drop Kicked By:
0
kicks

‘Linq to Gac’ : Use Linq to Power Query your Gac via C# to Fusion  (Unpublished)

This post gets the GAC via Linq to bend your way. How? A Fusion Wrapper to IEnumerable over your Gac. No nasty PInvokes to deal with. It's all clean C# which is here to use. We owe a debt to the Mono project for this as well as a very smart Microsoft staff member to be give credit when we can find t...


Kicked By:
Drop Kicked By:
0
kicks

How to Search And Replace values in SQL across All Tables  (Unpublished)

My website got hacked. I got several html code injections inside the database. Here is how i fixed the issue very quickly.


Kicked By:
Drop Kicked By:
0
kicks

Showcase of C# VS2008 Snippets  (Unpublished)

Why write snippets when you can generate them using C#? The advantage seems obvious: greater adaptability and a functionality similar to parameter passing - but with snippets. This project is precisely this - an attempt to have snippets with arity, permitting developers to, e.g., quickly generate fu...


Kicked By:
Drop Kicked By: