|
My condolences.
/ravi
|
|
|
|
|
Sorry to heat that.
Remember, one drinks After the funeral.
|
|
|
|
|
Sorry to hear that, William. My sympathies to you, your wife, and your family .
Software Zen: delete this;
|
|
|
|
|
I just ported a website application from .NET to .NET Core. And with the exception of lacking HttpCookie and HttpSessionState , which I commented out for the moment, it compiled and ran and the website comes up and is functional! This literally took only 30 minutes.
Now, why was this port so easy?
1. I didn't use Linq2Sql or EF in the original code. Straight SqlConnection stuff with my own ORM-less layer for the CRUD operations.
2. Not implemented in ASP.NET -- This is a straightforward HttpListener implementation, not going through IIS.
Granted, I suppose if I'd used EF in the original code maybe it would have been painless. God only knows what ASP.NET vs. ASP.NET Core conversion would be like though.
Anyways, what a great way to end the week. I'm going to get this running on an rPi and see how it performs, with the SQL Server database of course hosted elsewhere.
|
|
|
|
|
Quote: This is a thing I've never known before
It's called easy livin'
This is a place I've never seen before
And I've been forgiven
|
|
|
|
|
RickZeeland wrote: It's called easy livin'
Yeah, this will be really cool if it runs from and rPi. Wish SQL Server Express ran on an rPi -- my bandwidth requirements are probably measured in the kbytes per month, so it's not like I'm running a high volume website!
And porting to MySQL or Postgres is more work than I want to put into the project at the moment.
RickZeeland wrote: And I've been forgiven
Hmmm...still feel like a sinner!
|
|
|
|
|
Why can't you run SQL Server on the Pi? Not enough RAM? SQL Server 2016 installs on Linux in about 5 minutes...much faster than on Windows.
Nevermind...they don't offer one for that processor architecture.
|
|
|
|
|
Yes, ram limit, but how now there's a 4GB RAM version, so I think that might work!
|
|
|
|
|
Scott Serl wrote: Nevermind...they don't offer one for that processor architecture.
Ah, right, that was the issue!
|
|
|
|
|
Wasn't that from the band of programmers called Uriah Heap?
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Bonus points
|
|
|
|
|
RickZeeland wrote: Bonus points Yes, he's certainly stackin' them up!
/ravi
|
|
|
|
|
That just doesn't register with me.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
I Heep!
/ravi
|
|
|
|
|
.NET Core has become so feature rich now that porting really is becoming far less painless (and actually possible!) than before.
I'm a fan. Especially since I can now write C# on the mac.
cheers
Chris Maunder
|
|
|
|
|
When does it get so feature rich that it no longer is just Core?
|
|
|
|
|
.NET Core++
cheers
Chris Maunder
|
|
|
|
|
As always, I look forward to the article(s) ! cheer, Bill
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
Marc Clifton wrote: God only knows what ASP.NET vs. ASP.NET Core conversion would be like though. I recently had to use .NET Framework for a WCF service.
I used to be quite a fan of EF, but for the past couple of years I've only been using EF Core.
Tried to run EF, but it was a PITA to go back, so I tried EF Core and it runs very nicely with my WCF Service.
Then I had to share the package between the WCF Service and an Azure Function (in .NET Core), so I switched the project type to a .NET Standard 2.0 project and everything just worked
The only downside I found was that I now needed an extra console app for running the EF Core Migrations tooling, for some reason that didn't work with the Azure Function project.
All these .NET versions are quite confusing though... And it seems there's another one coming to rule them all...[^]
|
|
|
|
|
|
England swings like a pendulum do.
|
|
|
|
|
OK, that's it - you've won the internets today ya bastiche.
I give up.
TTFN - Kent
|
|
|
|
|
It don't mean a thing if it ain't got that swing ...
|
|
|
|
|
Or would you rather be a pig?...
|
|
|
|
|
Budapest By Blimp?
edit: no - Ability To Swing.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|