Replies: 8 comments 24 replies
-
Hey @geoperez, thanks a lot for enabling discussions on the repo! I apologize in advance because I'm writing in an awful hurry. I'm busy with personal stuff (not programming-related) this week but I didn't want to leave your post unanswered. Here's my current status, mostly copypasted from #546. Completed:
To do:Here things get a bit complicated. In #549 (comment) @michael-hawker opened my eyes to some negative consequences of switching to .NET 6.0 exclusively. He definitely has a point: we should target both .NET Standard 2.0 and .NET Standard 2.1 in addition to .NET 6.0. This requires a few polyfills. (More on that later.) I also saw that v4 needs to dispense with at least some HttpListener madness. I had already done some work on that in an ugly mega-commit (on the I also had to go forward with some actual (as in "paying the bills") work projects, which incidentally need some of the very same types I had already put in the shiny new EmbedIO.Utilities, and had the same polyfilling needs too. What could I do? I had no hope of completing EmbedIO v4 in time to use EmbedIO.Utilities. I had to copypaste the most general-purpose types from EmbedIO.Utilities in another library, which is going open-source shortly and also include a few more general-purpose stuff copied from my closed-source libraries, so I can finally get rid of the 20+ tiny libraries I've always wanted to open-source but never got to. Should I keep the same types in two libraries, instead of adding a dependency to my library? I don't want to trade a SWAN for a... whatever, insert favorite animal here, you get the point. On the other side, my new library (going online shortly) is a lot narrower in scope than SWAN (no logging, no tons of extensions to System.Object and IEnumerable) so the number of issues we'd have to redirect to it is bound to be close to zero. Then (or better, at the same time) there is the issue of polyfills. Commonly-used polyfilling libraries like Nullable and IndexRange have shortcomings that I will not discuss at length here (I'm preparing a document about that anyway); other libraries have their own problems, and I couldn't find a a polyfill library that satisfied all my requirements, so I'm rolling my own. It's not NIH syndrome at work here. I won't say I'm completely immune from it, but over the years I've learned to not reinvent the wheel... unless I need a new kind of wheel, so to say. At first, polyfills were part of my new library, but soon that proved to be a terrible idea: they have to be a library on its own. In the same repo, as part of the same "reusable stuff" project, so I dont' have to prepare one more README (not to mention find one more decent name) etc. With the two new libraries almost ready for release, I've had some problems with the build system I use for all my projects. This in turn had me ditch some in-house code in favor of ThisAssembly, which in turn needed some work before it could replace my code completely. So my plan for the upcoming days is as follows:
Interlude: branching madnessI confess I've made a bit of a mess with the @geoperez do I have write permission on the repo so I can fix things myself? If not, there are a couple things to do:
Then I will rebase my local PR branch from Next items of work
Then it's v4.0-preview.1 at last!! Further discussion items
|
Beta Was this translation helpful? Give feedback.
-
Thanks to the .NET Standard compatibility table linked by @brminnick (thanks again!), I think I can confirm that the platforms to support are:
|
Beta Was this translation helpful? Give feedback.
-
@rdeago I updated AppVeyor settings to VS2022 |
Beta Was this translation helpful? Give feedback.
-
@rdeago sorry for the really really long delay, here the RC1 for EmbedIO v4 https://www.nuget.org/packages/EmbedIO/4.0.0-rc1 Let me know if I should push the final version. |
Beta Was this translation helpful? Give feedback.
-
Yes I did, at last! I'm happy to announce the birth of not one, but two libraries, which I humbly propose as dependencies to EmbedIO version 4:
They both support all necessary target frameworks (and more, going back to The libraries are both still in a preview phase, but I'm already using them in my current business projects. As a matter of fact, it's all either code I had sitting here in some internal-use libraries, or code I'd have written anyway, but it felt wrong to me to declare them "stable" just because they work for me. (Besides, I'm still refining some details in L.o.U.I.S. and there could still be breaking changes for a while.) |
Beta Was this translation helpful? Give feedback.
-
Hi, since we used Embedio in our Xamarin App and have now migrated to MAUI. I have created an example repo using Embdeio in a MAUI app. Combing this and the new multi window support of MAUI is a really amazing combination for our iPad App. |
Beta Was this translation helpful? Give feedback.
-
Hello First - my thanks for creating EmbedIO, which we have been using to successfully host a web server on our embedded Android 7.1.2 equipment for a couple of years now, using code developed using Xamarin Forms 5.0.x & .NET Standard 2.0.3 We have been asked to improve our security for clients connecting to the equipment & I did some investigation around HTTPS/SSL with EmbedIO & I now appreciate that EmbedIO only supports HTTPS/SSL when hosted on Windows OS & not Android & have read various different discussions on your GitHub pages. Due to the embedded nature of our product we will not easily be able to change the OS type or version. Do you guys have any plans to integrate support for HTTPS/SSL in EmbedIO on an Android OS in v4? Thanks for your time |
Beta Was this translation helpful? Give feedback.
-
Better late than never, i've been ping in #546 with some folks @mariodivece @geoperez @k3zo I'm very thankful for this project as the v2 has been part of many of my own for 3 years. I'm moving to another promising project, SimpleW. |
Beta Was this translation helpful? Give feedback.
-
Hey @rdeago, what is the idea to bring v4 to life?
Beta Was this translation helpful? Give feedback.
All reactions