Many times I have students that think they are never going to make it as a developer. Many people feel that because they cannot bust out an entire application from memory that they are phony and not a real developer.
Development and technology tips, trick and tutorials from our world class instructors!
Do you feel like you are NEVER going to make it as a developer?
Editing Records and Updating Images with Entity Framework
Editing records using EF is very simple unless you're trying to update a file or photo in which you can get entity attachment errors. We can use the AsNoTracking() to solve this problem.
Adding and Referencing Additional Data in the Asp.net Identity AspNetUsers Table
Storing a user’s name or other personal information in the AspNetUsers table can be very useful. In this post I am going to show how to add FirstName and LastName columns to the AspNetUsers table and then pull that information out when a user signs in.
Creating a YouTube application with ASP.NET MVC and the YouTube API
Creating an application using ASP.NET MVC to manage the videos that you want users to see without all the other stuff is pretty straight forward.
GitHub: Custom Identity Management
I got tired of the hassle with IdentitySample and created my own alternative that will initialize the DB, add a default administrator and provide user and role management but without all the extra unnecessary file modifications.
Software Error vs Exception – In Real World Examples
After 15+ years of software development, I still use the words error and exception interchangeably. But is there a difference between exceptions and errors? I think it is best to make the distinction with some examples of errors vs exceptions.
Working with Identity Users and Roles – Accessing Roles After User Login
There is an issue in the Identity framework when the business requirements need a developer to interact with the roles that a user is assigned to as soon as the user object is created upon successful login.Luckily there is a very easy fix for it.
Extending Identity – Adding Roles at User Registration
The Identity framework is a great tool that allows asp.net developers to easily add authentication to their applications. This is the third post in a 3 part series on extending the ASP.NET Identity Framework.
Extending Identity – Account Verification
The Identity framework is a great tool that allows asp.net developers to easily add authentication to their applications. This is the second post in a 3 part series on extending the ASP.NET Identity Framework.
Extending Identity – Identity Sample and Blocking Users
The Identity framework is a great tool that allows asp.net developers to easily add authentication to their applications. This is the first post in a 3 part series on extending the ASP.NET Identity Framework.
I began looking into snippet managers and found some very promising options.
Displaying Results by Group in MVC
Using a simple Linq statement in a controller with the appropriate @model statement on the view to display results by group.
Making ASP.NET Identity and Unity Work Together
One downfall of using multiple frameworks is that different one don’t always want to work together out of the box at times such as Identity and Unity. There is an easy fix however!
Log4Net ASP.NET MVC UI
Log4Net is a very powerful logging application for ASP.NET applications. Logs can be written to a text file or also to a database. I have created a new project on GitHub to house a MVC based UI for Log4Net logs that are written to a database.
Portable Development Environment
Sometimes, when I am away, a client needs something or there is an issue that has surfaced that I need to deal with right away. I don’t always want to carry my laptop with me every time I go on vacation. I have discovered a compromise in the way of portable apps.
Project Management with Trello
Trello is a Kanban style project management board. The gist of Kanban is the use of lanes and cards. Lanes represent the stages that an item must pass through in order to be completed. Each card represents a certain task or group of tasks that can be assigned to individuals.
Using Source Control with BitBucket, Source Tree and Visual Studio - Part 3
Conflicts are caused when two branches both have changes to the same file that could potentially overwrite each other. Source control keeps track of these kinds of changes and will alert the developer to these issues. Resolving conflicts is an important part of being able to use source control.
Using Source Control with BitBucket, Source Tree and Visual Studio – Part 2
In part 1 we looked at installing our source control tools and setting up our first repository. To truly make source control as powerful as it can be we need to create new branches for various changes that we make so that we can switch back and forth between different versions of our site.
Using Source Control with BitBucket, Source Tree and Visual Studio – Part 1
Source Control is a concept that I had overlooked for several years. As the sole developer for several companies over the years I did not see the need for source control mainly because I did not understand source control.
Banking System Pre-Interview Coding Sample
I blogged about the increasing tendency for employers to give potential candidates some form of programming task to complete before an interview. The FizzBuzz test is on the simplistic end of the spectrum. The opposite side is something like this Banking System application.
At one of my previous jobs I had to do a lot of reports for users to easily browse or search for information. The layout that most easily allowed for this was by providing the information laid out in a tabular format.
Planning a Website Structure
Planning the structure of a website is important because many time that will directly affect the functionality that you need to build. It will also allow you to have to do less restructuring and code re-writing later on. On way is to simply create an outline of the pages that a website will need.
There are times that it is necessary to convert between hex and decimals numbers. Recently I was using a hex color on a web site and then wanted to use the same color with an alpha value to make the color semi-transparent.
The FizzBuzz Test
It is becoming very common place before an employer will take the time for an interview to make sure that a candidate has the skills that are needed to actually program (verses simply passed some certification exams but still can’t apply their programming knowledge practically).
Dropping All Tables from a Database
When work with a remote database sometime the database schema changes so dramatically that it is just easier to drop all of the database tables and recreate them but you don’t want to delete the database. This is a simple way to remove all tables in one clean step.