|
|
-
|
|
What is Refactoring? Refactoring of code helps to restructure the code to enhance performance, scalability, reusability and code readability. There could be chances that refactoring can result in breaking of application flow when you do refactoring of big chunks of code. It is better to do refactor......
|
|
-
|
|
RestCake is a C# library for creating REST services without WCF. WCF has many pain points: Date formatting is horrible (DataContractJsonSerializer) Can't serialize anonymous types Too much configuration Can't handle cycles in object graphs No global error handling UriTemplat......
|
|
-
|
|
Lazy loading is a pattern which delay initialization of object. C# 4.0 introduced new class which defers the creation of expensive objects when not in use. In this article I’ll explain the use of Lazy class. Suppose we have Customer class and one customer can have many Accounts, if you want show Acc......
|
|
-
|
|
Debugger Canvas is a new user experience for the debugger in Visual Studio Ultimate. It pulls together the code you’re exploring onto a single pan-and-zoom display. As you hit breakpoints or step into code, Debugger Canvas shows just the methods that you’re debugging, with call lines and local varia......
|
|
-
|
|
Microsoft introduced “var” keyword in C# 3.0. The purpose of using this keyword is when you don’t know type of variable. The technical term for var is "implicitly typed local variable declaration". The variable itself is still statically typed (the type is determined when the code is compi......
|
|
-
|
|
What is Enterprise Architecture? Enterprise Architecture is blueprint which defines structure, operations, organization behaviors, business processes, roles, software applications and computer systems. It describes the composition of enterprise components and their relationships. The intent......
|
|
-
|
|
It is list of widely used frameworks. Single Goaled Framework (Verticals) Dependency Injection: Object Builder, Unity, Castle, Windsor Logging: Log4Net, NLog, Logging Block from Microsoft Enterprise Library Exception Handling: Exception Block from Microsoft Enterprise Library Portal CMS: U......
|
|
-
|
|
Extensions or Add Ins save application development time and make smart code. Visual Studio has vast list of these extension available. I am giving brief about some very useful and powerful extension here, but before this you need to know how to install these extensions. How to Install Extensions ......
|
|
-
|
|
Exceptions plays very important role in any application. You are expected to throw and catch correct exceptions. In case of custom message you can throw custom Exceptions. I am outlining some important points which might help in Exception handling in your application. Fewer Exceptions throws and ca......
|
|
-
|
|
The best types in object oriented systems are ones that have a single responsibility. But as systems grow, other concerns tend to creep in. System monitoring, such as logging, event counters, parameter validation, and exception handling are just some examples of areas where this is common. If we imp......
|
|