Error – is not marked as serializable
The error I’m getting is:
The error I’m getting is:
Why am I getting “Unable to find the requested .Net Framework Data Provider” when trying to setup a new datasource in Visual Studio 2010 Professional?
Hi why using (var sw = new StreamWriter(ms)) returns Cannot access a closed Stream exception. Memory Stream is on top of this code.
When I am compiling my .csproj file using .NET Framework 4.0 MSBUILD.EXE file, I am getting an error: “lable01” not found in the current context of “website01.csproj”.
I want to upload file from one server to another FTP server and following is my code to upload file but it is throwing an error as:
When I try to run my ASP.NET MVC 4 application using Local IIS on Windows 7 with Visual Studio 2013. I run into the following error when the application tries to connect to localDBv11.0
I have a .NET Core 2.0 app and have a problem with authorization. I want to use custom authorization with special requests. Header and standard default authentication.
First, I add configuration in Startup.cs:
I’d like to store a simple key/value string dictionary in my web config file. Visual Studio makes it easy to store a string collection(see sample below) but I’m not sure how to do it with a dictionary collection.
If a class has a private constructor then it can’t be instantiated.
So, if I don’t want my class to be instantiated and still use it, then I can make it static.
Is there any benifit to using one of these methods over the other when resolving paths which start with the tilde (~)?