.NET MAUI

.NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. .NET MAUI Essentials arrives this fall 2021. Alongside more details of MAUI, Microsoft says it will end updates to the Xamarin mobile app development platform in November 2022. Xamarin has been the Microsoft technology... » read more

Secret Manager Tool for .NET App

This document explains how to manage sensitive data for an ASP.NET Core app on a development machine. Never store passwords or other sensitive data in source code. Production secrets shouldn’t be used for development or test. Secrets shouldn’t be deployed with the app. Instead, production secrets should be accessed through a controlled means like environment... » read more

SendGrid Setup

Create SendGrid Account https://sendgrid.com/ Install the package The recommended installation uses the NuGet package manager. Run the following: Alternatively, you can download the SendGrid C# .NET library directly from our Github repository. Send your first email The following is the minimum needed code to send an email:

Install Entity Framework for .NET Core

Install the Packages Go to Tools and then select -> NuGet Package Manager -> Package Manager Console. You can see the PM> and copy and paste the below line to install the Database Provider package. This package is used to set the database provider as SQL Server You can see the PM> and copy and... » read more

JPG Image SOI Marker Error

Error: Invalid SOI Marker detected in file. Fix: SOI = Start of Image Marker If you are using FileStream to load in image file, make sure to reset the SOI position before you re-load the FileStream object. Examples:

.NET 5 System.Drawing

Note: The System.Drawing namespace is not recommended for new development, because it’s not supported within Windows services, ASP.NET Core, and ASP.NET. Attempting to use System.Drawing classes within one of these application types may result in run-time exceptions and diminished service performance. Recommended alternatives include ImageSharp, SkiaSharp, and Windows Imaging Components. On Windows, System.Drawing depends on the GDI+ native library, which is shipped as part... » read more

Installing .NET 5 for IIS

https://dotnet.microsoft.com/download https://dotnet.microsoft.com/download/dotnet/current/runtime Error: HTTP Error 500.30 – ASP.NET Core app failed to start

Integrate Reporting Services Using the Report Viewer Controls

The Report Viewer controls can be used to integrate Reporting Services RDL reports into WebForms and WinForms apps.  Install the Report Viewer control NuGet package via the NuGet package manager console. .aspx page Authentication with Report Server https://stackoverflow.com/questions/671694/passing-credentials-to-sql-report-server-2008 CustomReportCredentials.cs Sources: https://docs.microsoft.com/en-us/sql/reporting-services/application-integration/integrating-reporting-services-using-reportviewer-controls-get-started?view=sql-server-ver15