Posts
60
Comments
29
Trackbacks
9
ASP.NET
ASP.NET
Google App Engine Supports Java

I was perusing around earlier and noticed that Google's App Engine now supports the Java Language.  It said New! next to it,  so I figured, why not blog it. Here is a link to the Google App Engine. Read more at their app engine blog. I certainly look forward at trying to leverage their hosting services at some point in the future.  I will also be considering Amazon's EC2, as well as Microsoft's Azure.  Most of my sites are in ASP.NET but wouldn't be entirely impossible to refactor at this point.  What would you do?

posted @ Tuesday, April 28, 2009 1:27 PM | Feedback (0)
Integrating Gravatar Into Your ASP.Net MVC Application

Naturally, whenever I try to overcomplicate things; I turn around and blog about them.  This will be short and sweet as adding a Gravatar to your site that is dynamically generated is actually fairly simple.  I always try to oversimplify too, but there were a few small snags I ran into while doing this. You need to have your users email address (or hash) available to your .aspx I use a string extension, so that I can call VarName.ToMd5() Ok, so Gravatar is cool.  I ran across it for the first...

posted @ Sunday, April 26, 2009 1:10 AM | Feedback (0)
Cross Domain Ajax Calls ASP.NET MVC

I was looking around the web recently searching for a quick fix to sending Ajax requests back and forth between different servers, and a specific fix for ASP.NET MVC using JQuery's getJSON() method.  This is for a service that I would like to make for http://hurl.me.  After some research it was apparent that I was going to have to get in their and dirty my hands.  Here is what I determined. Cross Domain (i.e. http://example.com requesting an object from http://hurl.me) is not a "trusted" technique Web services (*.ascx) aren't suiting my needs, I...

posted @ Sunday, April 05, 2009 7:30 PM | Feedback (2)
Excited to Release Assembly.Web

Are you tired of obfuscation from all these new fancy languages?  A small team of my developers here in the midwest finally got tired of it and after some serious debates we designed Assembly (dot) Web, spelled Assembly.Web.  This new framework has absolutely no overhead and it is cross platform (works on ...Windows 3.+, Unix, IBM, and all other technologies  here... Stay tuned for the official projects home page later today.

posted @ Wednesday, April 01, 2009 7:32 AM | Feedback (0)
Add User to Default Role, Asp.Net Memberships

Just a quick way to make a default role for everyone that signs up for your web site if you are using ASP.NET Memberships, with ASP.NET MVC. First, add this to the top of your AccountController... using DotNetRoles = System.Web.Security.Roles; Then, you want to add this around line 105 of the same file.  Please note that in this example, I already have a role "Users" that I want everyone to default to. DotNetRoles.AddUserToRole(userName, "Users"); Here is an image of the modified method. After that, you are good to go.  Enjoy. Technorati Tags: ASP.NET MVC,Memberships,CSharp

posted @ Saturday, February 07, 2009 12:22 AM | Feedback (0)
Err to Readability or Speed

Here is my question of the week.  For those of you that don't know me, I program in CSharp professionally and I teach Java at the University level.  Recently I have been torn between two facts: Code for maintainability, in which even the average Joe could probably go in and figure out what is going on. Code for speed, where it is often confused because I want it to go really fast; who cares about Overpaid Joe? I am a big fan of both.  I love fast, reliable, well written, maintainable...

posted @ Tuesday, December 16, 2008 12:35 AM | Feedback (0)
ASP.NET HTML Extension (Submit Button, Reset Button & Button)

I sat down reading one of Stephen Walther's blogs and noticed that he mentions a way to create extensions and talks about ordered lists and unordered lists.  At the top, he had mentioned something that I had taken interest in.  He said that a potential use is for a Submit Button, so when I couldn't find something that had already been created out in the world I decided to write my own. Some of the considerations I looked at while making this include: The easiest method possible Least amount of code ...

posted @ Tuesday, December 09, 2008 5:21 PM | Feedback (1)
Subtext and Tagcloud (Tag Cloud?!)

Well I am becoming a big fan of Subtext as far as a personal blogging system.  I have yet to look at what I am going to do for my commercial adventure, though I am sure there is more to come on that.  For those that are wondering, I am trying to figure out the easiest way to have full control of my content and maintain a blog VERY Easily.  Subtext seams to be the right approach so that is what I use here.  I was looking for a solution to my Tag Cloud endeavor though.  How do...

posted @ Monday, December 08, 2008 4:27 PM | Feedback (0)
ASP.NET MVC Return User to Previous Link when Registering

So I was playing around with the Login and Sign up links in ASP.NET MVC with the Membership Provider included. I really liked it (and it was easy to understand how to use the Login feature of ASP.NET Memberships). You simply send the user to /Account/Login/?---Return path goes here---. To do this, I used this code here: /Account/Register/?ReturnUrl=<%= HttpUtility.UrlEncode(Request.FilePath.ToString()) %>#comments One of the issues with this is that I want the users to be able to sign up as well and be returned to the previous page. This serves many purposes. First and foremost, it’s a blog and...

posted @ Saturday, December 06, 2008 11:29 PM | Feedback (3)
Using ASP.NET MVC Beta With GoDaddy

Well I was on the phone with GoDaddy (woohoo) after uploading my ASP.NET MVC Site that I had just created. The issue is that I created this at a time in which MVC requires SP1, or at least the libraries from SP1. So how do you get around it? Here is the error: Could not load file or assembly 'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. To skate the issue (GoDaddy wouldn’t upgrade their servers for just me, but I did ask), I used a technique that I ran...

posted @ Saturday, December 06, 2008 11:23 PM | Feedback (3)
Full ASP.NET Archive
News
My Developer Notebook! This also happens to be my opinion place. Thanks for coming by.