ttmind

Main Content

Please wait...
The rise of conversational AI has been a game-changer for businesses and individuals alike. From chatbots that answer customer queries to virtual assistants that schedule appointments, conversational AI has made it easier to communicate and get things done. One of the most exciting developments in conversational AI is ChatGPT. Developed by OpenAI, ChatGPT is a language model based on the GPT-3.5 architecture that can understand and generate human-like responses to text inputs. So, what sets ....Read More

Learn ASP.NET Step By Step with Video

Learn ASP.NET Step By Step with Video Watch With Playlist https://youtube.com/playlist?list=PLHIv9us2pmXS8FropD4KhZDDSEBKdeaC1 Or Watch with Topic Store data in File With C# https://youtu.be/ibtqh88XEXk Add Data in MS SQL Table with Store procedure By Using ADODOTNET https://youtu.be/DMOGNf32U0U ASP.NET MVC for beginners with Entity Framework https://youtu.be/jtGnKK0zP3c ASPDOTNET MVC for beginners with ADO NET https://youtu.be/ihaI_chin64 CRUD using SQL Helper https://youtu.be/YmGd2pyq-Cw ....Read More

.NET Preview 5 on Ubuntu 20.04

It has just been a month, Microsoft has released .NET Core 3.1 stating it as LTS (Long Term Support). And, they already are in preview for .NET 5 which is planned to get its debut on November 2020, however it is not going to be LTS, that is, it won’t be considered as final or stable version. .NET 5 aims to improve in various ways. Building the product on a single code base and producing a single .NET framework that have uniform runtime behavior. Here , I am going to show you how can you ....Read More

2020 Social Media Image Sizes Cheat Sheet

The visual part of your brand is often the first thing your audience sees so it important that your social media branding looks excellent. The only problem is you can’t just use the same image across all of your social media networks and social media platforms are always hanging the image sizes and formats. It can be a full-time job to keep up-to-date with the latest social media image size information. That’s why it is important to have a social media strategy and digital marketi ....Read More
As we know ASP.NET Core project needs to published to run in production and we have different types of publishing models, but with the Self-Contained Deployment model, we can reduce the size of libraries with .NET core 3.0 SDK. Many times our project do not need all the things that come with default publishing, so with "PublishTrimmed" options, we can reduce size which just removes unused assemblies in our project. This can be done either with our Project property or with the setup of the publi ....Read More
ASP.NET Core Data Protection using IDataProtectionProvider With Example Find this Demo on Github This Process is easier for developers to use solid Cryptographic algorithm to make safe their data in the case you need to encrypt/decrypt your data frequently. With this, If you need to encrypt data, simply pass the data into the protect method. If you need to access the data again, pass the encrypted data into the Unprotect method, and it will be converted back into plaintext. By defa ....Read More
Routing in ASP.NET core 3.0 and What does it means Endpoint Routing? Routing in ASP.NET Core 3.0 Routing is the process of matching incoming path URL and corresponding to the action’s method in an application. Routes are described in applications and configured in Startup while starting app. A Route can extract the values form URL from the request and values can be used for processing request. By using routing information form applications, routing will be able to generate URL that ma ....Read More

Get file size in bytes in C# using the FileInfo.Length property

Get File Size in C#. How to get a file size in bytes using C# using the FileInfo.Length property. The size of any file in bytes can be returned by the Length property of FileInfo Class. Following code returns the size of file: // To Get size of any file long FileSize = MyFile.Length; Console.WriteLine("File Size in Bytes: {0}", FileSize); Here, to run it we must import System.IO and System.Text namespaces in the project. Coding Implementation Here is the complete coding impl ....Read More
More than 800 million of people of the entire world are using social media websites, which clearly influence the society. But what about us? Here we are discussing different ways that social media can change our psychology. 1. SOcial Media’s LIKE A DRUG I Can’t log off? Astonishingly, 5-10% of us (Internet users) cannot control how much time we spend on internet surfing. It is an addiction, as contrasting to a material addiction, our brain scans of these people actually show a ....Read More
Here I am a going to explains how to send mobile notifications from Firebase using ASP.NET CORE 3.0 with Firebase Admin SDK. Follow the steps: Step 1: Add the FirebaseAdmin package by NuGet. Step 2: Get a Firebase service account key from Project Setting -> Service account -> Click on generate new private key. Step 3: Initialize the FirebaseAdmin SDK from Startup.cs public IServiceProvider ConfigureServices(IServiceCollection services) var googleCredential = _hostingEnvironment. ....Read More