|
BillWoodruff wrote: Whaddya think ?
Why would you want to reference a Core project in a WinForm app?
Why would you want to port a desktop application to .NET Core?
If I wrote a blog about those two questions, they would be very short: "I wouldn't."
And while I have written .NET and .NET Core that work together, they work together over a communication protocol, like HTTPS!
|
|
|
|
|
Marc Clifton wrote: And while I have written .NET and .NET Core that work together, they work together over a communication protocol, like HTTPS! Same can be used for C# and C++ without having to marshal the hell out of parameters
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Nelek wrote: Same can be used for C# and C++ without having to marshal the hell out of parameters
Exactly!
|
|
|
|
|
The latest version of Core supports WinForms. I don't understand why there's an issue. Of course, I don't understand why anyone would write Core apps to begin with, so there is that. (No, I don't concern myself with "cross platform" crap.)
IMHO, Core and Docker are solutions looking for a problem. Of course, I'm old and resist change in any disguise.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Just do it all with ASP.NET for the internet or WinForms for everything else. Those pretentious people who use Mac or Linux need to learn to use Windows (and get a haircut)!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
I think there's another article by Rick Strahl that might interest you: Multi-Targeting and Porting a .NET Library to .NET Core 2.0 - Rick Strahl's Web Log[^]
One of my (young and reckless) colleague's wrote a mixed application this way, including statements like:
#if NETCOREAPP2_1
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
#endif
#if NET47
using System.Configuration.Install;
using Castle.Core.Internal;
using System.Collections.Generic;
using Microsoft.AspNet.SignalR;
#endif
He didn't turn on "Show warnings as errors"
|
|
|
|
|
Nice to know!
I am developing a new class library on .Net Core that will be called from a .NET Standard. I should stop doing this and use a regular .NET Standard Class library.
just do what you need to do.. worry about the consequences later...
|
|
|
|
|
@OriginalGriff
Hi Griff,
I'm writing this because I understand you are into 3-D printing.
I am just starting out with my first 3-D printer, and I've run into a snag.
What are you supposed to do when the filament breaks inside the print head?
On my printer everything is put together in a way that makes it look like you're not supposed to try to take it apart.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Bring the head up to temperature and try to load the filament as usual. Try pushing with the new piece of filament if the extruder can't push the rest of the old filament through. You should be ok once the extruder gets hold of the new piece of filament and starts to pull it in.
Richard Andrew x64 wrote: On my printer everything is put together in a way that makes it look like you're not supposed to try to take it apart. Forget that. Try to get hold of any maintainance instructions that you can get your hands on. Sooner or later you will have to clean the nozzle or tighten a belt. I just wasted another weekend to take my printer's head apart completely to clean out the mess some bad filament has left behind.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Thanks Mr. Wraith.
The filament that came with the printer worked fine at 210 degrees C. Then it broke and I'm now trying to use ABS.
I've had the head up to 280 degrees and the extruder wheels just don't have the force necessary to push it through the tiny hole.
This is frustrating.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
210 degrees? That sounds like PLA. And then you tried to load ABS? You may have baked the remaining PLA with the higher temperature you need for that. If that's the case, you may also have to clean out or replace the nozzle, possibly even take the head apart to clean it out. The problem is that rven the strongest extruder will not get anything through that tiny hole once the nozzle is clogged up. Believe me, any solvent that could remove PLA is nothing you would want to have in your house.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Baked? You mean the higher temp for ABS can cause PLA to harden even more than it normally is?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Yes, a brownish crust.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
I think CodeWraith is right - I'd have heated it to the PLA temp (which for mine is 200C) and push the broken bit through.
Then in theory to swap types you heat it to the PLA temp, pull the filament back out, and then feed ABS at the higher temperature and run enough through to make sure you have cleared the head.
If you've overcooked the PLA and it won't clear by heating to around 200C and pushing with PLA, then it's probably better to replace the nozzle - you can buy them on Fleabay for around £1.50 - the hole diameter needs to be pretty accurate and unscratched to give to decent prints. YouTube has loads of videos on replacing them - just watch your fingers as you need to heat it before removal!
Be aware the ABS needs to be well ventilated - the "S" stands for "Styrene" so it gives of nasty fumes when heated: Should You Worry About 3D Printer Fumes? – io3dprint.com[^]
My printer comes with a spare hotend, so I'm very tempted to keep one for PLA and the other for ABS! The only fun with that is that I suspect that will mean re-levelling the bed every time I change the hotend and that's a PITA ... I ended up using my DTI and a big clamp last time!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Thanks. I found some videos about the "atomic pull" method of cleaning the nozzle. I will try that.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
That only works if you have enough filament to pull at and if you can retract the extruder.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
FS15044 Insignia Blue[^], to be exact. I just knocked over my blue paint when painting the insignia on the belly side of the Huey. Looks like my pants now are insignia blue as well and I smell like a distillery because I thinned the paint with alcohol.
Time to do something different. How about some coding? Normally I would use my good old Postgres database to hold the data, but this time I must do it in memory. The problem is that a full blown database would be overkill, but messing around with two dozen separate collections and enforcing relationships is too much fuzz. Does anybody know a nice library that can be used for that?
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
|
Ahh, I see:
Quote: RickZeeland
contributor for a year
At first glance it is just what i need.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Now you are having a Slanted opinion
|
|
|
|
|
It probably will fit your color needs - BLUEDB - Home[^]
(never saw it before, posted just for the pun)
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
What's wrong with SQLite? IIRC, It also supports in-memory databases.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
- The OP described a reasonably complex database, that requires maintenance and enforcement of relationships. This is just the kind of use case at which relational databases excel.
- Speed, while important, is not the primary criterion for a database engine. Data and relationship integrity is.
- When choosing between a mature database engine that is used in billions of devices and a relatively unknown engine, the mature product will usually win. Very few people can afford to bet their product (or their reputation) on unknown quantities.
This does not mean that I would never try unknown products. It does mean that I will use them only in non-critical (i.e. non-production) environments until I am sure that (a) they can do what they claim to do and (b) are better in some significant way than the mature product.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
That are some good points, SQLite is of course on the market for quite a long time and LiteDB undoubtedly still has some bugs as it is a relatively young product.
So we will see what CodeWraith thinks of it (if he decides to use it).
Exciting times!
|
|
|
|