C#, Tech

C# 8 features – part 1.

If you were online at least once in the previews week you probably noticed the biggest announcement from Microsoft! Yeah, everybody is talking about C# 8 planned features. And because the news is literally everywhere, I gave up and decided not to repeat what everybody already read. But that decision is no longer valid because back THEN (which means – yesterday or so) my pet project wasn’t so nasty and I wasn’t so stuck in the middle of some stupid, trivial task that seems to be unable to accomplish… So yeah, I changed my mind, I will wrote about C# 8, just to avoid touching (for at least a day 😉 ), the disaster I programmed :D. No, it’s not procrastination, not at all! ?

Continue Reading

Tech

How to insert/update more than 4000 characters in an Oracle table (because life cannot be too easy!)

I have never believed in those stories about non-intuitive Oracle databases. What can be so wrong with Oracle? It exists for quite a long time, big companies still use it… It’s just another database engine, right? Yeah, that was my way of thinking till I needed to update a row with a string longer than 4000 characters.

Because you know, you cannot just update this f*ing field in the database with an ordinal update statement. No! Plain update statements are for losers, we are Oracle users, ORACLE USERS! Yeah, read it once again, OOOOOOORACLE UUUUUSERS. That’s right, now just be kind and type the following statement that will make Oracle to show a small pop-up window where you put your long string (ugh, longer than 4000 characters – you are really disgusting to store such a long strings in your database, you know? Naughty programmer! Shame on you!). Continue Reading

C#, Tech

Imagine there’s no… NullReferenceException! (C# 8 plans)

Well, maybe not a totally ‘no’ NullReferenceException, but a whole lot less than now. Well, yeah, I had to catch your attention somehow :P. But anyway, have you heard those rumors about C# 8, how amazing it is going to be and how hard Microsoft is working on the release…? If not, you definitely should read this post! Because the promised changes sound really good and will be a must-to-know quite soon.

So today I wanted to write about one of the “louder” planned features – nullable reference types. Yes, you read it right. And yes, all the reference types we already have in C# are actually… nullable. Yeah, makes no sense, yeah, what a bullsh… No! Wait! Continue Reading

Tech

Want to work at Microsoft? You need to read this!

I’ve always had the impression that companies like Microsoft or Google are some magical places in the far-far-away-land (yep, America seems quite far away for a European kiddo ? ). People working there must be some kind of amazing scientists who write their code by setting the appropriate voltage directly on transistors. Or, at least, use assembler-like languages every day ?.

If you have a similar idea, you may like to read some facts I discovered after talking to one of Microsoft employees. My todays ‘guest’ is Ela Mościcka who’s been working at Microsoft for +3,5 years as a Talent Sourcer. And probably the most busy person I’ve met so far :D. We are talking about working at MS and how a programmer can become a MS employee. Continue Reading

Asp.Net Core MVC, Tech

Razor Pages – a simple demo to learn the monster!

In the last post I wrote about one of the .Net Core 2.0 features – Razor Pages. Today, we will crawl a little bit in this mud… I mean, we will write some code.
I chose a simple BMI calculator as a demo project (you can download the code from github). You know, 2 inputs and the code-behind that will tell us if we are very fat or just slightly fat or we are OK and it’s time for another cookie. Because, there is always a time for a cookie, no matter what! Continue Reading

Tech

.Net Core 2.0 – summary

At Monday, we had a highly anticipated release – .Net Core 2.0 ! If it is not enough, we also got a new version of Visual Studio 2017 – update 15.3 (and I will write about it in the nearest feature). So now, I will try to show you the most interesting features of the youngest .Net kid. Continue Reading

Tech

.Net Standard 2.0 is here!

When I started learning .Net Core some time ago I was constantly encountering a ‘.Net Standard’. I knew what it means and that it is (somehow ? ) important for me but didn’t really care about it. It’s just the standard, right? Who would care about it, when there is so many new things to discover (yep, I was an ignorant!). I changed my mind the last week – when the .Net Standard 2.0 was finally released.

So, what the .Net Standard is?

It is the standard common for every .Net technology. It ensures that your app/library is compatible with all the .Net technologies (ex. asp.net core, asp.net, xamarin) so you can reuse the same piece of code in more than one product without a need of recompiling it. Continue Reading