Posts tagged with ".NET" (19 posts)

Debugging Dapr applications with Rider or Visual Studio: A better way

Dapr is an impressive set of APIs for building distributed applications with any language and platform. It provides a set of building blocks that you can use to build microservices. Dapr is based on sidecar architecture. Meaning that you need to run a Dapr sidecar for each of your applications. How do you debug your Dapr apps effectively? If you have been using PowerShell scripts to run and attach your debugger, you know how tedious and error-prone it can be. Ready to see how to use Rider or Visual Studio to debug your Dapr apps with ease and confidence?

Continue reading

Refactoring huge C# code base in minutes

Feb 20, 2023

With my team, we like to keep our C# code base updated. So, recently we went to .NET 7 and C# 11. At the same time, we were still adopting some of the new capabilities of .NET 6 and C# 10. Our code base is large, so it takes some time. One of the new features that we planned to use was the ArgumentNullException.ThrowIfNull method, which throws an exception if an argument is null. In this post, I will show you how I effortlessly did that refactoring by letting the machine work and not the human 😁 (me). In the past, I used the same approach to migrate lots of code that used Assert.True() to Assert.That(, Is.True) and for some other even more complex cases. We will use ReSharper and Rider for that.

Continue reading

Write Logseq plugins in WebAssembly using .NET and C#

Oct 12, 2022

I am using a tool called logseq to manage my notes. It is a fantastic tool, and I would like to be able to extend it. I am not an expert web developer, but I am a .NET developer. I would like to be able to write plugins for logseq using .NET and C#. I have found a way to do it using WebAssembly. In this post, I am going to show you how to do it.

Continue reading

Posts tagged with ".NET Aspire" (2 posts)

.NET Aspire and Dev Container

.NET Aspire 9.1 was just released on February 25th, 2025. It comes with great new dashboard features, and there is more! One feature I am particularly interested in is the ability to use Dev Containers.

In this post, I will show you how to use the new .NET Aspire 9.1 with a Dev Container and JetBrains Rider. You could also use Visual Studio Code.

Continue reading

Posts tagged with ".NET Core" (6 posts)

WPF and IOC on .NET Core 3.0

Apr 18, 2019

At work, we are planning to migrate our WPF application from .NET Framework 4.7 to .NET Core 3.0. The main reason for doing so is that it was always a big pain to organize the updates of the .NET Framework on our customer machines. So being able to bundle .NET Core with our application is a big plus for us. Then, for sure, we are looking for the performance improvements brought by .NET Core and finally the new capabilities brought by the fast pace of innovation of .NET Core.

Continue reading

.NET Core Community online Hackathon

Jun 6, 2018

On Saturday, June 2, 2018, I had the chance to participate in the .NET Core Community online Hackathon.

As I got up really early this Saturday morning, I took the opportunity to participate. My goal was to see something new and learn a bit about how .NET Core is built and gain some new experience.

Continue reading

Posts tagged with ".NET Development" (39 posts)

Posts tagged with ".NET Framework 2.0" (11 posts)

Yeah!!! :-) Publications are working.

Today is a big day with a really cool milestone for Tech Head Brothers website.

First I am able to publish/update content on the site with my new publishing tool; a word template using vsto 2005 and secured web services. This piece of code let me publish content with pictures, colorized source code, zip files for sample applictions and this directly out of Word 2003. Really cool!!!

Continue reading

Posts tagged with ".NET Framework 3.0" (2 posts)

Legacy code integration using Windows Communication Foundation (WCF) and Java Axis in a Service Oriented Architecture

What are the options when you need to integrate Windows legacy code in a heterogeneous Service Oriented Architecture (SOA)?

The proposed problem was to expose a set of Windows C++ DLLs to a global SOA platform written in Java. Those DLLs would be then exposed as backend computation services.

Continue reading

Posts tagged with ".NET Framework 3.5" (9 posts)

Posts tagged with ".NET Framework 4" (1 posts)

Posts tagged with ".NET SDK" (4 posts)

Publish .NET Docker images using .NET SDK and GitHub Actions

My previous blog posts talks about built-in container support in the .NET SDK. It allows you to create and publish Docker images for your .NET applications without writing any Dockerfile. I also showed how to use the Chiseled Ubuntu base images optimized for .NET and containers. We saw how to publish your Docker images using the .NET SDK to GitHub Packages / Container Registry.

Today, I want to show you how to publish your Docker images using the .NET SDK to GitHub Container Registry using GitHub Actions. It brings us to the next level of automation.

Continue reading

Simplify your .NET Docker image publishing workflow with the .NET SDK

Oct 24, 2023

In my previous blog posts, I wrote about the built-in container support in the .NET 7 SDK that allows you to create and publish Docker images for your .NET applications without writing any Dockerfile. I also showed how to use the Chiseled Ubuntu base images optimized for .NET and containers.

For this blog post, I will explain how to publish your Docker images using the .NET SDK to GitHub Packages / Container Registry. It is possible to publish to different container registries, such as Docker Hub, GitHub, Azure Container Registry, or your own private registry. I will show you how to publish to GitHub Packages / Container Registry, but the process is similar for other registries.

This blog post will help you learn how to leverage the .NET SDK's built-in container support to effortlessly distribute and run your .NET applications in the cloud using Docker. Stay tuned!

Continue reading

.NET 7 SDK built-in container improvements

Mar 13, 2023

Are you looking for a fast and easy way to create and run .NET applications using Docker containers without writing any Dockerfile? If so, you will be glad to know that Microsoft has introduced a new feature of the .NET SDK 7.0.200 that makes it possible to create and publish OCI container images directly from your project file. We have seen how ".NET 7 SDK built-in container support and Ubuntu Chiseled" can be used together. It lets us create small and secure containers for our .NET applications easily. We went from a first docker image of 216MB down to 48.3 MB. That is more than a 77% reduction in size. .NET SDK 7.0.200 bring some new capabilities. We will explore some in this post.

Continue reading

Posts tagged with "AI" (10 posts)

SSE-Powered MCP Server with C# and .NET in 15.7MB executable

Now that we've explored how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications, how to write your own Standard Input/Output (STDIO) MCP server in C# using the modelcontextprotocol / csharp-sdk, and how we can dockerize your .NET C# MCP server to be able to distribute it for use by AI clients. It's time to take a step further and explore how to leverage Server-Sent Events (SSE) MCP servers so that we can deploy them remotely, for example on a Raspberry Pi.

Continue reading

Model Context Protocol Made Easy: Building an MCP Server in C#

Mar 22, 2025

In my previous post, I demonstrated how to use C# with Microsoft.Extensions.AI, Ollama, and a nuget package called mcpdotnet to interact with an existing MCP Server. Since then, mcpdotnet has been elevated to become the "official C# SDK for Model Context Protocol servers and clients, maintained by Microsoft".

The Model Context Protocol (MCP) is an open standard that enables seamless integration between AI systems and various data sources, allowing developers to create context-aware applications. In this post, we'll explore how to build a simple MCP server using C# and the modelcontextprotocol / csharp-sdk library, which simplifies the process of creating and managing MCP servers.

Continue reading

Harnessing AI in C# with Microsoft.Extensions.AI, Ollama, and MCP Server

Mar 15, 2025

In the previous post "Leveraging Microsoft.Extensions.AI for Tool Calling in C#", we explored how to create custom tools that enhance the capabilities of Large Language Models (LLMs). We demonstrated how integrating these technologies enables developers to build applications with advanced AI capabilities, facilitating more complex interactions.

In this post, we'll take a step further and explore how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications. We'll continue using Ollama to run local AI models.

Continue reading

Posts tagged with "ASP.NET" (28 posts)

Setting correctly your configuration for Web Deployment Projects VS08

I read on MSDN Forums that it is not possible to use other configuration than Release and Debug. This is wrong.

I am using it for Tech Head Brothers Portal, what you have to take care of is how you set your configuration. On the following picture you see how I defined a new Staging configuration and set the Web Deployment Project WebApplication.csproj_deploy to build using this configuration.

Continue reading

Posts tagged with "ASP.NET 2.0" (29 posts)

Setting correctly your configuration for Web Deployment Projects VS08

I read on MSDN Forums that it is not possible to use other configuration than Release and Debug. This is wrong.

I am using it for Tech Head Brothers Portal, what you have to take care of is how you set your configuration. On the following picture you see how I defined a new Staging configuration and set the Web Deployment Project WebApplication.csproj_deploy to build using this configuration.

Continue reading

Posts tagged with "ASP.NET AJAX" (17 posts)

Posts tagged with "ASP.NET AJAX Control Toolkit " (4 posts)

Posts tagged with "ASP.NET Core" (9 posts)

SSE-Powered MCP Server with C# and .NET in 15.7MB executable

Now that we've explored how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications, how to write your own Standard Input/Output (STDIO) MCP server in C# using the modelcontextprotocol / csharp-sdk, and how we can dockerize your .NET C# MCP server to be able to distribute it for use by AI clients. It's time to take a step further and explore how to leverage Server-Sent Events (SSE) MCP servers so that we can deploy them remotely, for example on a Raspberry Pi.

Continue reading

Using WASM and WASI to run .NET 7 on a Raspberry PI Zero 2 W

WebAssembly (WASM) and WebAssembly System Interface (WASI) are opening new opportunities for developers. .NET developers became familiar with WASM when Blazor WebAssembly was released. Blazor WebAssembly runs client-side in the browser on a WebAssembly-based .NET runtime. WASI is bringing WASM out of the browser world by providing a system interface to run WebAssembly outside the web. It is a standard for how WASM modules interact with the host environment. This post will show you how to run .NET 7 on a Raspberry PI Zero 2 W using WASM and WASI.

Continue reading

Posts tagged with "ASP.NET Core RC2" (3 posts)

Posts tagged with "ASP.NET MVC" (6 posts)

“Unable to evaluate the expression” error in Visual Studio 2010 debugger

Last week I had an issue in Visual Studio 2010 debugger in some projects only! When I was looking at the value of variables I was getting an error message saying “Unable to evaluate the expression”!

Searching on Connect I have found that someone else had the same issue! Not really a good sign, “Debuging (Evalutation) stops working at times - Unable to evaluate the expression”. I have the same configuration, same issue and can reproduce what is described:

Continue reading

Posts tagged with "Acceptance Test" (2 posts)

Posts tagged with "Agile" (7 posts)

Posts tagged with "Architecture" (3 posts)

Posts tagged with "Async" (1 posts)

“Unable to evaluate the expression” error in Visual Studio 2010 debugger

Last week I had an issue in Visual Studio 2010 debugger in some projects only! When I was looking at the value of variables I was getting an error message saying “Unable to evaluate the expression”!

Searching on Connect I have found that someone else had the same issue! Not really a good sign, “Debuging (Evalutation) stops working at times - Unable to evaluate the expression”. I have the same configuration, same issue and can reproduce what is described:

Continue reading

Posts tagged with "Axis" (1 posts)

Legacy code integration using Windows Communication Foundation (WCF) and Java Axis in a Service Oriented Architecture

What are the options when you need to integrate Windows legacy code in a heterogeneous Service Oriented Architecture (SOA)?

The proposed problem was to expose a set of Windows C++ DLLs to a global SOA platform written in Java. Those DLLs would be then exposed as backend computation services.

Continue reading

Posts tagged with "Azure" (1 posts)

Posts tagged with "Azure DevOps" (1 posts)

Posts tagged with "BDD" (4 posts)

BDD web application testing using easyB and Sahi

I already talked about the way we are testing our web application at Jobping in the following posts “ASP.NET MVC 2, MSpec and Watin ” and ”Automated functional tests using Watin and MSpec”.

The other day I landed on the DZone page “Automated Browser Testing: What's in Your Toolkit?” In the list of around 10 tools I knew some of them but there were 3 I didn’t knew. So I decided to go on and read about those 3. In this list there were Sahi which got me with those three sentences:

Continue reading

Posts tagged with "Build" (1 posts)

Automate your .NET project builds with NUKE a cross-platform build automation solution

Feb 2, 2022

Early in my journey in developing software, I used to start a project by setting first a way to build my software automatically each time I did a set of changes. Long, very long ago, I used scripts scheduled to run. When JetBrains shipped TeamCity I started to use it extensively for my projects, here is my first post about "Set Up a Build Computer using VisualSVN, Team City, MsTest, NUnit" from March 21, 2008, but used it since version 1.0. Later on, I also used Azure Pipelines to build Git Diff Margin and also GitHub Actions, for example, to build and deploy those pages.

Continue reading

Posts tagged with "C#" (24 posts)

SSE-Powered MCP Server with C# and .NET in 15.7MB executable

Now that we've explored how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications, how to write your own Standard Input/Output (STDIO) MCP server in C# using the modelcontextprotocol / csharp-sdk, and how we can dockerize your .NET C# MCP server to be able to distribute it for use by AI clients. It's time to take a step further and explore how to leverage Server-Sent Events (SSE) MCP servers so that we can deploy them remotely, for example on a Raspberry Pi.

Continue reading

Model Context Protocol Made Easy: Building an MCP Server in C#

Mar 22, 2025

In my previous post, I demonstrated how to use C# with Microsoft.Extensions.AI, Ollama, and a nuget package called mcpdotnet to interact with an existing MCP Server. Since then, mcpdotnet has been elevated to become the "official C# SDK for Model Context Protocol servers and clients, maintained by Microsoft".

The Model Context Protocol (MCP) is an open standard that enables seamless integration between AI systems and various data sources, allowing developers to create context-aware applications. In this post, we'll explore how to build a simple MCP server using C# and the modelcontextprotocol / csharp-sdk library, which simplifies the process of creating and managing MCP servers.

Continue reading

Harnessing AI in C# with Microsoft.Extensions.AI, Ollama, and MCP Server

Mar 15, 2025

In the previous post "Leveraging Microsoft.Extensions.AI for Tool Calling in C#", we explored how to create custom tools that enhance the capabilities of Large Language Models (LLMs). We demonstrated how integrating these technologies enables developers to build applications with advanced AI capabilities, facilitating more complex interactions.

In this post, we'll take a step further and explore how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications. We'll continue using Ollama to run local AI models.

Continue reading

Posts tagged with "Campfire" (2 posts)

Posts tagged with "Chocolatey" (1 posts)

Posts tagged with "ClickOnce" (5 posts)

Build multiple ClickOnce deployment packages using MSBuild and Team City

The other day I posted about Build ClickOnce deployment packages using MSBuild and Team City, and there were some things that I didn’t like in my way of doing it.

I have multiple ClickOnce deployment packages created using TeamCity and MSBuild but each ClickOnce package has its own Application Revision due to the usage of TeamCity BUILD_NUMBER server build property.

Continue reading

Posts tagged with "CoffeeScripts" (2 posts)

Posts tagged with "Continuous Integration" (22 posts)

Posts tagged with "Coursera" (1 posts)

Posts tagged with "DVCS" (3 posts)

Sending your Git branch changes as an email attachment

Apr 13, 2012

The other day I wanted to send per email some code to a friend which doesn’t use Git. He is using Svn and I use Git Svn in front of this Svn repository. Why I do that? Don’t get me started…

So he couldn’t pull from my repo and we were kind of stuck. Really?!? For sure not, here was the goal I set as I am sure this will happen some other time: having the computer work for me. What a strange idea you would say! Yeah, the computer working for you. At the end aren’t we here to make the cool things and let the computer do the boring things?

Continue reading

DVCS and my usage of Git Svn

Nov 7, 2011

Sometime ago I moved “away” from subversion has my Version Control System (VCS) because I felt not free of my way of working with it. I found a great was to improve my work experience by using Git Svn in front of our central Subversion repository.

I started my experimentation with Mercurial and Hg Svn because I was already using Mercurial for my personal projects. I hit some much the wall with Hg Svn that I decided quite quickly to go and try Git Svn. I had no experience with Git at that time and I had the feeling that it was more complex to handle than Mercurial (which I still think).

Continue reading

Posts tagged with "Dapr" (8 posts)

Debugging Dapr applications with Rider or Visual Studio: A better way

Dapr is an impressive set of APIs for building distributed applications with any language and platform. It provides a set of building blocks that you can use to build microservices. Dapr is based on sidecar architecture. Meaning that you need to run a Dapr sidecar for each of your applications. How do you debug your Dapr apps effectively? If you have been using PowerShell scripts to run and attach your debugger, you know how tedious and error-prone it can be. Ready to see how to use Rider or Visual Studio to debug your Dapr apps with ease and confidence?

Continue reading

Dapr binding building block by simple example

Oct 19, 2021

Till now, we have seen two Dapr building blocks which are the service to service invocation building block and the secrets building block. The secret building block serves to protect things like a database connection string, an API key... so that they're never disclosed outside of the application. The service to service invocation building block serves to make calls between services in your distributed application easy. In this post, we will introduce a third one which is the bindings building block. The bindings building block enables your distributed application to handle external events or invoke external services.

Continue reading

Calling Dapr service with gRPC

Mar 25, 2021

In previous posts, we focused on Dapr service invocation using the HTTP protocol. Dapr, through its service invocation, can also reliably and securely communicate with other applications using gRPC. We will have a look at this other capability in this post.

Continue reading

Posts tagged with "Dev Container" (1 posts)

.NET Aspire and Dev Container

.NET Aspire 9.1 was just released on February 25th, 2025. It comes with great new dashboard features, and there is more! One feature I am particularly interested in is the ability to use Dev Containers.

In this post, I will show you how to use the new .NET Aspire 9.1 with a Dev Container and JetBrains Rider. You could also use Visual Studio Code.

Continue reading

Posts tagged with "Docker" (12 posts)

.NET Aspire and Dev Container

.NET Aspire 9.1 was just released on February 25th, 2025. It comes with great new dashboard features, and there is more! One feature I am particularly interested in is the ability to use Dev Containers.

In this post, I will show you how to use the new .NET Aspire 9.1 with a Dev Container and JetBrains Rider. You could also use Visual Studio Code.

Continue reading

Publish .NET Docker images using .NET SDK and GitHub Actions

My previous blog posts talks about built-in container support in the .NET SDK. It allows you to create and publish Docker images for your .NET applications without writing any Dockerfile. I also showed how to use the Chiseled Ubuntu base images optimized for .NET and containers. We saw how to publish your Docker images using the .NET SDK to GitHub Packages / Container Registry.

Today, I want to show you how to publish your Docker images using the .NET SDK to GitHub Container Registry using GitHub Actions. It brings us to the next level of automation.

Continue reading

Simplify your .NET Docker image publishing workflow with the .NET SDK

Oct 24, 2023

In my previous blog posts, I wrote about the built-in container support in the .NET 7 SDK that allows you to create and publish Docker images for your .NET applications without writing any Dockerfile. I also showed how to use the Chiseled Ubuntu base images optimized for .NET and containers.

For this blog post, I will explain how to publish your Docker images using the .NET SDK to GitHub Packages / Container Registry. It is possible to publish to different container registries, such as Docker Hub, GitHub, Azure Container Registry, or your own private registry. I will show you how to publish to GitHub Packages / Container Registry, but the process is similar for other registries.

This blog post will help you learn how to leverage the .NET SDK's built-in container support to effortlessly distribute and run your .NET applications in the cloud using Docker. Stay tuned!

Continue reading

Posts tagged with "Euss" (2 posts)

Posts tagged with "Expression Blend" (1 posts)

Posts tagged with "Expression Encoder" (2 posts)

Posts tagged with "Expression Studio" (3 posts)

Posts tagged with "Fun" (2 posts)

What were you developing 10 years ago ?

Sep 15, 2007

I found browsing the Internet an old software I developed Xit.

I am not 100% sure it was developed 10 years ago it might be more 11 years ago, but that's really funny to see things like that still on the Internet. Whoa, I didn't realized I was that old!!! :) Compared to my 102 grand father I will hopefully write software for quite some time :)

Continue reading

Posts tagged with "Generics" (3 posts)

Posts tagged with "Git" (12 posts)

Automate developer work using Git Aliases

Feb 28, 2020

I am using Git for many, many years. I am a big fan of it. How could that be different when you had to use versioning systems like CVS, SVN... I even took influence so that the whole company I work for migrates to it.

Over the years, I have used different Git clients, tried to work only from my IDE without much liking it.

Continue reading

Posts tagged with "GitHub" (8 posts)

Publish .NET Docker images using .NET SDK and GitHub Actions

My previous blog posts talks about built-in container support in the .NET SDK. It allows you to create and publish Docker images for your .NET applications without writing any Dockerfile. I also showed how to use the Chiseled Ubuntu base images optimized for .NET and containers. We saw how to publish your Docker images using the .NET SDK to GitHub Packages / Container Registry.

Today, I want to show you how to publish your Docker images using the .NET SDK to GitHub Container Registry using GitHub Actions. It brings us to the next level of automation.

Continue reading

Simplify your .NET Docker image publishing workflow with the .NET SDK

Oct 24, 2023

In my previous blog posts, I wrote about the built-in container support in the .NET 7 SDK that allows you to create and publish Docker images for your .NET applications without writing any Dockerfile. I also showed how to use the Chiseled Ubuntu base images optimized for .NET and containers.

For this blog post, I will explain how to publish your Docker images using the .NET SDK to GitHub Packages / Container Registry. It is possible to publish to different container registries, such as Docker Hub, GitHub, Azure Container Registry, or your own private registry. I will show you how to publish to GitHub Packages / Container Registry, but the process is similar for other registries.

This blog post will help you learn how to leverage the .NET SDK's built-in container support to effortlessly distribute and run your .NET applications in the cloud using Docker. Stay tuned!

Continue reading

Posts tagged with "GitHub Actions" (1 posts)

Publish .NET Docker images using .NET SDK and GitHub Actions

My previous blog posts talks about built-in container support in the .NET SDK. It allows you to create and publish Docker images for your .NET applications without writing any Dockerfile. I also showed how to use the Chiseled Ubuntu base images optimized for .NET and containers. We saw how to publish your Docker images using the .NET SDK to GitHub Packages / Container Registry.

Today, I want to show you how to publish your Docker images using the .NET SDK to GitHub Container Registry using GitHub Actions. It brings us to the next level of automation.

Continue reading

Posts tagged with "GitHub Container Registry" (1 posts)

Publish .NET Docker images using .NET SDK and GitHub Actions

My previous blog posts talks about built-in container support in the .NET SDK. It allows you to create and publish Docker images for your .NET applications without writing any Dockerfile. I also showed how to use the Chiseled Ubuntu base images optimized for .NET and containers. We saw how to publish your Docker images using the .NET SDK to GitHub Packages / Container Registry.

Today, I want to show you how to publish your Docker images using the .NET SDK to GitHub Container Registry using GitHub Actions. It brings us to the next level of automation.

Continue reading

Posts tagged with "GitLab" (1 posts)

TeamCity and GitLab working together with SSH Keys

Aug 24, 2012

On February I posted about “Running your TeamCity builds from PowerShell for any Git branch” and now I have to configure a new ssh key so that TeamCity can connect to Gitlab.

I struggled a bit getting continuous error message from TeamCity that the connection failed because it was enable to load identity file. File rights were all ok on the key file and everything looked fine. But still the error message.

Continue reading

Posts tagged with "Groove Virtual Office" (4 posts)

Posts tagged with "HipChat" (2 posts)

Posts tagged with "HipChat Connect" (4 posts)

Posts tagged with "Home Office" (1 posts)

Posts tagged with "IIS" (2 posts)

Optimization of Web Site hosted on IIS 6

Jan 3, 2010

The other day I had to re-install my whole server which is hosting Tech Head Brothers. I had also to redo the configuration to have IIS deliver compressed content. I was quite sure to have a post on this but the only thing I could find was “Optimization of a Web Site - Using Content Expiration (IIS 6.0)

So I started from scratch and after some issues I finally managed to have it running. I started uisng the following post from Scott Forsyth, “IIS Compression in IIS6.0” and I took over those steps from his post:

Continue reading

Posts tagged with "IIS Express" (1 posts)

Posts tagged with "Infrastructure" (7 posts)

Back to correct speed

Nov 16, 2004

Over the weekend I realized that my notebook became quite slow and was always reading something on the HD, even without any memory pressure. When I was to some music, starting an application was really corrupting the sound. So after some I realized that my Primary IDE controller went from DMA back to the old PIO mode. To solve this issue I reinstalled the the primary IDE port using the Device Manager, and after two reboots it went back to DMA and a acceptable speed.

You might find more information about that issue here: IDE ATA and ATAPI disks use PIO mode after multiple time-out or CRC errors occur.

Continue reading

Managing IIS with scripts

Jul 23, 2004

I needed to create a virtual directory in IIS 6 during the deployment of one of our backend application on a Windows 2003 server. This application is a COM component written in C++ that I developed wrapping a very old VB6 COM component. The whole exposed as a Web Service using the SOAP Toolkit 3. I already discussed about it here.

So I created a script that will register both COM component, by the way regsvr32 is really bad cause it doesn't return different value if it fails. Right now I have no verification in the script that let me know if the registration went well. I plan to add it in a second step by reading the content of the registry using the reg command. The script is using the <em>SOAPVDIR.CMD</em> packaged with the SOAP Toolkit 3 to create the Virtual Directory with the soap ISAPI of the SOAP Toolkit 3:

Continue reading

How I restored my notebook after uninstalling issues of V2i from Symantec

Jul 8, 2004

After uninstalling V2i from Symantec I was asked to reboot my notebook. The reboot took for ever so I decide after 30 minutes to switch it off. Problems started when I rebooted, lots of drivers where missing and it seems that I lost the plug and play features. One of the first driver I decided to recover was the Sound driver. This is the way I recover from that sound driver issue.

  • In services, check that WinAudio service is enabled, set to automatic, and running.
  • In Device Manager, System Devices check that Plug and Play Software Device Enumerator is installed and running

If not, then you need to reinstall it:

  • Copy machine.inf from %windir%\inf to your desktop
  • Remove line ExcludeFromSelect=*
  • Use Add new hardware wizard using the Have Disk option
  • Select the machine.inf you saved on the desktop
  • Install Plug and Play Software Device If the sound card is listed in the device manager, then uninstall it and start a scan for hardware changes. Afer installing it again I got the sound back live. I did the same for several other drivers that were missing on my notebook. And now it seems to be ok.

Continue reading

Posts tagged with "IntelliJ" (3 posts)

Posts tagged with "Interoperability" (4 posts)

Legacy code integration using Windows Communication Foundation (WCF) and Java Axis in a Service Oriented Architecture

What are the options when you need to integrate Windows legacy code in a heterogeneous Service Oriented Architecture (SOA)?

The proposed problem was to expose a set of Windows C++ DLLs to a global SOA platform written in Java. Those DLLs would be then exposed as backend computation services.

Continue reading

Posts tagged with "Java" (2 posts)

Legacy code integration using Windows Communication Foundation (WCF) and Java Axis in a Service Oriented Architecture

What are the options when you need to integrate Windows legacy code in a heterogeneous Service Oriented Architecture (SOA)?

The proposed problem was to expose a set of Windows C++ DLLs to a global SOA platform written in Java. Those DLLs would be then exposed as backend computation services.

Continue reading

Posts tagged with "JetBrains" (6 posts)

Posts tagged with "Jobping" (12 posts)

Posts tagged with "Kata" (1 posts)

Posts tagged with "LLM" (9 posts)

SSE-Powered MCP Server with C# and .NET in 15.7MB executable

Now that we've explored how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications, how to write your own Standard Input/Output (STDIO) MCP server in C# using the modelcontextprotocol / csharp-sdk, and how we can dockerize your .NET C# MCP server to be able to distribute it for use by AI clients. It's time to take a step further and explore how to leverage Server-Sent Events (SSE) MCP servers so that we can deploy them remotely, for example on a Raspberry Pi.

Continue reading

Model Context Protocol Made Easy: Building an MCP Server in C#

Mar 22, 2025

In my previous post, I demonstrated how to use C# with Microsoft.Extensions.AI, Ollama, and a nuget package called mcpdotnet to interact with an existing MCP Server. Since then, mcpdotnet has been elevated to become the "official C# SDK for Model Context Protocol servers and clients, maintained by Microsoft".

The Model Context Protocol (MCP) is an open standard that enables seamless integration between AI systems and various data sources, allowing developers to create context-aware applications. In this post, we'll explore how to build a simple MCP server using C# and the modelcontextprotocol / csharp-sdk library, which simplifies the process of creating and managing MCP servers.

Continue reading

Posts tagged with "LeWeb11" (1 posts)

Posts tagged with "Leadership" (1 posts)

Corporate Culture, disruptive thinking and implementation

Jul 29, 2010

Today, my friend Didier finally pushed his post about Netflix on his blog, Corporate Culture: unusual Netflix example. Some time ago, quite some time ago, he sent me the presentation about Netflix, which had a big impact on me! I liked very much the idea !

Netflix thinks that “as they grow, they have to minimize rules”. Different approach as what we all know, experience, read. And … Netflix is definitely not a startup anymore! I would like to share with you a document from Netflix I found on SlideShare about their culture and some quite innovative management ideas they have put in place. Feed for thoughts ;-)

Continue reading

Posts tagged with "Linq" (3 posts)

Posts tagged with "Linux" (2 posts)

Posts tagged with "Logseq" (1 posts)

Write Logseq plugins in WebAssembly using .NET and C#

Oct 12, 2022

I am using a tool called logseq to manage my notes. It is a fantastic tool, and I would like to be able to extend it. I am not an expert web developer, but I am a .NET developer. I would like to be able to write plugins for logseq using .NET and C#. I have found a way to do it using WebAssembly. In this post, I am going to show you how to do it.

Continue reading

Posts tagged with "Lucene.Net" (1 posts)

Empowering your Attribute’s Names

Jun 18, 2008

Today I was facing the following issue. I have an indexing system (read more here, here and here) using Lucene.Net that is working quite good. The drawback of the current implementation was that I couldn’t filter any to be indexed property decorated with the attribute. For example if I had a string property of my domain holding HTML, I wasn’t able to remove the HTML out of the string before indexing it.

I scratch my head some time, and finally came to a pragmatic solution.

Continue reading

Posts tagged with "MCP" (4 posts)

SSE-Powered MCP Server with C# and .NET in 15.7MB executable

Now that we've explored how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications, how to write your own Standard Input/Output (STDIO) MCP server in C# using the modelcontextprotocol / csharp-sdk, and how we can dockerize your .NET C# MCP server to be able to distribute it for use by AI clients. It's time to take a step further and explore how to leverage Server-Sent Events (SSE) MCP servers so that we can deploy them remotely, for example on a Raspberry Pi.

Continue reading

Model Context Protocol Made Easy: Building an MCP Server in C#

Mar 22, 2025

In my previous post, I demonstrated how to use C# with Microsoft.Extensions.AI, Ollama, and a nuget package called mcpdotnet to interact with an existing MCP Server. Since then, mcpdotnet has been elevated to become the "official C# SDK for Model Context Protocol servers and clients, maintained by Microsoft".

The Model Context Protocol (MCP) is an open standard that enables seamless integration between AI systems and various data sources, allowing developers to create context-aware applications. In this post, we'll explore how to build a simple MCP server using C# and the modelcontextprotocol / csharp-sdk library, which simplifies the process of creating and managing MCP servers.

Continue reading

Harnessing AI in C# with Microsoft.Extensions.AI, Ollama, and MCP Server

Mar 15, 2025

In the previous post "Leveraging Microsoft.Extensions.AI for Tool Calling in C#", we explored how to create custom tools that enhance the capabilities of Large Language Models (LLMs). We demonstrated how integrating these technologies enables developers to build applications with advanced AI capabilities, facilitating more complex interactions.

In this post, we'll take a step further and explore how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications. We'll continue using Ollama to run local AI models.

Continue reading

Posts tagged with "MSBuild" (7 posts)

ProjectReference with Condition in your MSBuild project files

Since some time I have the current scenario where I need to have conditional reference in a project. Basically the application must reference an assembly in one case in other it should reference another one. This was working correctly from an MSBuild point of view as the first implemented solution let me compile and run the application on my development machine and it was also working for our TeamCity build server. So everything was fine in this perfect word expect one thing!

The issue was the following; Visual Studio was showing two references of the ‘same assembly’ with different path. Not really an issue you would say because the correct one was used at compile time and at run time in all configurations. So the issue was that this had an impact of ReSharper. And this is I cannot accept because it affect my productivity.

Continue reading

Posts tagged with "MSpec" (2 posts)

ASP.NET MVC 2, MSpec and Watin

May 19, 2010

The other day I posted about “Automated functional tests using Watin and MSpec” which we do at Jobping as a spike to automate our functional tests on our ASP.NET MVC 2 site.

Yesterday evening I was facing an issue in my base class WebBaseSpec which led to really strange side effects. Basically when I was running one unit test alone it was Green, running all or more than one unit test will fail miserably with the well known STA issue of Watin.

Continue reading

Posts tagged with "MVVM" (2 posts)

MVVM Light Toolkit V2

At Innoveo Solutions we are using .NET and WPF for our Innoveo Skye® Editor application. Skye® Editor is a distribution channel editor targeting business people letting them edit and configure their insurance products.

From the beginning we have adopted the Model-View-ViewModel architecture. Having our solution growing we were facing the issue of having our ViewModels dependency growing too. Some ViewModel became too much dependent of others. This was obvious in our unit tests whose complexity to setup were growing too. It was time to find a solution to decouple the ViewModels.

Continue reading

Posts tagged with "Management" (1 posts)

Corporate Culture, disruptive thinking and implementation

Jul 29, 2010

Today, my friend Didier finally pushed his post about Netflix on his blog, Corporate Culture: unusual Netflix example. Some time ago, quite some time ago, he sent me the presentation about Netflix, which had a big impact on me! I liked very much the idea !

Netflix thinks that “as they grow, they have to minimize rules”. Different approach as what we all know, experience, read. And … Netflix is definitely not a startup anymore! I would like to share with you a document from Netflix I found on SlideShare about their culture and some quite innovative management ideas they have put in place. Feed for thoughts ;-)

Continue reading

Posts tagged with "Mercurial" (1 posts)

Posts tagged with "Microsoft" (1 posts)

Posts tagged with "Microsoft MVP" (23 posts)

I am a VIB - Very Important Blogger

Jun 22, 2007

Nice :-) !!! First I was MVP now I am also VIB.

Two weeks ago I got an email from Microsoft to invite me to the Mix in Paris. This email was starting with the following "[Invitation presse/VIB]", I had absolutely no clue what VIB was for, and as I was not someone from the press, I supposed I was a VIB. Unfortunately I couldn't attend the Mix 2007 in Paris.

Continue reading

Tech Ed 2006 in Barcelona - I'll be there

Oct 21, 2006

Tech Ed 2006 Barcelona

Like last year I will attend Tech Ed Europe. This time in Barcelona, a wonderful city. I prefer it over Amsterdam. I will arrive on November 6th, mid of afternoon.

It will be the chance to meet some of you and especially Frédéric Colin, Grégory Renard, Aurelien Verla authors on Tech Head Brothers.

Continue reading

Posts tagged with "NCrunch" (1 posts)

Posts tagged with "NDepend" (5 posts)

NDepend v3 - now 100% integrated in Visual Studio

Patrick just announced on his blog the launch of the new NDepend v3. It is still in beta but very stable. I am testing it for a month now and enjoy very much it’s integration in Visual Studio 2008. I was using it and will continue to use it in our continuous integration server, TeamCity. But getting feedback right out of the developer environment is a very interesting feature.

Read more on Patrick’s blog post, “NDepend v3 is now 100% integrated in Visual Studio

Continue reading

Using NDepend in Team City build management tool

In my effort to bring a good development environment for the next version of Tech Head Brothers portal, in which we should be (at the moment) three to develop, I went on with the integration of NDepend, the wonderful tool of Patrick Smacchia, with the just as well JetBrains Team City build management server.

As said in my last post I have defined three builds type

Continue reading

Posts tagged with "NUKE" (1 posts)

Automate your .NET project builds with NUKE a cross-platform build automation solution

Feb 2, 2022

Early in my journey in developing software, I used to start a project by setting first a way to build my software automatically each time I did a set of changes. Long, very long ago, I used scripts scheduled to run. When JetBrains shipped TeamCity I started to use it extensively for my projects, here is my first post about "Set Up a Build Computer using VisualSVN, Team City, MsTest, NUnit" from March 21, 2008, but used it since version 1.0. Later on, I also used Azure Pipelines to build Git Diff Margin and also GitHub Actions, for example, to build and deploy those pages.

Continue reading

Posts tagged with "Note to self" (10 posts)

Office 2007 templates folder

I am always loosing time searching for that information when we get an update of office templates, so I decided to make a ‘note to self’ so that I will not loose anymore time with that.

Start Word 2007 and go on Word Options, then click Advanced, File Locations:

Continue reading

NoteToSelf: aspnet_merge.exe, Team City and Web Deployment for Visual Studio 2008

Mar 1, 2008

I had to modify the Microsoft.WebDeployment.targets file to be able to compile through Team City the Web Deployment 2008 project !

<!-- Changed KEL ExePath="$(FrameworkSDKDir)bin" -->
<Target Name="AspNetMerge" 
        Condition="'$(UseMerge)' == 'true'"
        DependsOnTargets="$(MergeDependsOn)">
  <AspNetMerge
    ExePath="C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin"
    ApplicationPath="$(TempBuildDir)"
    KeyFile="$(_FullKeyFile)"
    DelaySign="$(DelaySign)"
    Prefix="$(AssemblyPrefixName)"
    SingleAssemblyName="$(SingleAssemblyName)"
    Debug="$(DebugSymbols)"
    Nologo="$(NoLogo)"
    ContentAssemblyName="$(ContentAssemblyName)"
    ErrorStack="$(ErrorStack)"
    RemoveCompiledFiles="$(DeleteAppCodeCompiledFiles)"
    CopyAttributes="$(CopyAssemblyAttributes)"
    AssemblyInfo="$(AssemblyInfoDll)"
    MergeXmlDocs="$(MergeXmlDocs)"
    ErrorLogFile="$(MergeErrorLogFile)"
  />
 
  <CreateItem Include="$(TempBuildDir)**\*.*">
    <Output ItemName="PrecompiledOutput" TaskParameter="Include" />
  </CreateItem>
  </Target>

Continue reading

Posts tagged with "ORM" (2 posts)

Posts tagged with "Office 2007" (13 posts)

Office 2007 templates folder

I am always loosing time searching for that information when we get an update of office templates, so I decided to make a ‘note to self’ so that I will not loose anymore time with that.

Start Word 2007 and go on Word Options, then click Advanced, File Locations:

Continue reading

[PDC 2008] – Show off selection

Finally my video didn’t make it for the ShowOff contest at the PDC 2008. Here is the answer I’ve got:

I wanted to thank you again for your ShowOff entry. Unfortunately, due to the overwhelming response to ShowOff, we had to make some hard decisions about which entries we would be able to show during the event. We really liked your video, but unfortunately it didn't make it into our final cut this year.

Continue reading

Posts tagged with "Ollama" (8 posts)

Model Context Protocol Made Easy: Building an MCP Server in C#

Mar 22, 2025

In my previous post, I demonstrated how to use C# with Microsoft.Extensions.AI, Ollama, and a nuget package called mcpdotnet to interact with an existing MCP Server. Since then, mcpdotnet has been elevated to become the "official C# SDK for Model Context Protocol servers and clients, maintained by Microsoft".

The Model Context Protocol (MCP) is an open standard that enables seamless integration between AI systems and various data sources, allowing developers to create context-aware applications. In this post, we'll explore how to build a simple MCP server using C# and the modelcontextprotocol / csharp-sdk library, which simplifies the process of creating and managing MCP servers.

Continue reading

Harnessing AI in C# with Microsoft.Extensions.AI, Ollama, and MCP Server

Mar 15, 2025

In the previous post "Leveraging Microsoft.Extensions.AI for Tool Calling in C#", we explored how to create custom tools that enhance the capabilities of Large Language Models (LLMs). We demonstrated how integrating these technologies enables developers to build applications with advanced AI capabilities, facilitating more complex interactions.

In this post, we'll take a step further and explore how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications. We'll continue using Ollama to run local AI models.

Continue reading

Posts tagged with "Open Source" (1 posts)

Posts tagged with "Open XML" (5 posts)

[PDC 2008] – Show off selection

Finally my video didn’t make it for the ShowOff contest at the PDC 2008. Here is the answer I’ve got:

I wanted to thank you again for your ShowOff entry. Unfortunately, due to the overwhelming response to ShowOff, we had to make some hard decisions about which entries we would be able to show during the event. We really liked your video, but unfortunately it didn't make it into our final cut this year.

Continue reading

Posts tagged with "PDC 2008" (4 posts)

[PDC 2008] – Show off selection

Finally my video didn’t make it for the ShowOff contest at the PDC 2008. Here is the answer I’ve got:

I wanted to thank you again for your ShowOff entry. Unfortunately, due to the overwhelming response to ShowOff, we had to make some hard decisions about which entries we would be able to show during the event. We really liked your video, but unfortunately it didn't make it into our final cut this year.

Continue reading

Posts tagged with "Popfly" (2 posts)

Posts tagged with "PowerShell" (5 posts)

Automate developer work using Git Aliases

Feb 28, 2020

I am using Git for many, many years. I am a big fan of it. How could that be different when you had to use versioning systems like CVS, SVN... I even took influence so that the whole company I work for migrates to it.

Over the years, I have used different Git clients, tried to work only from my IDE without much liking it.

Continue reading

Sending your Git branch changes as an email attachment

Apr 13, 2012

The other day I wanted to send per email some code to a friend which doesn’t use Git. He is using Svn and I use Git Svn in front of this Svn repository. Why I do that? Don’t get me started…

So he couldn’t pull from my repo and we were kind of stuck. Really?!? For sure not, here was the goal I set as I am sure this will happen some other time: having the computer work for me. What a strange idea you would say! Yeah, the computer working for you. At the end aren’t we here to make the cool things and let the computer do the boring things?

Continue reading

Posts tagged with "Productivity" (5 posts)

Posts tagged with "Raspberry Pi" (3 posts)

Using WASM and WASI to run .NET 7 on a Raspberry PI Zero 2 W

WebAssembly (WASM) and WebAssembly System Interface (WASI) are opening new opportunities for developers. .NET developers became familiar with WASM when Blazor WebAssembly was released. Blazor WebAssembly runs client-side in the browser on a WebAssembly-based .NET runtime. WASI is bringing WASM out of the browser world by providing a system interface to run WebAssembly outside the web. It is a standard for how WASM modules interact with the host environment. This post will show you how to run .NET 7 on a Raspberry PI Zero 2 W using WASM and WASI.

Continue reading

Posts tagged with "ReSharper" (19 posts)

Refactoring huge C# code base in minutes

Feb 20, 2023

With my team, we like to keep our C# code base updated. So, recently we went to .NET 7 and C# 11. At the same time, we were still adopting some of the new capabilities of .NET 6 and C# 10. Our code base is large, so it takes some time. One of the new features that we planned to use was the ArgumentNullException.ThrowIfNull method, which throws an exception if an argument is null. In this post, I will show you how I effortlessly did that refactoring by letting the machine work and not the human 😁 (me). In the past, I used the same approach to migrate lots of code that used Assert.True() to Assert.That(, Is.True) and for some other even more complex cases. We will use ReSharper and Rider for that.

Continue reading

Posts tagged with "Reflection" (3 posts)

Posts tagged with "Rider" (3 posts)

.NET Aspire and Dev Container

.NET Aspire 9.1 was just released on February 25th, 2025. It comes with great new dashboard features, and there is more! One feature I am particularly interested in is the ability to use Dev Containers.

In this post, I will show you how to use the new .NET Aspire 9.1 with a Dev Container and JetBrains Rider. You could also use Visual Studio Code.

Continue reading

Debugging Dapr applications with Rider or Visual Studio: A better way

Dapr is an impressive set of APIs for building distributed applications with any language and platform. It provides a set of building blocks that you can use to build microservices. Dapr is based on sidecar architecture. Meaning that you need to run a Dapr sidecar for each of your applications. How do you debug your Dapr apps effectively? If you have been using PowerShell scripts to run and attach your debugger, you know how tedious and error-prone it can be. Ready to see how to use Rider or Visual Studio to debug your Dapr apps with ease and confidence?

Continue reading

Refactoring huge C# code base in minutes

Feb 20, 2023

With my team, we like to keep our C# code base updated. So, recently we went to .NET 7 and C# 11. At the same time, we were still adopting some of the new capabilities of .NET 6 and C# 10. Our code base is large, so it takes some time. One of the new features that we planned to use was the ArgumentNullException.ThrowIfNull method, which throws an exception if an argument is null. In this post, I will show you how I effortlessly did that refactoring by letting the machine work and not the human 😁 (me). In the past, I used the same approach to migrate lots of code that used Assert.True() to Assert.That(, Is.True) and for some other even more complex cases. We will use ReSharper and Rider for that.

Continue reading

Posts tagged with "Roslyn" (1 posts)

Posts tagged with "SLM" (10 posts)

SSE-Powered MCP Server with C# and .NET in 15.7MB executable

Now that we've explored how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications, how to write your own Standard Input/Output (STDIO) MCP server in C# using the modelcontextprotocol / csharp-sdk, and how we can dockerize your .NET C# MCP server to be able to distribute it for use by AI clients. It's time to take a step further and explore how to leverage Server-Sent Events (SSE) MCP servers so that we can deploy them remotely, for example on a Raspberry Pi.

Continue reading

Model Context Protocol Made Easy: Building an MCP Server in C#

Mar 22, 2025

In my previous post, I demonstrated how to use C# with Microsoft.Extensions.AI, Ollama, and a nuget package called mcpdotnet to interact with an existing MCP Server. Since then, mcpdotnet has been elevated to become the "official C# SDK for Model Context Protocol servers and clients, maintained by Microsoft".

The Model Context Protocol (MCP) is an open standard that enables seamless integration between AI systems and various data sources, allowing developers to create context-aware applications. In this post, we'll explore how to build a simple MCP server using C# and the modelcontextprotocol / csharp-sdk library, which simplifies the process of creating and managing MCP servers.

Continue reading

Harnessing AI in C# with Microsoft.Extensions.AI, Ollama, and MCP Server

Mar 15, 2025

In the previous post "Leveraging Microsoft.Extensions.AI for Tool Calling in C#", we explored how to create custom tools that enhance the capabilities of Large Language Models (LLMs). We demonstrated how integrating these technologies enables developers to build applications with advanced AI capabilities, facilitating more complex interactions.

In this post, we'll take a step further and explore how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications. We'll continue using Ollama to run local AI models.

Continue reading

Posts tagged with "SOA" (1 posts)

Legacy code integration using Windows Communication Foundation (WCF) and Java Axis in a Service Oriented Architecture

What are the options when you need to integrate Windows legacy code in a heterogeneous Service Oriented Architecture (SOA)?

The proposed problem was to expose a set of Windows C++ DLLs to a global SOA platform written in Java. Those DLLs would be then exposed as backend computation services.

Continue reading

Posts tagged with "SOAP" (4 posts)

Legacy code integration using Windows Communication Foundation (WCF) and Java Axis in a Service Oriented Architecture

What are the options when you need to integrate Windows legacy code in a heterogeneous Service Oriented Architecture (SOA)?

The proposed problem was to expose a set of Windows C++ DLLs to a global SOA platform written in Java. Those DLLs would be then exposed as backend computation services.

Continue reading

Posts tagged with "SQL Azure" (1 posts)

Posts tagged with "Scala" (1 posts)

Posts tagged with "Scrum" (6 posts)

Silverlight Planning Poker Timer

Jun 15, 2008

<div class="wlWriterHeaderFooter" style="float:right; margin:0px; padding:0px 0px 4px 8px;"><script type="text/javascript">digg_url = "http://weblogs.asp.net/lkempe/archive/2008/06/15/silverlight-planning-poker-timer.aspx";digg_title = "Silverlight Planning Poker Timer";digg_bgcolor = "#FFFFFF";digg_skin = "normal";</script><script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script><script type="text/javascript">digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;</script></div>

The other day I was searching for a small project to get started with Silverlight 2 development.

Continue reading

Posts tagged with "Semantic Kernel" (3 posts)

Run Phi-3 SLM on your machine with C# Semantic Kernel and Ollama

Microsoft recently unveiled Phi-3, the latest iteration of their Small Language Model (SLM). And hot on its heels is Ollama, a powerful tool that enables you to run SLMs and LLMs right on your own machine.

Excited to dive in? In this guide, I'll show you how to harness the power of Phi-3 and Ollama using C# and Semantic Kernel. I'll walk you through the process of creating a simple console application to get you started on your SLM journey.

So, let's get coding and unlock the potential of Phi-3 and Ollama on your machine!

Continue reading

Posts tagged with "Silverlight" (28 posts)

Disabling Silverlight addon in IE9 is not such a good idea

Apr 9, 2011

The other day I disabled Silverlight add-on in IE9. Don’t ask me why I don’t really remember, and I prefer not.

Several days after that I started an out of the browser application, ClickTime which we use to report our hours. And I got a weird JavaScript error a la IE with a white window and the picture asking me to install Silverlight. I checked that it was still installed and it was, no problem.

Continue reading

Posts tagged with "Silverlight Streaming" (9 posts)

Alpha vertical slice of Silverlight Streaming on Tech Head Brothers

Tonight I reached a new milestone on my current development for my portal Tech Head Brothers.

You might know, or guessed, from one of my last post; "Tech Head Brothers Silverlight Streaming framework" that I am working on adding Silverlight Streaming to Tech Head Brothers. I first released a little framework to ease the development against the REST API of Silverlight Streaming. Now I went further on with a first vertical slice of the whole solution.

Continue reading

Posts tagged with "Stash" (1 posts)

Posts tagged with "TDD" (4 posts)

Using Thread.Sleep() in Unit Test! A good idea?

Nov 20, 2012

In my humble opinion it is definitely not a good idea! Why?

  1. It is brittle test because it depends to the CPU load of the machine running the test. Maybe it runs fine on your development machine, and will for sure from time to time fail on your build server because of the load on the server.

Continue reading

Posts tagged with "Team City" (10 posts)

MSBuild and Silverlight 2.0 Beta 2 SDK running in Team City

First you need to un-install the Silverlight 2.0 Beta 1 SDK from the build server! Then you can download the Microsoft Silverlight Tools Beta 2 for Visual Studio 2008 and extract it on the server, there you will find the file silverlight_sdk.msi, that will allow you to install Silverlight 2.0 Beta 2 SDK.

Now if you followed my post MSBuild and Silverlight 2.0 Beta 1 running in Team City, then you know about the issue:

Continue reading

Using NDepend in Team City build management tool

In my effort to bring a good development environment for the next version of Tech Head Brothers portal, in which we should be (at the moment) three to develop, I went on with the integration of NDepend, the wonderful tool of Patrick Smacchia, with the just as well JetBrains Team City build management server.

As said in my last post I have defined three builds type

Continue reading

Posts tagged with "Team System" (6 posts)

Posts tagged with "TeamCity" (21 posts)

TeamCity and GitLab working together with SSH Keys

Aug 24, 2012

On February I posted about “Running your TeamCity builds from PowerShell for any Git branch” and now I have to configure a new ssh key so that TeamCity can connect to Gitlab.

I struggled a bit getting continuous error message from TeamCity that the connection failed because it was enable to load identity file. File rights were all ok on the key file and everything looked fine. But still the error message.

Continue reading

Posts tagged with "Tech Head Brothers" (74 posts)

[PDC 2008] – Show off selection

Finally my video didn’t make it for the ShowOff contest at the PDC 2008. Here is the answer I’ve got:

I wanted to thank you again for your ShowOff entry. Unfortunately, due to the overwhelming response to ShowOff, we had to make some hard decisions about which entries we would be able to show during the event. We really liked your video, but unfortunately it didn't make it into our final cut this year.

Continue reading

Posts tagged with "Tools" (107 posts)

Mounting a remote Linux folder as a Windows drive through SSH

Nov 27, 2010

There are some times in which you need to come to some extreme solutions. Having two days of trials without success to have a portlet running in a local Tomcat with Day portal I came to the following solution.

Shortly why I came to such a solution? I needed to work on some CSS on a portal solution, and the development cycle was taking too long. I had to commit to svn, run a teamcity build which deployed a war to weblogic to finally be able to test my CSS changes. Far too long.

Continue reading

Posts tagged with "Ubuntu" (1 posts)

Posts tagged with "Unit Test" (12 posts)

Unit testing Async WPF ICommand

Feb 10, 2022

In the past, within my team at Innoveo, we had several discussions about the best way to unit test async WPF ICommand. We value quality, so testing is essential to us. We decided to make the methods called by the command internal so that our tests could call those.

What is the problem with unit testing an Async WPF ICommand? The problem is that the command is an async void method! So, you have no way to await the end of the execution of your command. So, your test might assert on things that are still executing.

Continue reading

White’s tip for your automated WPF functional tests

Jan 28, 2010

When you build automated WPF functional test using White in which you need to open a file through a Windows open file dialog, you will be confronted with the following issue. Windows open file dialog remember the last path with which you opened a file.

So you might have some unit tests that are green for a while which starts to be red for no apparent reasons.

Continue reading

Posts tagged with "VSTO" (17 posts)

Posts tagged with "Video" (1 posts)

PIXELS by PATRICK JEAN

Apr 9, 2010

If you are an old (even not so old) video game player, do you remember those old days of fun with pac man, space invaders, frogger… You have to watch this fantastic video!

New York invasion by 8-bits creatures !

Continue reading

Posts tagged with "Vista" (9 posts)

Thanks to Vista Roll Back Driver

Apr 24, 2008

Since the last update two-three days ago of my notebook ATI video drivers I had only crashes! Finally thanks to the Vista Roll Back Driver I was able to go back to the previous version and I don't have anymore crashes when I go in sleep mode.

Continue reading

Vista SP1 installed

Feb 15, 2008

After some cleanup on my C: drive to get back to the 7Gb minimum free space needed, an update to the latest drivers of ATI and finally a backup with Acronis True Image Workstation, I was ready to install the Windows Vista SP1.

Continue reading

Posts tagged with "Visual Studio" (42 posts)

Debugging Dapr applications with Rider or Visual Studio: A better way

Dapr is an impressive set of APIs for building distributed applications with any language and platform. It provides a set of building blocks that you can use to build microservices. Dapr is based on sidecar architecture. Meaning that you need to run a Dapr sidecar for each of your applications. How do you debug your Dapr apps effectively? If you have been using PowerShell scripts to run and attach your debugger, you know how tedious and error-prone it can be. Ready to see how to use Rider or Visual Studio to debug your Dapr apps with ease and confidence?

Continue reading

Posts tagged with "Visual Studio 2017" (1 posts)

Posts tagged with "VisualSVN" (2 posts)

Posts tagged with "WASI" (2 posts)

Using WASM and WASI to run .NET 7 on a Raspberry PI Zero 2 W

WebAssembly (WASM) and WebAssembly System Interface (WASI) are opening new opportunities for developers. .NET developers became familiar with WASM when Blazor WebAssembly was released. Blazor WebAssembly runs client-side in the browser on a WebAssembly-based .NET runtime. WASI is bringing WASM out of the browser world by providing a system interface to run WebAssembly outside the web. It is a standard for how WASM modules interact with the host environment. This post will show you how to run .NET 7 on a Raspberry PI Zero 2 W using WASM and WASI.

Continue reading

Posts tagged with "WASM" (3 posts)

Using WASM and WASI to run .NET 7 on a Raspberry PI Zero 2 W

WebAssembly (WASM) and WebAssembly System Interface (WASI) are opening new opportunities for developers. .NET developers became familiar with WASM when Blazor WebAssembly was released. Blazor WebAssembly runs client-side in the browser on a WebAssembly-based .NET runtime. WASI is bringing WASM out of the browser world by providing a system interface to run WebAssembly outside the web. It is a standard for how WASM modules interact with the host environment. This post will show you how to run .NET 7 on a Raspberry PI Zero 2 W using WASM and WASI.

Continue reading

Write Logseq plugins in WebAssembly using .NET and C#

Oct 12, 2022

I am using a tool called logseq to manage my notes. It is a fantastic tool, and I would like to be able to extend it. I am not an expert web developer, but I am a .NET developer. I would like to be able to write plugins for logseq using .NET and C#. I have found a way to do it using WebAssembly. In this post, I am going to show you how to do it.

Continue reading

Posts tagged with "WCF" (10 posts)

Posts tagged with "WPF" (12 posts)

Unit testing Async WPF ICommand

Feb 10, 2022

In the past, within my team at Innoveo, we had several discussions about the best way to unit test async WPF ICommand. We value quality, so testing is essential to us. We decided to make the methods called by the command internal so that our tests could call those.

What is the problem with unit testing an Async WPF ICommand? The problem is that the command is an async void method! So, you have no way to await the end of the execution of your command. So, your test might assert on things that are still executing.

Continue reading

WPF and IOC on .NET Core 3.0

Apr 18, 2019

At work, we are planning to migrate our WPF application from .NET Framework 4.7 to .NET Core 3.0. The main reason for doing so is that it was always a big pain to organize the updates of the .NET Framework on our customer machines. So being able to bundle .NET Core with our application is a big plus for us. Then, for sure, we are looking for the performance improvements brought by .NET Core and finally the new capabilities brought by the fast pace of innovation of .NET Core.

Continue reading

Posts tagged with "Watin" (1 posts)

ASP.NET MVC 2, MSpec and Watin

May 19, 2010

The other day I posted about “Automated functional tests using Watin and MSpec” which we do at Jobping as a spike to automate our functional tests on our ASP.NET MVC 2 site.

Yesterday evening I was facing an issue in my base class WebBaseSpec which led to really strange side effects. Basically when I was running one unit test alone it was Green, running all or more than one unit test will fail miserably with the well known STA issue of Watin.

Continue reading

Posts tagged with "Web Application Testing" (2 posts)

BDD web application testing using easyB and Sahi

I already talked about the way we are testing our web application at Jobping in the following posts “ASP.NET MVC 2, MSpec and Watin ” and ”Automated functional tests using Watin and MSpec”.

The other day I landed on the DZone page “Automated Browser Testing: What's in Your Toolkit?” In the list of around 10 tools I knew some of them but there were 3 I didn’t knew. So I decided to go on and read about those 3. In this list there were Sahi which got me with those three sentences:

Continue reading

Posts tagged with "Web Services" (7 posts)

Legacy code integration using Windows Communication Foundation (WCF) and Java Axis in a Service Oriented Architecture

What are the options when you need to integrate Windows legacy code in a heterogeneous Service Oriented Architecture (SOA)?

The proposed problem was to expose a set of Windows C++ DLLs to a global SOA platform written in Java. Those DLLs would be then exposed as backend computation services.

Continue reading

Posts tagged with "Whidbey" (10 posts)

Posts tagged with "Windows" (4 posts)

Automate developer work using Git Aliases

Feb 28, 2020

I am using Git for many, many years. I am a big fan of it. How could that be different when you had to use versioning systems like CVS, SVN... I even took influence so that the whole company I work for migrates to it.

Over the years, I have used different Git clients, tried to work only from my IDE without much liking it.

Continue reading

Uninstalling a program which doesn't want to on Windows 8.1

Sep 19, 2013

I updated to Windows 8.1 RTM a week ago and since that time I had the issue that AMD Radeon™ RAMDisk was not running but even worse I could not uninstall it because the uninstaller was saying that it was the wrong version of the operating system!
I was using it on Windows 8, it was working great on it but after the update it wasn’t anymore.

Continue reading

Posts tagged with "Windows 7" (7 posts)

Posts tagged with "Windows Live" (1 posts)

Posts tagged with "Windows Live SkyDrive" (1 posts)

Posts tagged with "Windows Live Writer" (1 posts)

Windows Live Writer Dynamic Template Plugin

<div class="wlWriterHeaderFooter" style="float:right; margin:0px; padding:0px 0px 4px 8px;"><script type="text/javascript">digg_url = "http://weblogs.asp.net/lkempe/archive/2008/06/13/windows-live-writer-dynamic-template-plugin.aspx";digg_title = "Windows Live Writer Dynamic Template Plugin";digg_bgcolor = "#FFFFFF";digg_skin = "normal";</script><script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script><script type="text/javascript">digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;</script></div>

Today working on the development of a website I had the following user story to develop “As an author I want to be able to add a lightbox/darkbox around my content in Live Writer”.

Continue reading

Posts tagged with "Windows Phone 7" (1 posts)

Posts tagged with "WordML" (3 posts)

Posts tagged with "Work" (19 posts)

Second step of a long migration weekend reached

Jun 6, 2006

My migration weekend started on Friday at 5:00PM, you might read more about here : "First step of a long migration weekend reached".

The second step was <strong>System Acceptance Tests</strong> from business application's owners. And I am really happy to say that it went well, even better than what I thought, and all applications are tested and are working well and really fast according to the different testers. So we received the <strong>GO</strong> from the business to activate the new platform to all the users.

Continue reading

Posts tagged with "XAML" (1 posts)

Posts tagged with "Zune" (2 posts)

Zune update 1.4

Jun 2, 2007

Just plugged my Zune (the working one ;) a long story, maybe some other time) and got a popup that firmware 1.4 is realized.

This update improves shuffle behavior and includes prior improvements to help enhance stability and performance.

Continue reading

Posts tagged with "dotCover" (1 posts)

Posts tagged with "dotTrace" (1 posts)

Posts tagged with "ecenter solutions" (4 posts)

Posts tagged with "gRPC" (3 posts)

Calling Dapr service with gRPC

Mar 25, 2021

In previous posts, we focused on Dapr service invocation using the HTTP protocol. Dapr, through its service invocation, can also reliably and securely communicate with other applications using gRPC. We will have a look at this other capability in this post.

Continue reading

gRPC and C# 8 Async stream

Sep 18, 2019

gRPC and its idea to describe an API in a standardized file, which can generate both client and server code to interact in different languages is a compelling idea. In this post, I would like to have a quick look at the experience you would have with gRPC streaming capability and the new C# 8 async streams, which sounds like a perfect match.

Continue reading

Posts tagged with "hubot" (3 posts)

Posts tagged with "innoveo solutions" (33 posts)

Want a job at Innoveo?

Sep 24, 2010

We are searching for an excellent and motivated Software Engineer, with a focus on Java and Web Development, to support us in the development of our standard Software product -Innoveo Skye- at our office in Zurich, Switzerland. Some more information:

  • Web technology: (X)HTML, CSS, AJAX, JSF, jQuery

Continue reading

Posts tagged with "jQuery" (2 posts)

jQuery goes 1.3

Jan 14, 2009

As announced on the jQuery blog, “jQuery 1.3 and the jQuery Foundation”, jQuery for it third anniversary goes to release 1.3 with the following features: <li>Sizzle: A sizzlin’ hot CSS selector engine. </li> <li>Live Events: Event delegation with a jQuery twist. </li> <li>jQuery Event Overhaul: Completely rewired to simplify event handling. </li> <li>HTML Injection Rewrite: Lightning-fast HTML appending. </li> <li>Offset Rewrite: Super-quick position calculation. </li> <li>No More Browser Sniffing: Using feature detection to help jQuery last for many more years to come.</li>

Continue reading

Posts tagged with "media extender" (1 posts)

Posts tagged with "mock" (1 posts)

Posts tagged with "white" (5 posts)

White’s tip for your automated WPF functional tests

Jan 28, 2010

When you build automated WPF functional test using White in which you need to open a file through a Windows open file dialog, you will be confronted with the following issue. Windows open file dialog remember the last path with which you opened a file.

So you might have some unit tests that are green for a while which starts to be red for no apparent reasons.

Continue reading

Posts tagged with "xbox 360" (1 posts)