Download presentation
Presentation is loading. Please wait.
1
Ahmed_Moosa83@yahoo.com
2
www.Ahmedmoosa.wordpress.com
3
Web.config in Xml File. IntelliSense Make It Better Can Configure All Web Site Pages There are Two File Machine.config Web. Config Can Find Them : ( C:\WINDOWS\Microsoft.NET\Framework\[version]\CONFIG ) Have Default Setting also in web.config.default Machine.config.default
4
Enter All Settings Between …. Case Sensitive Declaration camelCase All Properties Define Namespaces When Programmatically System.Configuration System.Web.Configuration Define Your Setting Between it’s Category …… …….
5
configure Page directive Setting s : Configure Connection String : Configure Application Setting s: Configure Error Pages : Configure Membership
7
You Can Set a lot Of Properties For Example Set Namespace Add Controls Like Ajax Controls ….
8
.. To All Pages … as You Specify Page - Folder - Subfolder (as you Like ). Example:- Set Master Page To Admin Folder only
9
Can Show friendly Error Set Default Redirect Page URL Show Page by Error Code Like this : There are A lot Of Details about Will be in My Blog.
10
Set Multilanguage Site Working With Resource File (resource.resx ) UiCulture (User interface ) Will Change Like This : Above I set Default Culture To Arabic Egypt User Interface Will Change as I set In My Internet Option Explorer Sequentially.
11
It ‘s a page I Call It Manually in Address Bar comes With Extension.axd ( trace.axd ) Show Number of request That Users Call Can Follow all Request in Web Site By Details Like This :- <trace enabled="true" traceMode="SortByTime" mostRecent="true" requestLimit="10" pageOutput="false" localOnly ="true" />
12
http://localhost:8080//MyWebsite/trace.xd
13
Define Data Source, Server and Security In My Visual Web Developer Express Edition It‘s Like This : <add name="MyConnectionString“ connectionString ="Data Source =.\SQLEXPRESS; AttachDbFilename=|DataDirectory|\MyDataBaseFile.mdf; Integrated Security=True;User Instance=True"/> It Is Simple ( Set and Forget ) Call it any Page You Want.
14
Define Global Variable using Key and Value. Example: Also Can define more than one variable. - Note :Can Store Connection Strings
15
Set Mail Settings (Host info – sender info-…) Mail Settings is under System.Net Category Like :- <network host="smtp.mysite.com" userName ="admin" password =“*********" />
16
Set Http Runtime Settings Use it When Upload Large Files <httpRuntime maxRequestLength ="1048576" executionTimeout ="3600" /> Note: maxRequestLength in Kb executionTimeout in second
17
Web Site Compilation Settings And Debug Set Debug To true When Debugging. Better To Set Debug To False When Deployment Decrease Memory Size Fasts Performance
18
define identity (Just User Or Member ) ASP.Net Provide Default Database Call it (aspnet.mdf) Generate Database Automatically by using ASP.Net Configuration From Website Menu Will be more in My Blog About this Later
19
Define License To Members in access Rules Can give License to Group by using Role Allow Access Pages And deny Others
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.