SyndicationFeed in Asp.net core #1176

Closed
opened 2025-08-09 17:19:09 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @mskuratowski on 12/17/2016

I have a problem with SyndicationFeed in asp.net core. I know that hasn't been ported yet to the asp.net core but I also use full .net framework so I think it should works.

Here's my code where I have an error:

SyndicationFeed feed = SyndicationFeed.Load(reader);

and here's my project.json

    {
      "dependencies": {
        "Microsoft.AspNetCore.Diagnostics": "1.1.0",
        "Microsoft.AspNetCore.Mvc": "1.1.0",
        "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
        "Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
        "Microsoft.AspNetCore.StaticFiles": "1.1.0",
        "Microsoft.Extensions.Configuration.CommandLine": "1.1.0",
        "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
        "Microsoft.Extensions.Configuration.Json": "1.1.0",
        "Microsoft.Extensions.Logging": "1.1.0",
        "Microsoft.Extensions.Logging.Console": "1.1.0",
        "Microsoft.Extensions.Logging.Debug": "1.1.0",
        "Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
        "Microsoft.EntityFrameworkCore.SqlServer": "1.1.0",
        "Microsoft.AspNetCore.AngularServices": "1.1.0-beta-000002",
        "Microsoft.AspNetCore.Razor.Tools": {
          "version": "1.1.0-preview4-final",
          "type": "build"
        },
        "Microsoft.EntityFrameworkCore.Design": "1.1.0",
        "Microsoft.EntityFrameworkCore.Tools": "1.1.0-preview4-final",
        "System.Xml.ReaderWriter": "4.3.0"
      },
    
      "tools": {
        "Microsoft.AspNetCore.Razor.Tools": "1.1.0-preview4-final",
        "Microsoft.EntityFrameworkCore.Tools": "1.1.0-preview4-final",
        "Microsoft.DotNet.Watcher.Tools": "1.1.0-preview4-final",
        "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.1.0-preview4-final"
      },
    
      "frameworks": {
        "netcoreapp1.0": {
          "dependencies": {
            "Microsoft.NETCore.App": {
              "type": "platform",
              "version": "1.1.0"
            }
          },
          "imports": [
            "dotnet5.6",
            "portable-net45+win8"
          ]
        },
        "net461": {
          "frameworkAssemblies": {
            "System.ServiceModel": ""
          }
        }
      },
    
      "buildOptions": {
        "emitEntryPoint": true,
        "preserveCompilationContext": true
      },
    
      "runtimeOptions": {
        "configProperties": {
          "System.GC.Server": true
        }
      },
    
      "publishOptions": {
        "include": [
          "appsettings.json",
          "ClientApp/dist",
          "node_modules",
          "Views",
          "web.config",
          "wwwroot"
        ]
      },
    
      "scripts": {
        "prepublish": [
          "npm install",
          "node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js --env.prod",
          "node node_modules/webpack/bin/webpack.js --env.prod"
        ],
        "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
      },
    
      "tooling": {
        "defaultNamespace": "Travelingowe"
      }
    }

Do you have any idea what is wrong ?

*Originally created by @mskuratowski on 12/17/2016* I have a problem with SyndicationFeed in asp.net core. I know that hasn't been ported yet to the asp.net core but I also use full .net framework so I think it should works. Here's my code where I have an error: ` SyndicationFeed feed = SyndicationFeed.Load(reader);` and here's my project.json ``` { "dependencies": { "Microsoft.AspNetCore.Diagnostics": "1.1.0", "Microsoft.AspNetCore.Mvc": "1.1.0", "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0", "Microsoft.AspNetCore.Server.Kestrel": "1.1.0", "Microsoft.AspNetCore.StaticFiles": "1.1.0", "Microsoft.Extensions.Configuration.CommandLine": "1.1.0", "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0", "Microsoft.Extensions.Configuration.Json": "1.1.0", "Microsoft.Extensions.Logging": "1.1.0", "Microsoft.Extensions.Logging.Console": "1.1.0", "Microsoft.Extensions.Logging.Debug": "1.1.0", "Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0", "Microsoft.EntityFrameworkCore.SqlServer": "1.1.0", "Microsoft.AspNetCore.AngularServices": "1.1.0-beta-000002", "Microsoft.AspNetCore.Razor.Tools": { "version": "1.1.0-preview4-final", "type": "build" }, "Microsoft.EntityFrameworkCore.Design": "1.1.0", "Microsoft.EntityFrameworkCore.Tools": "1.1.0-preview4-final", "System.Xml.ReaderWriter": "4.3.0" }, "tools": { "Microsoft.AspNetCore.Razor.Tools": "1.1.0-preview4-final", "Microsoft.EntityFrameworkCore.Tools": "1.1.0-preview4-final", "Microsoft.DotNet.Watcher.Tools": "1.1.0-preview4-final", "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.1.0-preview4-final" }, "frameworks": { "netcoreapp1.0": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", "version": "1.1.0" } }, "imports": [ "dotnet5.6", "portable-net45+win8" ] }, "net461": { "frameworkAssemblies": { "System.ServiceModel": "" } } }, "buildOptions": { "emitEntryPoint": true, "preserveCompilationContext": true }, "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, "publishOptions": { "include": [ "appsettings.json", "ClientApp/dist", "node_modules", "Views", "web.config", "wwwroot" ] }, "scripts": { "prepublish": [ "npm install", "node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js --env.prod", "node node_modules/webpack/bin/webpack.js --env.prod" ], "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ] }, "tooling": { "defaultNamespace": "Travelingowe" } } ``` Do you have any idea what is wrong ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1176
No description provided.