Obishawn

Stories kicked by Obishawn

Practical .NET Unit Testing – Free paper released(ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years ago

A free unit testing paper that covers why you should write unit tests, the mechanics of unit testing, common testing strategies, designing for testability, and advanced testing techniques. It's an ongoing project, but it's complete enough to hopefully start getting early feedback and suggestions! read more...

4 comments |category: |Views: 394

tags: another

"int" inherits from object? An investigation into how & why.(ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years, 1 month ago

Value types like Int32 ultimately derive from "object". If that's the case, why do they need to be boxed? Whey do they not have the same performance overhead? This post investigates these questions and more. read more...

add a comment |category: |Views: 11

tags: another

Maintaining Consistent Line Lengths(ytechie.com)

submitted by ObishawnObishawn(555) 3 years, 1 month ago

A quick Visual Studio tip on maintaining a consistent code line length. read more...

add a comment |category: |Views: 20

tags: another

Content Stealing Jerks(kevinwilliampang.com)

submitted by kpanghmckpanghmc(2055) 3 years, 1 month ago

I've grown somewhat accustomed to seeing my articles regurgitated on some random blogger's site and passed off as their own. Usually I just send content stealing jerk (CSJ for future reference) an e-mail asking that they provide some sort of link back to my original article and leave it at that. Sometimes they comply, oftentimes they don't. In the end, life goes on. After all, it's not like I'm going to press charges over it. read more...

add a comment |category: |Views: 690

tags: another

Slick inline trace logging in ASP.NET using log4net(ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years, 2 months ago

Easily configure log4net and ASP.NET to display inline tracing information on your pages for debugging and performance monitoring. read more...

add a comment |category: |Views: 36

tags: another

Azure – Performance, IoC, and Instances(ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years, 3 months ago

My experience so far working with Azure. Some performance testing, IoC container incompatibilities, and frustration with instances. read more...

add a comment |category: |Views: 458

tags: another

WebForms or MVC? What about the third option?(blog.madskristensen.dk)

submitted by drugarcedrugarce(610) 3 years, 3 months ago

I’ve read a lot of posts and articles about why and when you should choose WebForms or the MVC framework to build your ASP.NET websites. They are all pretty good, but for some reason they forget or ignore the obvious third option - standard ASP.NET without the WebForm. read more...

6 comments |category: |Views: 745

tags: another

Using C# "Yield" for Readability and Performance(ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years, 3 months ago

I must have read about “yield” a dozen times. Only recently have I began to understand what it does, and the real power that comes along with it. I’m going to show you some examples of where it can make your code more readable, and potentially more efficient. read more...

add a comment |category: |Views: 818

tags: another

Extension Methods (ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years, 4 months ago

The single responsibility principle (SRP) is a strategy for structuring our code to make it more maintainable and testable. In this post, I’m going to discuss how we can use extension methods to make our code easier to read and satisfy the idea behind SRP. read more...

1 comment |category: |Views: 256

tags: another

Don’t use Delete Links because they create Security Holes(stephenwalther.com)

submitted by MarwanMarwan(850) 3 years, 4 months ago

Reasons why you shouldn't use a Delete link in your web application read more...

3 comments |category: |Views: 640

tags: another

Entity framework designer "entityset" naming bug(ytechie.com)

submitted by ObishawnObishawn(555) 3 years, 4 months ago

SuperJason describes what appears to be a bug in the Entity Framework designer around naming of entity sets so that you won't be caught off-guard by it. read more...

add a comment |category: |Views: 10

tags: another

Don’t lose your code - 3 methods that can help(ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years, 4 months ago

Inevitably, you’ll lose power to your computer, have a hard drive crash, have lightening strike, accidentally delete code that hasn’t been checked in, or encounter some other crazy scenario that I can’t even imagine. What is your plan? Read on if you want some solutions that may just save your code. read more...

add a comment |category: |Views: 13

tags: another

Generic Method Overloading Selection Pitfall(ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years, 4 months ago

Recently I ran into a very unexpected behavior when working with an overloaded generic method. Basically, the selection process for overloaded versions of generic methods is different than their non-generic counterparts. Please be aware of this issue! read more...

add a comment |category: |Views: 255

tags: another

Advantages of a 3rd party diff/compare tool(ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years, 5 months ago

I recently spent nearly an hour trying to figure out why all of my unit tests stopped working in a particular class. It turns out that I had accidentally deleted a single character in one of my strings, but the built in diff tool that comes with Team Foundation Server is very simplistic. Learn how and why you can replace your stock compare tool with something a little more powerful. read more...

add a comment |category: |Views: 6

tags: another

How I’ve put my wife into SVN(sharpregion.com)

submitted by AdrianAisembergAdrianAisemberg(2004) 3 years, 5 months ago

SVN and TortoiseSVN are really great tools. It is a shame that these tools are used only by developers. I believe that every home should use SVN to keep track of it’s files. The problem is that these tools are planned for developers. Using the file-system in windows is not a trivial task for everyone. In fact, sometimes people tend to be afraid of it. Not only using the file-system, but also using some client application that does not even have a window? And where do I get an SVN server anyway?!? Keep reading. you might find it useful. read more...

2 comments |category: |Views: 555

tags: another

Continuous Integration Display Wall(weblogs.asp.net)

submitted by jdschwarjdschwar(365) 3 years, 6 months ago

Awesome 4 monitor display wall for visualizing a CruiseControl.NET build process. read more...

add a comment |category: |Views: 745

tags: another