Denny.NET

I can haz ASP.NET goodness?

About the author

Denny Ferrassoli
Developer at Casting Networks. MCP / .NET
E-mail me Send mail
Add to Technorati Favorites

Recent posts

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

SVN - Quit thinking about it and jump in

So I had a mishap happen with my project the other day and I decided, finally, to get a version tracking system. I had heard a lot about SVN and used TortoiseSVN occassionaly to get the latest versions of subsonic, jQueryMVC, ffmpeg and a few other projects. So I looked around for something that could integrate well with Visual Studio 2008. I ran across VisualSVN, downloaded the trial, and I'm now hooked! It's a really good price too (I have yet to purchase it though). Anyways, TortoiseSVN allows you to easily create your repository and you get a cool SVNAdmin tool which you can use to backup your repository (in combination with task cheduler).

So if you were like me and you keep hearing about SVN this and SVN that... jump in, the water is warm :) You're wasting productivity by not checking it out!

[04/30/08] There's another great article I bumped into today regarding a move to TortoiseSVN and VisualSVN, check it out here.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:
Categories: ASP.NET | General | Management
Posted by Denny on Friday, April 25, 2008 5:08 PM
Permalink | Comments (4) | Post RSSRSS comment feed

Some Interview Questions

Well I've been out on the chopping block lately getting some interviews. The first one sucked, needless to say I was not prepared. Anyways I came across a few interesting interview questions and thought I would share. They're mostly ASP.NET and not specific to any language except for question 1 which is for C#.

#1. Can you implement code in an abstract class?
I came from a VB.NET background and for some reason thought you couldn't (what the hell are interfaces then?? - D'oh!). Yes you can implement code in an abstract class! You can choose which properties and methods should be overridden by using the abstract keyword. The abstract keyword implicitly makes the method or property virtual whereas an interface is always virtual.

#2. Implement a function that will return a corresponding Fibonacci number: Fib(x)
Good old Fibonacci. Try creating a function that will add the sum of the previous 2 numbers. Example:

0 1 2 3 4 5 6  7...
------------------
0 1 1 2 3 5 8 13...

If we passed 6 into Fib(x) it should return 8 because it adds 3 and 5 (the two previous sums). This is a cool function because it can be implemented in about 2 lines of code (in a recursive function)! Try it yourself and then take a look at: http://en.csharp-online.net/Calculate_Fibonacci_number - It took me about 45 minutes to finally see the light, I was always slow at math.

#3. What is the order of Page_Load events if you have a page that uses a Master Page, the Content Page and a User Control? What if the User Control's PageOutput is set to cache the control?
I admit I goofed this one up. The events are as follows: Content Page, Master Page, User Control. And what about caching? The first time the page is loaded the control's Page_Load event will fire. It will not fire any further until it is removed from the cache. So while the User Control is cached the events are only Content Page and then Master Page. That will save you a lot of processing! (Makes sense doesn't it?)

#4. Create a regular expression to match the following: (xxx) xxx-xxxx
Ok, so unless you translate all your favorite books into hexadecimal and read them that way then you probably don't want to touch Regular Expressions. What in the world are all those slashes, squiggly's, dots, parenthesis and what not doing in there!! Well there's a good place to learn: www.regexlib.com and check out the Cheat Sheet. Anyways here's what I came up with (although at the interview I omitted the ^ and $):

^\(\d{3}\)\s\d{3}-\d{4}$

Yes that translates into a phone number :)

More to come... maybe...

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:
Categories: Management
Posted by SuperGhost on Monday, June 18, 2007 8:33 PM
Permalink | Comments (2) | Post RSSRSS comment feed

Interview Questions: What Should I Expect?

I'm expecting an interview within the next few weeks for a position as a C# ASP.NET Developer (Mid-Level). At my current position I do a lot of VB.NET development; however I work with C# extensively at home on personal projects. I feel very confident about my presentation but in preparation would like to get some feedback on what to expect or what to focus on prior to an interview (C# specific). For example what kind of C# specific questions have you run into? What were you being tested for as far as your C# skills? Each company is different, of course, but I would like to hear about some of the experiences you have had.

I have read through Buu Nguyen's recent Interview Questions and this was a great starting point.

I look forward to your comments.

Update (4/30/2007 8:15am): Found a few more resources. This is a really good one http://www.devbistro.com/tech-interview-questions/.NET.jsp and also http://www.techinterviews.com/?cat=9

 

kick it on DotNetKicks.com

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:
Categories: ASP.NET | Management
Posted by SuperGhost on Sunday, April 29, 2007 9:00 PM
Permalink | Comments (3) | Post RSSRSS comment feed