I am working at a robotics startup on a path coverage team and after submitting a pull request, my code gets reviewed.
My teammate, who has been on the team for more than a year, has made some comments to my code that suggest I do a lot more work than I believe to be necessary. No, I am not a lazy developer. I love elegant code that has good comments, variable names, indentation and handles cases properly. However, he has a different type of organization in mind that I don’t agree with.
What do I do?
Continue reading “I am a junior developer. How do I handle disagreement in a code review regarding an unlikely edge case?”
Using a SQL Database in the cloud can be useful. You get a completely managed database without any prior configuration. It scales well and can be used from within your cloud or onpremise applications. Continue reading “Handling exceptions by using retries (SQL Database)”
EF 4.1 introduces two new features
- The DbContext API is a simplified abstraction over ObjectContext and a number of other types
- Code First is a new development pattern that provides an alternative to the Database First and Model First patterns
Code First is focused around defining your model using .NET classes. These classes can then be mapped to an existing database or be used to generate a database schema. Additional configuration can be supplied using Data Annotations or via a fluent API. Continue reading “How to create a Code-First EF model”
Estimate of Number of Exam Questions per Module
Module Qs 1:Overview of Service and Cloud Technologies 1
2: Querying and Manipulating Data Using Entity Framework 4
3: Creating and Consuming ASP.NET Web API Services 3
4: Extending and Securing ASP.NET Web API Services 3
5: Creating WCF Services 7
6: Hosting Services 3
7: Windows Azure Service Bus 1
8: Deploying Services 4
9: Windows Azure Storage 2
10: Monitoring and Diagnostics 1
12: Scaling Services 1
A: Designing and Extending WCF Services 4
B: Implementing Security in WCF Services 2
C: “Classic” XML and ADO.NET 4
D: LINQ 2
Total questions in exam 42 Continue reading “Microsoft Exam 70-487 Study Notes”
A SOAP web service is a HTTP-based Web service that is delivered over TCP/IP. The operation, connectivity, and performance of SOAP web services can be impacted by the proxy server and firewall environment. Client applications access the service through this environment.
The following errors are related to the proxy server and firewall issues. This article describes potential solutions for these errors. Continue reading “Common Proxy Server and Firewall Issues with SOAP”
This article describes a method to automatically copy data from an object to another object with similar structures. This is similar to a
deep_copy(source, destination) but with the possibility of returning a type that is different from the source.
I needed a way to apply/convert values from one object to another so I created a method to automatically drill down the source object graph and copy the properties from one object to another. There are many ways to do this, but I designed a method that is generic enough and also leaves place for customization/fine tuning/hacking. Continue reading “Method to Copy Data Between Objects of Different Types”
If you have had a play with the awesome Code generation tool that you can build yourself:
Walkthrough: Generating Code by using Text Templates
Then you might have had a small issue with the above error:
A template containing a class feature must end with a class feature
The error is caused by an invisible space after the last #>
It is also important to bear in mind, that invisible spaces may cause other hard-to-understand compile-errors.
If you want to see a bigger picture, just look at following links:
Now that you are aware how harmfull invisible spaces can be when dealing with Text Templates, my advice is: Make them visible. If you don’t know how to do it, see Jeef Widmer’s blog