Content
Server Error in '/' Application Error
Failed Http Request Trace web.config Web config Hi There; I have an ASP.NET MVC Application. Its version is .NET 4.5.2. It is facilitating Entity Framework and it is using Oracle Database 19c. I have found a bug in the application and I solve it. It runs…


Send Stream in WCF Callback
Hi All, I wanted to implement a Stream data transfer over wcf callback.Is there any way is to achieve this? My contract is something looks below. Thanks in advance. [ServiceContract(CallbackContract = typeof(IDataTansferCallback), SessionMode =…


Why is Android is not automatically scroll ViewElement into view when keyboard appear?
In .net-Maui, When I add a ViewElement in a scrollView and the keyboard appear, the keyboard is hidding the ViewElement. If I remove the ScrollView it works fine, but then I can't scroll the content. On Xamarin, Android will automatically scroll the…


HTTPStatusCode 404 in production only, why?
Hi, What's wrong with my code below, I have tried it in debug mode and got no 404, but if I run it in production (Linux CentOS 8), it fails with 404 (in my case it always fail on pageNo == 2 (there are actually have 20 pages) List<Task> tasks =…
I can't use class on layered architecture
I'm working on a web.api for library otomation project. I'm using layered architecture on project. a485553e-89a6-4fa9-8dd5-1c40de6d40e2.jpg image is my architecture. I couldn't access User.cs class on DataAccess layer. I defined with "usign"…


Referencing multiple projects with top-level statements
I have two projects A and B. Each project has a single top-level statement Program.cs file. I made the Program class visible from each project by enabling internals: <InternalsVisibleTo Include="MyTargetProject" /> The problem is that…


sslPort in launchsetting.json only works with port 44308 - ASPNETCORE MVC
Below is my launchsettings.json file. When I define sslPort 44308. I am able to browse https://localhost:44308. But if I define any other port let's say "44309". It is not working and browser throwing error stating "This site can't be…


How to format razor pages in blazor in visual studio 2022
Hi, we are having problems with formatting after upgrade to visual studio 2022. In visual studio 2019 we could format our razor files pretty well, in visual studio it looks really bad. We cannot use 2019 anymore because of the .net 7.


Image TapGestureRecognizer not working inside CollectionView .NET MAUI
i'm using MVVM pattern, i want to handle when user click on X icon, i'm using TapGestureRecognizer, but it isn't fired Does anyone has a solution for this? many thanks [RelayCommand] public void CloseBreadcrumbTapped(BreadCrumbViewModel selectedItem) { …


3221226107 (0xc000027b) API REST
Hello, I am a novice programmer. Does anyone know how to solve the problem with 3221226107 (0xc000027b). Well, after replacing the code in TodoListPage.xaml.cs from public partial class TodoListPage : ContentPage { public TodoListPage() { …


adding custom font in .net maui does nothing on android
Also my font is not showing on my label, that is 100% not a chewy font, however its in there like it is supposed to: public static MauiApp CreateMauiApp() { var builder = MauiApp.CreateBuilder(); builder …


Loop through Controls in ScrollView and Get the Data
Hi, In below XAML: <ScrollView x:Name="ScrollViewDetails" Grid.Row="1"> <VerticalStackLayout> <VerticalStackLayout x:Name="StackLayoutPhones"> <BindableLayout.ItemTemplate> …


Shell Navigation and using a Dictionary to pass values.
I am trying to learn how to pass complex data types to a page using a Dictionary. As you can see in the example code below that Name was hardcoded, but I was wondering what is the best practice if I wanted to dynamically set the Name property in the view…


How to protect .apk file generated from Visual studio from tampering ?
We have developed the app using Xamarin Android native. While decompiling the apk we can see the manifest file is accessible and able to add debug options.How to protect it ?


How do you clear all cookies before loading a site using WebView on Windows
I'm working on a .NET MAUI Application targeting .NET 6 and have a hard time clearing the cookies before using a WebView to load a site on Windows. How do you interface with underlying cookie manager in this scenario?


Which of the two is the better way to use Xamarin?
Which of the two is the better way to use Xamarin? #.1 <Grid Grid.Row="0" Grid.Column="0" BackgroundColor="Yellow"> <Label Text="팔레트번호" HorizontalOptions="End" VerticalOptions="Center"…


Xamarin pushnotification OnMeasageRecieved event is not triggering in background and killed mode.
I have a Xamarin application and want to navigate to different pages when the user taps on the push notification Using azure notification hubs to sent notification.But in android this is not working while the app is in background and on killed mode.…


What is the MAUI equivalent of .NET Core's `_Layout.cshtml`?
You see, there's this image which needs to show up on every page of my MAUI app, and if it were a .NET Core app, I'd simply add it in _Layout.cshtml. However, with MAUI, I don't see a way of doing that easily. How would I go about this?


xamarin android emulator android > 9 ? how to make ?
Hello all, I have vs 2022 entreprise installed on my computer all works fine with emulator below android 9 .. i can push my app , debug ans so on .. I've try to make an android 10 / 11 and so on but impossible to start it ,, Of course i have the sdk who…


ISS RDP Site still showing insecure after cert issued
I have gone and got a certificate for *.contoso.com and [contoso.com] . I have installed it against the default website on windows server IIS. I am now browsing (using the same server) to https://dc1.internal.contoso.com/RDWeb/Pages/en-US/login.aspx and…

