TheCompiler
Name: TheCompiler
Score: 1,694.57
Last Seen: 28 days, 32 minutes ago
Member Since: 12 February, 2009
DotNetShoutout
atom rss
7
shouts

Reduce Chain and Extract Projection Refactorings

posted by KodefuGuruKodefuGuru 34 days, 14 hours, 43 minutes ago
Friday, February 12, 2010 11:04:49 PM GMT
One of the principles I introduce in my new talk is Strive for Functional Cohesion. My original article on the subject focuses on determining where the functionality belongs, then adding it to it’s appropriate place. In that scenario, I had complete access to the code. Sometimes, however, you don’t have access to the code to make the change, or the implementation belongs to an interface. If the functionality is assign appropriately, it makes the code much easier to read.var lines = File.ReadAllLines("fil... (more)
category: Agile | clicked: 3 | comment | | source: www.kodefuguru.com
tags: Refactor, Refactoring
7
shouts

Optimisations in LINQ to Objects - Jon Skeet: Coding Blog

published 31 days, 2 hours, 29 minutes ago posted by KhaledKhaled 32 days, 4 hours, 25 minutes ago
Tuesday, February 16, 2010 11:18:33 AM GMT Monday, February 15, 2010 9:22:10 AM GMT
I've just been fiddling with the first appendix of C# in Depth, which covers the standard query operators in LINQ, and describes a few details of the LINQ to Objects implementations. As well as specifying which operators stream and which buffer their results, and immediate vs deferred execution, I've where LINQ optimises for different collection types - or wh... (more)
category: Foundation | clicked: 48 | comment | | source: msmvps.com
7
shouts

SQL SERVER – Stored Procedure Optimization Tips – Best Practices « Journey to SQL Authority with Pinal Dave

published 28 days, 23 hours, 42 minutes ago posted by pinaldavepinaldave 29 days, 5 hours, 15 minutes ago
Thursday, February 18, 2010 2:05:33 PM GMT Thursday, February 18, 2010 8:32:20 AM GMT
We will go over how to optimize Stored Procedure with making simple changes in the code. Please note there are many more other tips, which we will cover in future articles. Include SET NOCOUNT ON statement: With every SELECT and DML statement, the SQL server returns a message that indicates the number of affected rows by that statement. This information is mostly helpful in debugging the code, but it is useless after that. By setting SET NOCOUNT ON, we can disable the feature of returning this extra i... (more)
category: SQL | clicked: 62 | comment | | source: blog.sqlauthority.com
tags: Database, pinaldave, SQL, SQLAuthority, SQLServer
12
shouts

Code Contracts By Example

published 25 days, 19 hours, 11 minutes ago posted by roydictusroydictus 29 days, 19 hours, 23 minutes ago
Sunday, February 21, 2010 6:36:05 PM GMT Wednesday, February 17, 2010 6:24:49 PM GMT
Code Contracts By Example Ear­lier, I blogged about Code Con­tracts as a tool to help you spec­ify and ver­ify code behav­ior. Today let's have a closer look with a prac­ti­cal example. Say that we need to cre­ate a new class, a pri­or­ity queue. We write the spec­i­fi­ca­tion of the new class, nat­u­rally, as an inter­face to implement:?View CodeCSHARP1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 namespace AdvancedCodeContracts {/// ///   publicinterface ... (more)
category: Agile | clicked: 98 | 1 comment | | source: www.agilitylux.com
tags: C#, Code Contracts, Design by Contract
10
shouts

About Technical Debates (and ASP.NET Web Forms and ASP.NET MVC debates in particular) - ScottGu's Blog

published 53 days, 1 hour, 36 minutes ago posted by ali62bali62b 53 days, 7 hours, 15 minutes ago
Monday, January 25, 2010 12:11:40 PM GMT Monday, January 25, 2010 6:32:44 AM GMT
[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu] Technical debates are discussed endlessly within the blog-o-sphere/twitter-verse, and they range across every developer community. Each language, framework, tool, and platform inevitably has at least a few going on at any particular point in time. Below are a few observations I’ve made over the years about technical debates in general, as well as some comments about some of the... (more)
category: Architecture | clicked: 43 | comment | | source: weblogs.asp.net
tags: ASP.NET, ASP.NET MVC, ScottGu
9
shouts

A Tale of Two Principle Violations

published 53 days, 1 hour, 36 minutes ago posted by KodefuGuruKodefuGuru 53 days, 8 hours, 45 minutes ago
Monday, January 25, 2010 12:11:40 PM GMT Monday, January 25, 2010 5:02:32 AM GMT
When I decided to write the With statement in Fluent.NET, I never imagined that I would encounter a common bug and school myself in principles that I happen to present on. But that is what occurred, and I want to share it so others can avoid the same mistakes I made. With is a Fluent version of Add, only it returns the object or interface it is acting upon rather than void. This allows you to chain methods together in a fluid manner. Instead of calling strings.Add(“Hello”); strings.Add(“World”);, you ca... (more)
category: Agile | clicked: 38 | comment | | source: www.kodefuguru.com
tags: Fluent Interface, Fluent.NET, Liskov
5
shouts

The Angry .Net Developer: High Performance Data Access Layer Architecture Part 3

posted by ali62bali62b 54 days, 7 hours, 31 minutes ago
Sunday, January 24, 2010 6:16:33 AM GMT
This is the final post in a series that describes one design that I use for high performance data access.  In Part 1 we covered overall architecture and design of the PersonDb.  In Part 2 we covered the DALBase implementation.  If you haven’t read those posts I would recommend going back and looking them over before getting into today’s topic, the DTOParser classes.  We’re implementing the architecture below. So, at the beginning we decided that we’re using Data Transfer Objects (DTO) to move data b... (more)
category: Architecture | clicked: 13 | comment | | source: rlacovara.blogspot.com
tags: DAL
10
shouts

The Angry .Net Developer: Agile Ado.Net Persistence Layer : Part 2 Use DTOs (Data Transfer Objects)

published 53 days, 1 hour, 36 minutes ago posted by ali62bali62b 54 days, 7 hours, 26 minutes ago
Monday, January 25, 2010 12:11:40 PM GMT Sunday, January 24, 2010 6:21:43 AM GMT
What container are we going to use to pass data between the layers of our application?  The usual answers I hear are either DataTables/DataSets or full business objects.  I don’t like any of these options. DataSets and DataTables come with significant overhead and they don’t contain strongly typed data.  Business objects do contain strongly typed data, but they typically contain a lot of extra business logic that I don’t need, and they may even contain persistence logic.  I don’t want any of that.  I wan... (more)
category: Architecture | clicked: 36 | comment | | source: rlacovara.blogspot.com
tags: ADO.NET Data Services
12
shouts

The Angry .Net Developer: Agile Ado.Net Persistence Layer : Part 1 Design Overview

published 53 days, 1 hour, 36 minutes ago posted by ali62bali62b 54 days, 7 hours, 25 minutes ago
Monday, January 25, 2010 12:11:40 PM GMT Sunday, January 24, 2010 6:22:16 AM GMT
Last year I did a blog post series on how to design a High Performance DAL using Ado.Net.  Judging by the response I’ve gotten from that series, there must be a lot of developers out there who believe that even with the availability of LINQ, Entity Framework, and a host of other ORM technologies, Ado.Net is still your best option when designing a persistence layer.  BTW, I’m one of them. After that series I started digging into Entity Framework and LINQ, and I was impressed by how effortless those tech... (more)
category: Architecture | clicked: 80 | comment | | source: rlacovara.blogspot.com
tags: ADO.NET
11
shouts

Brad Wilson: Input Validation vs. Model Validation in ASP.NET MVC

published 53 days, 1 hour, 36 minutes ago posted by ali62bali62b 54 days, 7 hours, 3 minutes ago
Monday, January 25, 2010 12:11:40 PM GMT Sunday, January 24, 2010 6:44:34 AM GMT
After extensive discussion among the team, we've decided to make a last-minute change to ASP.NET MVC 2 in regards to way that validation is handled. The conversation was kick-started by my blog post about the Required attribute and what it does (and does not) mean. To understand what we did, let's start with where we were a couple days ago. (more)
category: ASP.NET | clicked: 92 | comment | | source: bradwilson.typepad.com
tags: ASP.NET MVC 2, Validation
4
shouts

Patterns in Practice - Internal Domain Specific Languages

posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 70 days, 57 minutes ago
Friday, January 08, 2010 12:50:35 PM GMT
Jeremy Miller explains how internal Domain Specific Languages can help you craft code that is easier to read and write. His bag of tricks to improve your programming includes extension methods, fluent interfaces, object extensions and use of the semantic model. (more)
category: Architecture | clicked: 4 | comment | | source: msdn.microsoft.com
tags: DSL, MSDN, MSDN Magazine, Patterns & Practices, Patterns and Practices
3
shouts

Code Cleanup - 9 Useful Tactics for Paying Back Technical Debt

posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 70 days, 53 minutes ago
Friday, January 08, 2010 12:54:21 PM GMT
Now that you’ve identified technical debt in your code base, let’s turn our attention to some specific tactics that will help you pay back that debt. (more)
category: Foundation | clicked: 5 | comment | | source: msdn.microsoft.com
tags: MSDN, MSDN Magazine
3
shouts

Sql Server Reporting services and forms authentication – Part2 - How to implement?

posted by PraveenPraveen 59 days, 21 hours, 19 minutes ago
Monday, January 18, 2010 4:28:40 PM GMT
Before continue this post, please read the post understanding the concept forms authentication in sql reports – Part1. The implementation of the process is so simple.Microsoft team already given a sample application which has the forms authentication enabled. They have written some code which has a security extension with login pages. To understand it well or to implement just do this. Go here and download the sql server samples from Codeplex. http://www.codeplex.com/SqlServerSamples/Release/ProjectRelea... (more)
category: SQL | clicked: 4 | comment | | source: praveenbattula.blogspot.com
tags: Forms Authentication, SQL Server Reporting Services, SSRS
13
shouts

Web testing with Selenium and xUnit.net

published 58 days, 4 hours, 6 minutes ago posted by http://webpoet.myopenid.com/http://webpoet.myopenid.com/ 60 days, 6 hours, 20 minutes ago
Wednesday, January 20, 2010 9:41:33 AM GMT Monday, January 18, 2010 7:27:55 AM GMT
In this post I describe how to use Selenium and xUnit.net to create a fully automated in-browser web test for testing the comment functionality on my blog. I provide a list of links to necessary components, such as Selenium, xUnit.net and Java and a step by step guide to creating the test. (more)
category: ASP.NET | clicked: 56 | comment | | source: joelabrahamsson.com
tags: Selenium, selenium rc, Testing, Web Testing, xunit, xUnit.net
10
shouts

Refactor Switch to Dictionary

published 55 days, 2 hours, 31 minutes ago posted by KodefuGuruKodefuGuru 57 days, 17 hours, 55 minutes ago
Saturday, January 23, 2010 11:16:12 AM GMT Wednesday, January 20, 2010 7:52:52 PM GMT
In my post on Z3, I created an extension method for proving an equation. This extension method used a switch statement to analyze a result and return a string. This is a bad practice: the mapping of one type to another is trapped in code. What if I wanted to move this mapping to a configuration file, a resource file, or a database? Even if I didn’t want to do that, I feel an imperative switch statement isn’t as readable as a declarative statement. Favor Declarative over Imperative. Below is the original ... (more)
category: Agile | clicked: 39 | comment | | source: www.kodefuguru.com
tags: Declarative, Refactor, Refactoring
13
shouts

Transact-SQL Delayed Execution

published 49 days, 3 hours, 12 minutes ago posted by BlackWaspBlackWasp 56 days, 15 hours, 1 minute ago
Friday, January 29, 2010 10:35:37 AM GMT Thursday, January 21, 2010 10:46:49 PM GMT
Transact-SQL includes the WAITFOR statement. This command allows the execution of a script or procedure to be blocked for a period of up to twenty-four hours. The process can be delayed until a specified time or for a number of hours, minutes and seconds. (more)
category: SQL | clicked: 61 | comment | | source: www.blackwasp.co.uk
tags: SQL, SQL Server
9
shouts

Implementing a jQuery Modal Window in ASP.NET - Misfit Geek

published 55 days, 2 hours, 31 minutes ago posted by jantujantu 56 days, 23 hours, 57 minutes ago
Saturday, January 23, 2010 11:16:12 AM GMT Thursday, January 21, 2010 1:50:29 PM GMT
I’ve recently had several questions about attempts to use the Ajax Control Toolkit’s Modal Dialog, or more accurately, to misuse it, as a window.It’s a “dialog” and therefore not well suited to being used for receiving data from the user.Controls like the Modal Dialog Extender Control are convenient when they do when we want them to do but when they don’t there is no reason not to “roll our own” functionality.In this case I’ve built a sample using jQuery to display a Semi-Modal Window to allow the ... (more)
category: ASP.NET | clicked: 82 | comment | | source: misfitgeek.com
tags: ASP .NET, jQuery, msft
12
shouts

Constructor over-injection anti-pattern : Jeffrey Palermo (.com)

published 55 days, 2 hours, 31 minutes ago posted by ali62bali62b 57 days, 21 hours, 22 minutes ago
Saturday, January 23, 2010 11:16:12 AM GMT Wednesday, January 20, 2010 4:25:12 PM GMT
I’m interested in structure.  We hear lots of talk about convention over configuration.  I’m all for structure over convention (over configuration).  This post is about laying out some code that is an anti-pattern.  It uses 100% constructor injection.  This code makes it easy for a container to bootstrap the construction of the objects, but let’s take a look at why this specific scenario is an anti-pattern and what design would be better.Example I have an order processing application that gets 10 orders... (more)
category: Architecture | clicked: 63 | comment | | source: jeffreypalermo.com
10
shouts

Deran Schilling, Learner: Diving a Little Deeper into AutoMapper Part 1

published 55 days, 2 hours, 31 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 58 days, 6 hours, 1 minute ago
Saturday, January 23, 2010 11:16:12 AM GMT Wednesday, January 20, 2010 7:46:54 AM GMT
Everytime I use AutoMapper, I think this is such an awesome tool! I think it’s hilarious to go back and read my first post in April where it states, “Now automapper is one thing I'm not sure I'll benefit from yet.” and I go on to say, “I'm pretty confident that I will eventually slap myself in the face for posting this just because I'm sure it is an awesome tool that I will one day see as VERY cool, but right now...I don't”. Well, I’m slapping myself. (more)
category: ASP.NET | clicked: 58 | comment | | source: derans.blogspot.com
tags: AutoMapper, C#
4
shouts

6 Advanced Jquery Tutorials To Enhance Your Skill

posted by henriwijayahenriwijaya 72 days, 18 hours, 35 minutes ago
Tuesday, January 05, 2010 7:12:15 PM GMT
I was going to do a bit of a series, releasing a jQuery tip every day or week or something, but I think I’m a little too lazy to commit to something like that. So I’ve compiled them all into one post! I’ll probably add to the list at later dates so make sure to bookmark it! Things you may not know about jQuery Peeling Away the jQuery Wrapper and Finding an Array If you haven’t poked around under the hood of jQuery, you might not be aware that when you pass the jQuery function an expression or... (more)
category: Web Service | clicked: 7 | comment | | source: psdcollector.blogspot.com
tags: jQuery
Previous 1 2 3 4 5 6 7 8 9 10 ... 31 32 Next