Remember when your are using a MapRoute that you have the correct naming convention that is being used in your message, if you’re using a message, if not, then make sure the arguments being passed are the same naming as in the route otherwise the redirection won’t work. Continue reading “.NET MapRoute not working.”
** NOTE ** THIS IS ONLY IF YOU ARE USING “[Required]” NAMESPACE.
So after some time of coding in C# I’ve been noticing a lot new references and getting the hang of .NET pretty quick. But the best way to learn is to fail! So that’s what I’ve been doing a lot, is trying new things, getting errors and then fixing them. One error I’ve noticed real quick was the ‘The type or namespace name could not be found’ when I wanted to set up a ‘[Required]’ namespace. So after some Googling and reading the wrong answers, I thought well maybe I can just look at some other sample code I have and see what those are doing… Sure enough, there was my answer smiling at the top of the first class I opened up! Continue reading “The type or namespace name could not be found”