#.NET
implementing google's invisible recaptcha in .net

If keeping bots away is your thing, then using Google's reCAPTCHA is a must. And while it can be tedious to click on 20 images of cars in order to verify that I'm human, it will keep your database clean from spam. Thanks to the new Invisible reCAPTCHA users won't know that there is a security measure in place until after they perform some action on your website. Which is good from a UX standpoint as seeing a reCAPTCHA field might deter some users from signing up. Sounds weird, but it's true.

. . .
Continue reading
how to read any kind of file in c#

If you're a data analyst or data scientist or work with data in some way, shape, or form, then at some point you've had to deal with random text files full of data that needs to be extracted. And more than likely, you end up forgetting how to do this each and every time in whichever language you use in your endeavors. So today I'm going to cover all the possible files that you may need to read into your programs in the hopes that this can be a one-stop shop for your data extraction needs.

. . .
Continue reading
taking a look at asp.net core

One of the biggest things to come from Microsoft recently, for developers, is .NET core, which is a lightweight, multi-platform framework for creating web services on Windows, Linux, and Mac. And not just multi-platform, but cross-platform as well. So we can create universal apps that target all 3 of the major platforms currently. Which means more collaboration and less restrictions overall when developing new projects.

. . .
Continue reading
starting out with asp.net mvc part 3

Welcome to part 3 of my starting off with MVC tutorial. In this post I will be mainly going over Data Annotations. You can check out part 1 where I cover starting a brand new project from scratch. Or if you're above that level, part 2 where I cover Models and the Entity Framework.

. . .
Continue reading
4
implementing google's no captcha recaptcha in asp.net

Captchas and reCaptchas are great inventions. They help keep spam out and help to verify that humans are on the interwebs and not mischievous bots buying up all of our concert tickets. Captchas were annoying for the most part and they always took 3-4 attempts to get right. reCaptchas were less annoying, and at the same time they also did an amazing thing. They helped to digitize text in books that was illegible for machines. But in the end they still kind of sucked a bit. There was always that 'a' that might of been a '9' or the 'i' that could of been a '1', 'l', '|' etc.

. . .
Continue reading
starting out with asp.net mvc part 2

Last time I left off with ASP.NET MVC, I covered how to create a new MVC project in Visual Studio and how to add new Controllers and Views. I was able to show how to pass data to the View from the Controller using the ViewBag and how to render Views from the Controller. I covered the VC part and purposely left out the M, the Model. So in this post, I am going to be adding a Model to the project and I will be using the Entity Framework as the ORM in order to access the data. I'm not a huge fan of the Entity Framework, mainly because it ties the code and the data too closely together, and sometimes with complex queries, you end up with super complex expressions in your cod . . .

Continue reading
starting out with asp.net mvc part 1

One of my weaknesses in programming is actively using MVC in my projects. Particularly ASP.NET MVC, since I am a .NET Developer. Most of the jobs that I've had have not required MVC and as far as my personal work goes, I've spent a good bit of time working on my own framework throughout the years, and it doesn't make sense to me to start over. But MVC is becoming more prevalent and more and more companies are jumping on that wagon, so it's time to revisit it once again.

. . .
Continue reading
working with delegates in c# for beginners

I don't normally run into delegates in my day to day coding, but at some point you will run into them and you'll want to know what they are and how they work. This has also been a popular interview question that I've received in the past, and normally one that I found difficult to answer. At the very least having a textbook definition at the ready will at least have you somewhat prepared. Good news for us, delegate are simple structures and relatively easy to use.

. . .
Continue reading
how to encrypt passwords using sha-256 in .net

.NET makes it pretty simple to work with data encryption with the Cryptography namespace. So there should be no reason to have plain text passwords in your database, like I've seen sooo many times at various companies that I've worked for. And we've read countless times about companies getting hacked, so taking any extra measures to protect your data is important. Or for any of your data encryption needs really. And while I'm not an expert in hashing algorithms and encryption, I know enough to build login systems using them. While the odds of someone taking over your database aren't exactly super high, it is possible, and you want to lower the amount of damage done to your users/clients as much as you can.

. . .
Continue reading
creating an xml document in asp.net

There are various different approaches to XML document creation in .NET. There is no right or wrong way really, it just depends on the situation and what you're more comfortable with. You need to generate an XML file in an hour? Then have it and glue together your data manually in XML and save it into a file with a .xml extension. You need a reusable and scalable XML generation tool? Then you can use a more programmatic approach to the problem. Lucky for us the .NET Framework can help us out with whatever approach we want to take.

. . .
Continue reading
Load older
"sometimes you have to delete, to find your answer"
Copyright © 2018 thatsoftwaredude.com
humans.txt
TOP SCORES
Score in the top 10 and leave your Instagram handle.
Start
0
snake left
snake up
snake down
snake right