Content
Conditional validation depending which MVC button pushed
I have a scaffolded form in MVC with two buttons, Save and Submit. I want conditional validation: Save, no validation; Submit, validation. In the cshtml I have: ... <td> @Html.EditorFor(model => model.DSCRPTN, new { htmlAttributes = new…
how to use script files in blazor project inside index.html?
I have a blazor webassemly project , I want to use javascript files , I put them in wwwroot folder and call them in index.html by thos way <script src="/js/bracket.js"></script> I am sure the path is correct but also not working…
Call Webapi JWT
Capturebearer.JPG Capturepostman.JPG Capturepostman.JPG The Auth Controller C:\Users\allam\source\repos\VisitsApi\VisitsApi\Controllers\AuthController.cs Returns a Token . The call to https://localhost:7070/api/Visits works in Postman …
WPF Tabcontrol Resizing Issue
Hi All, I have a Tabcontrol inside grid which is inside WPF page. I want Tabcontrol to resize to complete width and height of page. I have set grid height and width to "*" and horizontalalignment and verticalalignment of tabcontrol to…
How do I programmatically "restart" an Android app in.Net maui?
How do I programmatically "restart" an Android app in.Net maui? I have been trying to restart the application when the system reboot in .net maui app AndroidManifest.xml BootBroadcastReceiver.cs using global::Android.App; using…
How to get the data from start date to end date
How can I find data from database between two dates. Problem-1. How can I find the data from the database between the two dates if I consider the parameters. Problem-1. If I use date as parameter then my datatable doesn't show data. Problem-2. I want to…
MAUI: The content page and pop up pages are breaking in normal running
I am facing a weird issue in my new MAUI project. When LIVE running in visual studio all of my pages are working fine. But when I open the app normally, the app is breaking on some of the pages, but no issue in LIVE running. The same pages are working…
MAUI: How to add splash screen in android platform
I am trying to add splash screen on my new MAUI application. I tried the implementation on this blog but the image is in circle (Android 12 device) and only showing black and white color on the icon. Is there anyway to show the real color of the icon on…
Getting issue with creating the iOS build for iOS 17
Hi, My Config details are On windows Machine Visual Studio 2022 Xamarin Forms 4.6 Xamarin.iOS 16.4 On Mac Machine Xcode 15 Now I have connected my mac machine from Windows machine and can run the my project (iOS build) successfully and…
MAUI: Dependency injection is not working
I have a dependency injection in my project for getting the device unique id. It is working fine in my xamarin forms project, but when I add it on my MAUI project the result is blank. My code IDevice public interface IDevice { string…
Empty space occurs in secondary toolbar item MAUI
Here is my toolbar item In secondary toolbar item, empty space occurs before first element. <Shell.ToolbarItems> <ToolbarItem IconImageSource="fontsize" Order="Primary"/> <ToolbarItem…
Changing color of 3 dots in Toolbar .net Maui
In my project I have secondary toolbar items. For every other item in the toolbar I have a white design. How can I change the color if the 3 dots in my toolbar. I specified the Toolbaritems in .xaml file. <ContentPage.ToolbarItems>…
How to get user name for Blazor server applications (EasyAuth)?
I configured azure app service using EasyAuth. I tried to get the user name in the article below, but the username was returned null. The EasyAuth is working…

How to clear webview cache in .net maui?
Let me know how to clear the webview cache
How to create HTTP Error Handling for the PUT method?
Hi, I would like to know how create HTTP Error Handling for the PUT method and rendering the information to user in UI. I guess that it's also possible to make GLobal HTTP Error Handling for all methods! I've created the put method which, when two users…
VS 2022 .net6 core C#. Application.StartupPath is different at run time.
Hi, I am trying to capture my project home directory: string exeFolder = Application.StartupPath; While i test app i am getting path with MyPath"bin\Debug\net6.0-windows". in result i cannot access my report folder with reports. Is there a…
How to Deploy .Net Maui Windows application in Intune using Line of Business Deployement?
I have a .NET Maui Application and I published it into Side Loading package. In the created package there is one main .msix file and another Microsoft.WindowsAppRuntime.1.2.msix inside a dependency folder. I am using Intune Line of Business deployment to…
Make Customize splash screen
Can anyone make like this below fully customize splash screen that also runs for android 12 and later versions also? with background images as well
ASP.NET CORE <> JWT
Capturepostman.JPG Capturebearer.JPG I added JWT Authentication using The Auth Controller C:\Users\allam\source\repos\VisitsApi\VisitsApi\Controllers\AuthController.cs Returns a Token . The call to https://localhost:7070/api/Visits fails even I pass…
How to Reduce Splash screen time in .net maui?
I am working on .net maui apps and I want to set fully custom splash screen using page like doing in modern apps (due to android 12 or later limitations). So, I make one page that shows immediately after splash screen that is actually my splash screen.…