Working with config.xml Files

This is a quick snippet of code that I used to access settings kept in a config.xml file. This can be useful because it allows a user to make changes to an application without having to recompile a project. The code displayed below is VB.Net

Can Not Access web.config!!!!

This is an excerp from a forum conversation I had over a ASP.Net project that could not access any Application Settings contained in the web.config file. No matter how I referenced any setting kept in my web.config file they would all come back null. In the end the solution to the problem was that directory that served as the root …

Altering ASP.Net HTML Helpers Attributes

I had a hard time find information on how to modify basic attributes like cols, rows, width, or anything else you might want. Here is the syntax to alter many attributes … <%= Html.TextArea(“Example”,null, new {@width = “650”,@cols=”100″,@rows=”50″}) %> This code will generate the follow HTML markup… <textarea cols=”100″ id=”Example” name=”Example” rows=”50″ width=”650″> You can add anything you might need …

WebService

I ran into a bit of a road block when I had a complex XML code structure already already typed as a string. I didn’t have the time to convert the entire string (which contained well formatted XML) into an XMLDocument structure. However, I needed my Web Service to return true XML in the form of an XMLDocument. So…. here …

Updating IIS to .Net Framework 4.0

Use Visual Studio to open the Web project that was developed for the .NET Framework 2.0, the .NET Framework 3.0, or the .NET Framework 3.5, Visual Studio can automatically perform all the changes to Web.config files that are required to be able to run using .NET Framework version 4.0. If the project is a IIS project and you are using …

Missing SQL Managment Studio

I noticed that after installing Microsoft SQL Server 2005 Developer Edition that it was missing the SQL Management Studio, which embarrassingly enough was the only reason I installed the darn thing. So assuming you made the same mistake I did and that is why you are here… below are the steps to install SQL Management Studio. Make sure Windows SP1 …

Mad Mimi

This was just a quick API call to Mad Mimi’s promotions list. I didn’t see any examples around so I just tossed up a quick code snippet. The API call being used is listed here… http://madmimi.com/developer/api/promotions

C# Stored Procedure Example

This is a quick example of how to make a call to a SQL Stored Procedure using C#. Make sure that the datatypes you declare match what the SQL table can hold. In another post I’ll give a RegEx Class that can wash out errant data and verify that everything is typed correctly (So you don’t enter a string where …

mSpot.com … Well …

So ever since LaLa.com was shutdown a quick moment of silence for the death of my favorite music site…. I have been looking for a cloud music service. I’ve even been waiting to see if Apple is going to do anything with its newly purchased LaLa.com. Hoping that maybe even iTunes would have a cloud version available, but that doesn’t …