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

All replies

  • User475983607 posted

    I have created new project. But i am adding my old project some files and folder at that time i am facing this problem.

    Click Here :- Error Image Link

    Please do not force the community to guess what you are trying to do.  The image seems to indicate you are trying to integrate Web Forms and ASP.NET Core.

    ASP.NET Core is not compatible with Web Forms.

    Friday, February 21, 2020 1:39 PM
  • User-1241097802 posted

    @mgebhard I am fresher, i would like to say sorry if my question misleading the member.

    Friday, February 21, 2020 2:13 PM
  • User288213138 posted

    Hi programming,

    Programming and Design

    The type or namespace name 'Http' does not exist in the namespace 'System.Web'

    If you want to get System.Web.Http, you need to install package - Microsoft.AspNet.WebApi.Core from Nuget. 

    More information about Microsoft. AspNet. WebApi. Core you can refer to this link: Microsoft.AspNet.WebApi.Core

    But asp.net core does not include aspx pages.

    Best regards,

    Sam

    Monday, February 24, 2020 6:35 AM