News in the Category:
Refactor
Total posts: 401 | Sort by Views | Sort by Hits
Laurent Duveau, October 10, 2016
Views: 1 | Hits
Visual Studio Code has been my favorite tool to build Angular apps since 1 year ago (October 2015).It comes with lots of good stuff from the big Visual Studio rich code editor, like code navigation, I...
The Code Project Latest Articles, May 22, 2016
Views: 1 | Hits
This article will refactor the RBAC framework to authenticate users using Forms based authentication via ASP.NET Identity's framework features whilst preserving role based permissions introduced in Pa...
JohnPapa.net, May 13, 2016
Views: 1 | Hits
Have you tried ngFor in Angular 2? I bet you have. If you try the Angular 2 release candidate or later, you may have noticed a pervasive change that affects nearly every early adopter of Angular 2. Th...
Eric Gunnersons C# Compendium, March 27, 2016
Views: 1 | Hits
All changes from this post are in the Improvements Phase 2 repo… Commits that start with “R:” are done through Reshaper. I’ll cluster them together this time. R: Start of Phase 2 Last time, I created ...
Eric Gunnersons C# Compendium, March 15, 2016
Views: 1 | Hits
Welcome to the first post on improving the yucky code. I have a few points I’d like to cover briefly, and then we’ll dive into the code. First off, I’m going to end up refactoring to a specific endpoi...
Eric Gunnersons C# Compendium, February 11, 2016
Views: 1 | Hits
Through an above-average display of ineptness, I managed to overwrite my first version of this post with a response I wrote to the comments. Since I'm too lazy to try to reconstruct it, I'm going to g...
Simple Talk, January 27, 2016
Views: 1 | Hits
When maintaining or refactoring an unfamiliar database, you'll need a fast way to uncover all sorts of facts about the database, its tables, columns keys and indexes. SQL Server's plethora of system c...
Eric Gunnersons C# Compendium, January 26, 2016
Views: 1 | Hits
When I started doing TDD, I thought it was pretty clear what to do with external dependencies. If your code writes to a file system for example you just write a file system layer (what would typical...
Eric Gunnersons C# Compendium, December 18, 2015
Views: 1 | Hits
I got some great comments on the post, and I answered a few in comments but one started to get very long-winded so I decided to convert my response into a post. Integration tests before refactoring Th...
Eric Gunnersons C# Compendium, December 18, 2015
Views: 1 | Hits
I'm going to talk a bit about design in this post. More specifically, I'm going to talk about sensitivity to design issues. But, before that, I'd like to start with an exercise. Grab some paper and ...
Eric Gunnersons C# Compendium, December 10, 2015
Views: 1 | Hits
Note: I am focusing only on the design impact of TDD. To better understand the overall impact, see this series of posts by Jay Bazuzi. My first experience with TDD was back in 2002 or so, and it was ...
Eric Gunnersons C# Compendium, December 4, 2015
Views: 1 | Hits
I've been paying attention to TDD for the past few years doing it myself, watching others doing it, reading about it, etc. - and I've been seeing a lot of variation in the level of success people are...
Eric Gunnersons C# Compendium, October 12, 2015
Views: 1 | Hits
Resharper is a great tool, but many times that operation that I want to perform isnt possible with a single refactoring; you need multiple refactorings to get the result that you want. I did a search ...
Eric Gunnersons C# Compendium, October 12, 2015
Views: 1 | Hits
Resharper is a great tool, but many times that operation that I want to perform isnt possible with a single refactoring; you need multiple refactorings to get the result that you want. I did a search ...
JohnPapa.net, May 23, 2015
Views: 1 | Hits
Mac OSX, Linux, or Windows … pick your OS! I recently co-presented the launch of Visual Studio Code (aka Code) at //Build with Erich Gamma and Chris Diaz, and on May 26th, 2015 at 10 PT you can ...
JohnPapa.net, May 23, 2015
Views: 1 | Hits
Write some code, see it run, refactor the code, see it run, refactor … you get the idea. This is what I do all day long. Notice I didn’t say “write code, refactor, stop server, start...
JohnPapa.net, April 29, 2015
Views: 1 | Hits
Visual Studio Code has some awesome refactoring features. Here are some of my favorites. Visual Studio Code Series Follow this series to learn more about what you can do with Visual Studio Code! Intro...
Simple Talk, March 26, 2015
Views: 1 | Hits
Refactoring a database object can often cause unexpected behavior in the code that accesses that object. In this article, adapted from his excellent book, Defensive Database Programming with SQL Serve...
peterkellner.net, March 9, 2015
Views: 1 | Hits
A pattern that I do quite often is to first right out code that actually works, then when I see a pattern repeat itself, I like to refactor that code to try and avoid the repetitive code. Reasons inc...
Simple Talk, February 27, 2015
Views: 1 | Hits
Where applications are evolved by gradually molding them to a growing understanding of the business domain, this presents great challenges to database development. If databases are designed too loosel...
The Code Project Latest Articles, February 12, 2015
Views: 1 | Hits
Refactoring code - to a deeper extent than what seems pragmatic at first - is a great excercise to learn and shape coding style. In this post I'm gonna take a look at some code taken from Google Guice...
More Whidbey stuff, December 16, 2014
Views: 1 | Hits
Captain Obvious has something to tell us:
Asynchronous methods can call synchronous ones, but synchronous methods can’t call asynchronous methods, or they must become asynchronous.
Duh.
What...
Eric Gunnersons C# Compendium, December 2, 2014
Views: 1 | Hits
You will probably want to read my conceptual post on this topic before this one. The kata that Im using can be found at github here. My walkthrough is in the EricGuSolution branch, and I checked in w...
More Whidbey stuff, November 24, 2014
Views: 1 | Hits
Most code samples that youll find, both on the Grunt web site, and on the readme.md for Grunt plug-ins, will tell you to set the configuration using the grunt.initConfig method:grunt.initConfig({ u...
Rico Marianis Performance Tidbits, November 20, 2014
Views: 1 | Hits
There are lots of pieces of code that are embedded in places that make it very hard to test. Sometimes these bits are essential to the correct operation of your program and could have complex st...
Run Tings Proper, November 18, 2014
Views: 1 | Hits
While following a tutorial I got the error that GetUserId() didn't exist. Right clicking to refactor the reference in didnt come up with any suggestions. Luckily it wasnt too tricky to solve Problem ...
Run Tings Proper, November 18, 2014
Views: 1 | Hits
While following a tutorial I got the error that GetUserId() didn't exist. Right clicking to refactor the reference in didnt come up with any suggestions. Luckily it wasnt too tricky to solve Problem ...
Simple Talk, October 10, 2014
Views: 1 | Hits
A recent, short article on O’Reilly.com, Before You Refactor suggests that if you think you need to rewrite code, you must proceed with caution, do cost-benefit analysis and so on. If you’re still con...
Eric Gunnersons C# Compendium, October 4, 2014
Views: 1 | Hits
Ive been spending some time playing with Cockburns hexagonal architecture (aka ports and adapters), and the extension I learned from Arlo, simulators. Ive found it to be quite useful. I was wri...
Simple Talk, August 26, 2014
Views: 1 | Hits
Responsive Web Design is devised to help you render your website or web-based application appropriately on different sizes and aspect ratios of browser windows. Adopting it as a solution comes at a co...
Simple Talk, August 1, 2014
Views: 1 | Hits
Test-Driven Development (TDD) involves the repetition of a very short development cycle that begins with an initially-failing test that defines the required functionality, and ends with producing the ...
Simple Talk, July 31, 2014
Views: 1 | Hits
Test-Driven Development (TDD) relies on the repetition of a very short development cycle Starting from an initially failing automatedtest that defines the functionality that is required, and then pro...
Eric Gunnersons C# Compendium, July 10, 2014
Views: 1 | Hits
The following is based on a reply to an internal post that I almost wrote this morning, before I decided that it might be of more general interest. It will take a little time to get to my point so per...
C# Frequently Asked Questions, June 24, 2014
Views: 1 | Hits
This post is brought to you by Beth Massi, a Program Manager on the Visual Studio team. If youve been reading this blog Im sure you know by now that the .NET Compiler Platform (code named "Rosl...
Simple Talk, June 6, 2014
Views: 1 | Hits
The presenter suddenly broke off. He was midway through his section on how to apply to the relational database the Continuous Delivery techniques that allowed for rapid-fire rounds of development and ...
The Code Project Latest Articles, May 8, 2014
Views: 1 | Hits
In this article, Im going to add the Telerik UI for ASP.NET to my previous Faceted Search with dtSearch article and do some refactoring to make my search page look better and easier to use....
K. Scott Allen, May 8, 2014
Views: 1 | Hits
I’ve been doing some work with Windows Azure Media services and making progress, although it takes some time and experimentation to work through the vocabulary of the API, documentation, and cod...
C# Frequently Asked Questions, April 17, 2014
Views: 1 | Hits
Hello everyone! I hope you had a chance to catch the recent announcements around the .NET Compiler Platform (Roslyn). If not, I encourage you to view Anderss presentation at Build 2014 (skip to 1:10:2...
The Visual Basic Team, April 17, 2014
Views: 1 | Hits
Hello everyone! I hope you had a chance to catch the recent announcements around the .NET Compiler Platform (Roslyn). If not, I encourage you to view Anderss presentation at Build 2014 (skip to 1:10:2...
MSDN: Coding4Fun, April 14, 2014
Views: 1 | Hits
I think today's project might be the ultimate Visual Studio extension. Welcome to the future....NET Compiler Platform ("Roslyn") (https://roslyn.codeplex.com/)Traditionally, compilers are black boxe...
JohnPapa.net, March 25, 2014
Views: 1 | Hits
The world of JavaScript changes at a fast pace and in the time since my Angular and Breeze Part 1 and Angular and Breeze Part 2 Pluralsight courses have been released, both libraries have had some rev...
JohnPapa.net, March 25, 2014
Views: 1 | Hits
The world of JavaScript changes at a fast pace and in the time since my Angular and Breeze Part 1 and Angular and Breeze Part 2 Pluralsight courses have been released, both libraries have had some rev...
AspNetResources.com articles, news and updates, January 24, 2014
Views: 1 | Hits
An exercise in refactoring a real-world WebForm to a more maintainable and testable one.Suppose we have a Contact Us page. Old school, with all the logic in code-behind. I borrowed it from an old proj...
Simple Talk, November 19, 2013
Views: 1 | Hits
Alex Kuznetsov describes the agile principles, techniques and tools that allowed his development team to make frequent database refactoring a reality, without disrupting users. He explains how this al...
the telerik blogs, November 11, 2013
Views: 1 | Hits
In the previous post we started refactoring our code to make sure we were complying with the SRP. Using our tests we are able to optimize our code for readability and maintainability. Well continue in...
the telerik blogs, November 8, 2013
Views: 1 | Hits
In the previous post we started refactoring our code to make sure we were complying with the SRP. Using our tests we are able to optimize our code for readability and maintainability. Well continue in...
the telerik blogs, November 6, 2013
Views: 1 | Hits
If youve been following this series you are not doubt familiar with the TDD Store example that weve been using to demonstrate the concepts of TDD. In this post well take a break from creating new test...
Frans Boumas blog, October 25, 2013
Views: 1 | Hits
New features / changes in this release are: Designer: Entity Framework v6 support .NET 4.5.1 support Oracle 12c support in Oracle drivers. Oracle Managed ODP.NET provider support ...
Frans Boumas blog, October 25, 2013
Views: 1 | Hits
New features / changes in this release are: Designer: Entity Framework v6 support .NET 4.5.1 support Oracle 12c support in Oracle drivers. Oracle Managed ODP.NET provider support Lot...
ISerializable, October 14, 2013
Views: 1 | Hits
Last week I presented a keynote and a talk at the London Software Architect conference. Here is the video I recorded from my laptop during my talk about refactoring. I hope you find it useful.
...