Mixing net standard and visual c++
Hello Using VS 2017, can one have both net standard 2.0 and visual c++ projects in the same solution with the net standard project referencing the visual c++ project (.vsxproj)? If I create one solution containing two projects of this kind using VS 2017…
image do not show in .net android?
I add ImageView in activity_main.xml and set the src android:src="@mipmap/tab_index" but it is not show. just white .
Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera
When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…
Microsoft.Extensions.DependencyInjection can not register type which implement static abstract memer interface
I can not register the type Foo as 'IFoo' when IFoo has static abstract member. Is it a bug? Or, how can I register this type as interface? repo Program.cs using Microsoft.Extensions.DependencyInjection; // these line works! IFoo foo = new…
Is it correct to make connection string dynamic?
Hi, I'm currently working on a project which need data from other databases. The database where I'll get the datas are depends on users. Now I want to make my connectionString dynamic. Is it correct to make connection strnig dynamic. The user will enter…
Android Emulator waiting for debugger to attach in .net maui app
I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…
How to remove row on client side by jQuery based on key auditor id and budget year?
I work on jQuery with asp.net . I face issue I can't remove row from grid view based on key AUD_RECID and P_BUDGET_YEAR . AUD_RECID with different P_BUDGET_YEAR so I need key will be both from AUD_RECID and P_BUDGET_YEAR SO I will have unique Value when…
Server-side Blazor web app outgoing TCP connection shut down when run on IIS server
Hi All, I have a server-wide blazor web application that I've written. Part of the application connects to a printer via a TCP connection and sends a byte array. It works when I run it from my computer, but when it is hosted on the webserver, the…
How to use Azure RMS to protect documents on a local machine.
Hello everyone, how are you? It is possible to use Azure RMS to protect files and maintain control over them even on the user's machine. I would like to enforce authentication regardless of the program they are using to open the files, especially PDF and…
The html tags are displayed as plain text in asp.net core mvc razor pages
I am working on Asp.Net Core 6.0 MVC Razor pages. On the Login.cshtml page, I want to show the following error message when the user tries to login with in invalid credential: Invalid: <b>User Name</b> and/or <b>Password</b>. The…
How to make loader image show on every page when user click on any task
I have a webform application with master page, I want when user initiate any task in the website the loader image will show with modal screen untill the task is finished. below is my master page code. <script type="text/javascript"…
$.ajax patch method and .net 8 api action
Error Response Test - "{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"$":["The JSON…
Microsoft Point of Service compatible with .NET8?
Hi - is Microsoft Point of Service compatible with .NET8?
@await RenderSectionAsync giving "Cannot await method group" error
I am creating a razor application consisting of two simple user inputs and two navigation tabs with 'save' and 'cancel' button for the user inputs. I have pasted below part of the _Layout.cshtml code giving the titled error. Am I missing something ? …
Custom fonts not working when uploading Maui Android project to Play Store
I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…
My <app>.dll.config.deploy file is missing in my Application files after publishing with ClickOnce
My windows form app is not running on other computers. I keep receiving the error that the <myappname>.dll.config.deploy is missing (a sentence like that). What should I do to fix that ? I'm stuck for days now.
.NET MAUI Animation doesn't work on Android platform
Animation doesn't work on Android platform on .NET MAUI. Code: <Image Source="spin.gif" IsAnimationPlaying="true" BackgroundColor="Black" ></Image> I don't have ideas why it doesn't work. For example,…
Gif can display animation on android when release ?
<Image Grid.Row="1" Source="sun.gif" IsAnimationPlaying="{Binding IsPlayGif}"/> IsPlayGif = false then set it true When debug it work well , then release it dose not work? Environment information: Android API31 VS…
How I can fix this link
this is the link that appear: Session id: a2c56cc1-2d4a-42fa-bd24-9274f750b350, Correlation id: 2e64dab8-f5ed-4adf-ad32-92b2d9969104
Rendering issues with our .Net application post windows patch
Recently, we've encountered rendering issues with our .NET application following a Windows patch update for Windows 10 Version 22H2. Specifically, after applying the cumulative update for .NET Framework 3.5, 4.8, and 4.8.1, we've noticed intermittent…