Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move completely to asp.net core 5 #44

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

mokeev1995
Copy link

No description provided.

@mokeev1995
Copy link
Author

This version is published on NuGet as SimpleMvcSitemap.Core

@uhaciogullari
Copy link
Owner

uhaciogullari commented Aug 18, 2020

Hello Mokeev

The project is targeting netstandard1.6 and it should work with .NET Core 3.1 too. Did you run into a problem with that?

@mokeev1995
Copy link
Author

mokeev1995 commented Aug 18, 2020

@uhaciogullari this project references old and currently unsupported libraries from Microsoft (e.g. Microsoft.AspNetCore.Mvc 1.0.3, System.Xml.XmlSerializer, System.Linq.Queryable).

So the point of this PR was to migrate to newer and supported libs and to get rid of the external unnecessary dependencies.

@uhaciogullari
Copy link
Owner

I think they will be overridden by the up to date packages that's referenced by your app. If I directly target .NET Core 3.1, it would break the compatibility with pre 3.1 projects. I don't want to do that just yet.

@mokeev1995
Copy link
Author

mokeev1995 commented Aug 18, 2020

I think they will be overridden by the up to date packages that's referenced by your app.

That's the dark side of dll hell :)

If I directly target .NET Core 3.1, it would break the compatibility with pre 3.1 projects. I don't want to do that just yet.

Yeah, you do, but people can just use old version which still will be compatible with their apps. For instance, bump version to 5.0.

One more reason to upgrade: security reasons. Old ASP .Net Core lib can be (and possibly already is) vulnerable. There's so many security fixes to asp .net core applied from 1.0...

@uhaciogullari
Copy link
Owner

I'm pretty sure you are not using 1.x version of Microsoft.AspNetCore.Mvc package when you are running a .NET Core 3.1 app. You cannot have multiple versions of an assembly with a standard NuGet package setup. They will be overridden by the newer assemblies in your app. I have already updated the versions that had vulnerabilities, thanks to Github notifications. There is no reason for me to push a new version for now.

@mokeev1995
Copy link
Author

Ok, no problem, this PR can stay here for the future version, when it'll be needed :)

And my forked version (with replaced .net standard with .net core 3.1) will be on NuGet for some time while you don't upgrade to .net core or even .net 5 :)

@mokeev1995 mokeev1995 changed the title Move completely to asp.net core 3.1 Move completely to asp.net core 5 Sep 27, 2021
@SneezeWeeze
Copy link

Any plan to push this out in 2022?

@uhaciogullari
Copy link
Owner

@SneezeWeeze Is there any problem you running into with the current version? Anything that you can't do that you need the changes here?

@mokeev1995
Copy link
Author

mokeev1995 commented Nov 24, 2021

@SneezeWeeze you can just use SimpleMvcSitemap.Core (4.3 for .net 6 or .net 7, 4.2 for .net 6 or 4.1 for .net 5).

That's the same version as this PR suggests (You can check it out in links on nuget.org).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants