SeanMcCammon C# .Net core 3 Software Developer
Validating String Length In The Model Validating String Length In The Model

The ability to validate values passed into an ASP.NET application at the model level is a powerful thing. You can validate if the correct type of value has been passed in before you even get to processing it. For example, using something such as : Looking at the above we can see 3 fields. The […]

Read More
The Unsafe Keyword In C# The Unsafe Keyword In C

The Unsafe Keyword What is the unsafe keyword in C#? When should you use it? Should you use it? It’s not one of the most common used keywords in your generally C# application but I wanted to talk about it in this article. It could be the answer to your current problem - or you […]

Read More
Using Dynamic Data In Your ASP.NET Page Using Dynamic Data In Your ASP.NET Page

Let me start this post by saying if you're already know how to pass data from the backend code to your front end: this post is not for you. This post if for people who are just learning how to do this. Let's face the facts here. You're most likely creating an ASP.NET App and […]

Read More
Implementing Your IEmailSender For Forgot Password Reset Implementing Your IEmailSender For Forgot Password Reset

When you're implementing your Identity Server application in C# you will most likely need to implement some forgot password and reset password functionality. The usual and best way to implement this is to allow the user to enter an email or username into a Forgot password page -then have Identity Server email a link to […]

Read More
Return Maximum Number Of Different Sweets Return Maximum Number Of Different Sweets In Java

From the above title you may be wondering what this one is all about. Well, let me explain a little. I recently did an interview where part of it was peer programming. Well, that is not entirely true. There was a programming exercise where the interviewers watched while I attempted the question. Now. little caveat […]

Read More
Random Password Generator In C# Random Password Generator In C

I've previously talked about hashing a password for IdentitySever4 in C#. This works well when you want to store your password with added salt to a database or similar store that could be read. In this previous article I talked about how this could be added to code that was bulk transferring users from one, older, […]

Read More
Identity Server Hashing Passwords For Existing Users Identity Server Hashing Passwords For Existing Users

Recently we started working on a new IdentityServer4 project - something to give a new facelift and security to an existing product usin C# and .Net Core 3. The idea was to create a portal for users to log in through, then forward on to the existing products. The plus side of this: using the latest .Net Core […]

Read More
Custom Routes For Your ASP.NET Core 3 Project Custom Routes For Your ASP.NET Core 3 Project

If you’re anything like me: when you wanted to find out more about ASP.NET you went to the internet. May be you went to an online site that has training courses such as Udemy. Maybe you searched and found some tutorial pages.  Me personally, I did both and after trying to follow some of these […]

Read More
Starting With C# .Net Core 3 Starting With C .Net Core 3

I wanted to start this post with a quick caveat. At the time of writing this post: the .Net Core3 is currently at Preview 8. As we grow closer to the September release date I hope that many of the code and feature I talk about in my upcoming blog posts will remain the same. […]

Read More
FizzBuzz In C++ FizzBuzz In C

Recently I started looking for a new role, a new developer role. During my interviews, I have come across a number of questions and coding challenges. For each of these challenges, I take my time, create the code. I then come home and revisit that challenge to write a better solution. Recently I started looking […]

Read More
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram