ASP. net2.0 adds the theme function. Each theme contains CSS and skin files (including images and image directories, of course). CSS can grasp the global situation, the skin file serves the runat = "server" control on the page, one depressing thing is that when I write a skin file, why didn't I receive the intelligent prompt OF THE intelliisense everywhere file that Ms claims? (I am using the Pro version of RTM) at the same time, I have spent effort in Quickstart of ASP. net2.0 to explain the priority of skin on the control style impact. No matter how complicated server control is, in the user's opinion, it is nothing more than HTML tags. I think it is best to use CSS. Skin is better for control collections and control templates, in a timely manner, both dropdown and login are controlled by CSS. However, this theme feature is indeed good. Compared with 1.1, it is easier to separate the content and form of the page, and it is more comfortable to use CSS to control the layout of the page. Brother Bao Yu once wrote that the change usercontrol method is used to control the display style, but I prefer CSS to control the display style, which makes the upgrade easier in the future, the implementation method is to set the file name of the CSS file loaded on the page to a variable and read it from the user database, which can be customized.
The aspnet_regiis command in. NET Framework 2.0 has a-ga parameter. If it is the last IIS installed, you can use-ga if it is not easy to use after-I. To the metabase of IIS and the specified user of ASP. NET or group access in other directories.
finally, if SQL Server 2005 Express is not installed, ASP. NET Configuration tool cannot be used. Check the machine. config file to find the cause. When using SQL Server 2000 or 2005, you can use aspnet_regsql to create a database that provides services such as membership. add a connectionstring of name = "localsqlserver" in config to point to the database just created by aspnet_regsql. . I asked a few people about the aspnetdb database they created (several articles on msdn the article says that using aspnet_regsql to create this database should be shared by multiple websites. I tried it and there are two websites, this database is unable to determine which website the user, roles, and application are, so the security will not be able to be discussed. Instead, I used aspnet_regsql to go through the databases of the two sites, they use their respective methods. So far they are still workfine, but I don't know why both MVPs say this is wrong way. What else can I do?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.