Skip to main content

Posts

Building a Local AI Agent with .NET and Ollama — Getting Started

AI is everywhere these days, but most of the examples we see involve sending our data to a cloud-based AI service. I wanted to try something a little different: Can we build an AI agent that runs locally and can be integrated with a .NET application? The answer is yes. In this series, I’ll walk through how I’m building a local AI agent using .NET, C# and Ollama , and gradually give the agent more capabilities. The goal isn’t just to create another chatbot. We will eventually make the agent capable of working with files, databases, APIs and other tools . What Are We Building? The basic idea is fairly simple. We will have a .NET application that communicates with a locally running AI model. User Request ↓ AI Agent ↓ Agent Decision & Execution 1 Decide what needs to be done 2 Call a tool ...
Recent posts

Free Online Calculators | SWP, BMI & Random Number Generator

Free Online Calculators SWP Calculator BMI Calculator Random Number Generator SWP Calculator - Systematic Withdrawal Plan Calculate how long your investments will last with systematic withdrawals. This tool helps you plan your finances by estimating the duration of your funds based on monthly withdrawals. Total Investment Monthly Withdrawal Annual Interest Rate (%) Time (Years) Calculate BMI Calculator - Body Mass Index Check your BMI to determine if you are underweight, normal, overweight, or obese. This calculator helps you assess your body mass index based on your weight and height. Weight (kg) Height Unit Meters (m) Feet & Inches Height (m) Height (Feet) Height (Inches) Calculate ...

AngularJS Introduction

     Introduction to AngularJs     Components of AngularJs & Core Features

Export Grid View of .Net to Excel

Dear All, Here is a new article for exporting your Grid View to Excel. Feel Free to ask your queries. Following are the steps for this: 1. Create a Grid View on Web Page. 2. Bind grid view with data.  For binding of gridview you can refer to the previous article "Dynamic Gridview Bind" Url: http://dinesh-itsolutions.blogspot.in/2010/09/dynamic-gridview-bind.html. 3. After binding the grid view put a button on the web page named "Export to Excel".  On Clicking of that button you can copy and paste the following code. protected void btnExport( object sender, EventArgs e) {     Response.Clear();     Response.Buffer = true ;     Response.AddHeader( "content-disposition" ,                                            "attachment;filename=ExportedFile.xls" );     Response.Ch...

Delete data from Gridview using Command Field

In this article, I am going to explain how to delete a record from Gridview.This is very easy process and steps for this is as follows: 1. Add New Webpage in your Webapplication. 2. Drag Gridview from toolbox and bind it to database. Note :If you need any help in binding the gridview to the database you can view my article which is: http://dinesh-itsolutions.blogspot.com/2010/09/dynamic-gridview-bind.html 3. Now we proceed further after successfully binding of data.The Steps for Deleting records from gridview are: a: Select Edit columns from properties of Gridview. b:You will see dialog box appears for Field: c:You have to select the Command Fields option from the available field.In Command Fields you will find 3 events which are: Edit,Update and Cancel. Select Delete From the above Points select Delete Button. d: Now fire the event RowDeleteing from Gridview Properties Coding to delete the data from gridview on Event Row Deleting ...

Introduction to .NET and .NET Architecture

What is .NET? Microsoft .NET (pronounced “dot net”) is a software component that runs on the Windows operating system. .NET provides tools and libraries that enable developers to create Windows software much faster and easier. .NET benefits end-users by providing applications of higher capability, quality and security. The .NET Framework must be installed on a user’s PC to run .NET applications. This is how Microsoft describes it: “.NET is the Microsoft Web services strategy to connect information, people, systems, and devices through software. Integrated across the Microsoft platform, .NET technology provides the ability to quickly build, deploy, manage, and use connected, security-enhanced solutions with Web services.     What is the .NET architecture? Microsoft .NET consists of four major components: Common Language Specification (CLS) – blue in the diagram below Framework Class Library (FCL) – red Common Language Runtime (CLR) – gr...