Questions tagged [.net]

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
12 views

Visual Basic Windows forms - select case with a messabox with buttons YES/NO

I'm trying to guide the user during a login form. If the user clicks Yes and he has written a nickname, then the next form(lvl1) will start and the current one close. If he clicks "Yes" and ...
0
votes
0answers
7 views

Pass parameter by AJAX and get RDLC report in WEB FORM

When I run the page and I input FromDate and ToDate and click on Show Report button but nothing happened. The report viewer didn't show result. Anyone know what is the problem? Why the report can't ...
0
votes
0answers
22 views

How do I run gdb on .net unit tests?

I have some code which does native interop and is having a segfault when running unit tests with dotnet test. If I call the test code without 'dotnet test' then it doesn't segfault. I need to be able ...
-1
votes
0answers
7 views

Anyone happen to have an old copy of ImageMan.Net Twain from data techniques? [closed]

I have recently inherited an app that uses ImageMan.Net Twain from data techniques to handle scanning chores. When I attempt to use the app, the ImageMan.Net library is looking for a license key, but ...
0
votes
0answers
21 views

AutoMapper How map field from list to property

I want map Origin.CityId and Origin.StateId properties of Itinerary class to OriginCityId and OriginStateId properties of ItineraryModel class. Ex: Itinerary itinerary = Mapper.Map<...
0
votes
0answers
11 views

Reading body from string-formatted HTTP Request

I'm writing a program where users should be able to enter HTTP Requests like the one below and receive the body of that request - the request will always be HTTP/1.1. Expected input: [METHOD] /PATH?X=...
-1
votes
1answer
24 views

attribute constructor and field data types

I'm reading CLR via C# book which says: When defining an attribute class’s instance constructor, fields, and properties, you must restrict yourself to a small subset of data types. Specifically, the ...
-1
votes
0answers
26 views

C# Why `Task.WhenAny` only works perfectly with “await” before the blocking operations? [duplicate]

Take a look at this simple program: class Program { static async Task Main(string[] args) { var t = Task.Factory.StartNew(async () => { var st = Stopwatch....
0
votes
1answer
31 views

Javascript Send Schedule Date From Local Timezone to Server Time

I am in Hawaii. From Angular, I want to send Pacific Standard Time (PST) to C# Net Core API. It will save it in database and save in Pacific Standard Time. (I didn't create the architecture, just ...
0
votes
0answers
12 views

Why Is TransactionScope Not Working With Sqlite?

When I run the following code I expect the resulting row count to be zero because the Complete method is never called on the TransactionScope. In fact the code reports a row count of 1. I do get the ...
0
votes
1answer
40 views

remove html tags only at the start and end of html string

i am using htmlagility pack to remove <br> tag at the start and end position but the below code is removing from all the places. HTML string: <p><br><span>MERV 9 Cartridge<...
0
votes
1answer
10 views

Passing DateTime or String type that looks like a date as parameter to URL / (.net webapi)

Got a entity named Item with a DateTime date field which is configured with data annotation Column(TypeName="Date")] (stores only date without a time to db). In my controller i have a GET ...
1
vote
2answers
80 views

Create object in a loop C#

I'm new to C# and I'm trying to create an object by looping over a string array: indexKeys = ["A", "B", C"]. The elements of indexKeys are not known in advance. I have an ...
0
votes
0answers
11 views

Send print stream to .NET console/web application

I have a .NET web (and console) application that allows users to attach a document that is saved locally and then faxes the attachment to the destination with RightFax integration. Is there a way for ...
-1
votes
2answers
67 views

How to check if Type is a nullable system type

I'm trying to write a method that takes a type and determines if it's a user defined class or a system class. My code is as follows. Method: private static bool isNotCustomClass(Type type) { ...

15 30 50 per page
1
2 3 4 5
20425
久草视频新免费_日韩视频一中文字暮_欧美三级片