Questions tagged [system.web]

System.Web is a namespace of the .NET framework. It supplies classes and interfaces that enable browser-server communication.

System.Web is a namespace of the .NET framework. It supplies classes and interfaces that enable browser-server communication.

References

168 questions
0
votes
1 answer

Unity Hololens System.web.httputils doesn't exist in target Framework

I am trying to build an app for the Hololens. It already worked a lot of times, as I am developing since about 10 months. But all of a sudden, a reference is broken. I have appended a screenshot. I have already tried (for weeks): Downgrading to…
0
votes
1 answer

System.Web.HttpUnhandledException

I am working on web application which is using lot of Ajax controls. I am not the developer of the application. I working on rectifying this issue. This application keeps throwing the error message below: Source: System.Web Message: Exception of…
0
votes
1 answer

the type or namespace name 'HttpBrowserCapabilitiesBase' does not exist in the namespace 'System.web' in .net core 2.2

I am getting the title error when I do the code in .netcore2.2. Following is my code, var browser = Request.Browser; System.Web.HttpBrowserCapabilitiesBase myBrowserCaps = browser; HttpBrowserCapabilitiesBase in this keyword it showing me the title…
s.k.Soni
  • 1,139
  • 1
  • 19
  • 37
0
votes
1 answer

If I add a constructor to an extension of the AuthorizeAttribute will the constructor be called on every request that has the attribute attached?

I have written a custom extension of the the System.Web.Mvc AuthorizeAttribute. The Microsoft Reference here : SystemWebMvcAuthorizeAttribute. This extension overrides the AuthorizeCore function from AuthorizeAttribute, and the intended use is that…
axel
  • 79
  • 1
  • 6
0
votes
2 answers

Nuget package for System.Web.Hosting

In a legacy project I am working on, there is a using directive: using System.Web.Hosting I supposed, that the nuget package name should be System.Web and tried to install it via Nuget. But there's no such package. Question: where can I get this…
Rafael
  • 1,281
  • 2
  • 10
  • 35
0
votes
0 answers

trying to send file to user using ASP.Net core 2.1. Response doesn't have AppendHeader and TransmitFile

I think I missing a nuget package but I can't seem to figure out which one. I have using System.web;, but I only see Http under it no HttpContext. Response is currently Microsoft.AspNetCore.Http.HttpReponse I've searched and searched, but I can't…
urbill
  • 1
0
votes
1 answer

The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)

I have asp.net core 2.2 project. I want to use System.Web in my project but when i try to use this in my controller so it says like this The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly…
Fahad Hassan
  • 781
  • 10
  • 20
0
votes
4 answers

System.web not have HttpCookie in C#. what's going wrong in WPF

when i want to use HttpCookie who a part of System.Web i found that intellisense does not show them nor they found in reference when i put using System.Web Can someone show me what thing i need to do to use HttpCookie. i try with using System.Web…
Anirudha Gupta
  • 9,073
  • 9
  • 54
  • 79
0
votes
0 answers

The type or namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)

I have asp.net website on my local machine including library project. Having issue while building website. I am using framework 3.5 and visual studio 2010 and my System OS is Windows 10. Library project having build target platform on any cpu. I…
0
votes
1 answer

Form Authorization not working as expected. How does it works?

I have set but not set tag under system.web and authorization tag but it allow all user to access Admin page. I don't want to allow admin page except admin role user. Can anyone help me this regards.
0
votes
1 answer

How do I add assemblies to System.Web Assemblies? How do I derive the syntax?

I'm trying to add a custom HTTP Validator as shown here. I want many sites to share this implementation as an external library. That way as I discover newer/better ways to handle validation, I can update the linked assembly and update all related…
TLDR
  • 1,198
  • 1
  • 12
  • 31
0
votes
1 answer

Access System.Web.HttpContext.Current in ASP.NET Core project targeting .net framework

Is it possible to access System.Web.HttpContext.Current in a ASP.NET core project targeting the .NET framework . It currently returns null . Is using Microsoft.AspNetCore.Mvc.HttpContext the only way to go about it ?
user581157
  • 1,327
  • 4
  • 26
  • 64
0
votes
0 answers

Problems parsing an xml with powershell

Looking at the xml example below, when you load this into powershell it does not allow you to dot source beyond $myXML.configuration.system.web and therefore not allow access to the innards of that element. Is this because of the period in the…
Bbb
  • 517
  • 6
  • 27
0
votes
1 answer

Build error with System.Web switching a C# project over from AnyCPU to x64

I have a Visual Studio (2013) C# project that builds fine on AnyCPU is failing to build when I change the platform target to x64. This is on .NET 2. The error I get is An attempt was made to load an assembly with an incorrect format: …
Patrick
  • 677
  • 5
  • 14
0
votes
1 answer

Is there a way to map a path from an external server?

Well, I've been working on my server with a method like the following:     System.Web.HttpContext.Current.Server.MapPath("/path/something"); ... and it's been working so far. Nevertheless, now I've encountered an issue. The thing is, I need to…
Jose Peres
  • 197
  • 1
  • 1
  • 18