Microsoft .Net Web Developer RSS 2.0
# Tuesday, March 31, 2009
if this is true, i can't wait!

Smashing Magazine has an article about IE8.1 which may be released in the summer.

they claim IE8.1 will have various rendering engines (Safari and Firefox) and will support Firefox add-ons.

this would be an amazing update to IE for Microsoft. it seems plausible since Microsoft had announced SuperPreview at Mix a couple weeks ago which allowed multiple rendering engines for development.

Tuesday, March 31, 2009 9:19:27 PM (Central Standard Time, UTC-06:00)  #    Comments [0] -

# Wednesday, March 25, 2009
Microsoft announced a new tool, SuperPreview, for web developers and designers at Mix.

i think they could have given it a better name, but it's an excellent idea if it works well.

developers will be able to view the rendering of a web page using IE6, IE7 or IE8 through one tool. currently i have to run three instances of virtualized environments, one for each browser.

this functionality is also integrated into Microsoft Expression 3, and will allow developers to view how the site in development renders using IE6, IE7, IE8, Firefox, and Safari (using the Cloud).


Wednesday, March 25, 2009 5:33:17 PM (Central Standard Time, UTC-06:00)  #    Comments [0] -

# Friday, March 20, 2009
today is the last day of Microsoft Mix and I didn't go again. this is the event where Microsoft shows their newest web design and development tools and techniques.

they have made several interesting announcements, including:
Internet Explorer 8 is officially released, plans for Silverlight 3, and updates to their expression web design tools. i'm sure there are other announcements that i haven't noticed yet or am forgetting.

i actually dread the release of IE8 as i'm sure there will be rendering differences between IE8, Firefox 3, and Safari which will have to be fixed ASAP on many websites.

The greatest thing about Mix though, is that they post videos for the sessions online for public viewing.

Friday, March 20, 2009 8:25:40 PM (Central Standard Time, UTC-06:00)  #    Comments [0] -

# Saturday, February 14, 2009
Mozilla continues to impress. They created Firefox, which is my preferred web browser.

Now they have released Bespin (in beta), a real-time collaborative online text editor. Watch the video demonstration.

As easy as it is for developers to work from anywhere with an internet connection, one of the difficulties has been collaboration with other developers. Maybe Bespin will be able ease this problem.

Saturday, February 14, 2009 1:40:09 PM (Central Standard Time, UTC-06:00)  #    Comments [0] -
JavaScript | Applications
# Tuesday, February 10, 2009
The first of my suggestions for protecting your database:

Multiple users with different privileges.

I would recommend having an administrative user which has full privileges. This account will only be used when performing administrative tasks. It should have a complex password. If this account is compromised, your website can be lost.

A read-only account would be used for all dynamic pages which display public content. This account will only have access to tables which are necessary for display on the website.

A third user type will have the minimum permissions needed for updating content to only the required tables to perform this function.
Other account types can be created for other functions, such as a backup user.

You should never have only one account type that has read and write permissions for the full database used for all access from the your website.

If you have one database user for a database that is used as a back-end for a web site, read about SQL-injection attacks.

Tuesday, February 10, 2009 7:30:11 PM (Central Standard Time, UTC-06:00)  #    Comments [0] -
Database | Security
# Thursday, February 05, 2009
I use this trick frequently.

I can secure a website in a matter of minutes, using the ASP.Net Login Server Control, editing a couple lines of server-side code, and editing the web.config.

This doesn't require a database, just adding the user's credentials to the web.config.

When I am finished, this code will cause an unauthenticated visitor to my website to be redirected to Login.aspx. Once valid credentials are submitted, the visitor will be sent to either the default page or the page originally requested.

This is not necessarily the best way to do this, as the credentials are sent over the internet in clear text, so they could be seen if someone is watching your network traffic.

First, in the web.config:
<?xml version="1.0"?>
<configuration>
    <system.web>
        <compilation debug="false"/>
        <authentication mode="Forms">
            <forms loginUrl="Login.aspx"
                defaultUrl="Default.aspx">
                <credentials>
                    <user name="LOGIN_USERNAME" password="PASSWORD" />
                </credentials>
            </forms>
        </authentication>
         <authorization>
            <allow users="LOGIN_USERNAME" />
            <deny users="*" />
        </authorization>
    </system.web>
</configuration>


Next, I create a new webform, named Login.aspx. Drop the Login control on the page, accept the default name (Login1).

Select the Login control and set the DestinationPageUrl property to Default.aspx page.

Double-click the login control to generate the event handler.

Login.aspx.cs
You will need the following directives in the code-behind:
using System;
using System.Web.Security;
using System.Web.UI.WebControls;

And the code-behind event handlers:
protected void Page_Load(object sender, EventArgs e)
{
   Login1.Focus(); //set focus to username field
}

protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
   if(FormsAuthentication.Authenticate(Login1.UserName, Login1.Password))
      e.Authenticated = true;
}

That's it. Securing a website in less than 20 typed lines of code / configuration.
Thursday, February 05, 2009 11:53:09 PM (Central Standard Time, UTC-06:00)  #    Comments [0] -
ASP.Net | Security
# Monday, February 02, 2009
What an exciting game Super Bowl™ 43 was last night.

The Cardinals should have won the game. They scored 16 straight points in the 4th quarter to take the lead by 3, with less than 3 minutes left. But that was the problem.

If the Cardinals had managed the clock better, they would not have given the Steelers enough time to move the ball back up the field and score the game winning touchdown.

Time management is important in building websites also. I want to be at peak productivity when I'm working. I want to be able to crank out as much high quality work as possible in as little time as possible. This is one way to maximize profitability.

If I feel I can accurately estimate a project I can bid a fixed amount for the project and make a reasonable profit off of the project. A fixed bid is a higher risk / higher reward estimate, compared to an hourly estimate, which frequently is given as a range.

Of course you must put out excellent work, because the best way to gain customers is through word of mouth and having good references.

There is a lot that must be taken into account when creating an estimate, but that is a topic for another post.

Lesson Learned: I think it has been shown that most people don't care if they can hear sports announcers on TV. If you want to hear the Super bowl commercials I suggest not watching the Big Game at a bar.
Monday, February 02, 2009 3:22:28 PM (Central Standard Time, UTC-06:00)  #    Comments [0] -
Time Management
Navigation
Archive
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
Blogroll
About the author/Disclaimer

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

© Copyright 2010
DevStL
Sign In
Statistics
Total Posts: 9
This Year: 0
This Month: 0
This Week: 0
Comments: 2
Themes
Pick a theme:
All Content © 2010, DevStL
DasBlog theme 'Business' created by Christoph De Baene (delarou)