Software Development (.NET)

Programming and software development. The focus is oriented toward Windows, dotnet (.NET), and various open source projects for dotnet.

ASP.NET 'Atlas' Simple Example Stylesheet

If you have taken a look at Ajax.Asp.Net 'Atlas' QuickStart Developer Tasks > Controls and UI "A Simple Example", you may have noticed that you can't immediately run this example on your own machine. The site makes the source code for the example available, but it does not provide a link for the stylesheet "intro.css". Without the stylesheet, the color selector functionality fails.
I am providing intro.css for download here. Just save it in the same location as the web page on your local machine, and "A Simple Example" will work correctly.
FWIW, I obtained the stylesheet using Fiddler.

Creating a Basic AJAX.ASP.NET 'Atlas' Web Application With CodeBehind and WAP

Creating a Basic AJAX.ASP.NET 'Atlas' Web Application With CodeBehind and WAP

The Ajax.ASP.Net web site has an articled titled, "Walkthrough: Creating a Basic ASP.NET 'Atlas' Web Application". The article says, "Be sure that you clear the Place code in separate file check box. For this walkthrough, you must create a single-file ASP.NET Web page."
I created a very similar example that uses code behind in the web page, the Web Applications Project (WAP) template instead of the web site template, and a class library for the web service code.

DotNetNuke Security Tip 2

In Professional DotNetNuke 4 by Shaun Walker et al, the chapter on Installing DotNetNuke recommends that the minimum folder permissions for the anonymous web site user account include read and write access to the root installation folder and all child folders.

The Project Location Is Not Trusted

I opened Michael Schwarz's AjaxPro solution in Visual Studio 2005 and I was greeted with this:

The Project Location Is Not Trusted Dialog

As you can see, this is running from the C: drive on my local development machine. Guessing that this problem might be related to the fact that I added my local machine to IE's list of trusted sites, I removed that setting. Unfortunately, the dialog persisted.

Next I added a new code group to my LocalIntranet_Zone and gave full trust to the URL "file://C:\*". Even that didn't resolve the issue. My next step was to open all the csproj files and the sln file for the solution and look for anything that might trigger this dialog. I deleted all the TFS source code control settings (I don't use CodePlex), but that didn't help.

DotNetNuke Security Tip

The DotNetNuke installation instructions I have seen recommend creating a new database user and then assigning the db_owner role to that user. This recommendation is even included the new book by Shaun Walker et al, Professional DotNetNuke 4: Open Source Web Application Framework for ASP.NET 2.0 (Programmer to Programmer).

Forms Authentication Cookies and Subdomain Names

Does your ASP.NET web site have subdomains and use forms authentication with persistent cookies? Is your site running on a shared hosting server? If so, you could run into a problem authenticating users because of the way cookie domains work. Here are the details of the problem and steps you can take to solve or prevent the problem.

Syndicate content