bst365体育投注网址大全

Questions tagged [.net]

bst365体育投注网址大全 Do NOT use for questions about .NET Core - use [.net-core] instead. The .NET framework is a software framework designed mainly for the Microsoft Windows operating system. It includes an implementation of the Base Class Library, Common Language Runtime (commonly referred to as CLR), Common Type System (commonly referred to as CTS) and Dynamic Language Runtime. It supports many programming languages, including C#, VB.NET, F# and C++/CLI.

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Recreating a named HttpClient leads to multiple ConfigureClient calls

I am trying to create a web scraper Console Application which can use multiple logins and also caching the CustomHttpClient for separate logins so that I do not get new HttpClient for every call and ...
0
votes
0answers
5 views

How would I go about getting a ComboBox(s) Value

I am using Visual Studios 2019 Windows Forms c#. So I have a ComboBox and It has Four Values lets say: 1, 2, 3, 4. Now how would I test in real time on the form which of those is selected. Reason for ...
0
votes
0answers
4 views

.NET 4.5 Add Custom fields to IdentityUser - Error Creating user

I am trying to add 3 additional fields to the user's identity: aId (int), FirstName (string), LastName (string) I created a new model, inheriting IdentityUser: public class SysUser : IdentityUser { ...
0
votes
0answers
5 views

Register CultureInfo for the duration of the application

Is there a way to register a CultureInfo only for the current process? I know the CultureAndRegionInfoBuilder.Register() method can do it permanently, but I don't want to do persist it or to have the ...
0
votes
0answers
11 views

system.unauthorizedaccessexception access to the path when executing C# app via SQL job

I have a c# application to copy files from one server to another server. The application works when executing on console. However, system.unauthorizedaccessexception access to the destination path ...
0
votes
0answers
5 views

How to pack .net framework Web App on Azure Pipelines

I need to create an azure artifact for a web app written in .net framework. The artifact will be used to automate the deploy. If i use the generic artifact publisher, i will include code files in the ...
0
votes
0answers
7 views

IdentityServer Authentication for child websites

im trying to implement IdentityServer Authorization for 2 web sites where users can access 2 websites from Parent Website using windows authentication and i want to authorize the user for each API ...
0
votes
0answers
6 views

how to change webproxy within .NET Core 2.0 application

For .NET 4.7 framework application, i had to update below proxy settings in App.Config file to deal with my current company firewall issue connecting to azure cloud network. <system.net> <...
-1
votes
0answers
20 views

.NET regular expression to extract last part of a filename separated by several dots [duplicate]

I have some file names containing a variable number of dots and having a fixed file extension. I would like to capture the "last part" (parts separated by dots) appearing before the file ...
1
vote
0answers
8 views

.Net Core Entity Framework Code First Approach Modify Schema Dynamically

I have an application with .net core 3.1 web API with Entity Framework Code First Approach , which will handle different database schema based on the request, Consider there is a API, which trying ...
0
votes
0answers
10 views

JQuery $.post vs $.ajax, authentication

After long search, didn't found any solution, so here it goes. In out application we do login with the following $.post call var config = { headers: { 'Content-Type': 'application/...
1
vote
1answer
22 views

Disposing components injected via constructor without lifetime scopes in Autofac

I can't understand why my components never get disposed/released in Autofac. I have a standard WPF application, which starts in app.xaml.cs resolving the MainVM which is a singleton and showing the ...
0
votes
1answer
27 views

.Net Framework Debug window is not working

I have a problem of debugging. I have the window created with the buttons, labels and everything, but when i try to debug it, the UI/GUI doesn't show up. I am on windows 10 Visual studio 2019, with ...
0
votes
0answers
9 views

Equivalent of WebBrowser.InvokeScript(String, Object[]) in WebView2

Thanks in Advance. In my WPF application, I am successfully able to communicate a message from WPF to JavaScript using the InvokeScript(String, Object[]) method of WebBrowser. I am passing my message ...
0
votes
1answer
22 views

CSV Helper, Ignore empty Values

I'm using CSVHelper to read to types of csv files: 1. 6000000,1,2020 6000001,1,2020 6000002,1,2020 6000003,1,2020 6000004,1,2020 6000000 6000001 6000002 This is my model: public class Body { ...

15 30 50 per page
1
2 3 4 5
19923