Benoit Patra's Picture

Benoît Patra's blog

Discussions on software engineering and machine learning

  • Home
  • Archives
  • About
  • Academic (past)

Posts with tag 'C#'

A collection of 11 posts

June 8, 2021

KMailPrint, the app celebrates a million of generated PDFs

In 2012 while working at eFront, I was in charge of the development of some Microsoft Office addin projects. At that time, we leveraged the COM/VSTO technologies to craft these extensions. The next year, I heard about this new generation...

.NET azure azure static web apps C# react javascript office-addins asp.net

June 25, 2016

My TransientFaultHandling utility classes for DocumentDB

Keluro uses extensively DocumentDB for data persistence. However, it’s extensive scaling capabilities come with a price. Indeed with your queries or your commands you may exceed the amout of request unit you are granted. In that case you will received...

.NET C# DocumentDB consistency nosql CosmosDB BigData

December 5, 2015

A rigorous management of Entity Framework migrations adapted to multiple app deployments

This post follows a question that I asked on stackoverflow several months ago. I did not receive a satisfactory answer at that time. I will expose the solution that we found at Keluro for this problem.

sql server visual studio entity framework C# migrations asp.net database management source control

June 30, 2015

My WPF/MVVM "must have" part 3/3 - On view model unit tests organization

One of the great advantage of the MVVM pattern is that it allows you to test the Graphic User Interface logic of the application through the view models. The latter ones are in charge of ‘presenting’ the data to your...

C# MOQ MVVM TDD unit tests UnitTest WPF

April 7, 2015

My WPF/MVVM "must have" part 2/ 3 - No Resharper binding error in XAML code

This second post of the “WPF must have” series deals with Resharper and its ability to find binding errors in XAML.

.NET C# MVVM resharper XAML

January 18, 2015

My WPF/MVVM "must have" part 1/ 3 - working with design time data

This is the first post of a series in three parts where I will discuss what are the “must have” of any of my WPF/MVVM projects. This one is about dealing with design time data with the framework MVVM light. The sample...

C# Design MVVM WPF XAML

November 30, 2014

String localization for XAML and C# using dynamically implemented interface

In this post I will describe a solution for easy localized strings management in XAML or C#. Precisely, we will use the usual recommended material for manipulating localized strings in .NET: resx files and the ResourceManager class. However, for XAML...

C# Localization MSIL resharper Unit Testing WPF XAML

October 12, 2014

A generic version of ICollectionView used in a MVVM searchable list

In this post we will describe how to create a searchable list with WPF following MVVM principles. To this aim we will use a WPF ListView to display the searched items and a TextBox to enter the text used for the search. Most...

.NET C# MVVM resharper Unit Testing WPF XAML

July 8, 2014

Executing PSake build script with Teamcity

For my build tasks I have been using MSBuild for a while. I found out that it is fine to use it for standard build tasks such as invoking msbuild.exe itself. However, when it comes to really custom actions it...

build C# msbuild powershell psake software versioning teamcity

March 15, 2014

Unit Testing Drag and Drop logic with MVVM pattern in WPF

I recently had a discussion with a friend about the Model-View-ViewModel pattern (MVVM) for UI apps and the fact that it allows unit testing where you would not have thought it possible in the first place, for example, logic involved...

C# GongWPF mock framework MOQ MSTest MVVM Unit Testing WPF XAML

October 27, 2013

An unexpected quadratic cost in Excel Interop

My current task at work is the development of an excel addin. This addin is developed in C# .NET and is based on the Excel Interop assemblies, we also use Excel DNA for the packaging and the User Defined functions. While developing...

Add-Ins algorithm C# Excel interop excel Microsoft Excel BigData

Benoît Patra's blog © 2024.
Powered by Jekyll.

Back to top