23,992 questions with .NET-related tags

Sort by: Updated
0 answers

Service Monitor

Hi, I want a worker service with config file of time when to restart a given service. In the config file will be the time. the service will run always and when time reach check if service is running to restart it. Thanks in advance,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
asked 2024-05-05T16:07:58.2833333+00:00
Dani_S 2,726 Reputation points
0 answers

How to Download DelegConfig v2

I am sure this is user error but I cannot figure out how to download the DelegConfig V2 package from: https://iis-umbraco.azurewebsites.net/downloads/community/2009/06/delegconfig-v2-beta-delegation-kerberos-configuration-tool I only see a "Download…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
asked 2024-05-05T15:14:15.4+00:00
RedParadox 0 Reputation points
0 answers

Autorize with JWT Authentication

Hello, i want to use JWT Authentication in an App using .net 8 so i have configured Program.cs like this: builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme).AddJwtBearer( authenticationScheme:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,189 questions
asked 2024-05-05T12:16:18.61+00:00
samir karim 20 Reputation points
edited a comment 2024-05-05T13:40:57.49+00:00
AgaveJoe 26,136 Reputation points
3 answers One of the answers was accepted by the question author.

How to view/show image from file server path on button click

i am developing asp.net application. i am uploading many image documents in file server path like example (\server2\prj1\picture1.png) At the same time, i want to view/show the same file (image document) on button click event. How to show this image…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,278 questions
asked 2024-04-27T18:06:29.1133333+00:00
Gani_tpt 1,546 Reputation points
edited a comment 2024-05-05T12:26:39.8733333+00:00
Gani_tpt 1,546 Reputation points
2 answers

round value automtically

Hello I have one Label1 and textbox1 for example Label1 has value = 490.56 In textox1 i have to show round off value on button click = 0.44 for example Label1 has value = 30.12 In textox1 i have to show round off value on button click = -0.12 how to do…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
asked 2024-05-04T14:40:44.82+00:00
RAVI 896 Reputation points
commented 2024-05-05T10:43:26.7133333+00:00
AgaveJoe 26,136 Reputation points
0 answers

Can not sign app bundle Google Play

Hello, I am appriciate if some one can help me figure out what problem, this is first time I use Net Maui to deploy Android app. I create new app on Play Console, and choose Use Google-generated key to create new key in Setup/**App signing **I notice…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,628 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-05-04T12:18:31.3333333+00:00
Kid 0 Reputation points
commented 2024-05-05T10:08:10.7266667+00:00
Kid 0 Reputation points
1 answer One of the answers was accepted by the question author.

Should this container include .NET 8 instead of 6?

The container installed .NET 8, but the lesson plan says 6. Did I do something wrong or is the lesson outdated? https://learn.microsoft.com/en-us/training/modules/build-web-api-minimal-spa/3-exercise-create-front-end?tabs=visual-studio-code

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
asked 2024-05-04T18:35:10.26+00:00
Charles Fox 0 Reputation points
accepted 2024-05-05T04:02:06.39+00:00
Charles Fox 0 Reputation points
1 answer

how to fix 10.2.4.1 Security - Software Dependencies ( .net blazor maui 8.0) to microsoft store

i have published my application in store, recently update my maui blazor application 6.0 tp 8.0 when I submit my msix package to store I am getting 10.2.4.1 Security - Software Dependencies Products may depend on non-integrated software (such as another…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,396 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,224 questions
asked 2024-05-04T06:48:07.5833333+00:00
Maharasa Subramaniyan 0 Reputation points
edited an answer 2024-05-05T02:36:58.94+00:00
S.Sengupta 15,266 Reputation points MVP
2 answers

How do I stop an MDI parent form from being resized when moved ?

I have an MDI form (VB.net) which contains about 10 child forms which are permanent and fixed in place and which take up nearly all the whole parent form except for a small margin around the edges and between child forms of about 2px. When I move the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,835 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,628 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2021-08-16T04:11:43.833+00:00
GR15 1 Reputation point
edited an answer 2024-05-05T02:02:03.24+00:00
BgnerNprg207 226 Reputation points
1 answer

Azure Function .Net8 Json Deserialization Error

I'm developing an azure function in .Net8 which is a migration from a .net6 in-process function. The code always breaks while trying to deserialize a json object that comes within the EventGridEvent.Data which triggers the function, the deserialization…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,300 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,189 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
319 questions
asked 2024-05-03T16:43:16.76+00:00
Adonis Briceno 46 Reputation points
edited an answer 2024-05-05T01:44:59.4466667+00:00
SurferOnWww 1,911 Reputation points
1 answer One of the answers was accepted by the question author.

Ado.Net Entity Data Model does not appear on item page in Visual Studio 2022 Asp MVC Project

Ado.Net Entity Data Model does not appear on item page in Visual Studio 2022 Asp MVC Project FrameWork= .:Net 7.0 Please help. Thanks not as below

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,628 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,278 questions
asked 2023-01-17T06:10:50.91+00:00
umutins umut 20 Reputation points
commented 2024-05-04T19:33:45.9733333+00:00
Marcelo Pintado 0 Reputation points
1 answer

Looking for suggestion on storage

I am look for a suggestion on file storage with .net Maui. In my existing .net Android app, I am reading/writing files to a custom folder in the device root basicall /myfolder, this allows the user to connect and transfer files to/from the device…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-02-05T16:22:48.54+00:00
Phunction 206 Reputation points
commented 2024-05-04T19:18:18.87+00:00
Phunction 206 Reputation points
1 answer

two decimal for label

Hello This is my sample code Label LRO = e.Item.FindControl("LRO") as Label; LRO.Text = roff; its should return value in something example two digit decimal 12.45 14.00 15.12 how to do so thanks

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
299 questions
asked 2024-05-04T14:42:56.72+00:00
RAVI 896 Reputation points
answered 2024-05-04T19:06:57.44+00:00
AgaveJoe 26,136 Reputation points
1 answer

Can I force AuthenticationState to refresh (when claims have changed)?

Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read the…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,396 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,281 Reputation points
commented 2024-05-04T18:29:35.3166667+00:00
David Thielen 2,281 Reputation points
2 answers One of the answers was accepted by the question author.

ASP.Net Core Top-level Statements

I understand what this option does, but I'm wondering if this only applies when you first create a project. I can't find any option to disable top-level statements after the project has been created, and I can't see that VS stores this option. I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,189 questions
asked 2024-05-04T11:00:37.9866667+00:00
Kenneth R. Jones 21 Reputation points
accepted 2024-05-04T18:03:03.8433333+00:00
Kenneth R. Jones 21 Reputation points
1 answer

How can i redirect to my own page after successful login in dotnet maui

i want to redirect my dotnet maui pages after successful login how can i do it in dotnet maui emulator i have sign in redirect uri : "https://localhost:7152//sign-ingoogle and aftter login i want to redirect to my own pages

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-05-03T07:26:25.66+00:00
Kanika Rana 0 Reputation points
answered 2024-05-04T17:04:03.63+00:00
Bruce (SqlWork.com) 56,766 Reputation points
0 answers

System.InvalidOperationException: 'Application-defined or object-defined error.'

Debugging gives me a "Exception Unhandled" error in the Application.Designer: 32 <Global.System.Diagnostics.DebuggerStepThroughAttribute()> 33 Protected Overrides Sub OnCreateMainForm() 34 Me.MainForm = Form1 <<< HERE MARKED…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,835 questions
asked 2024-05-04T14:50:52.45+00:00
Malcolm Fellmann 5 Reputation points
2 answers

Deployment problem - error MSB4186: Invalid static method invocation syntax

I've got a .net core 8 app being deployed to a windows box and I'm getting the following errors no matter what I do after the pipeline completes successfully: MSB4186: Invalid static method invocation syntax:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
asked 2024-04-11T14:05:02.25+00:00
Michael B 25 Reputation points
answered 2024-05-04T14:36:29.9866667+00:00
Jean-Paul C 0 Reputation points
0 answers

SignalR connection

How can I test the connection of SignalR hub without client I write this code and do not know how to test to check if there is a problem in my code here is part of my code that is for signalR in my api: please tell me how should I do to connect…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
asked 2024-05-03T23:01:03.9033333+00:00
Sakanat 2024 0 Reputation points
edited a comment 2024-05-04T13:43:52.9133333+00:00
AgaveJoe 26,136 Reputation points
1 answer

(failed) net::ERR_Connection_reset in production site

ASP.NET Web Form site worked fine in test. I moved it to production and the site won't come up. I've done a reinstall and double checked all I could. I looked for an answer into this and came away with it being a browser issue when it is not that as this…

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,379 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
asked 2024-05-03T20:57:13.07+00:00
Brown, Matt 26 Reputation points
answered 2024-05-04T13:32:05.0166667+00:00
MotoX80 31,826 Reputation points