Quantcast
Channel: .NET Framework Class Libraries forum
Browsing all 8156 articles
Browse latest View live

Avoid user from downloading video from asp.net web page

I have an asp.net website where users watch video tutorials and I don't want users to download the videos.How can I prevent them from downloading the videos and just stream or play through the website....

View Article


Azure Batch equivalent of C# FILE.AppendAllText

Hi, Could you please let me know the Azure Batch Service (Storage Account blob processing) equivalent of C# FILE.AppendAllText? Basically, I have an input file.  I need to read it line by line with...

View Article


The type or namespace name 'MultilineStringEditor' could not be found ...

I have no trouble using MultilineStringEditor in my windows forms app. When I tried to create a custom text box class with that  in a library dll with same reference added, I getError CS0246 The type...

View Article

Is wcf suported in .net core 3.1

Is wcf suported in .net core 3.1

View Article

.Net Standards support on consuming WCF service

I am trying to port my project from .Net framework to .Net standards.   This is basically consuming a WCF service which is running on the same system. So I am using Namedpipe , NetTCP and basichttp...

View Article


How to fix 'Task could not find "al.exe" using the SdkToolsPath' Error?

I am getting the below compile time error. Visual studio (2019) version is 16.3.3. and .net framework is 4.8.03752.How to fix it? Any suggestion please. Task could not find "al.exe" using the...

View Article

Image may be NSFW.
Clik here to view.

Could not find file 'C:\Windows\TEMP\a0xemlgt.dll' in...

ClrStack:System.IO.FileNotFoundException: Could not find file 'C:\Windows\TEMP\a0xemlgt.dll'. File name: 'C:\Windows\TEMP\a0xemlgt.dll'at System.IO.__Error.WinIOError(Int32 errorCode, String...

View Article

How to avoid Object Reference to null?

Hi,I am using this if condition to search the data:if (services.first_name.ToLower().Contains(searchBar.Text.ToLower()) || services.middle_name.ToLower().Contains(searchBar.Text.ToLower()) ||...

View Article


WPF Textbox

How to underline the particular part of the text in WPF Textbox?For Example:MyTextbox.Text=" Hello everyone";I want to under line only the "Hello" . Is there any way to do that?Thanks in advance..!

View Article


.Net framework 4.8 installation(on server 2012) or windows server 2019...

Hi All,Should I install 4.8 framework on a production server(windows 2012) or suggest to upgrade windows to 2019 server edition?Please suggest with a brief explanation.Thanks,Subhankar

View Article

XML deserialization is changing one node to i:type=“a:ArrayOfXmlNode”

I use Postman to send a request to my RESTful server. What I send is the following:<Template>...

View Article

.NET Framework 4.8 is coming to App Service

Hi there,Do you think when the azure app service platform is upgraded to Framework 4.8 in the next few weeks, the applications created using .NET Core 2.1 will be affected ? Even though the application...

View Article

(c#) Extract (copy) MyFile.exe file from Resources to disc (E partition)

Hello everyone, I am trying to extract (copy/paste) MyFile.exe from the Resource of my project. I have added "MyFile.exe" to my Resource of my project (myProject/Properties/Resources/Add Resource/ Add...

View Article


Match logic help

HeyLooking for a little bit of help with some logic if thats ok? Cant seem to get it right..I have some material names that i am passing through a method that searches for it in a library. If found, it...

View Article

Fake dll in .net core

Hi Team,I am doing a migration asp.net project 4.5 frameworks toasp.net core 3.1.I can see fake dll is used in 4.5 framework so this is feature of Visual studio enterprise edition inasp.net core also...

View Article


Samesite cookie warning issue in chrome browser console window when...

Hello,When running our ASP.net application using a chrome browser that submits a PayPal form on body load at run time, a warning message "A cookie associated with a cross-site resource at...

View Article

DataMember for an object

This is a DataMemberAttribute in the context of (de)serialization usage issue. I had the following (and it fails):[DataMember] public object Value { get; set; }And once I realized why - for good...

View Article


Image may be NSFW.
Clik here to view.

Getting a 403 on a file my browser can read

This is a System.Net.WebRequest question. I am trying to read https://www.davidthielen.info/files/dave.docx using System.Net.WebRequest. I can read this fine with Chrome. And as you can see in the...

View Article

Mouse pointer - change cursor

HeyIm looking at trying to add either a draw line or a custom cursor to the mouse pointer. I am working inside Inventor and what i am trying to achieve requires a visual element that Inventor doesnt...

View Article

Image may be NSFW.
Clik here to view.

SystemEvents not working from a Windows Service

Requirements: Windows 10 1909 Build 18363, Visual Studio 2019 Version 16.6.1The MSFT documentation on SystemEvents gives a clear example of how to hook SystemEvents into a Windows Service, by creating...

View Article
Browsing all 8156 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>