Skip to content

dotnet

Happy unicorn dancing on meadows with rainbow on a back. Sun is shining.

What’s New in .NET 10

The tech world moves fast. It was just few days ago when I patched .NET 6.0 apps to .NET 8.0 and now we have the .NET 10 already lurking around the corner! In this post I want to walk through what’s new in .NET 10 and C# 14. I will try to keep it short, so that you don’t have to walk through long release lists.

Long‑Term Release

.NET 10 …

Photo by Negative Space: https://www.pexels.com/photo/grayscale-photo-of-computer-laptop-near-white-notebook-and-ceramic-mug-on-table-169573/

Yes, You Can Run C# Code in Microsoft Fabric Notebooks

As of today the Microsoft Fabric Notebooks supports following languages:

  • PySpark (Python)
  • Spark (Scala)
  • Spark SQL
  • SparkR

If you are coming to Fabric world with an OOP programming background (like I do), those aren’t the languages you have most likely used. Of course, Python is not that hard of a language to learn, and the dataframes are sooo good for data manipulation that you will probably want to learn it …

Photo by Pixabay: https://www.pexels.com/photo/purple-foot-bridge-220769/

Building Modern Applications on Microsoft Fabric

Modern applications demand seamless data integration, real-time responsiveness, and scalability (+ of course cool looking UI). Microsoft Fabric unifies data movement, processing and storage into a cohesive environment. As of now the end game for Microsoft Fabric has been the Power BI report. When that is done we are fine, but think about all the work, calculation power and storage usage that we are having just to provide a report. …

Generated with ChatGPT

Build and Connect Blazor Chat App with MCP C# SDK

In my previous blog post, I showed how you can create your own MCP server with C#. In this post we are going to build a Blazor Web Chat application that connects to that server and utilizes local LLAMA 3.1 model with Ollama. This means that our client, MCP server and LLM model will all be running in our local environment.

What is MCP C# SDK?

We are …

Photo by InstaWalli: https://www.pexels.com/photo/brown-cardboard-robot-artwork-176842/

Build Your Own MCP Server with MCP C# SDK

In early April Microsoft published C# SDK for MCP Server. If you aren’t familiar with MCP you can check great definition from Philipp Schmid blog. If you are too lazy to read it I can give you a short intro: MCP is a standardized way to give capabilities for LLM apps. That is like most simplified way to intro it. You can implement your own tools (servers in MCP …

Part I: Use Microsoft Fabric GraphQL API with .NET App

Microsoft Fabric’s GraphQL API allows querying data stores in a flexible and efficient way. In this post I will walk through how you can integrate the Fabric GraphQL API into a .NET application, covering authentication, making queries, and handling responses. We are going to implement the solution by using service principal, but you can also use the interactive auth also if you want to.

Authentication

As shown in my …

Photo by Google DeepMind: https://www.pexels.com/photo/ai-graphic-design-25626520/

DevOps: Leverage AI to Diagnose and Resolve CI/CD Pipeline Errors

CI/CD pipelines are a critical part of modern software development, but diagnosing errors when they arise can be difficult and time-consuming. In this post, we’ll look at how to use Azure OpenAI to help explain and troubleshoot common CI/CD errors. By applying AI to understand error messages and identify root causes, you can make it easier to debug errors.

Prerequisites

Before we start, we need to setup few things into …

Created with Dall-E

Develop Teams Bot with Visual Studio

Microsoft has provided tools to develop Teams Bot for a long time. I think the first tools were released around 2016(?). The first toolset included quite a bit of manual labor to get things done and working, but as of 2024 things have changed quite a bit. Now you can build, test, deploy and publish bots directly from Visual Studio (or code if you run into authentication troubles like I …

Building C# project with Github Actions

Github Actions is a new way to implement continuous integration and continuous deployment for Github projects. Pipelines are called workflows and they are written in everybodys favorite language: YAML. Editing can be done directly in github.com and Github provides nice set of templates to get started.

Github Actions provides nice amount of build time for free. Total of 2000 minutes per month. Pricing has some weird aspect though, the 2000 …