dustinfisher.com Rotating Header Image

New Feature: ASP.NET and C-Sharp Programming

This past week at work I began building a very basic Intranet site. I started out building it on PHP, as that is what I am most familiar with and could have had something up and running fairly quickly. A couple road blocks stopped this from happening in the middle of the week. If I wanted to build the Intranet site it would have to be built on Microsoft technology. I was okay with this as it was something new for me to learn. More skills the better, especially in the current economy. So it is settled, ASP.NET with C# it is.

The first thing I come to realize is most of the tutorials I find are all based off the WYSIWYG features of Visual Studio. Coming from PHP this is a huge difference. The features are great and all, but I want to know what is going on behind the scenes before I begin rapidly developing all the time in the WYSIWYG editor.

With the start of this project at work, I hope to begin a new chapter with my personal site here. I will be posting tips, tricks and any other stumbling blocks I come across as I learn ASP.NET and C# coming from a PHP background. Hopefully this will help someone out there and speed up their development time when learning this technology. I know this will help me learn it and keep a nice reference for later use. If there are any expert programmers in this area reading this I ask you to help along the way. If I post something and there is an easier way of doing it or I am just completely wrong let me know. Learning is good and benefits everyone.

Cuil is not so Cool

As a lot of people know a new search engine arrived this week named, Cuil. I decided to go see what it is all about. This is from their website:

Cuil’s goal is to solve the two great problems of search: how to index the whole Internet—not just part of it—and how to analyze and sort out its pages so you get relevant results.

Relevant not so much. Let me explain.

When you search on Cuil it returns a page that is three columns and some of these results have thumbnail images with them. See photo to right.

If you view the full size of that image the result at the bottom in the middle column has incorrect info. That image is from a site I did. It does not exist anywhere on the site it shows. The site that image belongs to is not listed on that page anywhere. It would be nice if you click on that image it gave you the site it came from, but that is not the case. When you view the source of the image it gives you this: http://www.cuilimg.com/imgsrv?i=020112:1343055842847354.

I am not a fan of this at all. When you view the search page it looks like that image is credited to that site. Then no one will ever know the source of the image since it is being pulled from the Cuil Image server. These are not practices of a search engine I want to use.

Relevant results, I think not Cuil!

Facebook Developer - Invite Friends Code

One thing I noticed a lot of people ask for on Facebook applications is a way to have users invite friends. I will post the code below I use on my applications to let users invite friends. Below is an image showing you what it looks like in the application. Where the question marks are is where the friend’s face would be and then the friend’s name would be in place of where it says friend’s name.

Facebook Developer Invite Friends

Here is the code used to produce this with PHP. [ Download Here ]

You will need to look the code over and put your correct web addresses in for your application. I also named this page invite.php on my server. If you have any questions or suggestions just let me know. I am sure I will be tweaking this code from here on out.