Content
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…
Upload a File One drive using MS Graph API in C#
when I am Uploading a File using Onedrive MS graph API in C# the file get Uploaded but every time i got a mail to that one drive account. I have set all notifications off from the one drive settings but still i am getting an email on every time file…


Maui customise Entry elements for android issue
Hi all This code work but 1 Why I forced to add the using directive 2 Why its not working when I put it in content page constructor My Entry elements background color is lost why so. From the internet solutions the same …


asp.net c# news and details
hello everyone, I have a news page on my website, but when I add news, the image title and text appear. How can I add news as seen in the example I would appreciate your help


Hoe to share a document link for external user using one drive API
I am using Onedrive api for sharle a document link to extenal user in c# it is not working


Net Maui when I clicked ( 3 times ) the button multiple page ( 3 times ) comes that has to be only one page..
Net Maui when I clicked ( 3 times ) the button multiple page ( 3 times ) comes that has to be only one page.. any solution ? Thanks
Publicly declare Contacts
Hi, How can I publicly declare the following: var contacts = await Microsoft.Maui.ApplicationModel.Communication.Contacts.GetAllAsync(); something like this: Contacts contacts; contacts = await…


How to implement a customized splash screen in .iOS(.Net MAUI)?
Hi .Net MAUI team, I want to create customized splash screen images instead of a simple logo icon. Similar to Xamarin Form, we can able to customise the splash screen using "LaunchScreen.storyboard". but .Net MAUI we don't have an option. I…


Check if frame is in specified position .net maui
is it possible to check if there is anything in the specified position of a grid? for example: if (Frame in Grid.Position(1,7)) { Console.Write("Specified position is already in use."); } I am trying to make a map editor for my own custom…


Java.Lang.IllegalArgumentException Message=No view found for id 0x2 (unknown) for fragment ShellItemRenderer{8ff985} (8d59f552-5e3e-48c3-a91e-e50041b57719 id=0x2)
I am using Version VS 17.5.0 Preview 2.017.5.0 Preview 2.0. In this when I debug it with my mobile it gives me error Java.Lang.IllegalArgumentException Message=No view found for id 0x2 (unknown) for fragment ShellItemRenderer{8ff985}…


MAUI - CollectionView and scrolling - not working with IOS emulators
Hi I have an issue with my App and CollectionView and scrolling, when testing with IOS emulators. The scrolling does not work on any IOS emulators if more than one page is displayed. It works fine with Android and Windows. Below is a snippet of…


"Güncelle" button not working
ı dont undestand. Delete's working but update(Güncelle) not working. Where's my mistake ?


fileupload emty error !!!
Hello friends, if the file upload is empty SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["Holding_DB"].ConnectionString); con.Open(); SqlCommand cmdSelect = new…


Empty listview items after down and up scrolling
Hi, iOS app, MVVM pardigm, I populate an ObservableCollection of a custom type and through BindingContext populate a ListView on the Page. that works fine. I can see the ListView items properly and can scroll it. What I constantly see is when I scroll…


Entity Framework 框架问题
dbcontext不同的实例,savechanges被互相影响怎么回事
When Wpf datagrid apply group, the application becomes very slow.
My wpf application is build with .net framework 4.5.2, when datagrid apply group, in some computers the wpf application becomes very slow, but other computers do not have this problem. If the wpf application build with .net framework 4.8, all computers…
how to bind to taghelper property in razor pages?
[HtmlTargetElement("pagination")] public class PaginationTagHelper : TagHelper { [HtmlAttributeName("page-index")] public int PageIndex{get;set;} } and in Index.cshtml <pagination page-index="PageIndex" /> I can not…


Session is not clearing after signing out from application razor pages
Hi, I want to clear my sessions,once i logout from my application. Now when i logout from application and click the back button,its navigating to the previous page. My logout button is given as a menu in _Layout page like this <li…


How should a service exit to prevent an error?
I'm developing a Windows service in C#, .NET 6.0 following the instructions on https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service The service runs as expected, but when I stop the service, it logs an error A task was…


Disable Specific Date and all the past dates in Razor pages
i want to disable specific dates and all the past dates in Razor pages calendar. I have database table to store the specific dates, i want to fetch from there and disable the dates in the razor pages calendar. <input…

