protected void LinqDataSource1_Selecting(object sender, LinqDataSourceSelectEventArgs e)
    {
        GWportalDataContext db = new GWportalDataContext();
...

C# Refactor LINQ selection

by klim8d.myopenid.com, December 16, 2011 03:33, 9 refactorings, tagged with C# asp.net speed LINQ

I hope someone could refact...

55502f40dc8b7c769880b10874abc9d0 Talk
protected void LinqDataSource1_Selecting(object sender, LinqDataSourceSelectEventArgs e)
    {
        GWportalDataContext db = new GWportalDataContext();
...

C# Refactor LINQ queries

by klim8d.myopenid.com, December 19, 2011 04:39, 4 refactorings, tagged with LINQ speed C# asp.net performance

Hello, my other thread went...

55502f40dc8b7c769880b10874abc9d0 Talk
public virtual void StartReceivingThread()
        {
            Thread thrReceive = new Thread(Receive);
...

C# thread tcp/ip

by melaos.myopenid.com, November 03, 2011 00:09, 23 refactorings, tagged with c# tcp/ip threads

it's my first stab at tcp/i...

55502f40dc8b7c769880b10874abc9d0 Talk
<h4>
	References
</h4>
...

C# Razor template

by msony.myopenid.com, November 06, 2011 06:33, 2 refactorings, tagged with template, C#, Razor

In classic ASP days I was u...

55502f40dc8b7c769880b10874abc9d0 Talk
public void DoClaimSearch(SearchClaimInfo clmRequest)
        {
            var result = claimManager.ClaimSearch(clmRequest);
...

C# Configuration.AppSettings.G...

by tazmanrising.myopenid.com, November 28, 2011 13:12, 1 refactoring, tagged with refactoring, c#, unit test case, moq

I am starting to write some...

55502f40dc8b7c769880b10874abc9d0 Talk
[Authorize(Roles="Administrator,DR")]
    public class RegistrarController : BaseController
    {
...

C# Need help drying up my cont...

by zsysop.myopenid.com, September 22, 2011 11:34, 8 refactorings, tagged with C# asp.net-mvc controller asp.net-mvc-3.0

Thanks for any help

Eaeb97b81092455b2b39fd74a04304ef Talk
// USER Profile

using System;
...

C# Matching the most propertie...

by openid.daniel.mcpherson.name/danielmc, September 18, 2011 17:05, 3 refactorings, tagged with C#, filtering, performance

We have an interesting litt...

81991ad45e78f662d1fd7cdae9511c30 Talk
public class WeakDelegate
    {
        private readonly WeakReference _target;
...

C# WeakDelegate and WeakMultiC...

by Andrei Rinea, September 28, 2011 02:19, 1 refactoring, tagged with wpf, weakevent, weakreference, weak, delegate, multicastdelegate, eventhandler

I would appreciate some cri...

Ea70b38ea893494ee0cd177adc0f54e5 Talk
//MYSQLCONNECTION.cs

namespace MyClassGenerator.DatabaseController
...

C# Best method for DAL

by programmerist, September 02, 2011 14:57, 1 refactoring, tagged with oop, C#, OOP Class, refactoring

i have generated DAL layer ...

Dc2b5374b8c24a20577346b9b1e4891f Talk
private void InitArrays(int size)
        {
            _id = new string[size];
...

C# Refractor code with SQL bu...

by https://www.google.com/accounts/o8/id?id=AItOawlimm1oKtOeVAo-0tSuFHsckNVuSqBumU4, August 16, 2011 13:12, 5 refactorings, tagged with C#, ADO.NET, SQL, ODP.NET, BULK, INSERT

Hi I use SQL bulk insert to...

55502f40dc8b7c769880b10874abc9d0 Talk
private static int[,] GetGrade(int largura, int altura)
        {
            var meiow = largura / 2;
...

C# For a Isometric Game

by https://www.google.com/accounts/o8/id?id=AItOawkQtG01B8h-pJWL6rWbfo2oTMpxRLN2R2U, August 16, 2011 08:32, 3 refactorings

the code return a isometric...

55502f40dc8b7c769880b10874abc9d0 Talk
using System;
using System.Collections.Generic;
using System.Linq;
...

C# Refactoring Suggestions

by zsysop.myopenid.com, August 01, 2011 12:20, 1 refactoring, tagged with C#, itextsharp

Was looking for some sugges...

Eaeb97b81092455b2b39fd74a04304ef Talk
void Main()
{
    // Enter setup code here
...

C# Benchmark template

by StriplingWarrior, August 23, 2011 10:19, No refactoring, tagged with benchmark

This is a benchmarking temp...

3653360c9b96b1ae5e39067c9e18183c Talk
using System;
using System.Collections.Generic;
using System.Linq;
...

C# Problem with Login for Admi...

by tragicdancer.myopenid.com, July 14, 2011 13:32, 1 refactoring, tagged with models, controller, login, C# asp.net-mvc, asp.net-mvc

I'm trying to implement a s...

55502f40dc8b7c769880b10874abc9d0 Talk
using System;
using System.Collections.Generic;
using System.Linq;
...

C# keyboard input manager, hel...

by https://www.google.com/accounts/o8/id?id=AItOawnqawCiTBXC2E2brXU3OtMUew3g7x9ZDtc, June 07, 2011 15:55, 21 refactorings, tagged with input, C#, xna, keyboard, manager, really, ugly

This code looks incredibly ...

55502f40dc8b7c769880b10874abc9d0 Talk
public static class Fnv1Hash
{
    public static uint ComputeHash32(IEnumerable<byte> bytes)
...

C# FNV-1 and FNV-1a Hash for 3...

by Ants, June 27, 2011 13:00, 10 refactorings, tagged with speed, clarity, FNV, DRY

There has to be a better wa...

F9a9ba6663645458aa8630157ed5e71e Talk
foreach (string name in q)
                {
                    for (int i = 0; i < 3; i++)
...

C# substring according to sign

by anyname.myopenid.com, June 21, 2011 05:34, 10 refactorings, tagged with string, asp.net, c#

this code is used to sub st...

55502f40dc8b7c769880b10874abc9d0 Talk
private void ReplaceAccents(ref string input)
{
   input = Regex.Replace(input, @"[\xC0-\xC5\xE0-\xE5]", "a");  //Replace with "a"
...

C# C# code to replace accents ...

by Hiawatha, June 12, 2011 14:53, 6 refactorings, tagged with C# String Manipulation regex

I need to strip out things ...

4df33f9e8a81cc9d8046f057dbb4debc Talk
using System;
using System.Collections.Generic;
using System.Linq;
...

C# how to Refactor Base Class ...

by programmerist, June 04, 2011 08:13, 4 refactorings, tagged with asp.net, C#, .nw

i try to generate some meth...

Dc2b5374b8c24a20577346b9b1e4891f Talk
class Program
    {        
        static void Main(string[] args)
...

C# Check all tasks are finishe...

by https://www.google.com/accounts/o8/id?id=AItOawkI7Qfyfp66B3kjzjs8HlGnI8zkbNlulE4, June 22, 2011 10:09, 3 refactorings, tagged with threading

This is intended to try and...

55502f40dc8b7c769880b10874abc9d0 Talk
public static int InsertGroups(List<Group> groups)
        {
            DBConnectionForInformix con = new DBConnectionForInformix("");
...

C# This IfxTransaction has com...

by anyname.myopenid.com, June 26, 2011 05:15, 2 refactorings, tagged with asp.net c# transactions

When I use the transactions...

55502f40dc8b7c769880b10874abc9d0 Talk
var uri = new Uri(url);
var relurl = uri.Scheme + "://" + uri.Authority;
foreach (var v in uri.Segments.Take(uri.Segments.Count() - 1)) { relurl += v; }

C# Get base without file/path

by acidzombie24.myopenid.com, June 29, 2011 22:27, 2 refactorings, tagged with url
55502f40dc8b7c769880b10874abc9d0 Talk
public class MyClass1
    {  
        private DataDestination1 _destination = new DataDestination1();
...

C# Need help with refactoring ...

by zsysop.myopenid.com, May 20, 2011 07:49, 2 refactorings, tagged with C#, parallelforeach

Need some help optimizing &...

Eaeb97b81092455b2b39fd74a04304ef Talk
if (<certain criteria>)

{
...

C# Merging Lists in 2.0

by silverfox1208.myopenid.com, April 11, 2011 03:51, 2 refactorings

So I am new to C#2.0 and ha...

51b0cf59aa222a8da26052ed142805ba Talk
private ReportData SetPartnerInfo(ReportData reportData, string partnerPrefix, Partner partner)
        {
            PropertyInfo propertyInfo = reportData.GetType().GetProperty(partnerPrefix + "IDType");
...

C# Cleaning up this method

by zsysop.myopenid.com, April 13, 2011 20:38, 2 refactorings, tagged with c# reflection

Is there any cleaner way to...

Eaeb97b81092455b2b39fd74a04304ef Talk