Submitting a Search by Pressing Enter with #AngularJS

Well I am well on my next chapter of AngularJS for my Stock application (Mogul Match Stocks) which follows the tenets of Rule #1, by Phil Town which I mentioned in my earlier post. BTW just to share a quick win with you, Rule #1 told be to buy Twitter before the huge run up…

0

Visual Studio 2010 Spell Checker!

One of the things that inevitably gets many developers when writing code is a misspelled word or name of a method, property, function, event, etc.  Correctly spelling “review”  in your code or any other words which are commonly misspelled due to typo or just not remembering “i” before “e” except after “c” is important, especially…

0

SharePoint 2010 Sandbox Web Part Properties

I had the pleasure recently of creating a custom web part which had to live inside a sandbox solution for SharePoint 2010.  SharePoint 2010 Sandbox solutions are great in enterprise environments when the resources are shared and the farm is locked down.  However it calls for a major change in the way we create web…

2

Hitting the Enter Key to submit a form in ASP.Net

So in my latest adventures I was tasked with creating a form that had 1 text box and a button that made a query once entered.  Straight forward enough right?  No problem  in no time the form was created and the page submitted the query and returned the results.  I submitted my code to the…

3

Converting LINQ C# Lambda Expression to VB.Net

So after many months of procrastinating I finally decided to learn LINQ.  When I first heard about LINQ I did not really see it’s true potential and the book I was reading at the time was teaching at a very deep level of the technology and the C# language that also did not click with…

1

Checking your SharePoint code for Memory Leaks

I have been writing custom code for SharePoint sites for several years now.  As one knows when writing code testing, testing, testing and a good code review can help to ensure solid code.  One of the major issue when writing any SharePoint code is the misuse of the SharePoint API in the failure to Dispose…

0

HTTPWebRequest 404 Error

A while back I developed an application which made requests to several web sites, scraped some data and stored the data into a database.   The application worked great for several months without issue.  One day the application failed to get a successful response from the sites I was screen scraping.  Obviously, the first thing I…

4

Visual Studio 2010 and ASP.Net 4.0 Web.config Transformations

I am excited to see some of the new features that are lined up for Visual Studio 2010 and the .Net Framework 4.0.  Of these many new features one that really comes close to home is the “Web.Config Transformations” feature.  How many times have you developed an application on your workstation and needed to now deploy your application…

0

Microsoft .Net 3.5 Charting Control

If you are like me when developing you are always on the lookout for reusable nuggets of code to make you life easier.  It’s even better when that nugget of code comes with support that will aid you when you run into trouble in using that control.  One of the things I love about the…

1

Custom 404 Message with Bad URL Parameters

Have you ever built a site that contains a page that accepts a parameter like http://mycommecesite/productdetails.aspx?pid=10?  What happens when a user tries to enter an invalid product id?  It would be nice if you could show them a nice custom error page with very minimal coding. Turns out you can do this with as little as 2…

1