Why does DI container retain references to transient instances that are IDisposable?
https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection-guidelines#disposable-transient-services-captured-by-container says, "by default the DI container will hold onto these references, and not Dispose() of them until the…
Developer technologies | C#
how to keep the decimalpoint 3 -5 of a float?
float x=393f,y=393f; x-y may be a value not zero. bool IsInLine(float x,float y){} this is to determin weather x,y is in my line but if I pass parameter it will compute error. the value may be a integer and same. but if x-x1 or x-y is not zero. I think…
Developer technologies | .NET | .NET Runtime
How to upload and store files in database in blazor web app
How to upload and store files in database in blazor web app
Developer technologies | ASP.NET | Other
Cannot Access Microsoft 365 Developer Sandbox — No Admin Rights / No Tenant Provisioned
Hi Microsoft Team, I am a Visual Studio Dev Essentials member using my business account (******@recruiter-services.com). I qualify for the Microsoft 365 Developer Program sandbox, but my account was never provisioned with a tenant. As a result, I: …
Developer technologies | Visual Studio | Setup
why ViewData is encoded for unicode text in asp.net web?
ViewData["Title"] ="xxxxxxxxxxx"; it is 首页 why?
Developer technologies | ASP.NET | ASP.NET Core
Are BinScope checks like ATLVersionCheck and GSCheck applicable to C# applications?
Dear Team, I ran Microsoft BinScope 2014 on a C# application (.NET managed code) and observed several failed checks including: ATLVersionCheck ATLvulnCheck CompilerVersionCheck GSCheck GSFriendlyInitCheck GSFunctionSafeBuffersCheck RSA32Check …
Developer technologies | C#
Allocate / free memory with Visual Studio C++
I have a very simple program int main(void) { double* myVect = new double[10000000]; wait(2); // wait for 2 seconds delete[] myVect; wait(2); return 0; } I execute this program in Debug mode, put a breakpoint on "return 0" and look at the…
Developer technologies | C++
Blocked from accessing native Azure Speech SDK (C++/x64) for Unreal Engine integration—installer reports success but does not install required binaries (no speechapi_cxx.h, .lib, or .dll). Project is C++ only; not using .NET or NuGet.
Hello Azure Support, I’m a developer working on a native C++ integration of Azure Speech Services within Unreal Engine, and I’m currently blocked from accessing the correct SDK. Despite multiple attempts, I have been unable to obtain the native C++…
Developer technologies | C++
Is Stack Protection Header applicable or configurable in C# applications?
Dear Team, I’m analyzing a C#application and noticed that tools like Process Explorer or PE header inspectors show "Stack Protection: Disabled" for the executable. I would like to confirm the following: Is it possible to enable stack…
Developer technologies | C#
Faield to start deployed web application
hello community, I am a beginner in WEB application development. During my first trial, I met with an issue when start the deployed web application onto IIS running on Windows 11. The situation is, I get below error when open the application in the…
Developer technologies | ASP.NET | Other
Good installer for visual studio 2019 c# projects
Still using Visual Studio 2019 professional. I have several independent solutions (single project solutions). I need to create an installer that installs 6 different projects on a computer. Right now, I have a single deployment project in each…
Developer technologies | C#
Unable to Add Scaffolded Items with Visual Studio when Developing an ASP.NET Project
I'm trying to learn ASP.NET with Visual Studio 2022 Community and was following this guidance: https://learn.microsoft.com/en-us/aspnet/core/mvc/overview?view=aspnetcore-9.0 I followed the steps but finally unable to continue due to it keeps showing…
Developer technologies | ASP.NET | Other
MAUI app crash when execute BindableLayout.SetItemsSource with visual studio 2022 17.14.7
After the command BindableLayout.SetItemsSource(FlexLayout, IEnumerable) in DEBUG environment and WinUI it gives the error: System.ArgumentOutOfRangeException in System.Private.CoreLib.dll Exception thrown: 'System.Reflection.TargetInvocationException'…
Developer technologies | .NET | .NET MAUI
How to improve tapping feedback in Maui
Hello. Please. how to improve the feedback of tap recognize on a label of one character because the tapping area is small the tapping feedback is lower. In my app I have a grid row with 10 columns and in each grid cell I have a one character label with…
Developer technologies | .NET | .NET MAUI
How to fix could not find error
I'm working on a maui app. when i try to build project it gives "System could not find the file. (2): C:\Users\jello\OneDrive\Masaüstü\wx\VSC\MAUI\Ccalculate\Ccalculate\obj\Debug\net9.0-android\assets." error message. how can i fix it?
Developer technologies | .NET | .NET MAUI
Microsoft - Graph - Batch API - Getting 429 Too Many Requests error
I have created a website where user's will authenticate and grant Calendar events - Read/Write access. My application will create events for the user based on the user's schedule. Here some times user might have more than 100 records also. I'm using…
Developer technologies | C#
.NET Core Profiler Crashing on 32 bit Application Environment
Hi Team. I have developed my own .NET core profiler using VS 2019. To load my profiler, I have set the environment entry in the web.config file. <environmentVariable name="CORECLR_ENABLE_PROFILING" value="1" /> …
Windows development | Internet Information Services
Developer technologies | .NET | .NET Runtime
Why is step into function is working but play has error in VBA?
I have a macro that converts PDF file into excel. For the first file, it works properly not until I encountered this error on the succeeding files: When I tried to check step into, the macro runs smoothly and converts all the PDF files to excel. While…
Developer technologies | Visual Basic for Applications
How to handle "RunCommand property is not defined" issue?
Here I have a .NET 6 ASP.NET project. When run IIS Express, it pops "RunCommand property is not defined".
Developer technologies | ASP.NET | ASP.NET API
Resovle Dependency Injection in Custom AuthorizationHandler
I speding days try to implement Permission based authorization like this post: Permission-Based Authorization in ASP.NET Core: A Step-by-Step Guide - DEV Community with custom AuthorizationHandler and AuthorizationPolicyProvider. My issue is: after the…