Content
How to secure API KEY in .net MAUI?
I am new to .Net MAUI but fairly experienced with ASP.NET CORE and Blazor. I'm developing a MAUI application that will allow a user to integrate with third-party services using API keys. My issue is, I'd like to store API Key securely and nobody can…
How to deploy or use .Net MAUI Blazor app in Tizen browser instead of native apk or .tpk (direct browsing in tizen tv)?
Is it possible to publish or host the .net maui blazor app to the server and browse it in the Tizen TV internet like browsing ? Or Is it only possible by creating .tpk and installing it in developer mode on tizen tv as a native app ? Requirement: To show…
Blazor default template application issue
Hi all. in the default template application of blazor when clicking the button the count variable is increasing by 1. but when navigate to other component and then return to the Counter component the count value is reset to 0 what changes I need to do in…
How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."
Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…
How to get all active session of the logged in user in .net core mvc
I'm currently working on a .net 7 mvc project. How can I get all the active sessions of a logged in user in .net core mvc. This is my setup currently: builder.Services.AddDistributedSqlServerCache(options => { options.ConnectionString =…

LINQ and VB 2015 : Select Distinct in Sub-List of Objects...
Hi, this is a simple example about my task. I have a List of Objects, let's say a group of Persons and each Person has a Property which is a List of other type of Objects, let's say Colors. I'd like to get a Distinct List of all Colors kept by all…
Multiple types of Distributed Cache in ASP.NET Core
I would like to use Redis and In-Memory for IDistributedCache dependency injection. Is this possible? If so, how would you go about configuring this in Startup.cs?


issue in opacity of the parent form and panel
Hi , my other problem is there is a scenario in which i have a form named child which is opened inside a panel of a form named father . what i am trying is when i press F2 on my keyboard a new form opens asking for current date . at this moment i want…
System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
Hi, Everybody!... I am trying to parse the following XML…
Azure Cognitive Search - Spell Checker Implementation in C#
I am looking for implementing spell checker for the azure cognitive search in C#. For now I have reviewed the spell checker link from the official Microsoft documentation: https://learn.microsoft.com/en-us/azure/search/speller-how-to-add But there's no…
Custom Filters (CustomAuthenticationAttribute) in MVC CORE
I created custom filter in MVC5, please suggest if there is some equivalent in MVC…
JWT Bearer Authentication Load to API fails
I created API with JWT Token , I know I need to pass credentials but just for test purposes I used get method instead of post. https://github.com/KalyanAllam/VisitsApi Where Auth Controller generates the…
Error while trying to debug Xamarin app iPhone. MT1007: Failed to launch the application:Invalid Service Error
I am trying to debug my xamarin.iOS application in my iPhone. Visual studio 2022 17.7.4 Xamarin iOS : 16.4.0.15 xCode : 13.3.1 mac OS: Monterey 12.6.7 iPhone version (where the app is to be debugged) : iphone 12, 16.6.1 error MT1007: Failed to launch…
dotnet monitor to prometheus metrics
I get no results from the /metrics url. How can I get metrics to work?
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…
ArgumentNullException on add-migration com.
Hello, I'm still on my app dev which is a Blazor Wasm with it's API (developped with .Net core 7.0) and I try to create an EF Core migration, but I've got an issue. N.B.: I use environment variables to set my connection string (to change it…


Environment Variable : ArgumentException: Format of the initialization string does not conform to specification starting at index 0
Hello Houston, I've got a problem! I read somewhere that we can utilize an environment variable to configure the connection string, and we can provide new values in CI/CD pipelines. Consequently, I modified my appsettings.json file to rely on an…


Image inside a DataGrid in a FixedDocument Error
I have created this small demonstration project to highlight a problem I have encountered when working with an Image within a DataGrid created in C# and then utilised within a FixedDocument.…
Seed Data without entity (join table)
Hello, I've this configuration in my DBContext class : modelBuilder.Entity<Topic>() .HasMany(t => t.Keywords) .WithMany(k => k.Topics) .UsingEntity(j =>…


Adorner Not showing
Hope you can help. I am continuing to try and learn WPF and my current test project (which I have simplified significantly to demonstrate my problem) is to display an Adorner on a window when a button is clicked to open a new Window. When this window is…