pedropaf / saas-ecom

Subscription support for ASP.NET MVC 5 apps using Stripe, including out-of-the-box view helpers. Available via NuGET
http://www.saasecom.org
Apache License 2.0
100 stars 41 forks source link

Add support for .NET Core? :) #14

Open HelgeSverre opened 8 years ago

HelgeSverre commented 8 years ago

Might just be me being an idiot, but i can't get this to work with ASP.NET MVC 6 on .NET Core, seems to be ambiguous references to old versions of the identity service or something.

Any plans on porting to .net core?

pedropaf commented 8 years ago

Possibly not very straightforward. I'm not going to add support, at least not planned. If you have the time and energy feel free to fork and I might be able to give you a hand if interested.

MarcAir commented 7 years ago

Hey there Pedropaf Looking at bringing this forward for use on ASPNET core and EFCore. I am however running into some minor roadblocks. curious if you are still interested in assisting - I'm having issue with the TContext for subscriptiondataservice. don't really want to go into too much detail here unless you are still open. thanks

MarcAir commented 7 years ago

Hey there Pedropaf Looking at bringing this forward for use on ASPNET core and EFCore. I am however running into some minor roadblocks. curious if you are still interested in assisting - I'm having issue with the TContext for subscriptiondataservice. don't really want to go into too much detail here unless you are still open. thanks

I was able to correct the TContextissue by altering the derived extending class of your SaasEcomDbContext, and correctly inheriting my applicationdbcontextfrom your SaasEcomDbContext.

the biggest item that is eluding me (and seems to be the last class needing reworking is the CurrencyHelper.cs. ObjectCache is no longer in the targeted framework, and it is too difficult to include multiple frameworks as the namespaces from the .net libraries overlap too much. @pedropaf QUESTION: the caching for this class seems to derive from System.Runtime.Caching. would you suggest that instead of using System Caching, that we could use ASP.Net Core Microsoft.Extensions.Caching.Memory

spacedsweden commented 7 years ago

MarcusPozzan, you need any help?