I am still a bit green with C# and ASP.NET however I have created a ASP.NET Core Web App (MVC) .NET6, that displays an IOT temperature sensor reading summary dashboard and another page that displays the readings and other information about each…
I need to redirect www.example.com to example.com. I have a custom domain with SSL, https enforced. Http requests are being redirected to https and working as expected. Where, or how, do I configure a redirect to get the www.example to redirect to…
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
I am working on a web API project that I implemented with the code-first approach. I wonder if there is a problem creating tables manually without using migrations. Does it cause any problems?
I have a function that executes two stored procedures based on a condition.
Stored procedure for the first condition works fine, but stored procedure for the second condition fails.
public async Task<JsonResult>…
Currently the JSON I'm using looks like this:
The JSON file is huge so I'm only showing the first few rows in the file so not all data is shown. I'd like to get this JSON structured so I can use in a TreeView menu so I'd like to see get the out put to…
Our Web Application build in .NET 4.8 and hosted as an azure app service throws this exception in some views. Here is the stack trace for one of these exceptions. We have run out of options to try certain things but it is stuck like that. We have tried…
I am developing an application using .NET Core with angular client. I am exporting the data to excel and generating the file in C# .NET Core. I am using a nuget package for the same.
After installing the nuget package in the project I am getting…
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…
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…
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 …
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.
is it possible to check if there is anything in the specified position of a grid?
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…
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