Contents tagged with C#
-
Reviews: RavenDB High Performance
My book RavenDB High Performance was recently published by Packt Publishing. The team at Packt was great to work with and I had support from a strong group of reviewers: Ayende Rahien (of RavenDB fame), Paul Stovell (founder of Octopus Deploy), and Mohammed Ibrahim.
-
Moving from an entity model to a RavenDB document model
I have an application that I'm moving from a SQL Server database to a RavenDB Document Database. The first order of business is updating the data model. Document data modeling and relational data modeling are totally different.
-
A technique for computed columns in LINQ-based EF queries
Have you seen this message before?
-
CQRS at Jax Code Camp 2012
Continuing my CQRS world tour...I gave my CQRS presentation at the Jax Code Camp 2012 this past Saturday. It was a great crowd with lots of representation from the wicked smart engineers at Feature[23] and others from the Jacksonville developer community.
-
Hosting Windows Services in IIS Presentation at JAXDUG
Thanks to everyone who came out for my presentation at the Jacksonville Developer User Group tonight.
-
Web-based Farm Monitor for your Web Farm Framework Deployment
In my recent posts on scalability, I've mentioned the Web Farm Framework (WFF) as a solution for managing a farm of IIS servers. It adds a nice management Server Farm management UI into the IIS Manager.
-
Using the .NET Chart API to add sparklines to your MVC site
In my last post, I introduced sparklines and showed you how to generate them using the Google Chart API. Using an external API may not be appropriate for all applications, so here is a way to generate the sparkline using the .NET Chart API.
-
Adding sparklines to your MVC site using the Google Chart API
Sparklines present trends and variations associated with some measurement in a very compact form. The term & concept was proposed by Ed Tufte. This form of information graphic has become very popular for dashboards. In this post, I'll show how add sparklines to your site using a custom HTML Helper method to generate code accessing the Google Chart API. In my next post, I'll show you how to add sparklines using the .NET charting API.
-
Retrieving recent tweets using LINQ
There are a few different APIs for accessing Twitter from .NET. In this example, I'll use linq2twitter. Other APIs can be found on Twitter's development site.
-
Using extension methods to decrease the surface area of a C# interface
An interface defines a contract to be implemented by one or more classes. One of the keys to a well-designed interface is defining a very specific range of functionality. The profile of the interface should be limited to a single purpose & should have the minimum methods required to implement this functionality. Keeping the interface tight will keep those implementing the interface from getting lazy & not implementing it properly. I've seen too many overly broad interfaces that aren't fully implemented by developers. Instead, they just throw a NotImplementedException for the method they didn't implement.