23,915 questions with .NET-related tags

Sort by: Updated
3 answers

Using SQL Server Read/Write Image Ever Day With A Table

I've a case that need to save Image in database, than user can search/upload site(DB) to site(DB) ever day from winform. Every image size average 250kb - 350kb, The total usage with image perhaps growth 110GB/year without delete form database. I'll…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,830 questions
asked 2024-04-25T12:58:15.02+00:00
LRC1006 0 Reputation points
commented 2024-04-29T20:57:40.3133333+00:00
Erland Sommarskog 101K Reputation points MVP
1 answer

Will Visual Studio upgrade project files accordingly?

I may have an old .NET Framework app dumped into my lap. I've been looking at it for a while, to try and wrap my head around it. It's got 18 projects in the solution file, comprised of 5 different .NET Frameworks. Everything from .NET Framework 2, to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,614 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,120 questions
asked 2024-04-29T20:26:12.4766667+00:00
Falanga, Rod, DOH 60 Reputation points
answered 2024-04-29T20:37:16.6366667+00:00
Michael Taylor 48,311 Reputation points
1 answer

An unhandled exception occurred while processing the request. ApplicationException:

Register.cshtml 1. 1. xml @page @model FaceAdminApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } @if (Model.IsPhoneNumberPresent) { <div…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,174 questions
asked 2024-04-29T07:34:13.99+00:00
Nandini S 20 Reputation points
answered 2024-04-29T20:03:50.9266667+00:00
Bruce (SqlWork.com) 56,286 Reputation points
1 answer

Request are stucking in AuthenticateRequest State on IIS

We're facing a critical issue with our API server. It's built on C# .NET 4 with a C++ backend. The problem manifests as certain requests hitting the IIS of the backend server some instances, these requests remain stuck in the AuthenticateRequest state,…

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,144 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
28 questions
asked 2024-04-22T07:01:24.13+00:00
Parmeshwar Kale 0 Reputation points
edited an answer 2024-04-29T19:48:22.27+00:00
Bruce (SqlWork.com) 56,286 Reputation points
2 answers

How to view/show image from file server path on button click

i am developing asp.net application. i am uploading many image documents in file server path like example (\server2\prj1\picture1.png) At the same time, i want to view/show the same file (image document) on button click event. How to show this image…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,260 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,256 questions
asked 2024-04-27T18:06:29.1133333+00:00
Gani_tpt 1,526 Reputation points
edited an answer 2024-04-29T19:22:34.7366667+00:00
Albert Kallal 4,651 Reputation points
1 answer

Visual Studio Designer Copy With Name

I created a new label. It came with "label1" name. I changed the name "label1" to "myLabel1". I'm copying this: "myLabel1" When I paste it comes as: "label1" It wasn't like this before. When I paste must…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,830 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,614 questions
asked 2024-04-27T05:37:43.91+00:00
Doğukan Topaloğlu 0 Reputation points
commented 2024-04-29T19:19:39.1+00:00
Viorel 112.1K Reputation points
0 answers

Asp.net MVC renders 2 "form action" statements for the same form when in responsive mode

ASP.Net MVC VS 2022 Windows 11 App runs fine in desktop mode. This line: <@using (@Html.BeginForm("SubmitForm", "Home", FormMethod.Post, new { id = "subform", verify = "Y" }))> is generated correctly…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,260 questions
asked 2024-04-29T18:06:54.7466667+00:00
Jean Vallee 21 Reputation points
edited a comment 2024-04-29T18:44:39.9166667+00:00
AgaveJoe 26,206 Reputation points
1 answer

Multi-Tenant Blazor Server Side app Hosted in Azure

I am working on a new project to host a Multi-Tenant Application using the following technologies: Blazor Server Side, Hosted on an Azure App Service, Using Azure SignalR, using Feature Toggles in Azure App Configuration and Secured with Azure Active…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,393 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,894 questions
asked 2024-04-29T13:06:10.9633333+00:00
Tom McCartan 5 Reputation points
commented 2024-04-29T18:23:35.3033333+00:00
Tom McCartan 5 Reputation points
1 answer

Unable to reuse the same layout in a new form

Unable to reuse the same layout in a new form. I've created a CustomControl inherited from ContainerControl and added items in it. However, I'm encountering difficulties when attempting to use it in another form. I want to use the below in a new form. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,830 questions
asked 2024-04-28T19:18:13.5266667+00:00
Vignesh 0 Reputation points
commented 2024-04-29T18:19:27.8033333+00:00
Vignesh 0 Reputation points
2 answers

Scriptmanager alert not displaying properly in same page

I am doing some simple screen add functionality and after end of saving, i am using scriptmanager.RegisterStartupScript() for save message. when i run the program, the alert have not been throwing properly. it showing same page but, without controls like…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,260 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,256 questions
asked 2024-04-29T17:12:15.2666667+00:00
Gani_tpt 1,526 Reputation points
edited an answer 2024-04-29T17:53:22.7533333+00:00
Bruce (SqlWork.com) 56,286 Reputation points
1 answer

How to solve the white page problem in blazor server.

When I start my blazor server application, the page content is displayed for less than a second, then I get a blank page. When I right-click inpect in the browser I get the code : <html> **<head></head>** …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,393 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 0 Reputation points
answered 2024-04-29T17:47:06.5333333+00:00
Bruce (SqlWork.com) 56,286 Reputation points
1 answer

Blazor web app net 8 rendermode auto with API

I am creating a web application with blazor web app and net 8 with rendermode Auto. I have an api created in .net hosted on another server different from where the blazor web application will go. The api needs a token in each call, I am having problems…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,393 questions
asked 2024-04-24T15:40:36.8+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
commented 2024-04-29T17:28:07.4933333+00:00
Bruce (SqlWork.com) 56,286 Reputation points
1 answer

Customize the EmailConfirmation and 2FA token expiration in .NET 8.0

Is there a way to extend the 2FA and Email confirmation token expiration timespan with email in .NET 8.0? I am using the Microsoft.AspNetCore.Identity and Microsoft.AspNetCore.Authentication classes to use the 2FA with…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,174 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,256 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
297 questions
asked 2024-04-27T00:03:30.5266667+00:00
Francisco A. Henríquez N 20 Reputation points
accepted 2024-04-29T17:04:38.0533333+00:00
Francisco A. Henríquez N 20 Reputation points
1 answer

MAUI app crashing with release mode. Works fine with debud mode ?

MAUI app crashes with release mode. Works fine with debug mode. Targeting .net run time is .net 7.0. We are using a few syncfusion controls in our application. Those nuggets were up to date till now. Here are the crash…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,878 questions
asked 2023-12-13T16:27:12.44+00:00
KallemSandeep-8232 31 Reputation points
answered 2024-04-29T17:04:17.7066667+00:00
Chuck C Giddens 5 Reputation points
3 answers One of the answers was accepted by the question author.

How to calculate years from two different date in ASP.NET C#

I have Employee Admission Date which is stored in SQL table. In the ASP.NET click event, i want to calculate and find the years from the Admission Date and Current Date. For example, Admission Date : 10-MAR-2023 Current Date : 28-APR-2024 condition is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,260 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,256 questions
asked 2024-04-28T17:11:24.31+00:00
Gani_tpt 1,526 Reputation points
commented 2024-04-29T17:03:05.9533333+00:00
Gani_tpt 1,526 Reputation points
4 answers

Azure Static Web App function API refusing connection from web app

I have a Blazor WASM app deployed to an Azure Static Web app with a managed .NET 8 isolated Azure Function API. When calling the API directly from Postman using the auto-generated web app URL + the API route I receive the expected response and can see a…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,275 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,379 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,393 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
765 questions
asked 2024-03-10T19:43:13.2+00:00
Beau 0 Reputation points
answered 2024-04-29T16:08:17.1466667+00:00
Bruce (SqlWork.com) 56,286 Reputation points
0 answers

*.net referenced dll is not seen with a using statement

Hi, I have a project called MBSAnalysisMVCWebApp which is a web app. I reference MBSAnalysisMVCWebApp from my main MVC project called Mbsa. But when I try a using statement, It says MBSAnalysisMVCWebApp cannot be seen?  The MBSAnalysisMVCWebApp.dll…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,379 questions
asked 2024-04-29T15:37:56.6+00:00
iqworks Information Quality Works 216 Reputation points
1 answer

how to use signalr in minimal api?

can not use AddSignalR and I can use AddSignalRCore but there will be error. I created the ASP.NET Core Web API (native aot).

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,174 questions
asked 2024-04-29T13:33:56.15+00:00
mc 3,681 Reputation points
answered 2024-04-29T15:33:46.1566667+00:00
Bruce (SqlWork.com) 56,286 Reputation points
2 answers One of the answers was accepted by the question author.

COM aggregation, "stabilization" AddRef/Release pair, necessary? (Don Box book)

To the excellent members of the COM team:   I have one question with the “stabilization” technique introduced in Don Box’s book.   In functions like FinalConstruct(), the outer object might create inner aggregation objects. These inner objects in turn…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,379 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,530 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,494 questions
asked 2024-04-29T07:02:22.5866667+00:00
masterjodi 20 Reputation points
accepted 2024-04-29T15:31:57.8+00:00
masterjodi 20 Reputation points
5 answers One of the answers was accepted by the question author.

Using MS Graph to send email from singe predefined/pre-set mailbox within .net web application

We need our application to send emails via MS Graph using a set single mailbox. I have the following, but this is not working, with the following: 'Exception of type 'Microsoft.Graph.Models.ODataErrors.ODataError' was thrown'. Digging into the details…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,603 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,260 questions
asked 2023-06-05T11:36:52.11+00:00
Julian Cram 25 Reputation points
edited a comment 2024-04-29T15:27:38.1266667+00:00
Trevor Westin 6 Reputation points