Content
How can I get an IUpdateEntry from a DbContext for a object that is read?
Hi all; I need to create a DbUpdateConcurrencyException and pass it the IUpdateEntry for the object I just had returned by dbContext.Events.FirstOrDefaultAsync(e => e.Id == entity.Id) I am throwing it if the rowversion has been updated over the value…
Which should I use, Blazor WebAssembly or Blazor Server?
I'm trying to decide which option to choose. I plan to develop two applications using Blazor. The first one is intended to be a wiki-type application. The second one is an online manager for the Palladium RPG (specifically for Macross/Robotech RPG),…
Will VS and Maui ever get a designer??
Hot reload is anything but Hot. Sometimes it does something but more often than not it does not. Then I am to determine if the change I wanted didn't happen because Hot Reload just decided not to do anything or perhaps my change was no good. VS is…
Blazor server app - sign out - reload warning messge after 230 seconds
we have a asp.net core mvc web application and added blazor server components and deployed to Azure App Service (Windows) its showing reload warning after 230 seconds. can anyone help/advise to resolve this issue?
MAUI Blazor support for Azure Communication Services
After reviewing the Azure Communication Services Documentation for making one-to-one video calls between two users I did not see any support for MAUI Blazor. What is the current recommended approach for building a video call application using Azure…
Getting CORS from Angular client when connecting .Net6 API for Azure SignalR service in default mode.
I am using Anular10, Azure SignalR service in Default mode and .Net6. API is connecting with connectionstring and return is Success. When Angular is connecting to API endpoint, it is showing CORS error. I have used .Net AzureSignalRSDK package and…
cannot change my Checkbox.
I am missing something. I have a property IsChecked. public partial class NewLecturePageViewModel(IAppService appService, IDataService<User> dataService, IAuthenticationService authenticationService) : BaseViewModel { [ObservableProperty] …
Web Request gets terminated in the browser when the response data size limit gets exceeded certain limit.
I have an ASP .NET Core Web API that is hosted in Azure App service & the API is about to retrieve the large data from the server to the client. When I call the API from the Angular client App the request succeeds (returning a 200 status code) but…
Where is my physical file?
Hello, I am back at visual programming after a number of years so iOS and Android are new to me. I am trying to creat an app to store some data and then hopefully recall it later. The following code creates a file and I can open it within the app, but I…
Net maui send mail by server how to set background Image ?
I have seen codes as like as above but I could not understand what is server and need reference ? I have some text that also I need background image but I could not manage it can you help me thanks //// Create file attachment …
simple question on Views
hi all, I have a sample project (NET 8, ASP.NET Core MVC) and I added a few Controllers and Views. Controllers: Home Controller, Group1Controller, Group2Controller Views: Home folder: Index.cshtml, Privacy.cshtml Group1 folder: Index.cshtml Group2…
Stop timer when Quiz is completed
Here is my quiz app ,the current functionality is to capture if question is correct or wrong and give a score 9/10 , 10/10 etc and display the user "Questions incorrectly answered with answers:" Now I added timer too ,please suggest on how to…
When will .NET 8 (Early Access) be available on Azure Government?
Currently .NET 8 (Early Access) is available on Azure Commercial. I like to know when will .NET 8 (Early Access) be available on Azure Government?
code snippet for BindableProperty
I am creating a BindableProperty snippet, so far, I have this. CodeSnippet Format="1.0.0"> <Header> <Title>BindableProperty</Title> <Shortcut>bp</Shortcut> <Description>This will create a…
Xamarin.Essentials.Vibration.Vibrate(milliseconds) not working.
We have upgraded our device to Android 13 but our app is still targeting to Android Api 29. There is some dependencies due to which we are not targeting the 33 API version. After upgrade Vibration stops working which was working with Android 10 OS is…
Difference between "private instance fields" and "private fields"
According to this Microsoft document, specific conventions for naming have been written, and the meaning of the following two items is not clear to me. 1: Use camelCase for method arguments, local variables, and private fields. 2: Private instance…
What is a proper way decode frame ot image bitmap
Dear Gurus! I use RtspClientSharp for receiving frames from the remote Ip camera in Blazor server Application. And now I need to convert the received frame to a bitmap (imageByte in the next expression) for use as a source in the <img> tag ,…
Flyout behavior
I was able to make the flyout on desktop to be always opened. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}"> this is ok, but if we take a look at this app the user has the ability to close it in…
We have System.Configuration.ConfigurationManager 5.0.0 nuget package and Microsoft.Data.SqlClient 4.1.0 nuget package configured in an azure function to establish the connection with database. For that we are trying to run await sqlConnection.OpenAsync(
We have System.Configuration.ConfigurationManager 5.0.0 nuget package and Microsoft.Data.SqlClient 4.1.0 nuget package configured in an azure function to establish the connection with database. For that we are trying to run await…
Unable to debug on iOS device
Not entirely sure if this is a result of my upgrade to .net 8 or not but I am not been able to debug on my iOS device any longer. I see the app deploy and the splash screen comes up for 20 seconds then the debugger stops and the app on the phone closes.…