Home » 2015 » September

ASP.NET, Angular.js & html5mode

I’ve been looking at Angular.js recently.  I’ve already got enough of a project done in MongoDB (with Mongoose), Express, Angular and Node.js (MEAN) to be comfortable with how Angular works.  But I wanted to give it a try using ASP.NET as the back end.  I’m always learning.  Always improving.

To start out, I just setup an index.html page to hold my basic form as I got the basic look and feel going.  But as I progressed, I wanted to make sure I progressed, I wanted to add in the capability of using Angular’s html5mode for the client side routing.

For those of you who are new to Angular, Angular is a client side JavaScript framework that will allow you to create web applications where much of the processing happens on the client side instead of the server side.  That’s cool enough.  But it also adds the ability to handle client side routing, just like ASP.NET’s MVC handles server side routing.  This allows you to have a client side “master page” that can suck in the differences from the server as it needs them based on the url that is in the address bar.  In fact, there is an extension that will let you have sub routes as far down as you need.

Out of the box, Angular, and most other frameworks that implement client side routing, using the hash symbol to specify the route.  For example

http:https://blog.dmbcllc.com/index.html#/pathToRoute

This allows the routing to work on older browsers.

ASP.NET, Angular.js & html5mode

image Continue reading “ASP.NET, Angular.js & html5mode”

Are You Thinking Clearly About Your Architectural Choices?

Recently someone asked me where the business rules should go in an MVC framework.  The Model or the Controller?

This reminded me of a post I wrote when ASP.NET MVC was first released.

But today I want to cover a broader topic common to everyone, not just programmers.  Not being able to think outside the box.

image

Continue reading “Are You Thinking Clearly About Your Architectural Choices?”

3 Reasons Responding To Useless Interview Questions Makes You Happier

I’ve noticed a trend recently.  Someone will write a post about some technical interview question and someone will write a comment about how that’s such a dumb question that they wouldn’t even bother answering it.  I’ve actually been that guy recently.  John Sonmez wrote about “Cracking the Coding Interview” and I responded that I don’t do coding interviews.  In fact, I wrote a whole post about this.  But as John pointed out, this may actually cause you to be limiting your career.  You wouldn’t answer that question for a 33% raise?  Really?  There isn’t anything that could motivate you to consider answering a question that you feel is useless, stupid or dumb?

This week, I saw another post about some technical interview question that someone said he wouldn’t answer.  Sorry, I don’t have a link for that one, I wish I did.

And then add to this, the number of useless interview questions I have answered in the last year.  Why did I answer them?  Because I could.  Because the challenge was actually fun.

And so, let’s reconsider the arrogant stance of “Thanks for your time, I’ll show myself out.”

First let’s consider why we might not want to answer a particular question.

image

Continue reading “3 Reasons Responding To Useless Interview Questions Makes You Happier”

Effective Hacks to Enhance IT Careers of College Students

I just got back from sending my last child off to college.  OK.  Now that you all have some vague idea of how old I am…

The weekend had all kinds of events that would make for good blog post.

  • Quality Matters – and is relatively cheap.
  • Advice to Freshman – and young professionals.
  • Be consistent with yourself – and learn to say no.

Since I think I can hit the other two by focusing on the second, we are going to go after ‘Advice to Freshman’.

The advice I am going to provide here is going to be both general in nature and specific to the IT crowd.  It is what I would tell a young IT person if I were coaching or giving a speech.

Continue reading “Effective Hacks to Enhance IT Careers of College Students”